HP 10500 Series Configuration Manual page 129

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

[P-LoopBack0] ip address 2.2.2.9 32
[P-LoopBack0] quit
[P] interface vlan-interface 13
[P-Vlan-interface13] ip address 172.1.1.2 24
[P- Vlan-interface13] quit
[P] interface vlan-interface 12
[P-Vlan-interface12] ip address 172.2.1.1 24
[P-Vlan-interface12] quit
[P] ospf
[P-ospf-1] area 0
[P-ospf-1-area-0.0.0.0] network 172.1.1.0 0.0.0.255
[P-ospf-1-area-0.0.0.0] network 172.2.1.0 0.0.0.255
[P-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[P-ospf-1-area-0.0.0.0] quit
[P-ospf-1] quit
# Configure PE 2.
<PE2> system-view
[PE2] interface loopback 0
[PE2-LoopBack0] ip address 3.3.3.9 32
[PE2-LoopBack0] quit
[PE2] interface vlan-interface 12
[PE2-Vlan-interface12] ip address 172.2.1.2 24
[PE2-Vlan-interface12] quit
[PE2] ospf
[PE2-ospf-1] area 0
[PE2-ospf-1-area-0.0.0.0] network 172.2.1.0 0.0.0.255
[PE2-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0
[PE2-ospf-1-area-0.0.0.0] quit
[PE2-ospf-1] quit
After the configurations, OSPF adjacencies are established between PE 1, P, and PE 2. Execute the
display ospf peer command. The output shows that the adjacency status is Full. Execute the display
ip routing-table command. The output shows that the PEs have learned the routes to the loopback
interfaces of each other. Take PE 1 as an example:
[PE1] display ip routing-table protocol ospf
Summary Count : 5
OSPF Routing table Status : <Active>
Summary Count : 3
Destination/Mask
2.2.2.9/32
3.3.3.9/32
172.2.1.0/24
OSPF Routing table Status : <Inactive>
Summary Count : 2
Proto
Pre
Cost
OSPF
10
1
OSPF
10
2
OSPF
10
2
123
NextHop
Interface
172.1.1.2
Vlan13
172.1.1.2
Vlan13
172.1.1.2
Vlan13

Advertisement

Table of Contents
loading

Table of Contents