beautypg.com

Configuring the customer-side port, Configuring the network-side port – H3C Technologies H3C S7500E Series Switches User Manual

Page 295

background image

21-12

Configuring the customer-side port

Follow these steps to configure the customer-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 CVLANs and SVLANs

port trunk permit vlan

{ vlan-id-list | all }

Required

By default, a trunk port is in

only VLAN 1.

Enable customer-side QinQ

qinq enable

downlink

Required

By default, customer-side

QinQ is disabled on all

ports.

Apply the uplink policy to the incoming

traffic

qos apply policy policy-name

inbound

Required

Before applying a QoS policy to the customer-side port, enable customer-side QinQ on the port.
Before disabling customer-side QinQ on the customer-side port, remove the QoS policy from the port
first.

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.