beautypg.com

Asus GigaX3124 User Manual

Page 27

background image

GigaX3124 Layer3 Switch CLI Command Reference

2

Config-vlan

Mac access-list extended

IP standard access-list

IP extended access-list

Policy-map configuration

Policy-map-class configuration

Config-router

When you start a session on the switch, you begin in user mode, often called

user EXEC mode, which has only a limited subset of the commands. To

access all commands and modes, you must first enter privileged EXEC mode.

From privileged mode, you can enter any EXEC command or enter global

configuration mode. Most of the EXEC commands are one-time commands,

such as show commands, which show the current configuration status, and no

commands, which clear counters or interfaces.
You can use the Config-vlan (virtual LAN) and the various configuration

modes to make changes to the running configuration. To access the various

configuration modes, you must start at global configuration mode. From global

configuration mode, you can enter interface and line configuration modes.
Table 1-1 describes how to access each mode, the prompt you see in that mode,

and how to exit the mode. The examples in the table use the host name ASUS.

Table 1-1: Command Modes Summary

C o m m a n d

mode

Access method

Prompt

Exit or Access Next

Mode.

User EXEC

This is the first level

of access.(For the

switch) Change termi-

nal settings, perform

basic tasks, and list

system information.

ASUS>

Exit to enter the EXIT

command. To enter privi-

leged EXEC mode, enter

the enable command.

Privileged

EXEC

From user EXEC

mode, enter the

enable command.

ASUS#

To exit to user EXEC mode,

enter the disable command.

To enter global configuration

mode, enter the configure

terminal command.