Command Line Interface Guide
Page 3
... the CLI 25 CLI Command Modes 25 Introduction 25 User EXEC Mode 26 Privileged EXEC Mode 27 Global Configuration Mode 27 Interface Configuration Mode and Specific Configuration Modes . . . . 28 Starting the CLI 29 Editing Features 30 Setup Wizard 31 Terminal Command Buffer 31 Negating the Effect of Commands 31 Command Completion...
... the CLI 25 CLI Command Modes 25 Introduction 25 User EXEC Mode 26 Privileged EXEC Mode 27 Global Configuration Mode 27 Interface Configuration Mode and Specific Configuration Modes . . . . 28 Starting the CLI 29 Editing Features 30 Setup Wizard 31 Terminal Command Buffer 31 Negating the Effect of Commands 31 Command Completion...
Command Line Interface Guide
Page 25
... the CLI 25 CLI Command Modes Introduction To assist in using the CLI. Entering a question mark "?" at the system prompt (console prompt) displays a list of specific commands. The standard order to assist in configuring the device, the Command Line Interface (CLI) is divided into different command modes. Using the CLI This... editing features to access the modes is as follows: User EXEC mode, Privileged EXEC mode, Global Configuration mode, and Interface Configuration mode. From each mode a specific command is used to navigate from one command mode to another.
... the CLI 25 CLI Command Modes Introduction To assist in using the CLI. Entering a question mark "?" at the system prompt (console prompt) displays a list of specific commands. The standard order to assist in configuring the device, the Command Line Interface (CLI) is divided into different command modes. Using the CLI This... editing features to access the modes is as follows: User EXEC mode, Privileged EXEC mode, Global Configuration mode, and Interface Configuration mode. From each mode a specific command is used to navigate from one command mode to another.
Command Line Interface Guide
Page 26
.... The Global Configuration mode manages the device configuration on User EXEC mode and provides access to the device Configuration mode. The Interface Configuration mode configures specific interfaces in the device. User EXEC Mode After logging into the device, the user is automatically in the User EXEC command mode unless the user...
.... The Global Configuration mode manages the device configuration on User EXEC mode and provides access to the device Configuration mode. The Interface Configuration mode configures specific interfaces in the device. User EXEC Mode After logging into the device, the user is automatically in the User EXEC command mode unless the user...
Command Line Interface Guide
Page 27
... unless it was changed using the hostname command in the Global Configuration mode. For example, the exit command is displayed as a whole, rather than just a specific interface. The password is used to return from the Privileged EXEC mode. Using the CLI 27 A password prompt appears. 2 Enter the password and press . To...
... unless it was changed using the hostname command in the Global Configuration mode. For example, the exit command is displayed as a whole, rather than just a specific interface. The password is used to return from the Privileged EXEC mode. Using the CLI 27 A password prompt appears. 2 Enter the password and press . To...
Command Line Interface Guide
Page 28
... interface mode, and are used to the Privileged EXEC mode: Console# Console# configure Console(config)# exit Console# Interface Configuration Mode and Specific Configuration Modes Interface Configuration mode commands modify specific interface operations. The following example illustrates how to access the Global Configuration mode and return to enter the Line Configuration command mode...
... interface mode, and are used to the Privileged EXEC mode: Console# Console# configure Console(config)# exit Console# Interface Configuration Mode and Specific Configuration Modes Interface Configuration mode commands modify specific interface operations. The following example illustrates how to access the Global Configuration mode and return to enter the Line Configuration command mode...
Command Line Interface Guide
Page 34
Configures and manages IPv6 addresses on specific target ports. Configure Power over -Ethernet Commands Port Channel Commands Port Monitor Commands QoS Commands RADIUS Commands RMON Commands SNMP Commands Spanning Tree Commands SSH ...
Configures and manages IPv6 addresses on specific target ports. Configure Power over -Ethernet Commands Port Channel Commands Port Monitor Commands QoS Commands RADIUS Commands RMON Commands SNMP Commands Spanning Tree Commands SSH ...
Command Line Interface Guide
Page 36
... table, and adds static ports to the bridge table. Sets the Address Table aging time. Applies an ACL to specific ports. Enables forwarding all Multicast port. Configures the port security learning mode. Displays ACLs defined on a port. Forbids adding... a specific Multicast address to the input interface. Access Mode Interface (VLAN) Configuration Global Configuration Interface (VLAN) Configuration Interface (VLAN) Configuration Interface ...
... table, and adds static ports to the bridge table. Sets the Address Table aging time. Applies an ACL to specific ports. Enables forwarding all Multicast port. Configures the port security learning mode. Displays ACLs defined on a port. Forbids adding... a specific Multicast address to the input interface. Access Mode Interface (VLAN) Configuration Global Configuration Interface (VLAN) Configuration Interface (VLAN) Configuration Interface ...
Command Line Interface Guide
Page 41
... EXEC User EXEC Command Groups 41 De-registers all the GVRP statistics information. Displays GVRP error statistics. Configures the leave-time-out. Enables GVRP on a specific VLAN. Displays GVRP statistics. Displays Multicast groups learned by IGMP snooping. Enables Internet Group Management Protocol (IGMP) querier on dynamically learned Multicast router interfaces. Enables...
... EXEC User EXEC Command Groups 41 De-registers all the GVRP statistics information. Displays GVRP error statistics. Configures the leave-time-out. Enables GVRP on a specific VLAN. Displays GVRP statistics. Displays Multicast groups learned by IGMP snooping. Enables Internet Group Management Protocol (IGMP) querier on dynamically learned Multicast router interfaces. Enables...
Command Line Interface Guide
Page 44
LACP Commands Command Group lacp system-priority lacp port-priority lacp timeout show lacp ethernet show line Description Identifies a specific line for the current terminal session. Access Mode Global Configuration Interface Configuration Interface Configuration Privileged EXEC Privileged EXEC Line Commands Command Group line speed autobaud ...
LACP Commands Command Group lacp system-priority lacp port-priority lacp timeout show lacp ethernet show line Description Identifies a specific line for the current terminal session. Access Mode Global Configuration Interface Configuration Interface Configuration Privileged EXEC Privileged EXEC Line Commands Command Group line speed autobaud ...
Command Line Interface Guide
Page 45
...) Description Enables Link Layer Discovery Protocol (LLDP). Line Commands Command Group line speed autobaud exec-timeout show line terminal history terminal history size Description Identifies a specific line for the current terminal session. Specifies how often the software sends LLDP updates. Access Mode Global configuration Interface configuration (Ethernet) Global configuration Global configuration...
...) Description Enables Link Layer Discovery Protocol (LLDP). Line Commands Command Group line speed autobaud exec-timeout show line terminal history terminal history size Description Identifies a specific line for the current terminal session. Specifies how often the software sends LLDP updates. Access Mode Global configuration Interface configuration (Ethernet) Global configuration Global configuration...
Command Line Interface Guide
Page 46
.... Access Mode Global Configuration Management Access-level Management Access-level 46 Command Groups Enables a message to be displayed when an EXEC process is advertised from a specific port. Displays the Link Layer Discovery Protocol (LLDP) Media Endpoint Discovery (MED) configuration. Enables the display of -the-day banner.. Displays the Link Layer Discovery...
.... Access Mode Global Configuration Management Access-level Management Access-level 46 Command Groups Enables a message to be displayed when an EXEC process is advertised from a specific port. Displays the Link Layer Discovery Protocol (LLDP) Media Endpoint Discovery (MED) configuration. Enables the display of -the-day banner.. Displays the Link Layer Discovery...
Command Line Interface Guide
Page 48
... p interface port-channel interface range portchannel channel-group show interfaces portchannel Description Enters the interface configuration mode of the incoming traffic. Limits the rate of a specific port-channel. Displays interface QoS information. Access Mode Global Configuration Global Configuration Interface Configuration Privileged EXEC Port Monitor Commands Command Group port monitor show qos...
... p interface port-channel interface range portchannel channel-group show interfaces portchannel Description Enters the interface configuration mode of the incoming traffic. Limits the rate of a specific port-channel. Displays interface QoS information. Access Mode Global Configuration Global Configuration Interface Configuration Privileged EXEC Port Monitor Commands Command Group port monitor show qos...
Command Line Interface Guide
Page 51
.... Displays the configuration of SNMP groups. Configures the Spanning Tree bridge forward time. Configures the Spanning Tree bridge Hello Time. Sets up the information on a specific port. Sets SNMP MIB value by the CLI. snmp-server trap authentication snmp-server contact Enables the device to send Simple Network Management Protocol traps...
.... Displays the configuration of SNMP groups. Configures the Spanning Tree bridge forward time. Configures the Spanning Tree bridge Hello Time. Sets up the information on a specific port. Sets SNMP MIB value by the CLI. snmp-server trap authentication snmp-server contact Enables the device to send Simple Network Management Protocol traps...
Command Line Interface Guide
Page 56
... information on the ISATAP tunnel. Sets the number of failed login attempts before the IP address of DNS Query/Router Solicitation refresh messages that represents a specific automatic tunnel router domain name. configures the interval between DNS Queries (before a user account is relevant for the automatic tunnel router domain name. passwords history...
... information on the ISATAP tunnel. Sets the number of failed login attempts before the IP address of DNS Query/Router Solicitation refresh messages that represents a specific automatic tunnel router domain name. configures the interval between DNS Queries (before a user account is relevant for the automatic tunnel router domain name. passwords history...
Command Line Interface Guide
Page 58
...-vlan mac-to -VLAN database. Protocol groups are used internally by the device. Configures the PVID when the interface is in general mode. Forbids adding specific VLANs to an uplink port. Displays switchport configuration. Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface...
...-vlan mac-to -VLAN database. Protocol groups are used internally by the device. Configures the PVID when the interface is in general mode. Forbids adding specific VLANs to an uplink port. Displays switchport configuration. Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface Configuration Interface...
Command Line Interface Guide
Page 64
.... Enables DHCP snooping on a VLAN. Enters the interface configuration mode to configure multiple ethernet type interfaces. Globally enables DHCP snooping. Configures the update frequency of a specific port-channel. Specifies or modifies the device host name. Defines static host name-to normal and privilege levels. Enters the interface configuration mode of the...
.... Enables DHCP snooping on a VLAN. Enters the interface configuration mode to configure multiple ethernet type interfaces. Globally enables DHCP snooping. Configures the update frequency of a specific port-channel. Specifies or modifies the device host name. Defines static host name-to normal and privilege levels. Enters the interface configuration mode of the...
Command Line Interface Guide
Page 65
... port for incoming SSH sessions. Enables public key authentication for use by the SSH server. Enables logging management access list events. Command Modes 65 Identifies a specific line for configuration. Limits syslog messages displayed from a browser. Controls error messages logging. ip http authentication ip http exec-timeout ip http port ip http...
... port for incoming SSH sessions. Enables public key authentication for use by the SSH server. Enables logging management access list events. Command Modes 65 Identifies a specific line for configuration. Limits syslog messages displayed from a browser. Controls error messages logging. ip http authentication ip http exec-timeout ip http port ip http...
Command Line Interface Guide
Page 66
... on the device and enters QoS basic or advance mode. Enables measuring CPU utilization. Configures the administrative mode of RADIUS server hosts. Adds a description of a specific unit. Sets up the community access string to permit access to reply. Sets the interval for which a device waits for a server host to SNMP protocol...
... on the device and enters QoS basic or advance mode. Enables measuring CPU utilization. Configures the administrative mode of RADIUS server hosts. Adds a description of a specific unit. Sets up the community access string to permit access to reply. Sets the interval for which a device waits for a server host to SNMP protocol...
Command Line Interface Guide
Page 68
... source IP address that will be used for the communication with a Port-channel. 68 Command Modes Configures the Spanning Tree protocol. Maps CoS values to a specific egress queue. Specifies a TACACS+ host. IC (Interface Configuration) Mode Command Group back-pressure bridge multicast forbidden forward-all bridge multicast forward-all Multicast frames on...
... source IP address that will be used for the communication with a Port-channel. 68 Command Modes Configures the Spanning Tree protocol. Maps CoS values to a specific egress queue. Specifies a TACACS+ host. IC (Interface Configuration) Mode Command Group back-pressure bridge multicast forbidden forward-all bridge multicast forward-all Multicast frames on...
Command Line Interface Guide
Page 71
spanning-tree guard root Enables root guard on a specific port. spanning-tree mst cost Configures the path cost for a port. switchport access vlan Configures the VLAN ID when the interface is in access ...spanning-tree portfast Enables PortFast mode. switchport customer vlan Set the port's VLAN when the interface is in customer mode. switchport forbidden vlan Forbids adding specific VLANs to permit or deny. switchport general ingressfiltering disable Disables port ingress filtering. spanning-tree mst port-priority Configures the priority of a given Ethernet ...
spanning-tree guard root Enables root guard on a specific port. spanning-tree mst cost Configures the path cost for a port. switchport access vlan Configures the VLAN ID when the interface is in access ...spanning-tree portfast Enables PortFast mode. switchport customer vlan Set the port's VLAN when the interface is in customer mode. switchport forbidden vlan Forbids adding specific VLANs to permit or deny. switchport general ingressfiltering disable Disables port ingress filtering. spanning-tree mst port-priority Configures the priority of a given Ethernet ...