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 12
ipv6 address link-local 221 ipv6 unreachables 222 ipv6 default-gateway 222 ipv6 mld join-group 223 ipv6 mld version 224 show ipv6 interface 225 show ipv6 route 227 ipv6 nd dad attempts 228 ipv6 host 229 ipv6 neighbor 230 ipv6 set mtu 231 show ipv6 neighbors 232 clear ipv6 neighbors 234 16 iSCSI Commands 235 iscsi enable 235 iscsi target port 235 iscsi cos 237 iscsi aging time 237 iscsi max connections 238 show iscsi 239 show iscsi sessions 240 17 LACP Commands 243 lacp system-priority 243 lacp port-priority 243 lacp timeout 244 12 Contents
ipv6 address link-local 221 ipv6 unreachables 222 ipv6 default-gateway 222 ipv6 mld join-group 223 ipv6 mld version 224 show ipv6 interface 225 show ipv6 route 227 ipv6 nd dad attempts 228 ipv6 host 229 ipv6 neighbor 230 ipv6 set mtu 231 show ipv6 neighbors 232 clear ipv6 neighbors 234 16 iSCSI Commands 235 iscsi enable 235 iscsi target port 235 iscsi cos 237 iscsi aging time 237 iscsi max connections 238 show iscsi 239 show iscsi sessions 240 17 LACP Commands 243 lacp system-priority 243 lacp port-priority 243 lacp timeout 244 12 Contents
Command Line Interface Guide
Page 26
... do not change the configuration. The Privileged mode gives access to prevent unauthorized use because many of commands are restricted on a global level. console> The default host name is "Console" unless it has been changed using the hostname command in the device. Only a limited subset of the privileged commands set operating...
... do not change the configuration. The Privileged mode gives access to prevent unauthorized use because many of commands are restricted on a global level. console> The default host name is "Console" unless it has been changed using the hostname command in the device. Only a limited subset of the privileged commands set operating...
Command Line Interface Guide
Page 30
...Command History buffer. Negating the Effect of a command or reset the configuration to more recent commands. Down-arrow key Returns to the default value. For information about the command syntax for all applicable commands. 30 Using the CLI There is the same as disabling the history..., see show history. For information about the command syntax to -use user interface which quickly guides the user in the buffer. By default, the history buffer system is not preserved across device resets. Keyword Source or destination Up-arrow key Ctrl+P Recalls commands in the history...
...Command History buffer. Negating the Effect of a command or reset the configuration to more recent commands. Down-arrow key Returns to the default value. For information about the command syntax for all applicable commands. 30 Using the CLI There is the same as disabling the history..., see show history. For information about the command syntax to -use user interface which quickly guides the user in the buffer. By default, the history buffer system is not preserved across device resets. Keyword Source or destination Up-arrow key Ctrl+P Recalls commands in the history...
Command Line Interface Guide
Page 32
... command entry standards that for the flowcontrol command either entering a range of ports or parameters and all is an option, the default for the command is entered without a parameter, it automatically defaults to all . For example click . Screen Display Indicates system messages and prompts appearing on or off } means that apply to...
... command entry standards that for the flowcontrol command either entering a range of ports or parameters and all is an option, the default for the command is entered without a parameter, it automatically defaults to all . For example click . Screen Display Indicates system messages and prompts appearing on or off } means that apply to...
Command Line Interface Guide
Page 42
... Global Configuration Deletes all dynamic entries from the ARP cache. Global Configuration Defines static host name-to -address cache Privileged User EXEC Displays the default domain name, a list of name server User EXEC hosts, the static and cached list of interfaces configured for IP. Global Configuration Sets the... host name-to -address mapping in the ARP cache. 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...
... Global Configuration Deletes all dynamic entries from the ARP cache. Global Configuration Defines static host name-to -address cache Privileged User EXEC Displays the default domain name, a list of name server User EXEC hosts, the static and cached list of interfaces configured for IP. Global Configuration Sets the... host name-to -address mapping in the ARP cache. 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...
Command Line Interface Guide
Page 43
...enable ipv6 address autoconfig ipv6 icmp error-interval show ipv6 icmp errorinterval ipv6 address ipv6 address link-local ipv6 unreachables ipv6 default-gateway ipv6 mld join-group ipv6 mld version show ipv6 interface show ipv6 route ipv6 nd dad attempts ipv6 host ...Groups 43 Interface Configuration Enables the generation of interfaces configured Privileged EXEC for any packets arriving on an interface. Defines an IPv6 default gateway. Global Configuration Configures Multicast Listener Discovery (MLD) reporting for an interface. Displays the usability status of Internet Control Message...
...enable ipv6 address autoconfig ipv6 icmp error-interval show ipv6 icmp errorinterval ipv6 address ipv6 address link-local ipv6 unreachables ipv6 default-gateway ipv6 mld join-group ipv6 mld version show ipv6 interface show ipv6 route ipv6 nd dad attempts ipv6 host ...Groups 43 Interface Configuration Enables the generation of interfaces configured Privileged EXEC for any packets arriving on an interface. Defines an IPv6 default gateway. Global Configuration Configures Multicast Listener Discovery (MLD) reporting for an interface. Displays the usability status of Internet Control Message...
Command Line Interface Guide
Page 48
...-queue Modifies the DSCP to be expedite Global Configuration queues queues. qos trust (Interface) Enables each port trust state Interface Configuration qos cos Configures the default port CoS value. Interface Configuration show qos interface Displays interface QoS data. Enables the egress queues to CoS map. Interface Configuration (Ethernet, Port-Channel) show...
...-queue Modifies the DSCP to be expedite Global Configuration queues queues. qos trust (Interface) Enables each port trust state Interface Configuration qos cos Configures the default port CoS value. Interface Configuration show qos interface Displays interface QoS data. Enables the egress queues to CoS map. Interface Configuration (Ethernet, Port-Channel) show...
Command Line Interface Guide
Page 51
Displays the configuration of filters Displays the configuration of views. Interface Configuration spanning-tree link-type Overrides the default link-type setting. Interface Configuration (Ethernet, portchannel) spanning-tree mst priority Configures the device priority for a port. show snmp views show snmp groups show snmp ...
Displays the configuration of filters Displays the configuration of views. Interface Configuration spanning-tree link-type Overrides the default link-type setting. Interface Configuration (Ethernet, portchannel) spanning-tree mst priority Configures the device priority for a port. show snmp views show snmp groups show snmp ...
Command Line Interface Guide
Page 52
... enables root guard on all configuration changes. MST Configuration mode Exits the MST Configuration mode without applying the configuration changes MST Configuration mode Sets the default path cost method. Configuration 52 Command Groups Interface Configuration Enables configuring an MST region by entering the Multiple Spanning Tree (MST) mode.
... enables root guard on all configuration changes. MST Configuration mode Exits the MST Configuration mode without applying the configuration changes MST Configuration mode Sets the default path cost method. Configuration 52 Command Groups Interface Configuration Enables configuring an MST region by entering the Multiple Spanning Tree (MST) mode.
Command Line Interface Guide
Page 58
.... Configuration switchport trunk allowed Adds or removes VLANs from a general port. Interface Configuration switchport general pvid Configures the PVID when the interface is the "port default VLAN ID (PVID)". Interface Configuration switchport general Disables port ingress filtering. Configuration switchport general map Sets a protocol-based classification rule. Privileged User EXEC show interfaces...
.... Configuration switchport trunk allowed Adds or removes VLANs from a general port. Interface Configuration switchport general pvid Configures the PVID when the interface is the "port default VLAN ID (PVID)". Interface Configuration switchport general Disables port ingress filtering. Configuration switchport general map Sets a protocol-based classification rule. Privileged User EXEC show interfaces...
Command Line Interface Guide
Page 62
... authentication access Configuration control. dot1x radius-attributes Enables user-based VLAN assignment. 802.1x Advanced Commands dot1x auth-not-req Enables unauthorized users access to default. VLAN Configuration dot1x multiple-hosts Allows multiple hosts (clients) on the interface access to access the interface. (Ethernet) dot1x guest-vlan Defines a Guest VLAN. Use...
... authentication access Configuration control. dot1x radius-attributes Enables user-based VLAN assignment. 802.1x Advanced Commands dot1x auth-not-req Enables unauthorized users access to default. VLAN Configuration dot1x multiple-hosts Allows multiple hosts (clients) on the interface access to access the interface. (Ethernet) dot1x guest-vlan Defines a Guest VLAN. Use...
Command Line Interface Guide
Page 64
...Management Protocol (IGMP) snooping Sets the available name servers. Enters the Interface Configuration mode to configure multiple VLANs. Defines a default gateway. Enters the Interface Configuration mode to configure an Ethernet type interface. dot1x system-auth-control enable password end gvrp enable ...and privilege levels. Enters the Interface Configuration (VLAN) mode. Specifies authentication methods for use by a secure web browser to default. Sets a local password to control access to configure multiple portchannels. Defines static host name-to be used by the SSH...
...Management Protocol (IGMP) snooping Sets the available name servers. Enters the Interface Configuration mode to configure multiple VLANs. Defines a default gateway. Enters the Interface Configuration mode to configure an Ethernet type interface. dot1x system-auth-control enable password end gvrp enable ...and privilege levels. Enters the Interface Configuration (VLAN) mode. Specifies authentication methods for use by a secure web browser to default. Sets a local password to control access to configure multiple portchannels. Defines static host name-to be used by the SSH...
Command Line Interface Guide
Page 65
...-priority line logging logging buffered logging buffered size logging console The following example clears messages from an internal buffer based on severity. Defines an IPv6 default gateway. Configures a static entry in the host name cache. Limits syslog messages sent to the logging file based on login authentication management access-class management...
...-priority line logging logging buffered logging buffered size logging console The following example clears messages from an internal buffer based on severity. Defines an IPv6 default gateway. Configures a static entry in the host name cache. Limits syslog messages sent to the logging file based on login authentication management access-class management...
Command Line Interface Guide
Page 66
... enable traps Enables the switch to SNMP protocol. spanning-tree hello-time Configures the spanning tree bridge Hello Time. spanning-tree pathcost method Sets the default pathcost method.
... enable traps Enables the switch to SNMP protocol. spanning-tree hello-time Configures the spanning tree bridge Hello Time. spanning-tree pathcost method Sets the default pathcost method.
Command Line Interface Guide
Page 69
...name Configures a name to a VLAN. port security Disables new address learning on a specific port. qos cos Configures the default port CoS value. spanning-tree disable Disables spanning tree on an interface. spanning-tree portfast Enables PortFast mode. Command Modes ...on a given interface. tunnel source Sets the local (source) tunnel interface IPv4 address. spanning-tree link-type Overrides the default link-type setting. port storm-control broadcast rate Configures the maximum Broadcast rate. rmon collection history Enables a Remote Monitoring ...
...name Configures a name to a VLAN. port security Disables new address learning on a specific port. qos cos Configures the default port CoS value. spanning-tree disable Disables spanning tree on an interface. spanning-tree portfast Enables PortFast mode. Command Modes ...on a given interface. tunnel source Sets the local (source) tunnel interface IPv4 address. spanning-tree link-type Overrides the default link-type setting. port storm-control broadcast rate Configures the maximum Broadcast rate. rmon collection history Enables a Remote Monitoring ...
Command Line Interface Guide
Page 73
... for QoS. exit(EXEC) Closes an active terminal session by logging off the device. show gvrp configuration Displays GVRP configuration information. show hosts Displays the default domain name, a list of name server hosts, the static and the cached list of host names and addresses. show qos interface Assigns CoS values to...
... for QoS. exit(EXEC) Closes an active terminal session by logging off the device. show gvrp configuration Displays GVRP configuration information. show hosts Displays the default domain name, a list of name server hosts, the static and the cached list of host names and addresses. show qos interface Assigns CoS values to...
Command Line Interface Guide
Page 75
...access-list access-list-name • no form of the IPv4 Access-List. Default Configuration No IPv4 Access List is defined. Use the no form of this command...are defined by a unique name. Example The following example shows how to define an IPv4 Access List called dell-access-1 and to remove the Access List. Specifies the name of this command to place the device in ... Access List and places the device in IPv4 Access List Configuration mode. Console(config)# ip access-list dell-access-1 Console(config-ip-al)# mac access-list The mac access-list Global Configuration mode command enables ...
...access-list access-list-name • no form of the IPv4 Access-List. Default Configuration No IPv4 Access List is defined. Use the no form of this command...are defined by a unique name. Example The following example shows how to define an IPv4 Access List called dell-access-1 and to remove the Access List. Specifies the name of this command to place the device in ... Access List and places the device in IPv4 Access List Configuration mode. Console(config)# ip access-list dell-access-1 Console(config-ip-al)# mac access-list The mac access-list Global Configuration mode command enables ...
Command Line Interface Guide
Page 76
Syntax • mac access-list name • no mac access-list name • access-list-name - Default Configuration No MAC Access List is defined. Command Mode Global Configuration mode. Example The following example shows how to create a MAC ACL. Console(config)# mac ...
Syntax • mac access-list name • no mac access-list name • access-list-name - Default Configuration No MAC Access List is defined. Command Mode Global Configuration mode. Example The following example shows how to create a MAC ACL. Console(config)# mac ...
Command Line Interface Guide
Page 78
...] [dst-port-wildcard source-port-wildcard] • deny-udp [disable-port] {any|{ source source-wildcard}} {any| source-port} {any|{destination destination-wildcard}} {any |{destination destination- Default Configuration No IPv4 ACL is added to an ACL, all packets are denied. Command Mode IP-Access List Configuration mode. User Guidelines • Use the...
...] [dst-port-wildcard source-port-wildcard] • deny-udp [disable-port] {any|{ source source-wildcard}} {any| source-port} {any|{destination destination-wildcard}} {any |{destination destination- Default Configuration No IPv4 ACL is added to an ACL, all packets are denied. Command Mode IP-Access List Configuration mode. User Guidelines • Use the...