Configuring the asbr-pes, Configuring the routing policy, Configuring an ospfv3 sham link – H3C Technologies H3C S6800 Series Switches User Manual

Page 301: Configuring a loopback interface

Advertising
background image

288

Step Command

Remarks

7.

Enable the PE to exchange
labeled routes with the

ASBR-PE in the same AS.

peer { group-name | ip-address
[ mask-length ] }
label-route-capability

By default, the PE does not
advertise labeled routes to any
IPv4 peer/peer group.

8.

Return to BGP view.

quit

N/A

9.

Enter BGP VPNv6 address
family view.

address-family vpnv6

N/A

10.

Enable the PE to exchange
BGP VPNv6 routing

information with the EBGP

peer.

peer ip-address [ mask-length ]
enable

By default, the PE does not
exchange labeled routes with any

IPv4 peer/peer group.

Configuring the ASBR-PEs

In the inter-AS IPv6 VPN option C solution, an inter-AS LSP is needed, and the routes advertised between
the PEs and ASBRs must carry MPLS label information. The configuration is the same as that in the

Inter-AS IPv4 VPN option C solution. For more information, see "

Configuring MPLS L3VPN

."

Configuring the routing policy

A routing policy on an ASBR-PE does the following:

Assigns MPLS labels to routes received from the PEs in the same AS before advertising them to the
peer ASBR-PE.

Assigns new MPLS labels to the labeled routes to be advertised to the PEs in the same AS.

The configuration is the same as that in the Inter-AS IPv4 VPN option C solution. For more information,
see "

Configuring MPLS L3VPN

."

Configuring an OSPFv3 sham link

Before you configure an OSPFv3 sham link, configure basic IPv6 MPLS L3VPN (OSPFv3 is used between

PE and CE).

Configuring a loopback interface

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Create a loopback interface
and enter loopback interface

view.

interface loopback interface-number

By default, no loopback
interface is created.

3.

Associate the loopback
interface with a VPN instance.

ip binding vpn-instance
vpn-instance-name

By default, the interface is
associated with no VPN

instance.

4.

Configure an IPv6 address for

the loopback interface.

See Layer 3—IP Services
Configuration Guide
.

By default, no IPv6 address is
configured for the loopback
interface.

Advertising