16
2.5.1 Entering Interface Numbers
In the Global Configuration mode, you can configure a command that only apply 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 to a command or commands.
Commands
Description
Switch(config)# interface 1
Switch(config-if)#
Enter a single interface. Only interface 1 will
apply to commands entered.
Switch(config)# interface 1,3,5
Switch(config-if)#
Enter three discontinuous interfaces,
separating by a comma. Interface 1, 3, 5 will
apply to commands entered.
Switch(config)# interface 1-3
Switch(config-if)#
Enter three continuous interfaces. Use a
hyphen to signify a range of interface
numbers. In this example, interface 1, 2, and
3 will apply to commands entered.
Switch(config)# interface 1,3-5
Switch(config-if)#
Enter a single interface number together with
a range of interface numbers. Use both
comma and hyphen to signify the
combination of different interface numbers.
In this example, interface 1, 3, 4, 5 will apply
to commands entered.
The “interface” command can be used together with “QoS” and “VLAN” commands. For
detailed usages, please refer to QoS and VLAN section below.
2.5.2 No command
Almost commands that you enter in Configuration mode can be negated using “no”
command followed by the original command. The purpose of “no” command is to disable a
function, remove a command, or set the setting back to the default value. In each sub-
section below, the use of no command to fulfill different purposes will be introduced.
2.5.3 Show command
“show” command is very important for network administrators to get information about the
device, receive outputs to verify a command‟s configurations or troubleshoot a network
configuration error. “Show” command can be either used in Privileged or Configuration mode.
The following describes different uses of “show” command.
Содержание HET-2106 SERIES
Страница 79: ...79 Restart DHCP service...