User`s manual

User’s Manual 149
14.2 Configuration Commands
Configuration commands are privileged level commands used to modify switch settings. These commands
only modify the running configuration. When the switch is rebooted, the start-up configuration is used. To
store the running configuration use the copy running-config startup-config command.
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-duplex and
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.
Multiple Spanning Tree Configuration - These commands configure settings for the selected multiple
spanning tree instance.
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.
Mode Command Prompt
Line line {console | vty} Console(config-line)#
Interface interface {ethernet port | port-
channel id| vlan id}
Console(config-if)#
VLAN vlan database Console(config-vlan)#
MSTP spanning-tree mst Console(config-mstp)#
access-list ip standard Console(config-std-acl)
access-list ip extended Console(config-ext-acl)
access-list ip mask-precedence Console(config-ip-mask-acl)
access-list mac Console(config-mac-acl)