Command Line Interface Guide
Page 3
Contents 1 Using the CLI 25 CLI Command Modes 25 Introduction 25 User EXEC Mode 26 Privileged EXEC Mode 26 Global Configuration Mode 27 Interface Configuration Mode and Specific Configuration Modes 28 Starting the CLI 28 Editing Features 29 Setup Wizard 30 Terminal Command Buffer 30 Negating the Effect of Commands 30 Command Completion 31... CLI Command Conventions 32 2 Command Groups 33 Introduction 33 Command Groups 33 ACL Commands 35 AAA Commands 35 Address Table Commands 36 Clock Commands 37 Configuration and Image Files Commands 38 DHCP Snooping Commands 39 Ethernet...
Contents 1 Using the CLI 25 CLI Command Modes 25 Introduction 25 User EXEC Mode 26 Privileged EXEC Mode 26 Global Configuration Mode 27 Interface Configuration Mode and Specific Configuration Modes 28 Starting the CLI 28 Editing Features 29 Setup Wizard 30 Terminal Command Buffer 30 Negating the Effect of Commands 30 Command Completion 31... CLI Command Conventions 32 2 Command Groups 33 Introduction 33 Command Groups 33 ACL Commands 35 AAA Commands 35 Address Table Commands 36 Clock Commands 37 Configuration and Image Files Commands 38 DHCP Snooping Commands 39 Ethernet...
Command Line Interface Guide
Page 5
Web Server Commands 59 802.1x Commands 60 802.1x Advanced Commands 62 3 Command Modes 63 GC (Global Configuration) Mode 63 IC (Interface Configuration) Mode 67 LC (Line Configuration) Mode 70 MA (Management Access-level) Mode 70 PE (Privileged User EXEC) Mode 70 SP (SSH Public Key) Mode 72 UE (User EXEC) Mode 73 VC (VLAN Configuration) Mode 74 4 ACL Commands 75 ip access-list 75 mac access-list 75 permit (ip 76 deny (IP 78 permit (MAC 80 deny (MAC 81 service-acl 82 show access-lists 83 show interfaces access-lists 84 Contents 5
Web Server Commands 59 802.1x Commands 60 802.1x Advanced Commands 62 3 Command Modes 63 GC (Global Configuration) Mode 63 IC (Interface Configuration) Mode 67 LC (Line Configuration) Mode 70 MA (Management Access-level) Mode 70 PE (Privileged User EXEC) Mode 70 SP (SSH Public Key) Mode 72 UE (User EXEC) Mode 73 VC (VLAN Configuration) Mode 74 4 ACL Commands 75 ip access-list 75 mac access-list 75 permit (ip 76 deny (IP 78 permit (MAC 80 deny (MAC 81 service-acl 82 show access-lists 83 show interfaces access-lists 84 Contents 5
Command Line Interface Guide
Page 9
... negotiation 155 flowcontrol 156 system flowcontrol 157 mdix 157 back-pressure 158 port jumbo-frame 159 clear counters 159 set interface active 160 show interfaces configuration 160 show interfaces status 162 show interfaces advertise 165 show interfaces description 167 show interfaces counters 168 show ports jumbo-frame 172 port storm-control...
... negotiation 155 flowcontrol 156 system flowcontrol 157 mdix 157 back-pressure 158 port jumbo-frame 159 clear counters 159 set interface active 160 show interfaces configuration 160 show interfaces status 162 show interfaces advertise 165 show interfaces description 167 show interfaces counters 168 show ports jumbo-frame 172 port storm-control...
Command Line Interface Guide
Page 10
... enable (global 187 gvrp enable (interface 187 garp timer 188 gvrp vlan-creation-forbid 189 gvrp registration-forbid 190 clear gvrp statistics 191 show gvrp configuration 191 show gvrp statistics 192 13 IGMP Snooping Commands 195 ip igmp snooping (Global 195 ip igmp snooping (Interface 195 ip igmp snooping mrouter 196...
... enable (global 187 gvrp enable (interface 187 garp timer 188 gvrp vlan-creation-forbid 189 gvrp registration-forbid 190 clear gvrp statistics 191 show gvrp configuration 191 show gvrp statistics 192 13 IGMP Snooping Commands 195 ip igmp snooping (Global 195 ip igmp snooping (Interface 195 ip igmp snooping mrouter 196...
Command Line Interface Guide
Page 13
... med enable 259 lldp med network-policy (global 259 lldp med network-policy (interface 260 lldp med location 261 clear lldp rx 262 show lldp configuration 262 show lldp local 263 Contents 13
... med enable 259 lldp med network-policy (global 259 lldp med network-policy (interface 260 lldp med location 261 clear lldp rx 262 show lldp configuration 262 show lldp local 263 Contents 13
Command Line Interface Guide
Page 14
show lldp neighbors 265 show lldp med configuration 266 20 Management ACL 269 management access-list 269 permit (management 271 deny (management 272 management access-class 273 show management access-list 273 show ...
show lldp neighbors 265 show lldp med configuration 266 20 Management ACL 269 management access-list 269 permit (management 271 deny (management 272 management access-class 273 show management access-list 273 show ...
Command Line Interface Guide
Page 17
... spanning-tree mst priority 354 spanning-tree mst max-hops 355 spanning-tree mst port-priority 356 spanning-tree mst cost 356 spanning-tree mst configuration 357 instance (mst 358 name (mst 359 revision (mst 359 Contents 17
... spanning-tree mst priority 354 spanning-tree mst max-hops 355 spanning-tree mst port-priority 356 spanning-tree mst cost 356 spanning-tree mst configuration 357 instance (mst 358 name (mst 359 revision (mst 359 Contents 17
Command Line Interface Guide
Page 20
show version 415 asset-tag 416 show system id 417 32 TACACS Commands 419 tacacs-server host 419 tacacs-server key 420 tacacs-server timeout 420 tacacs-server source-ip 421 show tacacs 422 33 TIC Commands 423 passwords min-length 423 password-aging 424 passwords aging 424 passwords history 425 passwords history hold-time 426 passwords lockout 426 aaa login-history file 427 set username active 428 set line active 428 set enable-password active 429 show passwords configuration 429 show users login-history 431 20 Contents
show version 415 asset-tag 416 show system id 417 32 TACACS Commands 419 tacacs-server host 419 tacacs-server key 420 tacacs-server timeout 420 tacacs-server source-ip 421 show tacacs 422 33 TIC Commands 423 passwords min-length 423 password-aging 424 passwords aging 424 passwords history 425 passwords history hold-time 426 passwords lockout 426 aaa login-history file 427 set username active 428 set line active 428 set enable-password active 429 show passwords configuration 429 show users login-history 431 20 Contents
Command Line Interface Guide
Page 25
... each mode a specific command is used to navigate from one command mode to assist in configuring devices, the CLI (Command Line Interface) is as follows: User EXEC mode, Privileged EXEC mode, Global Configuration mode, and Interface Configuration mode. Using the CLI 25 The following figure illustrates the command mode access path. Each command...
... each mode a specific command is used to navigate from one command mode to assist in configuring devices, the CLI (Command Line Interface) is as follows: User EXEC mode, Privileged EXEC mode, Global Configuration mode, and Interface Configuration mode. Using the CLI 25 The following figure illustrates the command mode access path. Each command...
Command Line Interface Guide
Page 26
...the User EXEC mode, perform the following steps: 1 At the prompt enter the command enable and press . The Global Configuration mode manages the device configuration on the screen and is required. The Privileged mode gives access to prevent unauthorized use because many of the device "host ...name" followed by the angle bracket (>). Privileged EXEC Mode Privileged access is password protected to commands that do not change the configuration. Only a limited subset of the device "host name" followed by "#". To enter the Privileged EXEC mode from Privileged Exec mode to...
...the User EXEC mode, perform the following steps: 1 At the prompt enter the command enable and press . The Global Configuration mode manages the device configuration on the screen and is required. The Privileged mode gives access to prevent unauthorized use because many of the device "host ...name" followed by the angle bracket (>). Privileged EXEC Mode Privileged access is password protected to commands that do not change the configuration. Only a limited subset of the device "host name" followed by "#". To enter the Privileged EXEC mode from Privileged Exec mode to...
Command Line Interface Guide
Page 27
... except when returning to User EXEC mode from the Privileged EXEC mode. The Global Configuration mode prompt consists of the following example illustrates how to access Global Configuration mode and returns to features that affect the system as a whole, rather than ... commands to return from the Interface Configuration mode to the Global Configuration mode Global Configuration Mode Global Configuration mode commands apply to the Privileged EXEC mode: console# console#configure console(config)#exit console# Using the CLI 27 The Global Configuration mode prompt is used to the User...
... except when returning to User EXEC mode from the Privileged EXEC mode. The Global Configuration mode prompt consists of the following example illustrates how to access Global Configuration mode and returns to features that affect the system as a whole, rather than ... commands to return from the Interface Configuration mode to the Global Configuration mode Global Configuration Mode Global Configuration mode commands apply to the Privileged EXEC mode: console# console#configure console(config)#exit console# Using the CLI 27 The Global Configuration mode prompt is used to the User...
Command Line Interface Guide
Page 28
... used to enter the Management Access List Configuration mode. • Ethernet - Contains commands to configure the management connections. The Global Configuration mode command interface ethernet is used to configure an Ethernet type interface. • Port Channel - Interface Configuration Mode and Specific Configuration Modes Interface Configuration mode commands are the Interface Configuration modes: • Line Interface - Contains commands to...
... used to enter the Management Access List Configuration mode. • Ethernet - Contains commands to configure the management connections. The Global Configuration mode command interface ethernet is used to configure an Ethernet type interface. • Port Channel - Interface Configuration Mode and Specific Configuration Modes Interface Configuration mode commands are the Interface Configuration modes: • Line Interface - Contains commands to...
Command Line Interface Guide
Page 29
... Editing Features Entering Commands A CLI command is a series of a parameter. The character ? Keywords identify a command, and arguments specify configuration parameters. There are displayed. • Partial keyword lookup - A list of all valid commands and corresponding help messages are two instances where... Buffer • Command Completion • Keyboard Shortcuts Using the CLI 29 For example, in each mode or within an Interface Configuration, the CLI does provide a method of a command. To see what commands are available in the command "show interfaces status ethernet...
... Editing Features Entering Commands A CLI command is a series of a parameter. The character ? Keywords identify a command, and arguments specify configuration parameters. There are displayed. • Partial keyword lookup - A list of all valid commands and corresponding help messages are two instances where... Buffer • Command Completion • Keyboard Shortcuts Using the CLI 29 For example, in each mode or within an Interface Configuration, the CLI does provide a method of a command. To see what commands are available in the command "show interfaces status ethernet...
Command Line Interface Guide
Page 30
... same as disabling the history buffer system. The standard number of a command or reset the configuration to the default value. Negating the Effect of Commands For many configuration commands, the prefix keyword "no" can be entered to cancel the effect of 10 commands ... display the history buffer, see history. Commands stored in the buffer. For information about the command syntax for configuring the command history buffer, see history size. By configuring 0, the effect is not preserved across device resets. For information about the command syntax to recall successively older...
... same as disabling the history buffer system. The standard number of a command or reset the configuration to the default value. Negating the Effect of Commands For many configuration commands, the prefix keyword "no" can be entered to cancel the effect of 10 commands ... display the history buffer, see history. Commands stored in the buffer. For information about the command syntax for configuring the command history buffer, see history size. By configuring 0, the effect is not preserved across device resets. For information about the command syntax to recall successively older...
Command Line Interface Guide
Page 33
... similar to the Getting Started Guide and User Guide for configuring the Dell™ PowerConnect™ switch, details the procedures and provides configuration examples. Address Table Commands Configures bridging address tables. DHCP Snooping Commands Configures DHCP snooping and displays DHCP configuration and DHCP information. A device can be configured and maintained by entering commands from the CLI, which is...
... similar to the Getting Started Guide and User Guide for configuring the Dell™ PowerConnect™ switch, details the procedures and provides configuration examples. Address Table Commands Configures bridging address tables. DHCP Snooping Commands Configures DHCP snooping and displays DHCP configuration and DHCP information. A device can be configured and maintained by entering commands from the CLI, which is...
Command Line Interface Guide
Page 34
... displays QoS information. Displays RMON statistics. Configures and reports on the device. Configures tunnel routing configurations. Configures IGMP snooping and displays IGMP configuration and IGMP information. Configures the console and remote Telnet connection. Configures TACACS commands Configures password access and control. Cofigures customizable login banners on Spanning Tree protocol Configures SSH authentication. Configures Voice VLANs and displays Voice VLAN information...
... displays QoS information. Displays RMON statistics. Configures and reports on the device. Configures tunnel routing configurations. Configures IGMP snooping and displays IGMP configuration and IGMP information. Configures the console and remote Telnet connection. Configures TACACS commands Configures password access and control. Cofigures customizable login banners on Spanning Tree protocol Configures SSH authentication. Configures Voice VLANs and displays Voice VLAN information...
Command Line Interface Guide
Page 35
... access-lists Displays access lists applied on the device. Specifies authentication methods for https. IP-Access List Configuration permit (MAC) Defines permit conditions of an MAC ACL. Configuration Specifies the authentication method list when accessing Line Configuration a higher privilege level from a remote telnet or console. Privileged User EXEC Command Groups 35 MAC-Access...
... access-lists Displays access lists applied on the device. Specifies authentication methods for https. IP-Access List Configuration permit (MAC) Defines permit conditions of an MAC ACL. Configuration Specifies the authentication method list when accessing Line Configuration a higher privilege level from a remote telnet or console. Privileged User EXEC Command Groups 35 MAC-Access...
Command Line Interface Guide
Page 36
... forwarding database. Privileged User EXEC port security Disables new address learning on a line. Interface Configuration port security routed secure- Line Configuration Global Configuration Global Configuration Privileged User EXEC Address Table Commands Command Group Description Access Mode bridge address Adds a static... MAC-layer station source address to a routed port. Privileged User EXEC 36 Command Groups Global Configuration bridge multicast address Registers MAC-layer Multicast addresses to the bridge VLAN table, and adds static ports to VLAN...
... forwarding database. Privileged User EXEC port security Disables new address learning on a line. Interface Configuration port security routed secure- Line Configuration Global Configuration Global Configuration Privileged User EXEC Address Table Commands Command Group Description Access Mode bridge address Adds a static... MAC-layer station source address to a routed port. Privileged User EXEC 36 Command Groups Global Configuration bridge multicast address Registers MAC-layer Multicast addresses to the bridge VLAN table, and adds static ports to VLAN...
Command Line Interface Guide
Page 37
... saving time). Privileged User EXEC Displays the port-lock status. Global Configuration clock summer-time Configures the system to automatically switch to which Global SNTP will synchronize. Configuration sntp authentication-key Defines an authentication key for received Network Time Global ...Protocol (NTP) traffic from servers. Configuration sntp authenticate Grants authentication for Simple Network Global Time Protocol (SNTP). Configuration sntp trusted-key Authenticates the identity of addresses present in all or at ...
... saving time). Privileged User EXEC Displays the port-lock status. Global Configuration clock summer-time Configures the system to automatically switch to which Global SNTP will synchronize. Configuration sntp authentication-key Defines an authentication key for received Network Time Global ...Protocol (NTP) traffic from servers. Configuration sntp authenticate Grants authentication for Simple Network Global Time Protocol (SNTP). Configuration sntp trusted-key Authenticates the identity of addresses present in all or at ...
Command Line Interface Guide
Page 38
... Image Files Commands Command Group dir more rename delete startup-config copy delete boot system show running configuration file. Copies files from a Flash memory device. Deletes a file from a source to request and Global accept NTP traffic from the system ... loads at startup. Deletes the startup-config file. Privileged User EXEC Shows the status of the SNTP server Global Configuration Displays the time and date from servers. Configuration Specifies SNTP UDP port of the SNTP. Displays the contents of the currently running -config show startup-config show ...
... Image Files Commands Command Group dir more rename delete startup-config copy delete boot system show running configuration file. Copies files from a Flash memory device. Deletes a file from a source to request and Global accept NTP traffic from the system ... loads at startup. Deletes the startup-config file. Privileged User EXEC Shows the status of the SNTP server Global Configuration Displays the time and date from servers. Configuration Specifies SNTP UDP port of the SNTP. Displays the contents of the currently running -config show startup-config show ...