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 42
.... 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 server. Interface Configuration Sets an IP address Interface Configuration Acquires an IP address on...
.... 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 server. Interface Configuration Sets an IP address Interface Configuration Acquires an IP address on...
Command Line Interface Guide
Page 66
... Sets the authentication encryption key used for Simple Network Time Protocol (SNTP). radius-server source-ipv6 Specifies the source IPv6 address used for the IPv6 communication with RADIUS servers. snmp-server enable traps Enables the switch to SNMP protocol. snmp-server trap...Modes spanning-tree hello-time Configures the spanning tree bridge Hello Time. spanning-tree pathcost method Sets the default pathcost method. radius-server source-ip Specifies the source IP address used for communication with RADIUS servers. radius-server timeout Sets the interval for which a router waits ...
... Sets the authentication encryption key used for Simple Network Time Protocol (SNTP). radius-server source-ipv6 Specifies the source IPv6 address used for the IPv6 communication with RADIUS servers. snmp-server enable traps Enables the switch to SNMP protocol. snmp-server trap...Modes spanning-tree hello-time Configures the spanning tree bridge Hello Time. spanning-tree pathcost method Sets the default pathcost method. radius-server source-ip Specifies the source IP address used for communication with RADIUS servers. radius-server timeout Sets the interval for which a router waits ...
Command Line Interface Guide
Page 79
...(Range: 0 - 255) • destination-port - Available options are concatenated to be applied to the source IP address by "-". Specifies the name or the number of TCP flags. Default Configuration No IPv4 Access List is matched. • source - For example: +fin-ack. Specifies IGMP packets ... if the condition is defined. Specifies wildcard bits to be ignored. • destination - Specifies wildcard bits to be applied to the destination IP address by placing 1s in bit positions to a one of -flags - Specifies the UDP/TCP source port. (Range: 0 - 65535) ...
...(Range: 0 - 255) • destination-port - Available options are concatenated to be applied to the source IP address by "-". Specifies the name or the number of TCP flags. Default Configuration No IPv4 Access List is matched. • source - For example: +fin-ack. Specifies IGMP packets ... if the condition is defined. Specifies wildcard bits to be ignored. • destination - Specifies wildcard bits to be applied to the destination IP address by placing 1s in bit positions to a one of -flags - Specifies the UDP/TCP source port. (Range: 0 - 65535) ...
Command Line Interface Guide
Page 138
User Guidelines There are no default configuration. Default Configuration This command has no user guidelines for this command. Examples The following example shows the status of the Simple Network Time Protocol (... ---------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.
User Guidelines There are no default configuration. Default Configuration This command has no user guidelines for this command. Examples The following example shows the status of the Simple Network Time Protocol (... ---------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 149
...-config file. Default Configuration This command has no user guidelines for this command. Command Mode Privileged EXEC mode. Console# show startup-config no spanning-tree vlan database vlan 2 exit interface range ethernet g(1-2) switchport access vlan 2 exit interface vlan 2 bridge address 00: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
...-config file. Default Configuration This command has no user guidelines for this command. Command Mode Privileged EXEC mode. Console# show startup-config no spanning-tree vlan database vlan 2 exit interface range ethernet g(1-2) switchport access vlan 2 exit interface vlan 2 bridge address 00: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
Command Line Interface Guide
Page 183
..., in seconds, after which the binding entry is no ip dhcp snooping binding mac-address vlan-id • mac-address - DHCP Snooping 183 channel-number} expiry seconds • no longer valid. Default Configuration No static binding exists. Syntax • ip dhcp snooping binding mac-address vlan-id ip-address {ethernet interface | port-channel port- Command Mode Global Configuration...
..., in seconds, after which the binding entry is no ip dhcp snooping binding mac-address vlan-id • mac-address - DHCP Snooping 183 channel-number} expiry seconds • no longer valid. Default Configuration No static binding exists. Syntax • ip dhcp snooping binding mac-address vlan-id ip-address {ethernet interface | port-channel port- Command Mode Global Configuration...
Command Line Interface Guide
Page 184
...default. Command Mode Privileged EXEC mode. User Guidelines • There are displayed in the show ip dhcp snooping [ethernet interface | port-channel port-channel-number] • interface - Syntax • show commands as a 'DHCP Snooping entry'. 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 display ...
...default. Command Mode Privileged EXEC mode. User Guidelines • There are displayed in the show ip dhcp snooping [ethernet interface | port-channel port-channel-number] • interface - Syntax • show commands as a 'DHCP Snooping entry'. 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 display ...
Command Line Interface Guide
Page 185
... displays the DHCP snooping configuration. Console # show ip dhcp snooping binding [mac-address mac-address] [ip-address ip-address] [vlan vlan] [ethernet interface | port-channel port-channel-number] • mac-address - Specify a MAC address. • ip-address - Syntax • show ip dhcp snooping DHCP snooping is enabled DHCP snooping is configured on a switch. Default Configuration This command has no default configuration. DHCP Snooping 185
... displays the DHCP snooping configuration. Console # show ip dhcp snooping binding [mac-address mac-address] [ip-address ip-address] [vlan vlan] [ethernet interface | port-channel port-channel-number] • mac-address - Specify a MAC address. • ip-address - Syntax • show ip dhcp snooping DHCP snooping is enabled DHCP snooping is configured on a switch. Default Configuration This command has no default configuration. DHCP Snooping 185
Command Line Interface Guide
Page 200
... displays information on dynamically learned Multicast router interfaces. Command Mode Interface Configuration mode (VLAN). Syntax • ip igmp snooping querier address ip-address • no default configuration. Example The following example defines the source IP address to default. Use the no IP address is configured for the VLAN, it is disabled. Command Mode User EXEC mode. 200 IGMP Snooping Commands...
... displays information on dynamically learned Multicast router interfaces. Command Mode Interface Configuration mode (VLAN). Syntax • ip igmp snooping querier address ip-address • no default configuration. Example The following example defines the source IP address to default. Use the no IP address is configured for the VLAN, it is disabled. Command Mode User EXEC mode. 200 IGMP Snooping Commands...
Command Line Interface Guide
Page 205
... of the IP address. Console# clear host dhcp * ip address The ip address Interface Configuration mode command sets an IP address. Use the no default configuration. Removes all entries from Dynamic Host Configuration Protocol (DHCP). User Guidelines • This command would delete the host name-to-address mapping temporarily until the next renew of this command to remove an IP address. IP Addressing Commands...
... of the IP address. Console# clear host dhcp * ip address The ip address Interface Configuration mode command sets an IP address. Use the no default configuration. Removes all entries from Dynamic Host Configuration Protocol (DHCP). User Guidelines • This command would delete the host name-to-address mapping temporarily until the next renew of this command to remove an IP address. IP Addressing Commands...
Command Line Interface Guide
Page 206
... context). Example The following example configures VLAN 1 with the IP address 131.108.1.27 and subnet mask 255.255.255.0. Use the no ip address dhcp • hostname - The no ip address [ip-address] • ip-address - This name need not be preceded by a forward slash (/). (Range: 8 -30) Default Configuration No IP address is defined for a range of bits that was acquired, thus...
... context). Example The following example configures VLAN 1 with the IP address 131.108.1.27 and subnet mask 255.255.255.0. Use the no ip address dhcp • hostname - The no ip address [ip-address] • ip-address - This name need not be preceded by a forward slash (/). (Range: 8 -30) Default Configuration No IP address is defined for a range of bits that was acquired, thus...
Command Line Interface Guide
Page 207
... from a DHCP server, it sends a DHCPDISCOVER message to provide information about itself to remove the default gateway. Syntax • ip default-gateway ip-address • no default configuration. Valid IP address that specifies the IP address of the device. • The no form of the ip address dhcp hostname host-name command is when host-name is included in the DHCP option...
... from a DHCP server, it sends a DHCPDISCOVER message to provide information about itself to remove the default gateway. Syntax • ip default-gateway ip-address • no default configuration. Valid IP address that specifies the IP address of the device. • The no form of the ip address dhcp hostname host-name command is when host-name is included in the DHCP option...
Command Line Interface Guide
Page 208
...-channel number. Example The following example the displays the usability status of interfaces configured for IP. 208 IP Addressing Commands Command Mode User EXEC mode. Console(config)# ip default-gateway 192.168.1.1 show ip interface The show ip interface [ethernet interface-number | vlan vlan-id | port-channel number] • ethernet interface-number - Example The following example defines...
...-channel number. Example The following example the displays the usability status of interfaces configured for IP. 208 IP Addressing Commands Command Mode User EXEC mode. Console(config)# ip default-gateway 192.168.1.1 show ip interface The show ip interface [ethernet interface-number | vlan vlan-id | port-channel number] • ethernet interface-number - Example The following example defines...
Command Line Interface Guide
Page 209
... - Default Configuration This command has no arp ip_addr {ethernet interface-number | vlan vlan-id | port-channel number} • ip_addr - IP Addressing Commands 209 IP address or IP alias to map to the specified IP address or IP alias. • ethernet interface-number - VLAN number. • port-channel number - Console# show ip interface Gateway IP Address 10.7.1.1 Type ----------Static Activity Status Active IP address 10...
... - Default Configuration This command has no arp ip_addr {ethernet interface-number | vlan vlan-id | port-channel number} • ip_addr - IP Addressing Commands 209 IP address or IP alias to map to the specified IP address or IP alias. • ethernet interface-number - VLAN number. • port-channel number - Console# show ip interface Gateway IP Address 10.7.1.1 Type ----------Static Activity Status Active IP address 10...
Command Line Interface Guide
Page 210
... all dynamic entries from the ARP cache. Syntax • arp timeout seconds • no default configuration. 210 IP Addressing Commands Example The following example adds the IP address 198.133.219.232 and MAC address 00:00:0c:40:0f:bc to 12000 seconds. Time (in seconds) that an entry ...The arp timeout Global Configuration mode command configures how long an entry remains in the ARP cache. (Range: 1 - 40000000) Default Configuration The default timeout is recommended not to set the timeout value to restore the default value. Use the no form of this command to less than 3600.
... all dynamic entries from the ARP cache. Syntax • arp timeout seconds • no default configuration. 210 IP Addressing Commands Example The following example adds the IP address 198.133.219.232 and MAC address 00:00:0c:40:0f:bc to 12000 seconds. Time (in seconds) that an entry ...The arp timeout Global Configuration mode command configures how long an entry remains in the ARP cache. (Range: 1 - 40000000) Default Configuration The default timeout is recommended not to set the timeout value to restore the default value. Use the no form of this command to less than 3600.
Command Line Interface Guide
Page 211
...ip-address ip-address] [mac-address mac-address] [ethernet interface | port-channel port- Displays the ARP entry of a specific IP address. • mac-address - Command Mode Privileged EXEC mode. Default Configuration This command has no user guidelines for this command. channel-number] Parameters • ip-address - Displays the ARP entry of a specific MAC address...User Guidelines • There are no default configuration. Displays the ARP entry of a specific Ethernet port interface. • port-channel-number - IP Addressing Commands 211 Syntax • show arp ...
...ip-address ip-address] [mac-address mac-address] [ethernet interface | port-channel port- Displays the ARP entry of a specific IP address. • mac-address - Command Mode Privileged EXEC mode. Default Configuration This command has no user guidelines for this command. channel-number] Parameters • ip-address - Displays the ARP entry of a specific MAC address...User Guidelines • There are no default configuration. Displays the ARP entry of a specific Ethernet port interface. • port-channel-number - IP Addressing Commands 211 Syntax • show arp ...
Command Line Interface Guide
Page 212
... System (DNS)-based host name-to -address translation. Default Configuration The DNS -based host name-to disable the DNS. Syntax • ip domain-lookup • no ip domain-lookup This command has no user guidelines for this command to -address translation is enabled. Console (config)# ip domain-lookup 212 IP Addressing Commands Command Mode Global Configuration mode. Use...
... System (DNS)-based host name-to -address translation. Default Configuration The DNS -based host name-to disable the DNS. Syntax • ip domain-lookup • no ip domain-lookup This command has no user guidelines for this command to -address translation is enabled. Console (config)# ip domain-lookup 212 IP Addressing Commands Command Mode Global Configuration mode. Use...
Command Line Interface Guide
Page 304
... the IPv6 communication with RADIUS servers. Syntax • radius-server source-ipv6 source • no radius source-server-ip source • source - Default Configuration The default IP address is the outgoing IP interface. Console (config)# radius-server source-ip 10.1.1.1 radius-server source-ipv6 The radius-server source-ipv6 Global Configuration mode command specifies the source IPv6...
... the IPv6 communication with RADIUS servers. Syntax • radius-server source-ipv6 source • no radius source-server-ip source • source - Default Configuration The default IP address is the outgoing IP interface. Console (config)# radius-server source-ip 10.1.1.1 radius-server source-ipv6 The radius-server source-ipv6 Global Configuration mode command specifies the source IPv6...
User's Guide
Page 219
... updates a notification recipient receiving notifications in SNMP version 1 or 2. show snmp Community-String public private Community-Access View name read only user-view read write default IP address ---------All 172.16.1.1 private su DefaultSuper 172.17.1.1 Configuring System Information 219 Table 6-46. Configuring SNMP Notification Recipients Using CLI Commands The following is an...
... updates a notification recipient receiving notifications in SNMP version 1 or 2. show snmp Community-String public private Community-Access View name read only user-view read write default IP address ---------All 172.16.1.1 private su DefaultSuper 172.17.1.1 Configuring System Information 219 Table 6-46. Configuring SNMP Notification Recipients Using CLI Commands The following is an...