3.25.2 Protocol Based VLAN Membership Configuration

Use this command to add a new protocol to a group name (each protocol can be part of only one group), mapping entries and map a group name to a VLAN.

Command Syntax:

vlan protocol { { eth2 { <etype> } } | { snap { <oui> } <pid> } | { llc <dsap> <ssap> } } group <grp_id>
switchport vlan protocol group <grp_id> vlan <vid>
Table 3-104. Command Description

Argument

Description

Parameter

<etype>

Ether Type. The range is from 0x600–0xFFFF.

<oui>

SNAP OUI. The range is from 0x000000–0XFFFFFF.

<pid>

PID. The range is from 0x0–0xFFFF.

<dsap>

DSAP. The range is from 0x00–0xFF.

<ssap>

SSAP. The range is from 0x00–0xFF.

<grp_id>

Group Name. The range is from 1–16 characters.

<vid>

VLAN ID required for the group to VLAN mapping. The range is from 1–4095.

Default

N.A

Mode

Port List Interface mode

Usage

Configure Protocol to VLAN ID association. To remove the MAC address to VLAN ID association, use the ‘no’ version of the command.

Example

Example 1:

Configure a mapping of Ethernet protocol to group g1 and map this group to VLAN2 including port4.

(config)# vlan protocol Eth2 0x600 group g1
(config)# interface GigabitEthernet1/4
(config-if)# switchport vlan protocol group g1 vlan 2