Command Line Interface Guide
Page 11
show ip igmp snooping mrouter 200 show ip igmp snooping interface 201 show ip igmp snooping groups 202 14 IP Addressing Commands 205 clear host dhcp 205 ip address 205 ip address dhcp 206 ip default-gateway 207 show ip interface 208 arp 209 arp timeout 210 clear arp-cache 210 show arp 211 ip domain-lookup 212 ip domain-name 213 ip name-server 213 ip host 214 clear host 215 show hosts 215 15 IPv6 Addressing 217 ipv6 enable 217 ipv6 address autoconfig 218 ipv6 icmp error-interval 218 show ipv6 icmp error-interval 219 ipv6 address 220 Contents 11
show ip igmp snooping mrouter 200 show ip igmp snooping interface 201 show ip igmp snooping groups 202 14 IP Addressing Commands 205 clear host dhcp 205 ip address 205 ip address dhcp 206 ip default-gateway 207 show ip interface 208 arp 209 arp timeout 210 clear arp-cache 210 show arp 211 ip domain-lookup 212 ip domain-name 213 ip name-server 213 ip host 214 clear host 215 show hosts 215 15 IPv6 Addressing 217 ipv6 enable 217 ipv6 address autoconfig 218 ipv6 icmp error-interval 218 show ipv6 icmp error-interval 219 ipv6 address 220 Contents 11
Command Line Interface Guide
Page 28
.... Starting the CLI The switch can be managed over a direct connection to the switch console port, or via a Telnet connection, ensure the device has an IP address defined, corresponding management access is granted, and the workstation used to enter the Line Configuration command mode. • VLAN Database - If access is connected to...
.... Starting the CLI The switch can be managed over a direct connection to the switch console port, or via a Telnet connection, ensure the device has an IP address defined, corresponding management access is granted, and the workstation used to enter the Line Configuration command mode. • VLAN Database - If access is connected to...
Command Line Interface Guide
Page 34
...displays syslog messages. Configures VLANs and displays VLAN information. Ethernet Configuration GVRP Commands IGMP Snooping Commands IP Addressing Commands IPv6 Addressing Commands iSCSI Commands LACP Commands Line Commands Login Banner Commands Management ACL Commands PHY Diagnostics Commands Port ...customizable login banners on the device. Configures Web based access to 802.1x security protocol. Configures and manages IP addresses on the device. Displays RMON statistics. Configures and displays management access-list information. Configures and displays Port ...
...displays syslog messages. Configures VLANs and displays VLAN information. Ethernet Configuration GVRP Commands IGMP Snooping Commands IP Addressing Commands IPv6 Addressing Commands iSCSI Commands LACP Commands Line Commands Login Banner Commands Management ACL Commands PHY Diagnostics Commands Port ...customizable login banners on the device. Configures Web based access to 802.1x security protocol. Configures and manages IP addresses on the device. Displays RMON statistics. Configures and displays management access-list information. Configures and displays Port ...
Command Line Interface Guide
Page 42
... usability status of host names and addresses. 42 Command Groups IP Addressing Commands Command Group clear host dhcp ip address ip address dhcp ip default-gateway show ip interface arp arp timeout clear arp-cache show arp ip domain-lookup ip domain-name ip name-server ip host clear host show hosts Description Access Mode Sets an IP address on an interface from the DHCP...
... usability status of host names and addresses. 42 Command Groups IP Addressing Commands Command Group clear host dhcp ip address ip address dhcp ip default-gateway show ip interface arp arp timeout clear arp-cache show arp ip domain-lookup ip domain-name ip name-server ip host clear host show hosts Description Access Mode Sets an IP address on an interface from the DHCP...
Command Line Interface Guide
Page 49
...key Sets the authentication and encryption key for a server host to Global reply. Configuration radius-server source-ipv6 Specifies the source IPv6 address used for the IPv6 Global communication with RADIUS servers. Global Configuration show rmon alarm rmon event Description Displays RMON Ethernet Statistics. Displays ... Specifies the number of times the software searches the list Global of RADIUS server hosts. Configuration radius-server source-ip Specifies the source IP address used for communication Global with RADIUS servers. Configures alarm conditions.
...key Sets the authentication and encryption key for a server host to Global reply. Configuration radius-server source-ipv6 Specifies the source IPv6 address used for the IPv6 Global communication with RADIUS servers. Global Configuration show rmon alarm rmon event Description Displays RMON Ethernet Statistics. Displays ... Specifies the number of times the software searches the list Global of RADIUS server hosts. Configuration radius-server source-ip Specifies the source IP address used for communication Global with RADIUS servers. Configures alarm conditions.
Command Line Interface Guide
Page 55
... Commands Command Group Description Access Mode The following example displays the local users configured with TACACS servers. Lists the open Telnet sessions. Specifies the source IP address that are Global required before a password in Global the local database. Configuration passwords history Configures the number of username passwords and Global enables passwords. Specifies...
... Commands Command Group Description Access Mode The following example displays the local users configured with TACACS servers. Lists the open Telnet sessions. Specifies the source IP address that are Global required before a password in Global the local database. Configuration passwords history Configures the number of username passwords and Global enables passwords. Specifies...
Command Line Interface Guide
Page 56
... tunnel Displays information on the ISATAP tunnel. tunnel isatap solicitationinterval Configures the interval between DNS Queries (before Global the IP address of the ISATAP router is known) for tracking passwords history. Global Configuration show users login-history Displays information about ... there is no active ISATAP Configuration router). Interface Tunnel Configuration tunnel source Sets the local (source) tunnel interface IPv4 address. passwords history hold-time Configures the duration of time a password is relevant Global for the Configuration automatic tunnel router ...
... tunnel Displays information on the ISATAP tunnel. tunnel isatap solicitationinterval Configures the interval between DNS Queries (before Global the IP address of the ISATAP router is known) for tracking passwords history. Global Configuration show users login-history Displays information about ... there is no active ISATAP Configuration router). Interface Tunnel Configuration tunnel source Sets the local (source) tunnel interface IPv4 address. passwords history hold-time Configures the duration of time a password is relevant Global for the Configuration automatic tunnel router ...
Command Line Interface Guide
Page 66
...send SNMP traps or SNMP notifications. spanning-tree bpdu Defines BPDU handling when spanning tree is located. radius-server source-ip Specifies the source IP address used for the IPv6 communication with RADIUS servers. snmp-server contact Sets up the community access string to permit access to... (NTP) traffic from servers. spanning-tree pathcost method Sets the default pathcost method. radius-server source-ipv6 Specifies the source IPv6 address used for a server host to SNMP protocol. snmp-server set Sets SNMP MIB value by the CLI. rmon table-size Configures ...
...send SNMP traps or SNMP notifications. spanning-tree bpdu Defines BPDU handling when spanning tree is located. radius-server source-ip Specifies the source IP address used for the IPv6 communication with RADIUS servers. snmp-server contact Sets up the community access string to permit access to... (NTP) traffic from servers. spanning-tree pathcost method Sets the default pathcost method. radius-server source-ipv6 Specifies the source IPv6 address used for a server host to SNMP protocol. snmp-server set Sets SNMP MIB value by the CLI. rmon table-size Configures ...
Command Line Interface Guide
Page 67
... authentication access control. Enters the VLAN Database Configuration mode. Sets an IP address on the station's MAC address. Enables authentication based on the device. Enables sending traps when a MAC address was failed in authentication of DNS Query/Router Solicitation refresh messages that the... given interface. Sets the maximum number of times that the switch sends an EAP request/identity frame to the client, before the IP address of the client. Adds a description to that VLAN Defines a Guest VLAN. Establishes a username-based authentication system. Sets the timeout...
... authentication access control. Enters the VLAN Database Configuration mode. Sets an IP address on the station's MAC address. Enables authentication based on the device. Enables sending traps when a MAC address was failed in authentication of DNS Query/Router Solicitation refresh messages that the... given interface. Sets the maximum number of times that the switch sends an EAP request/identity frame to the client, before the IP address of the client. Adds a description to that VLAN Defines a Guest VLAN. Establishes a username-based authentication system. Sets the timeout...
Command Line Interface Guide
Page 68
.... Adjusts the GARP application join, leave, and leaveall GARP timer values. Configures an IPv6 link-local address for an interface. Sets an IP address Acquires an IP address on a specified interface. Changes the Multicast Listener Discovery Protocol (MLD) version. dot1x single-host-violation ...-period duplex flowcontrol garp timer gvrp enable (interface) gvrp registration-forbid gvrp vlan-creation-forbid ip address ip address dhcp ip internal-usage-vlan ipv6 address ipv6 address autoconfig ipv6 address link-local ipv6 mld join-group ipv6 mld version ipv6 nd dad attempts ipv6 enable ipv6...
.... Adjusts the GARP application join, leave, and leaveall GARP timer values. Configures an IPv6 link-local address for an interface. Sets an IP address Acquires an IP address on a specified interface. Changes the Multicast Listener Discovery Protocol (MLD) version. dot1x single-host-violation ...-period duplex flowcontrol garp timer gvrp enable (interface) gvrp registration-forbid gvrp vlan-creation-forbid ip address ip address dhcp ip internal-usage-vlan ipv6 address ipv6 address autoconfig ipv6 address link-local ipv6 mld join-group ipv6 mld version ipv6 nd dad attempts ipv6 enable ipv6...
Command Line Interface Guide
Page 77
.... • protocol - If a flag is not set , it is prefixed by placing 1s in bit positions to the sources IP address by "+". For example: +fin-ack. • byte - Specifies the user-defined bytes. Specifies an ICMP message code for filtering...- 255) • icmp-code - Available options are concatenated to be ignored. • source-port - Specifies the source IP address of the packet. • destination-wildcard - Specifies the destination IP address of the packet. • source-wildcard - Enter a number or one string. Specifies the UDP/TCP destination port. (Range:...
.... • protocol - If a flag is not set , it is prefixed by placing 1s in bit positions to the sources IP address by "+". For example: +fin-ack. • byte - Specifies the user-defined bytes. Specifies an ICMP message code for filtering...- 255) • icmp-code - Available options are concatenated to be ignored. • source-port - Specifies the source IP address of the packet. • destination-wildcard - Specifies the destination IP address of the packet. • source-wildcard - Enter a number or one string. Specifies the UDP/TCP destination port. (Range:...
Command Line Interface Guide
Page 79
..., domain-name-request, domain-name-reply, skip, photuris. • icmp-code - Specifies wildcard bits to be applied to the source IP address by placing 1s in bit positions to be ignored. • source-port - Specifies wildcard bits to be applied to the destination... • destination-port-wildcard - Specifies wildcard bits to be applied to the source port by IGMP message type. Specifies the list of an IP protocol. Specifies the destination IP address of the following values: host-query, host-report, dvmrp, pim, cisco-trace, host-report-v2, host-leavev2, host-report-v3. (Range:...
..., domain-name-request, domain-name-reply, skip, photuris. • icmp-code - Specifies wildcard bits to be applied to the source IP address by placing 1s in bit positions to be ignored. • source-port - Specifies wildcard bits to be applied to the destination... • destination-port-wildcard - Specifies wildcard bits to be applied to the source port by IGMP message type. Specifies the list of an IP protocol. Specifies the destination IP address of the following values: host-query, host-report, dvmrp, pim, cisco-trace, host-report-v2, host-leavev2, host-report-v3. (Range:...
Command Line Interface Guide
Page 110
... EXEC mode command displays the Multicast filtering configuration. A valid VLAN ID value. 110 Address Table Commands Forbidden ports for Multicast addresses: Vlan ---1 19 IP/Mac Address ----------224-239.130|2.2.3 224-239.130|2.2.8 Ports ---------g8 g8 NOTE: A Multicast MAC address maps to multiple IP addresses, as shown above. Syntax • show bridge multicast filtering vlan-id • vlan_id...
... EXEC mode command displays the Multicast filtering configuration. A valid VLAN ID value. 110 Address Table Commands Forbidden ports for Multicast addresses: Vlan ---1 19 IP/Mac Address ----------224-239.130|2.2.3 224-239.130|2.2.8 Ports ---------g8 g8 NOTE: A Multicast MAC address maps to multiple IP addresses, as shown above. Syntax • show bridge multicast filtering vlan-id • vlan_id...
Command Line Interface Guide
Page 138
....1.1.8 176.1.8.179 ---------Primary Secondary Up AFE252C1.6DBDDFF2 Unknown AFE21789.643287C9 Offset [mSec] ----7.33 8.98 Delay [mSec] -----117.79 189.19 Broadcast: Interface --------176.1.1.8 176.1.8.179 IP address ---------Primary Secondary Last response AFE252C1.6DBDDFF2 AFE21789.643287C9 138 Clock Syntax • show sntp status This command has no keywords or arguments.
....1.1.8 176.1.8.179 ---------Primary Secondary Up AFE252C1.6DBDDFF2 Unknown AFE21789.643287C9 Offset [mSec] ----7.33 8.98 Delay [mSec] -----117.79 189.19 Broadcast: Interface --------176.1.1.8 176.1.8.179 IP address ---------Primary Secondary Last response AFE252C1.6DBDDFF2 AFE21789.643287C9 138 Clock Syntax • show sntp status This command has no keywords or arguments.
Command Line Interface Guide
Page 141
Examples Console# more ! end rename To rename a file, use the rename Privileged EXEC command Syntax • rename url new-url • url - The location URL. • new-url - Configuration and Image 141 interface FastEthernetg1 ip address 176.242.100.100 255. New URL. version 12.1 ! . . . ip pim dense-mode duplex auto speed auto ! . . .
Examples Console# more ! end rename To rename a file, use the rename Privileged EXEC command Syntax • rename url new-url • url - The location URL. • new-url - Configuration and Image 141 interface FastEthernetg1 ip address 176.242.100.100 255. New URL. version 12.1 ! . . . ip pim dense-mode duplex auto speed auto ! . . .
Command Line Interface Guide
Page 145
... startup configuration to a network server. Storing the Running or Startup Configuration on 172.16.101.101... These commands replace the startup configuration file with an IP address of the previous "running configuration" as a backup copy. Saving the Running Configuration to the Startup Configuration Use the copy running-config startup-config command to...
... startup configuration to a network server. Storing the Running or Startup Configuration on 172.16.101.101... These commands replace the startup configuration file with an IP address of the previous "running configuration" as a backup copy. Saving the Running Configuration to the Startup Configuration Use the copy running-config startup-config command to...
Command Line Interface Guide
Page 148
...:00:00:00:00:01 ethernet g1 exit interface ethernet g1 gvrp enable exit gvrp enable interface ethernet g24 ip address dhcp exit ip name-server 10.6.1.36 console# show startup-config The show startup-config Privileged EXEC mode command displays the startup configuration file contents. Examples The following ...
...:00:00:00:00:01 ethernet g1 exit interface ethernet g1 gvrp enable exit gvrp enable interface ethernet g24 ip address dhcp exit ip name-server 10.6.1.36 console# show startup-config The show startup-config Privileged EXEC mode command displays the startup configuration file contents. Examples The following ...
Command Line Interface Guide
Page 149
...:00:00:00:00:01 ethernet g1 exit interface ethernet g1 gvrp enable exit gvrp enable interface ethernet g24 ip address dhcp exit ip name-server 10.6.1.36 console# Configuration and Image 149 Console# show startup-config no user guidelines for this command. Command Mode Privileged EXEC mode. Examples ...
...:00:00:00:00:01 ethernet g1 exit interface ethernet g1 gvrp enable exit gvrp enable interface ethernet g24 ip address dhcp exit ip name-server 10.6.1.36 console# Configuration and Image 149 Console# show startup-config no user guidelines for this command. Command Mode Privileged EXEC mode. Examples ...
Command Line Interface Guide
Page 183
...entries to delete entries from the binding database. Syntax • ip dhcp snooping binding mac-address vlan-id ip-address {ethernet interface | port-channel port- channel-number} expiry seconds • no longer valid. Specify a MAC address. • vlan-id - Example The following example configures the...static binding exists. Default Configuration 1200. User Guidelines • There are no form of this command. Specify an IP address • interface - Specify Port-channel number. • expiry seconds - DHCP Snooping 183 Command Mode Privileged EXEC mode. Specify a VLAN...
...entries to delete entries from the binding database. Syntax • ip dhcp snooping binding mac-address vlan-id ip-address {ethernet interface | port-channel port- channel-number} expiry seconds • no longer valid. Specify a MAC address. • vlan-id - Example The following example configures the...static binding exists. Default Configuration 1200. User Guidelines • There are no form of this command. Specify an IP address • interface - Specify Port-channel number. • expiry seconds - DHCP Snooping 183 Command Mode Privileged EXEC mode. Specify a VLAN...
Command Line Interface Guide
Page 184
... • show commands as a 'DHCP Snooping entry'. Example The following example clears the DHCP binding database. Console# ip dhcp snooping binding mac-address vlan-id ip-address {ethernet interface | portchannel port-channel-number} expiry seconds clear ip dhcp snooping database Use the clear ip dhcp snooping database privileged EXEC command to the database. Syntax • clear...
... • show commands as a 'DHCP Snooping entry'. Example The following example clears the DHCP binding database. Console# ip dhcp snooping binding mac-address vlan-id ip-address {ethernet interface | portchannel port-channel-number} expiry seconds clear ip dhcp snooping database Use the clear ip dhcp snooping database privileged EXEC command to the database. Syntax • clear...