HP 6125G HP 6125G & 6125G/XG Blade Switches Layer 3 - IP Services Conf - Page 45

Correlating a DHCP server group with a relay agent interface, Configuration guidelines,

Page 45 highlights

Step Command 2. Enter interface view. interface interface-type interface-number 3. Enable the DHCP relay agent on the current interface. dhcp select relay Remarks N/A Disabled by default Correlating a DHCP server group with a relay agent interface To improve reliability, you can specify several DHCP servers as a group on the DHCP relay agent and correlate a relay agent interface with the server group. When the interface receives request messages from clients, the relay agent will forward them to all the DHCP servers of the group. Configuration guidelines Follow these guidelines when you correlate a DHCP server group with a relay agent interface: • You can specify up to twenty DHCP server groups on the relay agent. • By executing the dhcp relay server-group command repeatedly, you can specify up to eight DHCP server addresses for each DHCP server group. • The IP addresses of DHCP servers and those of relay agent's interfaces that connect DHCP clients cannot be on the same subnet. Otherwise, the client cannot obtain an IP address. • A DHCP server group can correlate with one or multiple DHCP relay agent interfaces, while a relay agent interface can only correlate with one DHCP server group. Using the dhcp relay server-select command repeatedly overwrites the previous configuration. However, if the specified DHCP server group does not exist, the interface still uses the previous correlation. • The group-id argument in the dhcp relay server-select command is configured by using the dhcp relay server-group command. Configuration procedure To correlate a DHCP server group with a relay agent interface: Step 1. Enter system view. 2. Create a DHCP server group and add a server into the group. 3. Enter interface view. 4. Correlate the DHCP server group with the current interface. Command system-view dhcp relay server-group group-id ip ip-address interface interface-type interface-number dhcp relay server-select group-id Remarks N/A Not created by default. N/A By default, no interface is correlated with any DHCP server group. 37

  • 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

37
Step
Command
Remarks
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Enable the DHCP relay agent
on the current interface.
dhcp select
relay
Disabled by default
Correlating a DHCP server group with a relay
agent interface
To improve reliability, you can specify several DHCP servers as a group on the DHCP relay agent and
correlate a relay agent interface with the server group. When the interface receives request messages
from clients, the relay agent will forward them to all the DHCP servers of the group.
Configuration guidelines
Follow these guidelines when you correlate a DHCP server group with a relay agent interface:
You can specify up to twenty DHCP server groups on the relay agent.
By executing the
dhcp relay server-group
command repeatedly, you can specify up to eight DHCP
server addresses for each DHCP server group.
The IP addresses of DHCP servers and those of relay agent's interfaces that connect DHCP clients
cannot be on the same subnet. Otherwise, the client cannot obtain an IP address.
A DHCP server group can correlate with one or multiple DHCP relay agent interfaces, while a relay
agent interface can only correlate with one DHCP server group. Using the
dhcp relay server-select
command repeatedly overwrites the previous configuration. However, if the specified DHCP server
group does not exist, the interface still uses the previous correlation.
The
group-id
argument in the
dhcp relay server-select
command is configured by using the
dhcp
relay server-group
command.
Configuration procedure
To correlate a DHCP server group with a relay agent interface:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a DHCP server group
and add a server into the
group.
dhcp relay server-group
group-id
ip
ip-address
Not created by default.
3.
Enter interface view.
interface
interface-type
interface-number
N/A
4.
Correlate the DHCP server
group with the current
interface.
dhcp relay server-select
group-id
By default, no interface is
correlated with any DHCP
server group.