Specifications

switchport protocol
139
switchport protocol
Sets the protocol port information.
Syntax
To set information:
switchport protocol vlan <VLAN ID list>
switchport protocol native vlan
<VLAN ID>
To change information:
switchport protocol {vlan <VLAN ID list> | vlan add <VLAN ID list> | vlan
remove <VLAN ID list> | native vlan <VLAN ID>}
To delete information:
no switchport protocol vlan
no switchport protocol native vlan
Input mode
(config-if)
Parameters
vlan <VLAN-ID-list>
Sets the currently-valid protocol VLANs on the port. When this parameter is changed,
the effective protocol VLAN list is replaced by the list set for the parameter.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
For details about how to specify <VLAN ID list> and the specifiable range of
values, see Specifiable values for parameters.
native vlan <VLAN ID>
Sets a VLAN that sends and receives frames of a protocol that does not match the
configuration. Specifiable VLANs are port VLANs.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
See Specifiable values for parameters.
vlan add <VLAN ID list>
Adds a currently-valid protocol VLAN on the port to the VLAN list.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
For details about how to specify <VLAN ID list> and the specifiable range of
values, see Specifiable values for parameters.
vlan remove <VLAN ID list>
Removes a currently-valid protocol VLAN on the port from the VLAN list.
1. Default value when this parameter is omitted: