HP 10500 Series Configuration Manual page 80

Hide thumbs Also See for 10500 Series:
Table of Contents

Advertisement

[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 2.2.2.9 0.0.0.0
[SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
[SwitchB-ospf-1] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] ospf
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 3.3.3.9 0.0.0.0
[SwitchC-ospf-1-area-0.0.0.0] network 20.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] network 21.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] quit
[SwitchC-ospf-1] quit
# Verify that the switches have learned the routes to each other. For example, on Switch A:
[SwitchA] display ip routing-table
Destinations : 21
Destination/Mask
0.0.0.0/32
1.1.1.9/32
2.2.2.9/32
3.3.3.9/32
10.1.1.0/24
10.1.1.0/32
10.1.1.1/32
10.1.1.255/32
11.1.1.0/24
11.1.1.0/32
11.1.1.1/32
11.1.1.255/32
20.1.1.0/24
21.1.1.0/24
127.0.0.0/8
127.0.0.0/32
127.0.0.1/32
127.255.255.255/32
224.0.0.0/4
224.0.0.0/24
255.255.255.255/32
Enable MPLS and LDP:
3.
# Configure Switch A.
[SwitchA] mpls lsr-id 1.1.1.9
[SwitchA] mpls ldp
[SwitchA-ldp] quit
[SwitchA] interface vlan-interface 2
Routes : 21
Proto
Pre
Cost
Direct 0
0
Direct 0
0
OSPF
10
1
OSPF
10
2
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
OSPF
10
2
OSPF
10
3
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
74
NextHop
Interface
127.0.0.1
InLoop0
127.0.0.1
InLoop0
10.1.1.2
Vlan2
10.1.1.2
Vlan2
10.1.1.1
Vlan2
10.1.1.1
Vlan2
127.0.0.1
InLoop0
10.1.1.1
Vlan2
11.1.1.1
Vlan4
11.1.1.1
Vlan4
127.0.0.1
InLoop0
11.1.1.1
Vlan4
10.1.1.2
Vlan2
10.1.1.2
Vlan2
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
0.0.0.0
NULL0
0.0.0.0
NULL0
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

Table of Contents