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

Configuring the DHCP relay agent to support Option 82, Configuration prerequisites

Page 49 highlights

Step 1. Enter system view. 2. Configure the DHCP relay agent to release an IP address. Command system-view dhcp relay release ip client-ip Remarks N/A The IP address must be in a dynamic client entry. Configuring the DHCP relay agent to support Option 82 Configuration prerequisites Before you perform this configuration, complete the following tasks: • Enable DHCP. • Enable the DHCP relay agent on the specified interface. • Correlate a DHCP server group with relay agent interfaces. Configuration guidelines • To support Option 82, perform related configuration on both the DHCP server and relay agent. • If the handling strategy of the DHCP relay agent is configured as replace, you must configure a padding format for Option 82. If the handling strategy is keep or drop, you need not configure any padding format. • If sub-option 1 (node identifier) of Option 82 is padded with the device name (sysname) of a node, the device name must contain no spaces. Otherwise, the DHCP relay agent will drop the message. Configuration procedure To configure the DHCP relay agent to support Option 82: Step Command 1. Enter system view. system-view 2. Enter interface view. interface interface-type interface-number 3. Enable the relay agent to support Option 82. dhcp relay information enable 4. Configure the handling strategy for requesting messages containing Option dhcp relay information strategy { drop | keep | replace } 82. Remarks N/A N/A Disabled by default. Optional. replace by default. 41

  • 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

41
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Configure the DHCP relay agent to
release an IP address.
dhcp relay release ip
client-ip
The IP address must be in a
dynamic client entry.
Configuring the DHCP relay agent to support
Option 82
Configuration prerequisites
Before you perform this configuration, complete the following tasks:
Enable DHCP.
Enable the DHCP relay agent on the specified interface.
Correlate a DHCP server group with relay agent interfaces.
Configuration guidelines
To support Option 82, perform related configuration on both the DHCP server and relay agent.
If the handling strategy of the DHCP relay agent is configured as
replace
, you must configure a
padding format for Option 82. If the handling strategy is
keep
or
drop
, you need not configure any
padding format.
If sub-option 1 (node identifier) of Option 82 is padded with the device name (sysname) of a node,
the device name must contain no spaces. Otherwise, the DHCP relay agent will drop the message.
Configuration procedure
To configure the DHCP relay agent to support Option 82:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter interface view.
interface
interface-type
interface-number
N/A
3.
Enable the relay
agent to support
Option 82.
dhcp relay information enable
Disabled by default.
4.
Configure the
handling strategy for
requesting messages
containing Option
82.
dhcp relay information strategy
{
drop
|
keep
|
replace
}
Optional.
replace
by default.