Configuring kompella mpls l2vpn – H3C Technologies H3C SR8800 User Manual

Page 210

Advertising
background image

199

Step Command

Remarks

4.

Specify the tunneling
policy.

pw-tunnel-policy policy-name

Optional.
By default, the default tunneling

policy is used. The default
tunneling policy selects only one

tunnel (no load balancing) in this

order: LSP tunnel, CR-LSP tunnel.

5.

Return to system view.

quit

N/A

6.

Create the VLAN to be
used by the service

instance to match

packets.

vlan vlan-id

N/A

7.

Add the Layer 2 port
connecting the CE to the

VLAN.

port interface

N/A

8.

Return to system view.

quit

N/A

9.

Configure an MPLS LDP

remote peer entity and
enter its view.

mpls ldp remote-peer remote-peer-name

N/A

10.

Specify an IP address for

the remote peer.

remote-ip ip-address

N/A

11.

Enter the configuration
view of the Layer 2 port

that connects with the
CE.

interface interface-type interface-number

N/A

12.

Create a service

instance and enter
service instance view.

service-instance instance-id

By default, no service instance is
created.

13.

Specify a packet
matching VLAN ID for

the service instance.

encapsulation s-vid vlan-id

By default, no packet matching
VLAN ID is specified for the
service instance.

14.

Create a Martini MPLS

L2VPN connection in the
service instance.

xconnect peer peer-ip-address pw-id pw-id
[ access-mode { ethernet | vlan } | mtu

mtu-value | [ pw-class class-name ] ] *

After this command is executed,
the VLAN ID, access mode, and

MTU configured for the service

instance cannot be changed. To
modify these parameters, you

must use the undo xconnect peer

command to remove the L2VPN
connection first.

NOTE:

You can configure up to 4094 service instances on a Layer 2 Ethernet port.

The xconnect peer command is available for service instances with the ID in the range of 1 to 4094.

Configuring Kompella MPLS L2VPN

Kompella MPLS L2VPN uses extended BGP as the signaling protocol to transfer L2VPN information

between PEs.

Advertising