H3C S6850 Series Configuration Manual page 249

Layer 2, lan switching
Hide thumbs Also See for S6850 Series:
Table of Contents

Advertisement

3.
Set the link type of the port.
port link-type { hybrid | trunk }
By default, the link type of a port is access.
4.
Assign the port to the original VLANs and the translated VLAN.
Assign the trunk port to the original VLANs and the translated VLAN.
port trunk permit vlan vlan-id-list
By default, a trunk port is assigned to VLAN 1.
Assign the hybrid port to the original VLANs and the translated VLAN as a tagged member.
port hybrid vlan vlan-id-list tagged
By default, a hybrid port is an untagged member of the VLAN to which the port belongs
when its link type is access.
5.
Configure a many-to-one VLAN mapping.
vlan mapping uni { range vlan-range-list | single vlan-id-list }
translated-vlan vlan-id
By default, no VLAN mapping is configured on an interface.
Configuring the network-side port
1.
Enter system view.
system-view
2.
Enter interface view.
Enter Layer 2 Ethernet interface view.
interface interface-type interface-number
Enter Layer 2 aggregate interface view.
interface bridge-aggregation interface-number
3.
Set the link type of the port.
port link-type { hybrid | trunk }
By default, the link type of a port is access.
4.
Assign the port to the translated VLAN.
Assign the trunk port to the translated VLAN.
port trunk permit vlan vlan-id-list
By default, a trunk port is assigned to VLAN 1.
Assign the hybrid port to the translated VLAN as a tagged member.
port hybrid vlan vlan-id-list tagged
By default, a hybrid port is an untagged member of the VLAN to which the port belongs
when its link type is access.
5.
Configure the port to use the original VLAN tags of the many-to-one mapping to replace the
VLAN tags of the packets destined for the user network.
vlan mapping nni
By default, the port does not replace the VLAN tags of the packets destined for the user
network.
11

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S9850 seriesS6850-56hfS9850-32h

Table of Contents