Entering Commands
4-7
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-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.
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.
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.
For example, you can use the following commands to enter interface configuration
mode, and then return to Privileged Exec mode
Console#configure
Console(config)#
Table 4-2 Configuration Modes
Mode
Command
Prompt
Page
Line
line {console | vty}
Console(config-line)#
4-10
Access
Control List
access-list ip standard
access-list ip extended
access-list mac
Console(config-std-acl)
Console(config-ext-acl)
Console(config-mac-acl)
4-89
4-91
4-96
Class Map
class map
Console(config-cmap)
4-198
Interface
interface {ethernet
port
| port-channel
id
| vlan
id
} Console(config-if)#
4-120
MSTP
spanning-tree mst-configuration
Console(config-mstp)#
4-154
Policy Map
policy map
Console(config-pmap)
4-200
VLAN
vlan database
Console(config-vlan)
4-167
Console(config)#interface ethernet 1/5
.
.
.
Console(config-if)#exit
Console(config)#
Summary of Contents for TL-SG5426 -
Page 1: ...TL SG5426 26 Port Gigabit Managed Switch Rev 1 0 0 1910010105...
Page 17: ...Contents xiv...
Page 21: ...Tables xviii...
Page 25: ...Figures xxii...
Page 42: ...Initial Configuration 2 10 2...
Page 107: ...Configuring the Switch 3 64 3 Figure 3 41 802 1X Port Configuration...
Page 486: ...Software Specifications A 4 A...