5–24
MULTINET4 MULTI-PORT SERIAL SERVER & MANAGED SWITCH – INSTRUCTION MANUAL
THE CLI AND PROTOCOL MONITOR
CHAPTER 5: THE CLI AND PROTOCOL MONITOR
5.2.2.15 The vlan Command
The table below explains the commands available for viewing and managing VLANs when
the
MN4(vlan)#
prompt is displayed or from the
MN4#
prompt using a
vlan
prefix.
For example:
MN4#
vlan add vid 22 name substation_22
or
MN4vlan)#
show all ports
Table 5–16: CLI terminal Commands
Command
Synopsis
Description
set
set lines | paging
Control the display of the CLI terminal.
Available parameters are:
•
lines n
– Where
n
is a number in the range of 1 -
100. This is the maximum number of lines to
display in the terminal window on execution of a
CLI command.
Default value = 24
•
paging y|n
– Control scrolling in the CLI terminal
window:
—
If y is specified output will display one
"page" at a time; that is the scrolling of
information will pause at the number of
lines specified by the lines parameter and
resume after a key is pressed.
—
If n is specified output will scroll to the
screen without pausing until command
output is complete.
show
show
Show lines and paging settings.
Table 5–17: CLI session Commands
Command
Synopsis
Description
add
add vid n name vlan_name
Add a VLAN with VID
n
(a number in the range 1 -4094)
and the name
vlan_name
(up to 24 printable
characters).
delete
delete vid n
Delete the VLAN identified by VID
n
.
edit
edit vid n name new_name
Change the name of the VLAN identified by VID
n
to
the name specified in
new_name
(up to 24 printable
characters).