beautypg.com

H3C Technologies H3C SR8800 User Manual

Page 390

background image

374

4.

Configure CE 2:
# Enable IPv6 packet forwarding and specify IP addresses for interfaces.

system-view

[CE2] ipv6

[CE2] interface Pos 2/1/2

[CE2-Pos2/1/2] ipv6 address auto link-local

[CE2-Pos2/1/2] quit

[CE2] interface loopback 0

[CE2-LoopBack0] ipv6 address 4::4/128

[CE2-LoopBack0] quit

# Configure the static route to PE 2.

[CE2] ipv6 route-static :: 0 Pos2/1/2

5.

Verify the configuration:
# Display MPLS LSP information on PE 1.

display mpls lsp

--------------------------------------------------------------

LSP Information: BGP IPV6 LSP

--------------------------------------------------------------

FEC : 1::1

In Label : 1024 Out Label : -----

In Interface : ----- OutInterface : -----

Vrf Name :

FEC : 2::2

In Label : 1025 Out Label : -----

In Interface : ----- OutInterface : -----

Vrf Name :

---------------------------------------------------------------

LSP Information: LDP LSP

---------------------------------------------------------------

FEC In/Out Label In/Out IF Vrf Name

3.3.3.3/32 NULL/3 -/S4/1/9:0

2.2.2.2/32 3/NULL S4/1/9:0/-

# Display the IPv6 BGP routing table on PE 1.

display bgp ipv6 routing-table

Total Number of Routes: 4

BGP Local router ID is 2.2.2.2

Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,

h - history, i - internal, s - suppressed, S – Stale

Origin : i - IGP, e - EGP, ? - incomplete

*> Network : 1::1 PrefixLen : 128

NextHop : FE80::E142:0:4607:1 LocPrf :

PrefVal : 0 Label : NULL

MED : 0

Path/Ogn: ?