D-Link DGS-6604 [1056/1106] Command mode

D-Link DGS-6604 [1056/1106] Command mode
DGS-6600 Series Switch m vlan encapsulation
CLI Reference Guide
1046
vlan encapsulation
Use this command to encapsulate the original packet with an outer VLAN tag
through from UNI to NNI. Use the no form of this command to delete the related
VLAN encapsulation pairs.
vlan encapsulation S-VID C-VID [, | -]
no vlan encapsulation C-VID [, | -]
Default No VLAN encapsulation pair is created.
Once a VLAN encapsulation pair is created, the CoS setting is set to customer
CoS trusted in default.
Command Mode Interface configuration (only available for User-to-Network interface).
Usage Guideline C-VID [, | -] is a customer VLAN list. After receiving packets of these VLANs, the
switch will encapsulate the packets with the specified outer VLAN tag (S-VID)
and T-PID (set at NNI port). The priority tag of the outer tag is decided by
following the following conditions:
1.If the there is a CoS remarking pair for the customer VLAN, the priority tag
value of the outer VLAN value is set to the same value as the cos remarking.
2.Otherwise, the priority tag value of the outer tag is replicated from the user/
inner priority tag.
Examples In the example shown here, eth4.1 is configured as COS value of 3 and CoS
value of 1 for C-VID 22. In addition, S-VID 100 is used to encapsulate the
receiving packet which has C-VID equal to 22-26.
Verify the settings by entering show vlan-tunnel command.
Syntax Description
C-VID [, | -] The VLAN ID list specified here refers to the inner-VID list (i.e. customer VLAN
ID, C-VID list).
S-VID The VLAN ID specified here refers to the outer-VIDs (i.e. service provider VLAN
ID, S-VID).
Switch(config)#interface eth4.1
Switch(config-if)#vlan encapsulation 100 22-26
Switch(config-if)#cos remarking 3
Switch(config-if)#cos remarking 1 22

Содержание

Скачать