HP 6125XLG R2306-HP 6125XLG Blade Switch Layer 3 - IP Services Configuration G - Page 81
Verifying the configuration, Option 82 configuration example, Network requirements
View all HP 6125XLG manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 81 highlights
[SwitchB-Ten-GigabitEthernet1/1/5] dhcp snooping trust [SwitchB-Ten-GigabitEthernet1/1/5] quit # Enable DHCP snooping to record clients' IP-MAC bindings on Ten-GigabitEthernet 1/1/6. [SwitchB] interface Ten-GigabitEthernet 1/1/6 [SwitchB-Ten-GigabitEthernet1/1/6] dhcp snooping binding record [SwitchB-Ten-GigabitEthernet1/1/6] quit Verifying the configuration After the preceding configuration is complete, the DHCP client can obtain an IP address and other configuration parameters only from the authorized DHCP server. You can view the DHCP snooping entry recorded for the client with the display dhcp snooping binding command. Option 82 configuration example Network requirements As shown in Figure 29, enable DHCP snooping and configure Option 82 on Switch B as follows: • Configure the handling strategy for DHCP requests containing Option 82 as replace. • On Ten-GigabitEthernet 1/1/6, configure the padding content for the Circuit ID sub-option as company001 and for the Remote ID sub-option as device001. • On Ten-GigabitEthernet 1/1/7, for the Circuit ID sub-option, configure the padding format as verbose, access node identifier as sysname, and code type as ascii. For the Remote ID sub-option, configure the padding content as device001. Figure 29 Network diagram Configuration procedure # Enable DHCP snooping. system-view [SwitchB] dhcp snooping enable # Configure Ten-GigabitEthernet 1/1/5 as a trusted port. [SwitchB] interface Ten-GigabitEthernet 1/1/5 [SwitchB-Ten-GigabitEthernet1/1/5] dhcp snooping trust [SwitchB-Ten-GigabitEthernet1/1/5] quit # Configure Option 82 on Ten-GigabitEthernet 1/1/6. [SwitchB] interface Ten-GigabitEthernet 1/1/6 [SwitchB-Ten-GigabitEthernet1/1/6] dhcp snooping information enable 72