Ethernet Switch User Manual
Manual_cmd_line_config-ESML6-P3-Rev1106
Copyright © KBC Networks Ltd.
Page 9 of 49
www.kbcnetworks.com
2.2.5
Types of Command Parameters
Normally the command in an angle bracket ‘< >’ is a command parameter. There are
four types of command parameters in this series of switches.
A range of numbers:
When the numbers in ‘< >’ is connected by a short line, this means they are a range of
numbers.
Example:
<1-255> means the user can input any number in the range which is greater or equal to
1 and less than or equal to 255.
IP address:
<A.B.C.D> means the parameter is IP address. The user must input a valid IP address.
Example
:
192.168.0.1
String:
If the content in ‘< >’ is not either of the above two forms, a string or a hexadecimal
number is required. Users can input ‘?’ to find out the detail of the parameter description.
Example:
<macaddr> means the required parameter is a hex MAC address, eg. 005023344325
and <name> requires a string to be the subject’s name.
2.2.6
Command Abbreviation
Command abbreviation is where users need only to input the first letters of the command
word or the key word. As long as these letters don’t cause ambiguity, the switch is able
to recognize the command, and the user can select <Enter> to run it. If the required
command parameter is a VLAN name, etc. it needs to be input fully. In the example
below, the VLAN’s name is ‘market’.
Example:
Add port 1 to ‘market’ in untagged mode:
In VLAN, type the following command:
SWITCH>
SWITCH>enable
SWITCH>#config terminal
SWITCH>(config)#
SWITCH>(config)#vlan 2
SWITCH>(config-vlan2)#description market
SWITCH>(config-vlan2)#add port 1 untag priority 0