Command Line Interface Guide
Page 37
Displays statically created entries in locked ports. Displays the port-lock status. Configures an external time source for display purposes. Configures the system to automatically switch to a routed port. Authenticates the identity of addresses present in the bridge-forwarding database. Sets the time zone for the system clock. Displays the number ...
Displays statically created entries in locked ports. Displays the port-lock status. Configures an external time source for display purposes. Configures the system to automatically switch to a routed port. Authenticates the identity of addresses present in the bridge-forwarding database. Sets the time zone for the system clock. Displays the number ...
Command Line Interface Guide
Page 39
... Commands Command Group ip dhcp snooping Description Globally enables DHCP snooping ip dhcp snooping vlan Enables DHCP snooping on a switch. ip dhcp snooping trust ip dhcp snooping information option allowed-untrusted ip dhcp snooping verify ip dhcp snooping database ip... Global Configuration Global Configuration Global Configuration Global Configuration Privileged EXEC Privileged EXEC EXEC User EXEC Command Groups 39 Configures a switch to accept DHCP packets with option-82 information from an untrusted port. Displays the DHCP snooping binding database and configuration...
... Commands Command Group ip dhcp snooping Description Globally enables DHCP snooping ip dhcp snooping vlan Enables DHCP snooping on a switch. ip dhcp snooping trust ip dhcp snooping information option allowed-untrusted ip dhcp snooping verify ip dhcp snooping database ip... Global Configuration Global Configuration Global Configuration Global Configuration Privileged EXEC Privileged EXEC EXEC User EXEC Command Groups 39 Configures a switch to accept DHCP packets with option-82 information from an untrusted port. Displays the DHCP snooping binding database and configuration...
Command Line Interface Guide
Page 54
... reload hostname stack master stack reload show stack show syslog-servers Changes the number of logging and the syslog messages stored in the internal buffer. Switches to another node on severity. Clears messages from the logging file. Displays information about stack status. logging buffered size clear logging logging file clear logging...
... reload hostname stack master stack reload show stack show syslog-servers Changes the number of logging and the syslog messages stored in the internal buffer. Switches to another node on severity. Clears messages from the logging file. Displays information about stack status. logging buffered size clear logging logging file clear logging...
Command Line Interface Guide
Page 63
Configures the system to automatically switch to the login history file. Sets the time zone for HTTPS. Imports a certificate signed by Certification Authority for display purposes Generates a self-signed HTTPS certificate. ...
Configures the system to automatically switch to the login history file. Sets the time zone for HTTPS. Imports a certificate signed by Certification Authority for display purposes Generates a self-signed HTTPS certificate. ...
Command Line Interface Guide
Page 64
... System (DNS)-based host name-toaddress translation. Specifies or modifies the device host name. Defines a default gateway. Configures a switch to accept DHCP packets with option-82 information from an untrusted port. Defines static host name-to configure multiple portchannels. Enters the... Enables GVRP globally. Enters the interface configuration mode of the DHCP snooping binding file. Sets an IP address. Configures a switch to accept DHCP packets with option-82 information from an untrusted port. Ends the current configuration session and returns to configure ...
... System (DNS)-based host name-toaddress translation. Specifies or modifies the device host name. Defines a default gateway. Configures a switch to accept DHCP packets with option-82 information from an untrusted port. Defines static host name-to configure multiple portchannels. Enters the... Enables GVRP globally. Enters the interface configuration mode of the DHCP snooping binding file. Sets an IP address. Configures a switch to accept DHCP packets with option-82 information from an untrusted port. Ends the current configuration session and returns to configure ...
Command Line Interface Guide
Page 77
... echo request packets to a port. show ip igmp snooping mrouter Displays information on specified ports. show ip igmp snooping mrouter Enables automatic learning of Multicast switch ports in the current session. show copper-ports cable-length Displays the estimated copper cable length attached to another open Telnet session. show ip igmp...
... echo request packets to a port. show ip igmp snooping mrouter Displays information on specified ports. show ip igmp snooping mrouter Enables automatic learning of Multicast switch ports in the current session. show copper-ports cable-length Displays the estimated copper cable length attached to another open Telnet session. show ip igmp...
Command Line Interface Guide
Page 102
... the no bridge multicast filtering Default Configuration Filtering Multicast addresses is not enabled, use the bridge multicast forward-all command to the Multicast switches. Command Mode Global Configuration mode. Console(config)# interface vlan 2 Console(config-if)# bridge address 3aa2.64b3.a245 ethernet 1/e16 permanent bridge...; If Multicast routers exist on the VLAN, do not change the unregistered Multicast addresses state to drop on the switch ports. • If Multicast routers exist on port 1/e16 to the group. Example The following example enables bridge Multicast filtering.
... the no bridge multicast filtering Default Configuration Filtering Multicast addresses is not enabled, use the bridge multicast forward-all command to the Multicast switches. Command Mode Global Configuration mode. Console(config)# interface vlan 2 Console(config-if)# bridge address 3aa2.64b3.a245 ethernet 1/e16 permanent bridge...; If Multicast routers exist on the VLAN, do not change the unregistered Multicast addresses state to drop on the switch ports. • If Multicast routers exist on port 1/e16 to the group. Example The following example enables bridge Multicast filtering.
Command Line Interface Guide
Page 127
...last) • day - User Guidelines • The system internally keeps time in UTC, so this command to configure the software not to automatically switch to add during summer time. (Range: 1 - 1440) • acronym - Console(config)# clock timezone -6 zone CST clock summer-time The... clock summer-time Global Configuration mode command configures the system to automatically switch to 6 hours difference from UTC. Examples The following example sets the timezone to summer time (daylight saving time). The acronym ...
...last) • day - User Guidelines • The system internally keeps time in UTC, so this command to configure the software not to automatically switch to add during summer time. (Range: 1 - 1440) • acronym - Console(config)# clock timezone -6 zone CST clock summer-time The... clock summer-time Global Configuration mode command configures the system to automatically switch to 6 hours difference from UTC. Examples The following example sets the timezone to summer time (daylight saving time). The acronym ...
Command Line Interface Guide
Page 154
... VLAN ID. Example The following example enables DHCP snooping on a VLAN. Configure as untrusted ports those that are connected to a DHCP server or to other switches or routers. User Guidelines • Configure as trusted for DHCP snooping purposes. Syntax • ip dhcp snooping vlan vlan-id • no form of this...
... VLAN ID. Example The following example enables DHCP snooping on a VLAN. Configure as untrusted ports those that are connected to a DHCP server or to other switches or routers. User Guidelines • Configure as trusted for DHCP snooping purposes. Syntax • ip dhcp snooping vlan vlan-id • no form of this...
Command Line Interface Guide
Page 155
... ip dhcp snooping information option allowed-untrusted The ip dhcp snooping information option allowed-untrusted Global Configuration mode command configures a switch to accept DHCP packets with option-82 information from an untrusted port. console(config)#ip dhcp snooping information option alloweduntrusted ip... dhcp snooping verify The ip dhcp snooping verify Global Configuration mode command configures a switch to verify on an untrusted port that the source MAC address in a DHCP packet matches the client hardware address. Use ...
... ip dhcp snooping information option allowed-untrusted The ip dhcp snooping information option allowed-untrusted Global Configuration mode command configures a switch to accept DHCP packets with option-82 information from an untrusted port. console(config)#ip dhcp snooping information option alloweduntrusted ip... dhcp snooping verify The ip dhcp snooping verify Global Configuration mode command configures a switch to verify on an untrusted port that the source MAC address in a DHCP packet matches the client hardware address. Use ...
Command Line Interface Guide
Page 156
...dhcp snooping database Default Configuration The URL is synchronized with SNTP. 156 DHCP Snooping Example The following example configures a switch to the binding file only when the switch system clock is not defined. Command Mode Global Configuration mode. User Guidelines • To ensure that the source ... packet. Syntax • ip dhcp snooping verify • no ip dhcp snooping verify Default Configuration The default configuration is that the switch verifies the source MAC address in a DHCP packet that is received on an untrusted port that the lease time in the database is...
...dhcp snooping database Default Configuration The URL is synchronized with SNTP. 156 DHCP Snooping Example The following example configures a switch to the binding file only when the switch system clock is not defined. Command Mode Global Configuration mode. User Guidelines • To ensure that the source ... packet. Syntax • ip dhcp snooping verify • no ip dhcp snooping verify Default Configuration The default configuration is that the switch verifies the source MAC address in a DHCP packet that is received on an untrusted port that the lease time in the database is...
Command Line Interface Guide
Page 160
Example The following VLANs: 2 DHCP snooping database is Disabled Verification of hwaddr field is Enabled DHCP snooping file update frequency is configured on a switch. e15 yes show ip dhcp snooping binding The show ip dhcp snooping binding User EXEC mode command displays the DHCP snooping binding database and configuration ...
Example The following VLANs: 2 DHCP snooping database is Disabled Verification of hwaddr field is Enabled DHCP snooping file update frequency is configured on a switch. e15 yes show ip dhcp snooping binding The show ip dhcp snooping binding User EXEC mode command displays the DHCP snooping binding database and configuration ...
Command Line Interface Guide
Page 195
... IGMP snooping is enabled for that a host is allowed to respond to an IGMP query. • Use immediate leave only where there is just one switch can be configured as an IGMP Querier for a VLAN. • When IGMP Snooping Querier is enabled, it detects IGMP traffic from a Multicast router. IGMP Snooping...
... IGMP snooping is enabled for that a host is allowed to respond to an IGMP query. • Use immediate leave only where there is just one switch can be configured as an IGMP Querier for a VLAN. • When IGMP Snooping Querier is enabled, it detects IGMP traffic from a Multicast router. IGMP Snooping...
Command Line Interface Guide
Page 306
... the no need to classify the packets at every device in the domain. • Use this command. Untagged packets are classified at the edge, the switch port within the QoS domain can be configured to one of this command to return to the DSCPqueue map. 306 QoS Commands When packets are...
... the no need to classify the packets at every device in the domain. • Use this command. Untagged packets are classified at the edge, the switch port within the QoS domain can be configured to one of this command to return to the DSCPqueue map. 306 QoS Commands When packets are...
Command Line Interface Guide
Page 366
...)# spanning-tree bpdu flooding clear spanning-tree detected-protocols The clear spanning-tree detected-protocols Privileged EXEC mode command enables the user to set the switches back to the default configuration. 366 Spanning-Tree Commands
...)# spanning-tree bpdu flooding clear spanning-tree detected-protocols The clear spanning-tree detected-protocols Privileged EXEC mode command enables the user to set the switches back to the default configuration. 366 Spanning-Tree Commands
Command Line Interface Guide
Page 376
...# show spanning-tree Spanning tree enabled mode RSTP Default port cost method: long Root ID Priority 36864 Address 00:02:4b:29:7a:00 This switch is the root. PortFast Type No P2p (RSTP) No Shared (STP) - - Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec 376 Spanning-Tree...
...# show spanning-tree Spanning tree enabled mode RSTP Default port cost method: long Root ID Priority 36864 Address 00:02:4b:29:7a:00 This switch is the root. PortFast Type No P2p (RSTP) No Shared (STP) - - Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec 376 Spanning-Tree...
Command Line Interface Guide
Page 383
... Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec IST Master ID Priority 32768 Address 00:02:4b:29:7a:0 0 This switch is the IST master. Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Max hops 20 Interfaces Name State Prio.Nbr Cost Sts...
... Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec IST Master ID Priority 32768 Address 00:02:4b:29:7a:0 0 This switch is the IST master. Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Max hops 20 Interfaces Name State Prio.Nbr Cost Sts...
Command Line Interface Guide
Page 384
... Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec IST Master ID Priority 32768 Address 00:02:4b:29:7a:0 0 This switch is the IST master. Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec 384 Spanning-Tree Commands
... Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec IST Master ID Priority 32768 Address 00:02:4b:29:7a:0 0 This switch is the IST master. Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec 384 Spanning-Tree Commands
Command Line Interface Guide
Page 389
... to be the root port for CST and IST master. Use the no spanning-tree guard root Default Configuration Root guard is root for the switch. Root guard restricts the interface to disable root guard on that interface. Spanning-Tree Commands 389 Command Mode Interface configuration (Ethernet, port-channel). ...MSTP Default port cost method: long ###### MST 0 Vlans Mapped: 1-9, 21-4094 CST Root ID Priority 32768 Address 00:01:42:97:e0:00 This switch is disabled. Root Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Max hops 20 spanning-tree guard root Use the...
... to be the root port for CST and IST master. Use the no spanning-tree guard root Default Configuration Root guard is root for the switch. Root guard restricts the interface to disable root guard on that interface. Spanning-Tree Commands 389 Command Mode Interface configuration (Ethernet, port-channel). ...MSTP Default port cost method: long ###### MST 0 Vlans Mapped: 1-9, 21-4094 CST Root ID Priority 32768 Address 00:01:42:97:e0:00 This switch is disabled. Root Port 1 (1/e1) Hello Time 2 sec Max Age 20 sec Forward Delay 15 sec Max hops 20 spanning-tree guard root Use the...
Command Line Interface Guide
Page 390
Console(config)# interface ethernet 1/e8 Console(config-if)# spanning-tree guard root 390 Spanning-Tree Commands When root guard is enabled, if spanning-tree calculations cause a port to the alternate state. User Guidelines Root guard can be selected as the root port, the port transitions to be enabled when the switch works in STP, RSTP and MSTP. Example The following example enable root guard on port e8.
Console(config)# interface ethernet 1/e8 Console(config-if)# spanning-tree guard root 390 Spanning-Tree Commands When root guard is enabled, if spanning-tree calculations cause a port to the alternate state. User Guidelines Root guard can be selected as the root port, the port transitions to be enabled when the switch works in STP, RSTP and MSTP. Example The following example enable root guard on port e8.