HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 137

Configuring parameters for RA messages, Enabling sending of RA messages

Page 137 highlights

Configuring parameters for RA messages You can enable an interface to send RA messages, and configure the interval for sending RA messages and parameters in RA messages. After receiving an RA message, a host can use these parameters to perform corresponding operations. Table 9 describes the configurable parameters in an RA message. Table 9 Parameters in an RA message and their descriptions Parameter Hop Limit Prefix information MTU M flag O flag Router Lifetime Retrans Timer Reachable Time Router Preference Description Maximum number of hops in RA messages. A host receiving the RA message fills the value in the Hop Limit field of sent IPv6 packets. After receiving the prefix information, the hosts on the same link can perform stateless autoconfiguration. Guarantees that all nodes on the link use the same MTU. Determines whether a host uses stateful autoconfiguration to obtain an IPv6 address. If the M flag is set to 1, the host uses stateful autoconfiguration (for example, from a DHCPv6 server) to obtain an IPv6 address. Otherwise, the host uses stateless autoconfiguration to generate an IPv6 address according to its link-layer address and the prefix information in the RA message. Determines whether a host uses stateful autoconfiguration to obtain configuration information other than IPv6 address. If the O flag is set to 1, the host uses stateful autoconfiguration (for example, from a DHCPv6 server) to obtain configuration information other than IPv6 address. Otherwise, the host uses stateless autoconfiguration. Tells the receiving hosts how long the advertising router can live. If the lifetime of a router is 0, the router cannot be used as the default gateway. If the device does not receive a response message within the specified time after sending an NS message, it retransmits the NS message. If the neighbor reachability detection shows that a neighbor is reachable, the device considers the neighbor reachable within the specified reachable time. If the device needs to send a packet to the neighbor after the specified reachable time expires, the device reconfirms whether the neighbor is reachable. Specifies the router preference in a RA message. A host selects a router as the default gateway according to the router preference. If router preferences are the same, the host selects the router from which the first RA message is received. The maximum interval for sending RA messages should be less than (or equal to) the router lifetime in RA messages so the router can be updated by an RA message before expiration. The values of the NS retransmission timer and the reachable time configured for an interface are sent in RA messages to hosts. This interface sends NS messages at the interval of the NS retransmission timer and considers a neighbor reachable within the reachable time. Enabling sending of RA messages Step 1. Enter system view. Command system-view Remarks N/A 129

  • 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
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230

129
Configuring parameters for RA messages
You can enable an interface to send RA messages, and configure the interval for sending RA messages
and parameters in RA messages. After receiving an RA message, a host can use these parameters to
perform corresponding operations.
Table 9
describes the configurable parameters in an RA message.
Table 9
Parameters in an RA message and their descriptions
Parameter
Description
Hop Limit
Maximum number of hops in RA messages. A host receiving the RA message fills the
value in the Hop Limit field of sent IPv6 packets.
Prefix information
After receiving the prefix information, the hosts on the same link can perform
stateless autoconfiguration.
MTU
Guarantees that all nodes on the link use the same MTU.
M flag
Determines whether a host uses stateful autoconfiguration to obtain an IPv6
address.
If the M flag is set to 1, the host uses stateful autoconfiguration (for example, from a
DHCPv6 server) to obtain an IPv6 address. Otherwise, the host uses stateless
autoconfiguration to generate an IPv6 address according to its link-layer address
and the prefix information in the RA message.
O flag
Determines whether a host uses stateful autoconfiguration to obtain configuration
information other than IPv6 address.
If the O flag is set to 1, the host uses stateful autoconfiguration (for example, from a
DHCPv6 server) to obtain configuration information other than IPv6 address.
Otherwise, the host uses stateless autoconfiguration.
Router Lifetime
Tells the receiving hosts how long the advertising router can live. If the lifetime of a
router is 0, the router cannot be used as the default gateway.
Retrans Timer
If the device does not receive a response message within the specified time after
sending an NS message, it retransmits the NS message.
Reachable Time
If the neighbor reachability detection shows that a neighbor is reachable, the
device considers the neighbor reachable within the specified reachable time. If the
device needs to send a packet to the neighbor after the specified reachable time
expires, the device reconfirms whether the neighbor is reachable.
Router Preference
Specifies the router preference in a RA message. A host selects a router as the
default gateway according to the router preference. If router preferences are the
same, the host selects the router from which the first RA message is received.
The maximum interval for sending RA messages should be less than (or equal to) the router lifetime in RA
messages so the router can be updated by an RA message before expiration.
The values of the NS retransmission timer and the reachable time configured for an interface are sent in
RA messages to hosts. This interface sends NS messages at the interval of the NS retransmission timer
and considers a neighbor reachable within the reachable time.
Enabling sending of RA messages
Step
Command
Remarks
1.
Enter system view.
system-view
N/A