Command Modes

The CLI groups commands into modes according to the command function. Each of the command modes supports specific 200 Series software commands. The commands in one mode are not available until you switch to that particular mode, with the exception of the User EXEC mode commands. You can execute the User EXEC mode commands in the Privileged EXEC mode.

The command prompt changes in each command mode to help you identify the current mode. CLI Command Modes describes the command modes and the prompts visible in that mode.

Note

Note

The command modes available on your switch depend on the software modules that are installed. For example, a switch that does not support BGPv4 does not have the BGPv4 Router Command Mode.
Note

Note

As shown in CLI Command Modes, most command prompts begin with Extreme nnn where nnn is the switch's model number – for example, Extreme 220.
Click to expand in new window

CLI Command Modes

Command Mode Prompt Mode Description
User EXEC Extreme nnn> Contains a limited set of commands to view basic system information.
Privileged EXEC Extreme nnn# Allows you to issue any EXEC command, enter the VLAN mode, or enter the Global Configuration mode.
Global Config Extreme nnn (Config)# Groups general setup commands and permits you to make modifications to the running configuration.
VLAN Config Extreme nnn (Vlan)#

or

Extreme nnn (Vlan vlan_id)#

Groups all the VLAN commands.
Interface Config Extreme nnn (Interface unit/slot/port)#

Extreme nnn (Interface Loopback id)#

Extreme nnn (Interface Tunnel id)#

Extreme nnn (Interface unit/slot/port (startrange)-unit/slot/port(endrange)#

Manages the operation of one or more interfaces and provides access to the router interface configuration commands.

Use this mode to set up a physical port for a specific logical connection operation.

You can also use this mode to manage the operation of a set of interfaces or a range of interfaces. For example:
  • Extreme nnn (Interface 1/0/1,1/0/3) # manages interfaces 1/0/1 and 1/0/3.
  • Extreme nnn (Interface 1/0/1-1/0/4) # manages the range of interfaces from 1/0/1 through 1/0/4.
Extreme nnn (Interface vlan vlan-id)# Enters VLAN routing interface configuration mode for the specified VLAN ID.
Interface LAG Config Extreme nnn (Interface lag lag-intf-num)# Enters LAG interface configuration mode for the specified LAG.
Line Console Extreme nnn (config-line)# Contains commands to configure outbound telnet settings and console interface settings, as well as to configure console login/enable authentication.
Line SSH Extreme nnn (config-ssh)# Contains commands to configure SSH login/enable authentication.
Line Telnet Extreme nnn (config-telnet)# Contains commands to configure telnet login/enable authentication.
AAA IAS User Config Extreme nnn (Config-IAS-User)# Allows password configuration for a user in the IAS database.
Mail Server Config Extreme nnn (Mail-Server)# Allows configuration of the email server.
Policy Map Config Extreme nnn (Config-policy-map)# Contains the QoS Policy-Map configuration commands.
Policy Class Config Extreme nnn (Config-policy-class-map)# Consists of class creation, deletion, and matching commands. The class match commands specify Layer 2, Layer 3, and general match criteria.
Class Map Config Extreme nnn (Config-class-map)# Contains the QoS class map configuration commands for IPv4.
Ipv6_Class-Map Config Extreme nnn (Config-class-map)# Contains the QoS class map configuration commands for IPv6.
Router OSPFv3 Config Extreme nnn (Config rtr)# Contains the OSPFv3 configuration commands.
Router RIP Config Extreme nnn (Config-router)# Contains the RIP configuration commands.
Route Map Config Extreme nnn (config-route-map)# Contains the route map configuration commands.
IPv6 Address Family Config Extreme nnn (Config-router-af)# Contains the IPv6 address family configuration commands.
Peer Template Config (Config-rtr-tmplt)# Contains the BGP peer template configuration commands.
RADIUS Dynamic Authorization Config (Config-radius-da) Contains the RADIUS Dynamic Authorization commands.
MAC Access-list Config Extreme nnn (Config-mac-access-list)# Allows you to create a MAC Access-List and to enter the mode containing MAC Access-List configuration commands.
IPv4 Access-list Config Extreme nnn (Config-ipv4-acl)# Allows you to create an IPv4 named or extended Access-List and to enter the mode containing IPv4 Access-List configuration commands.
IPv6Access-list Config Extreme nnn (Config-ipv6-acl)# Allows you to create an IPv6 Access-List and to enter the mode containing IPv6 Access-List configuration commands.
Management Access-list Config Extreme nnn (config-macal)# Allows you to create a Management Access-List and to enter the mode containing Management Access-List configuration commands.
TACACS Config Extreme nnn (Tacacs)# Contains commands to configure properties for the TACACS servers.
User-Group Configuration Mode Extreme nnn (config-usergroup) Contains user group commands
Task-Group Configuration Mode Extreme nnn (config-taskgroup) Contains task group commands
DHCP Pool Config Extreme nnn (Config dhcp-pool)# Contains the DHCP server IP address pool configuration commands.
DHCPv6 Pool Config Extreme nnn (Config dhcp6-pool)# Contains the DHCPv6 server IPv6 address pool configuration commands.
Stack Global Config Mode Extreme nnn (Config stack)# Allows you to access the Stack Global Config Mode.
ARP Access-List Config Mode Extreme nnn (Config-arp-access-list)# Contains commands to add ARP ACL rules in an ARP Access List.
Support Mode Extreme nnn (Support)# Allows access to the support commands, which should only be used by the manufacturer's technical support personnel as improper use could cause unexpected system behavior and/or invalidate product warranty.

CLI Mode Access and Exit explains how to enter or exit each mode. To exit a mode and return to the previous mode, enter exit. To exit to Privileged EXEC mode, press [Ctrl]+[Z].

Note

Note

Pressing [Ctrl]+[Z] from Privileged EXEC mode exits to User EXEC mode. To exit User EXEC mode, enter logout.
Click to expand in new window

CLI Mode Access and Exit

Command Mode Access Method
User EXEC This is the first level of access.
Privileged EXEC From the User EXEC mode, enter enable.
Global Config From the Privileged EXEC mode, enter configure.
VLAN Config From the Privileged EXEC mode, enter vlan database or vlan vlan_id.
Interface Config From the Global Config mode, enter:

interface unit/slot/port or

interface loopback id or

interface tunnel id

interface unit1/slot1/port1,unit2/slot2/port2,... (to manage more than one interface)

interface unit1/slot1/port1-unit2/slot2/port2- (to manage a range of interfaces)

interface vlan vlan-id

Interface LAG Config From the Global Config mode, enter interface lag lag-intf-num
Line Console From the Global Config mode, enter line console.
Line SSH From the Global Config mode, enter line ssh.
Line Telnet From the Global Config mode, enter line telnet.
AAA IAS User Config From the Global Config mode, enter aaa ias-user username name.
Mail Server Config From the Global Config mode, enter mail-server address
Policy-Map Config From the Global Config mode, enter policy-map.
Policy-Class-Map Config From the Policy Map mode enter class.
Class-Map Config From the Global Config mode, enter class-map, and specify the optional keyword ipv4 to specify the Layer 3 protocol for this class. See class-map for more information.
Ipv6-Class-Map Config From the Global Config mode, enter class-map and specify the optional keyword ipv6 to specify the Layer 3 protocol for this class. See class-map for more information.
Router RIP Config From the Global Config mode, enter router rip.
Route Map Config From the Global Config mode, enter -route-map map-tag.
IPv6 Address Family Config From the BGP Router Config mode, enter address-family ipv6.
Peer Template Config From the BGP Router Config mode, enter template peer name to create a BGP peer template and enter Peer Template Configuration mode.
MAC Access-list Config From the Global Config mode, enter mac access-list extended name.
IPv4 Access-list Config From the Global Config mode, enter ip access-list name.
IPv6 Access-list Config From the Global Config mode, enter ipv6 access-list name.
Management Access-list Config From the Global Config mode, enter management access-list name.
TACACS Config From the Global Config mode, enter tacacs-server host ip-addr, where ip-addr is the IP address of the TACACS server on your network.
User-Group Configuration Mode From the Global Config mode, enter the usergroup usergroup-name command.
Task-Group Configuration Mode From the Global Config mode, enter the taskgroup taskgroup-name command.
DHCP Pool Config From the Global Config mode, enter the ip dhcp pool pool-name command.
DHCPv6 Pool Config From the Global Config mode, enter the ip dhcpv6 pool pool-name command.
Stack Global Config Mode From the Global Config mode, enter the stack command.
ARP Access-List Config Mode From the Global Config mode, enter the arp access-list command.
Support Mode From the Privileged EXEC mode, enter support.

The support command is available only if the techsupport enable command has been issued.