Binding an ac to a vsi, Configuring mac address learning, Displaying and maintaining vpls – H3C Technologies H3C S12500-X Series Switches User Manual

Page 303: Required.)

Advertising
background image

292

Binding an AC to a VSI

This task is mutually exclusive from Ethernet link aggregation. If a Layer 2 Ethernet interface has been
added to a link aggregation group, you cannot bind a service instance on the Layer 2 interface to a VSI,

and vice versa.
After you bind a service instance on a Layer 2 Ethernet interface to a VSI, packets that are received from

the Layer 2 Ethernet interface and meet the match criteria of the service instance are forwarded based on
the MAC address table of the VSI. A service instance can match all packets, tagged packets, or

untagged packets.
To bind a service instance to a VSI:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter Layer 2 Ethernet
interface view.

interface interface-type interface-number

N/A

3.

Create an Ethernet

service instance and
enter Ethernet service

instance view.

service-instance instance-id

By default, no Ethernet service
instance exists on a Layer 2

Ethernet interface.

4.

Bind the Ethernet service

instance to a VSI.

xconnect vsi vsi-name [ access-mode
{ ethernet | vlan } ]

By default, a service instance is
not bound to any VSI.

Configuring MAC address learning

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Enter VSI view.

vsi vsi-name

N/A

3.

Enable MAC address learning

for the VSI.

mac-learning enable

By default, MAC address learning
is enabled for a VSI.

Displaying and maintaining VPLS

Execute display commands in any view and the reset command in user view.

Task Command

Display LDP PW label information.

display l2vpn ldp [ peer ip-address [ pw-id pw-id ] | vsi
vsi-name ] [ verbose ]

Display L2VPN forwarding information (in
standalone mode).

display l2vpn forwarding { ac | pw } [ vsi vsi-name ] [ slot
slot-number ] [ verbose ]

Display L2VPN forwarding information (in IRF
mode).

display l2vpn forwarding { ac | pw } [ vsi vsi-name ] [ chassis
chassis-number slot slot-number ] [ verbose ]

Advertising