H3C Technologies H3C S12500-X Series Switches User Manual

Page 228

Advertising
background image

217

Summary Count : 5

OSPF Routing table Status : <Active>

Summary Count : 3

Destination/Mask Proto Pre Cost NextHop Interface

2.2.2.9/32 OSPF 10 1 172.1.1.2 Vlan13

3.3.3.9/32 OSPF 10 2 172.1.1.2 Vlan13

172.2.1.0/24 OSPF 10 2 172.1.1.2 Vlan13

OSPF Routing table Status : <Inactive>

Summary Count : 2

Destination/Mask Proto Pre Cost NextHop Interface

1.1.1.9/32 OSPF 10 0 1.1.1.9 Loop0

172.1.1.0/24 OSPF 10 1 172.1.1.1 Vlan13

[PE1] display ospf peer verbose

OSPF Process 1 with Router ID 1.1.1.9

Neighbors

Area 0.0.0.0 interface 172.1.1.1(Vlan-interface13)'s neighbors

Router ID: 2.2.2.9 Address: 172.1.1.2 GR State: Normal

State: Full Mode: Nbr is Master Priority: 1

DR: 172.1.1.2 BDR: 172.1.1.1 MTU: 0

Options is 0x02 (-|-|-|-|-|-|E|-)

Dead timer due in 39 sec

Neighbor is up for 00:00:29

Authentication Sequence: [ 0 ]

Neighbor state change count: 6

2.

Configure basic MPLS and enable MPLS LDP on the MPLS backbone to establish LDP LSPs:
# Configure PE 1.

[PE1] mpls lsr-id 1.1.1.9

[PE1] mpls ldp

[PE1-ldp] quit

[PE1] interface vlan-interface 13

[PE1-Vlan-interface13] mpls enable

[PE1-Vlan-interface13] mpls ldp enable

[PE1-Vlan-interface13] quit

# Configure the P switch.

[P] mpls lsr-id 2.2.2.9

[P] mpls ldp

[P-ldp] quit

[P] interface vlan-interface 13

[P-Vlan-interface13] mpls enable

[P-Vlan-interface13] mpls ldp enable

[P-Vlan-interface13] quit

Advertising