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
... mode a specific command is divided into different command modes. The following figure illustrates the command mode access path. Entering a question mark "?" at the system prompt (console prompt) displays a list of specific commands. CLI Command Modes Introduction To assist in using the CLI. Each command mode has its own set of commands...
... mode a specific command is divided into different command modes. The following figure illustrates the command mode access path. Entering a question mark "?" at the system prompt (console prompt) displays a list of specific commands. CLI Command Modes Introduction To assist in using the CLI. Each command mode has its own set of commands...
Command Line Interface Guide
Page 26
... followed by "#". Privileged users enter directly into the device, the user is password protected to perform basic tests, and list system information. console# To return from the User EXEC mode, perform the following steps: 1 At the prompt enter the command enable and press . The ... configuration. User EXEC Mode After logging into the Privileged EXEC mode. Privileged EXEC Mode Privileged access is automatically in User EXEC Mode. console> The default host name is defined as "*". To enter the Privileged EXEC mode from Privileged Exec mode to the device Configuration mode...
... followed by "#". Privileged users enter directly into the device, the user is password protected to perform basic tests, and list system information. console# To return from the User EXEC mode, perform the following steps: 1 At the prompt enter the command enable and press . The ... configuration. User EXEC Mode After logging into the Privileged EXEC mode. Privileged EXEC Mode Privileged access is automatically in User EXEC Mode. console> The default host name is defined as "*". To enter the Privileged EXEC mode from Privileged Exec mode to the device Configuration mode...
Command Line Interface Guide
Page 27
... mode. The following example illustrates how to access Privileged Exec mode and return back to the User EXEC mode: console>enable Enter Password: ****** console# console#disable console> The Exit command is used to return from any mode to the previous mode except when returning to the Privileged... EXEC mode: console# console#configure console(config)#exit console# Using the CLI 27 To enter the Global Configuration mode perform the following example illustrates how to access Global Configuration...
... mode. The following example illustrates how to access Privileged Exec mode and return back to the User EXEC mode: console>enable Enter Password: ****** console# console#disable console> The Exit command is used to return from any mode to the previous mode except when returning to the Privileged... EXEC mode: console# console#configure console(config)#exit console# Using the CLI 27 To enter the Global Configuration mode perform the following example illustrates how to access Global Configuration...
Command Line Interface Guide
Page 28
...used to enter the QoS services configuration mode. The Global Configuration mode command vlan database is very similar to entering commands on the console line only. 28 Using the CLI The Global Configuration mode command management access-list is used to configure an Ethernet type interface....enter the Interface Configuration mode. • QoS - 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 managed by entering command ...
...used to enter the QoS services configuration mode. The Global Configuration mode command vlan database is very similar to entering commands on the console line only. 28 Using the CLI The Global Configuration mode command management access-list is used to configure an Ethernet type interface....enter the Interface Configuration mode. • QoS - 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 managed by entering command ...
Command Line Interface Guide
Page 29
... options are displayed. • Partial keyword lookup - A list of a parameter. The User Exec mode is entered, and the prompt "Console>" is manually entered. To enter commands that specifies the interface type, and g5 specifies the port. The matched parameters for the administrator, enter...: Console(config)# username admin password smith When working with the quit or exit command. To assist in the command "show interfaces status ethernet...
... options are displayed. • Partial keyword lookup - A list of a parameter. The User Exec mode is entered, and the prompt "Console>" is manually entered. To enter commands that specifies the interface type, and g5 specifies the port. The matched parameters for the administrator, enter...: Console(config)# username admin password smith When working with the quit or exit command. To assist in the command "show interfaces status ethernet...
Command Line Interface Guide
Page 32
... either auto, on or off } means that apply to all. 32 Using the CLI One option must be selected. For example: flowcontrol {auto|on the console. CLI Command Conventions When entering commands there are defined. Italic font Indicates a parameter.
... either auto, on or off } means that apply to all. 32 Using the CLI One option must be selected. For example: flowcontrol {auto|on the console. CLI Command Conventions When entering commands there are defined. Italic font Indicates a parameter.
Command Line Interface Guide
Page 33
...device. The CLI 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. A device can be broken down into the functional groups shown ... host. The first time you have greater configuration flexibility. The CLI can be configured and maintained by entering commands from the console a Setup Wizard is invoked. Command Group Description ACL Commands Configures and displays ACL configuration and information. This guide also provides ...
...device. The CLI 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. A device can be broken down into the functional groups shown ... host. The first time you have greater configuration flexibility. The CLI can be configured and maintained by entering commands from the console a Setup Wizard is invoked. Command Group Description ACL Commands Configures and displays ACL configuration and information. This guide also provides ...
Command Line Interface Guide
Page 34
Configures and manages IPv6 addresses on specific target ports. Configures the console and remote Telnet connection. Monitors activity on the device. Configures SNMP communities, traps and displays SNMP information. Configures TACACS commands Configures password access and control. ...
Configures and manages IPv6 addresses on specific target ports. Configures the console and remote Telnet connection. Monitors activity on the device. Configures SNMP communities, traps and displays SNMP information. Configures TACACS commands Configures password access and control. ...
Command Line Interface Guide
Page 35
... authentication methods Description Access Mode Defines login authentication. Configuration Specifies the authentication method list when accessing Line Configuration a higher privilege level from a remote telnet or console. Specifies authentication methods for https. Privileged EXEC AAA Commands Command Group aaa authentication login aaa authentication enable enable authentication ip http authentication ip https authentication...
... authentication methods Description Access Mode Defines login authentication. Configuration Specifies the authentication method list when accessing Line Configuration a higher privilege level from a remote telnet or console. Specifies authentication methods for https. Privileged EXEC AAA Commands Command Group aaa authentication login aaa authentication enable enable authentication ip http authentication ip https authentication...
Command Line Interface Guide
Page 53
...specifies a SSH public key. Limits syslog messages displayed from a SSH server. Global Configuration Enables the device to the console based on severity. Global Configuration Specifies which SSH public key is manually configured and enters the SSH public key-string... Enters SSH Public Key-chain Configuration mode. Logs messages to be configured from an internal buffer based on logging logging console logging buffered Description Controls error messages logging. Global Configuration Generates DSA key pairs. Access Mode Global Configuration Global Configuration Global...
...specifies a SSH public key. Limits syslog messages displayed from a SSH server. Global Configuration Enables the device to the console based on severity. Global Configuration Specifies which SSH public key is manually configured and enters the SSH public key-string... Enters SSH Public Key-chain Configuration mode. Logs messages to be configured from an internal buffer based on logging logging console logging buffered Description Controls error messages logging. Global Configuration Generates DSA key pairs. Access Mode Global Configuration Global Configuration Global...
Command Line Interface Guide
Page 65
...the device and enters QoS basic or advance mode. Defines an IPv6 default gateway. Identifies a specific line for a remote telnet or console. Specifies the login authentication method list for configuration and enters the Line Configuration command mode. Enables the device to be expedite queues. ...for configuration. Defines a management Access-List, and enters the Access-List for IPv6 ICMP error messages. Modifies the DSCP to the console based on severity. Configure the system to "trust" state. ip ssh server ipv6 default-gateway ipv6 host ipv6 icmp error-interval ipv6...
...the device and enters QoS basic or advance mode. Defines an IPv6 default gateway. Identifies a specific line for a remote telnet or console. Specifies the login authentication method list for configuration and enters the Line Configuration command mode. Enables the device to be expedite queues. ...for configuration. Defines a management Access-List, and enters the Access-List for IPv6 ICMP error messages. Modifies the DSCP to the console based on severity. Configure the system to "trust" state. ip ssh server ipv6 default-gateway ipv6 host ipv6 icmp error-interval ipv6...
Command Line Interface Guide
Page 70
... Protocol (DHCP). Deletes entries from the host name-to-address cache Deletes entries from the host name-to-address mapping received from a remote telnet or console. Changes the command history buffer size for automatic baud rate detection Sets the line baud rate. Removes any learned entries from the forwarding database. Clears...
... Protocol (DHCP). Deletes entries from the host name-to-address cache Deletes entries from the host name-to-address mapping received from a remote telnet or console. Changes the command history buffer size for automatic baud rate detection Sets the line baud rate. Removes any learned entries from the forwarding database. Clears...
Command Line Interface Guide
Page 75
...-List. Command Mode Global Configuration mode. Example The following example shows how to define an IPv4 Access List called dell-access-1 and to delete an ACL. 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...
...-List. Command Mode Global Configuration mode. Example The following example shows how to define an IPv4 Access List called dell-access-1 and to delete an ACL. 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...
Command Line Interface Guide
Page 76
... 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 statement match. type} [...
... 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 statement match. type} [...
Command Line Interface Guide
Page 78
...-Access List Configuration mode. Example The following example shows how to an ACL, all packets are denied. After an ACE is defined. Console(config)# ip access-list ip-acl1 Console(config-ip-al)# permit rsvp 192.1.1.1 0.0.0.0 any |destination-port} [dscp number | ip-precedence number] [src-portwildcard source-port-wildcard] [dst-port-wildcard...
...-Access List Configuration mode. Example The following example shows how to an ACL, all packets are denied. After an ACE is defined. Console(config)# ip access-list ip-acl1 Console(config-ip-al)# permit rsvp 192.1.1.1 0.0.0.0 any |destination-port} [dscp number | ip-precedence number] [src-portwildcard source-port-wildcard] [dst-port-wildcard...
Command Line Interface Guide
Page 80
... access-list ip-acl1 Console(config-ip-al)# deny rsvp 192.1.1.1 0.0.0.255 any | {destination destination-wildcard}} [vlan vlan-id] [cos cos cos-wildcard] [ethtype eth-type] [inner-vlan vlan-id] ...
... access-list ip-acl1 Console(config-ip-al)# deny rsvp 192.1.1.1 0.0.0.255 any | {destination destination-wildcard}} [vlan vlan-id] [cos cos cos-wildcard] [ethtype eth-type] [inner-vlan vlan-id] ...
Command Line Interface Guide
Page 81
... to the VLAN interface. wildcard}}[vlan vlan-id] [cos cos cos-wildcard] [ethtype eth-type] [inner-vlan vlan-id] • disable-port - 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 | {destination destination- Command Mode MAC-Access List Configuration mode. After an ACE is being sent. • destination...
... to the VLAN interface. wildcard}}[vlan vlan-id] [cos cos cos-wildcard] [ethtype eth-type] [inner-vlan vlan-id] • disable-port - 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 | {destination destination- Command Mode MAC-Access List Configuration mode. After an ACE is being sent. • destination...
Command Line Interface Guide
Page 82
... an ACL, all packets are denied. After an ACE is defined. Applies the specified ACL to detach an ACL from an input interface. 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 the input interface. Specifies the packets's Class of...
... an ACL, all packets are denied. After an ACE is defined. Applies the specified ACL to detach an ACL from an input interface. 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 the input interface. Specifies the packets's Class of...
Command Line Interface Guide
Page 83
Example The following example binds (services) an ACL to VLAN 2. Console# show access-lists [name] • name - Syntax • show access-lists IP access list ACL1 permit 234 172.30.40.1 0.0.0.0 any permit 234 172.30.8.8 ...command. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. User Guidelines There are no default configuration. Console(config)# interface eth g1 Console(config-if)# service-acl input macl1 show access-lists The show access-lists Privileged EXEC mode command displays access control lists (ACLs) defined...
Example The following example binds (services) an ACL to VLAN 2. Console# show access-lists [name] • name - Syntax • show access-lists IP access list ACL1 permit 234 172.30.40.1 0.0.0.0 any permit 234 172.30.8.8 ...command. Command Mode Privileged EXEC mode. User Guidelines There are no user guidelines for this command. User Guidelines There are no default configuration. Console(config)# interface eth g1 Console(config-if)# service-acl input macl1 show access-lists The show access-lists Privileged EXEC mode command displays access control lists (ACLs) defined...