beautypg.com

Configuring the network-side port, Vlan mapping configuration examples, Network requirements – H3C Technologies H3C S7500E Series Switches User Manual

Page 302

background image

21-19

Configuring the network-side port

Follow these steps to configure the network-side port:

To do...

Use the command...

Remarks

Enter system view

system-view

Enter Ethernet interface view

interface interface-type

interface-number

Configure the port as a trunk port

port link-type

trunk

Required

The default link type of an

Ethernet port is access.

Assign the port to local SVLANs

port trunk permit vlan

{ vlan-id-list | all }

Required

By default, a trunk port is in

only VLAN 1.

Apply the uplink policy for the network-side

port to the outgoing traffic

qos apply policy policy-name

outbound

Required

VLAN Mapping Configuration Examples

One-to-One and Many-to-One VLAN Mapping Configuration Example

Network requirements

As shown in

Figure 21-8

, assign one VLAN for each type of traffic from each user on the wiring-closet

switches.

To prevent the maximum number of VLANs from being exceeded on Switch D, perform many-to-one
VLAN mapping on Switch C to transmit the same type of traffic from different users in one VLAN: use
VLAN 501 for PC traffic, VLAN 502 for VoD traffic, and VLAN 503 for VoIP traffic.

Because Switch C retains customer VLAN information, each type of traffic is still segregated by user,
even though it appears to be transmitted in one VLAN.