VLAN Commands 4

-If the frame is untagged but the protocol type does not match, the frame is forwarded to the default VLAN for this interface.

Example

The following example maps the traffic entering Port 1 which matches the protocol type specified in protocol group 1 to VLAN 2.

Console(config)#interface ethernet 1/1

Console(config-if)#protocol-vlan protocol-group 1 vlan 2

Console(config-if)#

show protocol-vlan protocol-group

This command shows the frame and protocol type associated with protocol groups.

Syntax

show protocol-vlan protocol-group [group-id]

group-id- Group identifier for a protocol group. (Range: 1-2147483647)

Default Setting

All protocol groups are displayed.

Command Mode

Privileged Exec

Example

This shows protocol group 1 configured for IP over Ethernet:

Console#show protocol-vlan protocol-group

ProtocolGroup ID Frame Type Protocol Type

------------------ -------------

---------------

1

ethernet

08 00

Console#

 

 

show interfaces protocol-vlan protocol-group

This command shows the mapping from protocol groups to VLANs for the selected interfaces.

Syntax

show interfaces protocol-vlan protocol-group [interface]

interface

ethernet unit/port

-unit - Stack unit. (Range: 1-8)

-port - Port number. (Range: 1-26/50)

port-channel channel-id(Range: 1-32)

Default Setting

The mapping for all interfaces is displayed.

4-183

Page 425
Image 425
SMC Networks SMC8150L2 manual Show protocol-vlan protocol-group, Show interfaces protocol-vlan protocol-group