Chapter 45 Introducing Commands

The following table describes command interpreter modes and how to access them.

Table 136 Command Interpreter Mode Summary

MODE

.DESCRIPTION

HOW TO LOGIN/

PROMPT

 

 

ACCESS

 

User

Commands available in this mode are

Default login level for a

sysname>

 

a subset of enable mode. You can

read-only account.

The first part of the prompt is

 

perform basic tests and display

 

 

 

the system name. In the CLI

 

general system information.

 

 

 

examples in this User’s

 

 

 

Guide, the system name is

 

 

 

always “sysname”.

 

 

 

 

Enable

Commands available in this mode

Default login level for

sysname#

 

allow you to save configuration

accounts with a

 

 

settings, reset configuration settings

privilege of 13 or 14.

 

 

as well as display further system

Read-only accounts

 

 

information. This mode also contains

(with a privilege of 0-

 

 

the configure command which

12) need to type the

 

 

takes you to config mode.

enable command

 

 

 

and enter enable mode

 

 

 

password.

 

 

 

 

 

Config

Commands available in this mode

Type config in

sysname(config)#

 

allow you to configure settings that

enable mode.

 

 

affect the Switch globally.

 

 

 

 

 

 

Command modes that follow are sub-modes of the config mode and can only be accessed from within the config mode.

Config-vlan

This is a sub-mode of the config mode

Type vlan followed

sysname(config-vlan)#

 

and allows you to configure VLAN

by a number (between

 

 

settings.

1 to 4094). For

 

 

 

example, vlan 10 to

 

 

 

configure settings for

 

 

 

VLAN 10.

 

 

 

 

 

Config-interface

This is a sub-mode of the config mode

Type interface

sysname(config-

 

and allows you to configure port

port-channel

interface)#

 

related settings.

followed by a port

 

 

 

number. For example,

 

 

 

interface port-

 

 

 

channel 8 to

 

 

 

configure port 8 on the

 

 

 

Switch.

 

 

 

 

 

Config-mvr

This is a sub-mode of the config mode

To enter MVR mode,

sysname(config-mvr)#

 

and allows you to configure multicast

enter mvr followed by

 

 

VLAN settings.

a VLAN ID (between 1

 

 

 

and 4094). For

 

 

 

example, enter mvr 2

 

 

 

to configure multicast

 

 

 

settings on VLAN 2.

 

 

 

 

 

Enter exit to quit from the current mode or enter logout to exit the command interpreter.

45.9 Getting Help

The system includes a help facility to provide you with the following information about the commands:

List of available commands under a command group.

Detailed descriptions of the commands.

 

329

GS-4012F/4024 User’s Guide