R3102-R3103-HP 6600/HSR6600 Routers Layer 2 - LAN Switching Configuration Guide
196
Ste
p
Command
Remarks
2. Enter interface view.
• Enter Layer 2 Ethernet interface view:
interface interface-type
interface-number
• Ethernet port group view:
port-group manual port-group-name
N/A
3. Configure the link type of
the port.
• Configure the port as a trunk port:
port link-type trunk
• Configure the port as a hybrid port:
port link-type hybrid
The default link type of an Ethernet
port is access.
4. Assign the port to all
CVLANs.
• As a trunk port:
port trunk permit vlan { vlan-list |
all }
• As a hybrid port:
port hybrid vlan vlan-list tagged
By default:
• A trunk port is assigned to only
VLAN 1.
• A hybrid port is an untagged
member of VLAN 1.
5. Apply the uplink policy
for the network-side port
to outgoing traffic.
qos apply policy policy-name outbound
N/A
VLAN mapping configuration examples
Packets sent by PCs are VLAN untagged. If a PC is directly attached to a building router, configure the
port on the building router as an access or trunk port:
• If the port is configured as an access port, assign it to the SVLAN.
• If the port is configured as a trunk port, specify the SVLAN as the port VLAN ID (PVID).
One-to-one and many-to-one VLAN mapping configuration
example
Network requirements
As shown in Figure 71:
• Each enterprise department is offered PC, VoD, and VoIP services, connects to a building router
through the enterprise department's gateway, and obtains the IP address through DHCP.
• VLAN 1 is assigned for PC traffic, VLAN 2 is assigned for VoD traffic, and VLAN 3 is assigned for
VoIP service traffic on the enterprise department's gateways.
To isolate traffic of the same service type from different enterprise departments, assign one VLAN for
each type of traffic from each user on the building routers.
To save VLAN resources, perform many-to-one VLAN mapping on the campus router (Router C) to
transmit the same type of traffic from different enterprise departments in one VLAN. Use VLAN 501 for
PC traffic, VLAN 502 for VoD traffic, and VLAN 503 for VoIP traffic.
Each router is installed with SAP modules (for example, 48-GBE SAP modules) operating in bridge mode.










