4 Command Line Interface

Configuration Commands

Configuration commands are privileged level commands used to modify switch settings. These commands modify the running configuration only and are not saved when the switch is rebooted. To store the running configuration in non-volatile storage, use the copy running-configstartup-configcommand.

The configuration commands are organized into different modes:

Global Configuration - These commands modify the system level configuration, and include commands such as hostname and snmp-server community.

Access Control List Configuration - These commands are used for packet filtering.

Interface Configuration - These commands modify the port configuration such as speed-duplexand negotiation.

Line Configuration - These commands modify the console port and Telnet configuration, and include command such as parity and databits.

VLAN Configuration - Includes the command to create VLAN groups.

To enter the Global Configuration mode, enter the command configure in Privileged Exec mode. The system prompt will change to “Console(config)#” which gives you access privilege to all Global Configuration commands.

Console#configure

Console(config)#

To enter the other modes, at the configuration prompt type one of the following commands. Use the exit or end command to return to the Privileged Exec mode.

Table 4-2 Configuration Modes

Mode

Command

Prompt

Page

Line

line {console vty}

Console(config-line)#

4-12

 

 

 

 

Access

access-list ip standard

Console(config-std-acl)

4-139

Control List

access-list ip extended

Console(config-ext-acl)

4-141

 

access-list mac

Console(config-mac-acl)

4-146

Class Map

class map

Console(config-cmap)

4-276

 

 

 

 

Interface

interface {ethernet port port-channel id vlan id}

Console(config-if)#

4-166

 

 

 

 

MSTP

spanning-tree mst-configuration

Console(config-mstp)#

4-223

 

 

 

 

Policy Map

policy map

Console(config-pmap)

4-275

 

 

 

 

Server Group

aaa group server {radius tacacs+}

Console(config-sg-radius)#

4-102

 

 

Console(config-sg-tacacs+)#

 

 

 

 

 

VLAN

vlan database

Console(config-vlan)

4-242

 

 

 

 

4-8

Page 304
Image 304
Accton Technology ES3528M-SFP manual Configuration Commands, Configuration Modes Command Prompt, Consoleconfig-if# 166