
17-63
17.3.4 mac-vlan vlan
Command:
mac-vlan vlan
<vlan-id>
no mac-vlan vlan
<vlan-id>
Function:
Configure the specified VLAN to MAC VLAN; the “
no mac-vlan vlan
<vlan-id>
” command cancels the MAC VLAN
configuration of this VLAN.
Parameter:
<
vlan-id
>
is the number of the specified VLAN.
Command Mode:
Global Mode.
Default:
No MAC VLAN is configured by default.
Usage Guide:
Set specified VLAN for MAC VLAN.
Example:
Set VLAN100 to MAC VLAN.
Switch#config
Switch(config)#mac-vlan vlan 100
17.3.5 protocol-vlan
Command:
protocol-vlan etype <etype-id> vlan
<vlan-id>
no protocol-vlan {etype
<etype-id
> vlan
<vlan-id
> | all}
Function:
Add the correspondence between the protocol and the VLAN namely specify the protocol to join specified VLAN.
The no form of this command deletes all/the correspondence.