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

Router ID, Authentication

Page 114 highlights

Router ID Routing devices in OSPF areas are identified by a router ID. The router ID is expressed in IP address format. The IP address of the router ID is not required to be included in any IP interface range or in any OSPF area. The router ID can be configured in one of the following two ways: • Dynamically-OSPF protocol configures the lowest IP interface IP address as the router ID. This is the default. • Statically-Use the following command to manually configure the router ID >> # /cfg/l3/rtrid To modify the router ID from static to dynamic, set the router ID to 0.0.0.0, save the configuration, and reboot the switch. To view the router ID, enter: >> # /info/l3/ospf/gen Authentication OSPF protocol exchanges can be authenticated so that only trusted routing devices can participate. This ensures less processing on routing devices that are not listening to OSPF packets. OSPF allows packet authentication and uses IP multicast when sending and receiving packets. Routers participate in routing domains based on predefined passwords. GbE2c software supports simple password (type 1 plain text passwords) and MD5 cryptographic authentication. This type of authentication allows a password to be configured per area. The following figure shows authentication configured for area 0 with the password test. Simple authentication is also configured for the virtual link between area 2 and area 0. Area 1 is not configured for OSPF authentication. Figure 20 OSPF authentication To configure simple plain text OSPF passwords on the switches shown in the figure use the following commands: 1. Enable OSPF authentication for Area 0 on switches 1, 2, and 3. >> # /cfg/l3/ospf/aindex 0/auth password 2. Configure a simple text password up to eight characters for each OSPF IP interface in Area 0 on switches 1, 2, and 3. >> # /cfg/l3/ospf/if 1 >> OSPF Interface 1 # key test >> OSPF Interface 1 # ../if 2 >> OSPF Interface 2 # key test >> OSPF Interface 1 # ../if 3 >> OSPF Interface 3 # key test OSPF 114

  • 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 114
Router ID
Routing devices in OSPF areas are identified by a router ID. The router ID is expressed in IP address format. The IP
address of the router ID is not required to be included in any IP interface range or in any OSPF area.
The router ID can be configured in one of the following two ways:
Dynamically—OSPF protocol configures the lowest IP interface IP address as the router ID. This is the default.
Statically—Use the following command to manually configure the router ID
>> # /cfg/l3/rtrid <
IP address
>
To modify the router ID from static to dynamic, set the router ID to 0.0.0.0, save the configuration, and reboot the
switch. To view the router ID, enter:
>> # /info/l3/ospf/gen
Authentication
OSPF protocol exchanges can be authenticated so that only trusted routing devices can participate. This ensures less
processing on routing devices that are not listening to OSPF packets.
OSPF allows packet authentication and uses IP multicast when sending and receiving packets. Routers participate in
routing domains based on predefined passwords. GbE2c software supports simple password (type 1 plain text
passwords) and MD5 cryptographic authentication. This type of authentication allows a password to be configured
per area.
The following figure shows authentication configured for area 0 with the password test. Simple authentication is also
configured for the virtual link between area 2 and area 0. Area 1 is not configured for OSPF authentication.
Figure 20
OSPF authentication
To configure simple plain text OSPF passwords on the switches shown in the figure use the following commands:
1.
Enable OSPF authentication for Area 0 on switches 1, 2, and 3.
>> # /cfg/l3/ospf/aindex 0/auth password
2.
Configure a simple text password up to eight characters for each OSPF IP interface in Area 0 on switches 1, 2,
and 3.
>> # /cfg/l3/ospf/if 1
>> OSPF Interface 1 # key test
>> OSPF Interface 1 # ../if 2
>> OSPF Interface 2 # key test
>> OSPF Interface 1 # ../if 3
>> OSPF Interface 3 # key test