Entering Commands 4

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-11

 

 

 

 

Access

access-list ip standard

Console(config-std-acl)#

4-102

Control List

access-list ip extended

Console(config-ext-acl)#

 

 

access-list mac

Console(config-mac-acl)#

 

Interface

interface {ethernet port port-channel id vlan id}

Console(config-if)#

4-131

 

 

 

 

MSTP

spanning-tree mst-configuration

Console(config-mstp)#

4-160

 

 

 

 

VLAN

vlan database

Console(config-vlan)#

4-179

 

 

 

 

IGMP Profile

ip igmp profile

Console(config-igmp-profile)#

4-211

 

 

 

 

For example, you can use the following commands to enter interface configuration mode, and then return to Privileged Exec mode

Console(config)#interface ethernet 1/5

.

.

.

Console(config-if)#exit

Console(config)#

4-7

Page 249
Image 249
Accton Technology ES3552XA, ES3526XA Configuration Commands, Configuration Modes Command Prompt, Consoleconfig-if# 131