19
Refer to
“Show interface statistics command” and “Show sfp information command” sections.
4. Show default, running and startup configurations
Refer to
“show default-setting copmmand”, “show running-config command” and “show start-up-
config command
” sections.
2.5 Configuration Mode
When you enter
“configure” or “config” and press “Enter” in Privileged mode, you will be directed to
Global Configuration mode where you can set up advanced switching functions. All commands
entered will apply to running-configuration and the device
’s operation. From this level, you can
also enter different sub-configuration modes to set up specific configurations for VLAN, security or
interfaces.
Command
Description
applications
Application global configuration commands.
exit
Exit the configuration mode.
help
Display a list of available commands in Configuration mode.
history
Show commands that have been used.
interface
Select a single interface or a range of interfaces.
ip
Set up the IPv4 address and enable DHCP mode & IGMP snooping.
management
Set up console/telnet/web/SSH access control and timeout value.
no
Disable a command or set it back to its default setting.
ntp
Set up required configurations for Network Time Protocol.
qos
Set up QoS global configuration commands.
security
Security global configuration commands.
show
Show a list of commands or show the current setting of each listed command.
sip
Set up SIP global configuration commands.
snmp-server
SNMP server configuration commands.
system-info
Set up acceptable frame size and address learning, etc.
syslog
Set up required configurations for Syslog server.
user
Create a new user account.
vlan
Set up VLAN mode and VLAN configuration.
voice
Set up Voice global configuration commands.
2.5.1 Entering Interface Numbers
In the Global Configuration mode, you can configure a command that only applies to interfaces
specified. For example, you can set up each interface
’s VLAN assignment, speeds, or duplex
modes. To configure, you must first enter the interface number. There are four ways to enter your
interface numbers to signify the combination of different interfaces that apply a command or
commands.
Commands
Description
Gateway(config)# interface 1
Gateway(config-if-1)#
Enter a single interface. Only interface 1 will
apply commands entered.
Gateway(config)# interface 1,3,5
Gateway(config-if-1,3,5)#
Enter three discontinuous interfaces,
separated by commas. Interface 1, 3, 5 will
apply commands entered.
Gateway(config)# interface 1-3
Gateway(config-if-1-3)#
Enter three continuous interfaces. Use a
hyphen to signify a range of interface
numbers. In this example, interface 1, 2, and
3 will apply commands entered.