HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Application Gu - Page 126

Configuring OSPF for a virtual link on Switch B, on Switch A.

Page 126 highlights

Configuring OSPF for a virtual link on Switch B 1. Configure IP interfaces on each network that will be attached to OSPF areas. Two IP interfaces are needed on Switch B: one for the transit area network on 10.10.12.0/24 and one for the stub area network on 10.10.24.0/24. >> # /cfg/l3/if 1 (Select menu for IP interface 1) >> IP Interface 1 # addr 10.10.12.2 (Set IP address on transit area network) >> IP Interface 1 # mask 255.255.255.0 (Set IP mask on transit area network) >> IP Interface 1 # enable (Enable IP interface 1) >> IP Interface 1 # ../if 2 (Select menu for IP interface 2) >> IP Interface 2 # addr 10.10.24.1(Set IP address on stub area network) >> IP Interface 2 # mask 255.255.255.0(Set IP mask on stub area network) >> IP Interface 2 # enable (Enable IP interface 2) 2. Configure the router ID. A router ID is required when configuring virtual links. This router ID should be the same one specified as the target virtual neighbor (nbr) on Switch A. >> IP Interface 2 # /cfg/l3/rtrid 10.10.14.1(Set static router ID) 3. Enable OSPF. >> IP# /cfg/l3/ospf/on 4. Define the backbone. This version of GbE2c software requires that a backbone index be configured on the non-backbone end of the virtual link as follows: >> Open Shortest Path First # aindex 0(Select the menu for area index 0) >> OSPF Area (index) 0 # areaid 0.0.0.0(Set the area ID for OSPF area 0) >> OSPF Area (index) 0 # enable (Enable the area) 5. Define the transit area. >> OSPF Area (index) 0 # ../aindex 1 (Select menu for area index 1) >> OSPF Area (index) 1 # areaid 0.0.0.1(Set the area ID for OSPF area 1) >> OSPF Area (index) 1 # type transit (Define area as transit type) >> OSPF Area (index) 1 # enable (Enable the area) 6. Define the stub area. >> OSPF Area (index) 1 # ../aindex 2 (Select the menu for area index 2) >> OSPF Area (index) 2 # areaid 0.0.0.2(Set the area ID for OSPF area 2) >> OSPF Area (index) 2 # type stub (Define area as stub type) >> OSPF Area (index) 2 # enable (Enable the area) 7. Attach the network interface to the backbone. >> OSPF Area (index) 2 # ../if 1 (Select OSPF menu for IP interface 1) >> OSPF Interface 1 # aindex 1 (Attach network to transit area index) >> OSPF Interface 1 # enable (Enable the transit area interface) 8. Attach the network interface to the transit area. >> OSPF Interface 1 # ../if 2 >> OSPF Interface 2 # aindex 2 >> OSPF Interface 2 # enable (Select OSPF menu for IP interface 2) (Attach network to stub area index) (Enable the stub area interface) OSPF 126

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

OSPF 126
Configuring OSPF for a virtual link on Switch B
1.
Configure IP interfaces on each network that will be attached to OSPF areas.
Two IP interfaces are needed on Switch B: one for the transit area network on 10.10.12.0/24 and one for the
stub area network on 10.10.24.0/24.
>> # /cfg/l3/if 1
(Select menu for IP interface 1)
>> IP Interface 1 # addr 10.10.12.2
(Set IP address
on transit area network)
>> IP Interface 1 # mask 255.255.255.0 (Set IP mask
on transit area network)
>> IP Interface 1 # enable
(Enable IP interface 1)
>> IP Interface 1 # ../if 2
(Select menu for IP interface 2)
>> IP Interface 2 # addr 10.10.24.1(Set IP address on stub area network)
>> IP Interface 2 # mask 255.255.255.0(Set IP mask on stub area network)
>> IP Interface 2 # enable
(Enable IP interface 2)
2.
Configure the router ID.
A router ID is required when configuring virtual links. This router ID should be the same one specified as the
target virtual neighbor (
nbr
) on Switch A.
>> IP Interface 2 # /cfg/l3/rtrid 10.10.14.1(Set static router ID)
3.
Enable OSPF.
>> IP# /cfg/l3/ospf/on
4.
Define the backbone.
This version of GbE2c software requires that a backbone index be configured on the non-backbone end of the
virtual link as follows:
>> Open Shortest Path First # aindex 0(Select the menu for area index 0)
>> OSPF Area (index) 0 # areaid 0.0.0.0(Set the area ID for OSPF area 0)
>> OSPF Area (index) 0 # enable
(Enable the area)
5.
Define the transit area.
>> OSPF Area (index) 0 # ../aindex 1
(Select menu for area index 1)
>> OSPF Area (index) 1 # areaid 0.0.0.1(Set the area ID for OSPF area 1)
>> OSPF Area (index) 1 # type transit
(Define area as transit type)
>> OSPF Area (index) 1 # enable
(Enable the area)
6.
Define the stub area.
>> OSPF Area (index) 1 # ../aindex 2
(Select the menu for area index 2)
>> OSPF Area (index) 2 # areaid 0.0.0.2(Set the area ID for OSPF area 2)
>> OSPF Area (index) 2 # type stub
(Define area as stub type)
>> OSPF Area (index) 2 # enable
(Enable the area)
7.
Attach the network interface to the backbone.
>> OSPF Area (index) 2 # ../if 1
(Select OSPF menu for IP interface 1)
>> OSPF Interface 1 # aindex 1
(Attach network to transit area index)
>> OSPF Interface 1 # enable
(Enable the transit area interface)
8.
Attach the network interface to the transit area.
>> OSPF Interface 1 # ../if 2
(Select OSPF menu for IP interface 2)
>> OSPF Interface 2 # aindex 2
(Attach network to stub area index)
>> OSPF Interface 2 # enable
(Enable the stub area interface)