Command Line Interface Guide
Page 18
show (mst 360 exit (mst 361 abort (mst 361 spanning-tree pathcost method 362 spanning-tree bpdu 362 clear spanning-tree detected-protocols 363 show spanning-tree 364 Spanning-tree guard root 376 29 SSH Commands 377 ip ssh port 377 ip ssh server 377 crypto key generate dsa 378 crypto key generate rsa 379 ip ssh pubkey-auth 379 crypto key pubkey-chain ssh 380 user-key 380 key-string 381 show ip ssh 382 show crypto key mypubkey 384 show crypto key pubkey-chain ssh 385 30 Syslog Commands 387 logging on 387 logging 387 logging console 389 logging buffered 389 18 Contents
show (mst 360 exit (mst 361 abort (mst 361 spanning-tree pathcost method 362 spanning-tree bpdu 362 clear spanning-tree detected-protocols 363 show spanning-tree 364 Spanning-tree guard root 376 29 SSH Commands 377 ip ssh port 377 ip ssh server 377 crypto key generate dsa 378 crypto key generate rsa 379 ip ssh pubkey-auth 379 crypto key pubkey-chain ssh 380 user-key 380 key-string 381 show ip ssh 382 show crypto key mypubkey 384 show crypto key pubkey-chain ssh 385 30 Syslog Commands 387 logging on 387 logging 387 logging console 389 logging buffered 389 18 Contents
Command Line Interface Guide
Page 25
... commands available for that particular command mode. The following figure illustrates the command mode access path. The standard order to another. at the system prompt (console prompt) displays a list of specific commands. From each mode a specific command is used to navigate from one command mode to access the modes is divided...
... commands available for that particular command mode. The following figure illustrates the command mode access path. The standard order to another. at the system prompt (console prompt) displays a list of specific commands. From each mode a specific command is used to navigate from one command mode to access the modes is divided...
Command Line Interface Guide
Page 26
... Privileged EXEC mode. In general, the User EXEC commands allow the user to the device Configuration mode. A password prompt is defined as "*". console# To return from the User EXEC mode, perform the following steps: 1 At the prompt enter the command enable and press . The Interface ... interfaces in User EXEC Mode. To enter the Privileged EXEC mode from Privileged Exec mode to commands that do not change the configuration. console> The default host name is displayed as a privileged user. Privileged users enter directly into the device, the user is automatically in the...
... Privileged EXEC mode. In general, the User EXEC commands allow the user to the device Configuration mode. A password prompt is defined as "*". console# To return from the User EXEC mode, perform the following steps: 1 At the prompt enter the command enable and press . The Interface ... interfaces in User EXEC Mode. To enter the Privileged EXEC mode from Privileged Exec mode to commands that do not change the configuration. console> The default host name is displayed as a privileged user. Privileged users enter directly into the device, the user is automatically in the...
Command Line Interface Guide
Page 27
...as a whole, rather than just a specific interface. For example, the Exit command is used to the Privileged EXEC mode: console# console#configure console(config)#exit console# Using the CLI 27 The Global Configuration mode prompt is used to return from any mode to the previous mode except when...the following steps: 1 At the Privileged EXEC mode prompt enter the command configure and press . The Privileged EXEC mode command configure is displayed. console(config)# 2 Use one of the device "host name" followed by the word "(config)" and "#". To enter the Global Configuration mode perform...
...as a whole, rather than just a specific interface. For example, the Exit command is used to the Privileged EXEC mode: console# console#configure console(config)#exit console# Using the CLI 27 The Global Configuration mode prompt is used to return from any mode to the previous mode except when...the following steps: 1 At the Privileged EXEC mode prompt enter the command configure and press . The Privileged EXEC mode command configure is displayed. console(config)# 2 Use one of the device "host name" followed by the word "(config)" and "#". To enter the Global Configuration mode perform...
Command Line Interface Guide
Page 28
...to a VLAN or port-channel. Contains commands to configure port-channels, for use on a UNIX system. Contains commands related 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 Interface Configuration mode. • QoS - Using the switch command-line interface (CLI) is used to entering commands on the console line only. 28 Using the CLI The Global Configuration mode command line is very similar to enter the Line Configuration command mode. •...
...to a VLAN or port-channel. Contains commands to configure port-channels, for use on a UNIX system. Contains commands related 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 Interface Configuration mode. • QoS - Using the switch command-line interface (CLI) is used to entering commands on the console line only. 28 Using the CLI The Global Configuration mode command line is very similar to enter the Line Configuration command mode. •...
Command Line Interface Guide
Page 29
...arguments specify configuration parameters. The command is not selected from a menu but is complete. The matched parameters for the administrator, enter: Console(config)# username admin password smith When working with the quit or exit command. is entered in using the CLI, perform the following ...Command Buffer • Command Completion • Keyboard Shortcuts Using the CLI 29 The User Exec mode is entered, and the prompt "Console>" is an assortment of all valid commands and corresponding help messages are displayed. The following steps: 1 Start the device and wait until...
...arguments specify configuration parameters. The command is not selected from a menu but is complete. The matched parameters for the administrator, enter: Console(config)# username admin password smith When working with the quit or exit command. is entered in using the CLI, perform the following ...Command Buffer • Command Completion • Keyboard Shortcuts Using the CLI 29 The User Exec mode is entered, and the prompt "Console>" is an assortment of all valid commands and corresponding help messages are displayed. The following steps: 1 Start the device and wait until...
Command Line Interface Guide
Page 32
... all is an option, the default for the flowcontrol command either entering a range of compulsory parameters separated by the | character. Any individual key on the console. Screen Display Indicates system messages and prompts appearing on the keyboard. For example, the command interface range port-channel has the option of either auto...
... all is an option, the default for the flowcontrol command either entering a range of compulsory parameters separated by the | character. Any individual key on the console. Screen Display Indicates system messages and prompts appearing on the keyboard. For example, the command interface range port-channel has the option of either auto...
Command Line Interface Guide
Page 33
...configured and maintained by entering commands from the CLI, which is based solely on textual input and output with commands being entered from the console a Setup Wizard is invoked. Command Group Description ACL Commands Configures and displays ACL configuration and information. Configuration and Image Files Commands Manages the...DHCP information. Basic installation configuration is a basic command-line interpreter similar to the Getting Started Guide and User Guide for configuring the Dell™ PowerConnect™ switch, details the procedures and provides configuration examples.
...configured and maintained by entering commands from the CLI, which is based solely on textual input and output with commands being entered from the console a Setup Wizard is invoked. Command Group Description ACL Commands Configures and displays ACL configuration and information. Configuration and Image Files Commands Manages the...DHCP information. Basic installation configuration is a basic command-line interpreter similar to the Getting Started Guide and User Guide for configuring the Dell™ PowerConnect™ switch, details the procedures and provides configuration examples.
Command Line Interface Guide
Page 34
... displays LACP information. Configures and reports on Spanning Tree protocol Configures SSH authentication. Configures IGMP snooping and displays IGMP configuration and IGMP information. Configures the console and remote Telnet connection. Configures Voice VLANs and displays Voice VLAN information. Configures tunnel routing configurations.
... displays LACP information. Configures and reports on Spanning Tree protocol Configures SSH authentication. Configures IGMP snooping and displays IGMP configuration and IGMP information. Configures the console and remote Telnet connection. Configures Voice VLANs and displays Voice VLAN information. Configures tunnel routing configurations.
Command Line Interface Guide
Page 35
...-lists Displays access lists applied on the device. Configuration Specifies the authentication method list when accessing Line Configuration a higher privilege level from a remote telnet or console. Configuration permit (ip) Permits traffic if the conditions defined in the deny statement match. IP-Access List Configuration permit (MAC) Defines permit conditions of an...
...-lists Displays access lists applied on the device. Configuration Specifies the authentication method list when accessing Line Configuration a higher privilege level from a remote telnet or console. Configuration permit (ip) Permits traffic if the conditions defined in the deny statement match. IP-Access List Configuration permit (MAC) Defines permit conditions of an...
Command Line Interface Guide
Page 53
...Generates DSA key pairs. Global Configuration Generates RSA key pairs. Privileged User EXEC Displays SSH public keys stored on logging logging console logging buffered Description Controls error messages logging. Limits syslog messages displayed from a SSH server. Global Configuration Specifies which SSH public... messages to a syslog server. Global Configuration Enables public key authentication for incoming SSH sessions. Limits messages logged to the console based on the device. SSH Commands Command Group ip ssh port ip ssh server crypto key generate dsa crypto key generate...
...Generates DSA key pairs. Global Configuration Generates RSA key pairs. Privileged User EXEC Displays SSH public keys stored on logging logging console logging buffered Description Controls error messages logging. Limits syslog messages displayed from a SSH server. Global Configuration Specifies which SSH public... messages to a syslog server. Global Configuration Enables public key authentication for incoming SSH sessions. Limits messages logged to the console based on the device. SSH Commands Command Group ip ssh port ip ssh server crypto key generate dsa crypto key generate...
Command Line Interface Guide
Page 65
... example clears messages from an internal buffer based on severity. Identifies a specific line for a remote telnet or console. Limits syslog messages displayed from the internal syslog message logging buffer. Specifies the login authentication method list for configuration...to count Multicast packets. Sets the authentication and encryption key for IPv6 ICMP error messages. Defines a static host name-to the console based on login authentication management access-class management access-list port jumbo-frame port storm-control includemulticast priority-queue out num-ofqueues qos...
... example clears messages from an internal buffer based on severity. Identifies a specific line for a remote telnet or console. Limits syslog messages displayed from the internal syslog message logging buffer. Specifies the login authentication method list for configuration...to count Multicast packets. Sets the authentication and encryption key for IPv6 ICMP error messages. Defines a static host name-to the console based on login authentication management access-class management access-list port jumbo-frame port storm-control includemulticast priority-queue out num-ofqueues qos...
Command Line Interface Guide
Page 70
... history history size login-banner motd-banner password autobaud speed Description Specifies the authentication method list when accessing a higher privilege level from a remote telnet or console. Deletes all the GVRP statistics information. Defines a permit rule. Specifies a password on a line. Configures the interval that the device loads at startup...
... history history size login-banner motd-banner password autobaud speed Description Specifies the authentication method list when accessing a higher privilege level from a remote telnet or console. Deletes all the GVRP statistics information. Defines a permit rule. Specifies a password on a line. Configures the interval that the device loads at startup...
Command Line Interface Guide
Page 75
...-name • no form of this command to place the device in IPv4 Access List Configuration mode. Command Mode Global 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 the MAC-Access List Configuration mode and creates...-List. An IPv4 ACL and MAC ACL cannot share the same name. Example The following example shows how to define an IPv4 Access List called dell-access-1 and to remove the Access List. Default Configuration No IPv4 Access List is defined. ACL Commands 75
...-name • no form of this command to place the device in IPv4 Access List Configuration mode. Command Mode Global 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 the MAC-Access List Configuration mode and creates...-List. An IPv4 ACL and MAC ACL cannot share the same name. Example The following example shows how to define an IPv4 Access List called dell-access-1 and to remove the Access List. Default Configuration No IPv4 Access List is defined. ACL Commands 75
Command Line Interface Guide
Page 76
...}} {any|{destination destination-wildcard}} [dscp number | ip-precedence number] • permit-icmp {any|{source source-wildcard}} {any|{destination destination-wildcard}} {any |igmp- Console(config)# mac access-list macl-acl1 Console(config-mac-al)# permit (ip) The permit IP-Access List Configuration mode command permits traffic if the conditions defined in the permit...
...}} {any|{destination destination-wildcard}} [dscp number | ip-precedence number] • permit-icmp {any|{source source-wildcard}} {any|{destination destination-wildcard}} {any |igmp- Console(config)# mac access-list macl-acl1 Console(config-mac-al)# permit (ip) The permit IP-Access List Configuration mode command permits traffic if the conditions defined in the permit...
Command Line Interface Guide
Page 78
... ACL Commands After an ACE is added to define a permit statement for an IP ACL. Default Configuration No IPv4 ACL is defined. Console(config)# ip access-list ip-acl1 Console(config-ip-al)# permit rsvp 192.1.1.1 0.0.0.0 any condition exists at the end of the list and those packets that do not match...
... ACL Commands After an ACE is added to define a permit statement for an IP ACL. Default Configuration No IPv4 ACL is defined. Console(config)# ip access-list ip-acl1 Console(config-ip-al)# permit rsvp 192.1.1.1 0.0.0.0 any condition exists at the end of the list and those packets that do not match...
Command Line Interface Guide
Page 80
... ACL Commands Specifies wildcard bits to be ignored. • vlan-id - Specifies the inner vlan id of the packet. • source-wildcard - Console(config)# ip access-list ip-acl1 Console(config-ip-al)# deny rsvp 192.1.1.1 0.0.0.255 any permit (MAC) The permit MAC-Access List Configuration mode command defines permit conditions of...
... ACL Commands Specifies wildcard bits to be ignored. • vlan-id - Specifies the inner vlan id of the packet. • source-wildcard - Console(config)# ip access-list ip-acl1 Console(config-ip-al)# deny rsvp 192.1.1.1 0.0.0.255 any permit (MAC) The permit MAC-Access List Configuration mode command defines permit conditions of...
Command Line Interface Guide
Page 81
... is added, an implied deny-any-any condition exists at the end of the host to be ignored. • any | {destination destination- Console(config)# mac access-list macl-acl1 Console(config-mac-al)# permit 6:6:6:6:6:6 0:0:0:0:0:0 any vlan 6 deny (MAC) The deny MAC-Access List Configuration mode command denies traffic if the conditions defined...
... is added, an implied deny-any-any condition exists at the end of the host to be ignored. • any | {destination destination- Console(config)# mac access-list macl-acl1 Console(config-mac-al)# permit 6:6:6:6:6:6 0:0:0:0:0:0 any vlan 6 deny (MAC) The deny MAC-Access List Configuration mode command denies traffic if the conditions defined...
Command Line Interface Guide
Page 82
... a double tagged packet. Specifies the inner vlan id of Service (CoS). (Range: 0 - 7) • cos-wildcard - Command Mode MAC-Access List Configuration mode. Console(config)# mac access-list macl1 Console (config-mac-acl)# deny 6:6:6:6:6:6:0:0:0:0:0:0 any condition exists at the end of this command to an ACL, all packets are denied. Applies the specified...
... a double tagged packet. Specifies the inner vlan id of Service (CoS). (Range: 0 - 7) • cos-wildcard - Command Mode MAC-Access List Configuration mode. Console(config)# mac access-list macl1 Console (config-mac-acl)# deny 6:6:6:6:6:6:0:0:0:0:0:0 any condition exists at the end of this command to an ACL, all packets are denied. Applies the specified...
Command Line Interface Guide
Page 83
Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Console(config)# interface eth g1 Console(config-if)# service-acl input macl1 show access-lists The show access-lists [name] • name - The name of the ACL. Example The ... access-lists Privileged EXEC mode command displays access control lists (ACLs) defined on a device. Example The following example binds (services) an ACL to VLAN 2. Console# show access-lists IP access list ACL1 permit 234 172.30.40.1 0.0.0.0 any permit 234 172.30.8.8 0.0.0.0 any ACL Commands 83
Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. Console(config)# interface eth g1 Console(config-if)# service-acl input macl1 show access-lists The show access-lists [name] • name - The name of the ACL. Example The ... access-lists Privileged EXEC mode command displays access control lists (ACLs) defined on a device. Example The following example binds (services) an ACL to VLAN 2. Console# show access-lists IP access list ACL1 permit 234 172.30.40.1 0.0.0.0 any permit 234 172.30.8.8 0.0.0.0 any ACL Commands 83