20
Gateway(config)# interface 1,3-5
Gateway(config-if-1,3-5)#
Enter a single interface number together with
a range of interface numbers. Use both
comma and hypen to signify the combination
of different interface numbers. In this
example, interface 1, 3, 4, 5 will apply
commands entered.
2.5.2 No Command
Almost every command that you enter in Configuration mode can be negated using
“no” command
followed by the original or similar 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
The
“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. It can be used in Privileged or Configuration mode. The following describes
different uses of
“show” command.
1. Display system information
Enter
“show system-info” command in Privileged or Configuration mode, and then the following
information will appear.
Company Name:
Display a company name for this Gateway. Use
“system-info company-name
[company-name]
” command to edit this field.
System Object ID:
Display the predefined System OID.
System Contact:
Display contact information for this Gateway. Use
“system-info system-contact
[sys-contact]
” command to edit this field.
System Name:
Display a descriptive system name for this Gateway. Use
“system-info system-
name [sys-name]
” command to edit this field.
System Location:
Display a brief location description for this Gateway. Use
“system-info system-
location [sys-location]
” command to edit this field.
Model Name:
Display the product
’s model name.
Host Name:
Display the product
’s host name.
DHCP Vendor ID:
Enter the Vendor ID used for DHCP relay agent function.
Current Boot Image:
The image that is currently using.
Configured Boot Image:
The image you want to use after reboot.
Image-1 Version:
Display the firmware version 1 (image-1) used in this device.
Image-2 Version:
Display the firmware version 2 (image-2) used in this device.