beautypg.com

4 protocol-vlan – Accton Technology ES4626 User Manual

Page 195

background image

195

Function:

Add the correspondence between MAC address and VLAN, namely specify

certain MAC address to join specified VLAN. The “no” form of this command deletes

all/the correspondence.

Parameter:

mac-address is the MAC address which is shown in the form of

XX-XX-XX-XX-XX-XX,vlan-id is the ID of the VLAN with a valid range of

1~4094;priority-id is the level of priority and is used in the VLAN tag with a valid range of

0~7;all refers to all the MAC addresses.

Command Mode: Global Mode

Default:

No MAC address joins the VLAN by default.

Usage Guide:

With this command user can add specified MAC address to specified

VLAN. If there is a non VLAN label data packet enters from the switch port from the

specified MAC address, it will be assigned with specified VLAN ID so sent enter specified

VLAN. Their belonging VLAN are the same no matter which port did they enter through.

The command does not have any interfere on the VLAN label data packet

Example:

Switch#config

Switch(config)#mac-vlan mac 00-03-0f-11-22-33 vlan 100 priority 0

5.5.2.2.4 protocol-vlan

Command: protocol-vlan mode {ethernetii etype |llc {dsap

ssap }|snap etype } vlan

no protocol-vlan {mode {ethernetii etype |llc {dsap

ssap }|snap etype }|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

Parameter:

Mode is the encapsulate type of the configuration which is ethernetii、llc、

snap;the encapsulate type of the ethernetii is EthernetII;etype-id is the type of the packet

protocol, with a valid range of 1536~65535;llc is LLC encapsulate format;dasp-id is the

access point of the destination service, the valid range is 0~255;aasp-id is the access

point of the source service with a valid range of 0~255;snap is SNAP encapsulate

format;etype-id is the type of the packet protocol, the valid range is 1536~65535;vlan-id is

the ID of VLAN, the valid range is 1~4094;all indicates all the encapsulate protocols.

Command Mode: Global Mode

Default:

No protocol joined the VLAN by default

Usage Guide:

The command adds specified protocol into specified VLAN. If there is any

non VLAN label packet from specified protocol enters through the switch port, it will be

assigned with specified VLAN ID and enter the specified VLAN. No matter which port the

packets go through, their belonging VLAN is the same. The command will not interfere

with VLAN labeled data packets. It is recommended to configure ARP protocol together

This manual is related to the following products: