D-Link DWS-1008 Informations techniques Page 71

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 406
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 70
70
DWS-1008 CLI Reference Guide
D-Link Systems, Inc.
IP Services Commands
set ip route (continued)
Examples: The following command adds a default route that uses gateway 10.5.4.1 and
gives the route a cost of 1:
DWS-1008# set ip route default 10.5.4.1 1
success: change accepted.
The following commands add two default routes, and configure MSS to always use the route
through 10.2.4.69 when the interface to that gateway router is up:
DWS-1008# set ip route default 10.2.4.69 1
success: change accepted.
DWS-1008# set ip route default 10.2.4.17 2
success: change accepted.
The following command adds an explicit route from a DWS-1008 switch to any host on the
192.168.4.x subnet through the local router 10.5.4.2, and gives the route a cost of 1:
DWS-1008# set ip route 192.168.4.0 255.255.255.0 10.5.4.2 1
success: change accepted.
The following command adds another explicit route, using CIDR notation to specify the
subnet mask:
DWS-1008# set ip route 192.168.5.0/24 10.5.5.2 1
success: change accepted.
set ip snmp server
Enables or disables the SNMP service on the DWS-1008 switch.
Syntax: set ip snmp server {enable | disable}
enable Enables the SNMP service.
disable Disables the SNMP service.
Defaults: The SNMP service is disabled by default.
Access: Enabled
Examples: The following command enables the SNMP server on a DWS-1008 switch:
DWS-1008# set ip snmp server enable
success: change accepted.
Vue de la page 70
1 2 ... 66 67 68 69 70 71 72 73 74 75 76 ... 405 406

Commentaires sur ces manuels

Pas de commentaire