
Chapter 6 | CLI – Layer 3 |
|
|
VLAN Commands
Table 6.9 VLAN Commands
Command
show vlan
set vlan
clear vlan
Page
191
191
192
User Mode
show vlan Command
Use the show vlan command to display router Layer 2 interfaces.
The syntax for this command is:
show vlan [details]
Configure Mode
set vlan Command
Use the set vlan command to create router Layer 2 interface.
The syntax for this command is:
set vlan
Interface Index | |
Interface name (used in layer 3 protocols) |
Example:
Router-N(configure)# set vlan 2 name vlan2
Note: If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, e.g. "new york".
191 |