.
Set the VLAN for a specified switch port or all switch ports on a specified module.
Command Syntax
To Enable:
Name
mod-num
mod-swport-range
vlan-id
This example sets a vlan on a specific port.
Cajun(configure)# set port vlan 3/1 1
Port VLAN set: 3/1.
Cajun P550/P220 Command Line Interface Reference Guide
set port vlan {<mod-num>|<mod-swport-range>}
[...,{<mod-num>|<mod-swport-range>}]
<vlan-id>
Table 12-27. Parameters, Keywords, Arguments
Definition
Specifies a module number. If a module number is
specified, the VLAN is set for all ports on the module.
Specifies a switch port or a range of switch ports where a
VLAN is to be set.
The ID of the VLAN.
Port
12-37