beautypg.com

Dhcp relay agent configuration examples, Dhcp relay agent configuration example, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 80

background image

66

Task Command

Remarks

Display Option 82 configuration
information on the DHCP relay agent.

display dhcp relay information { all |
interface interface-type
interface-number
} [ | { begin |

exclude | include }

regular-expression ]

Available in any view.

Display information about bindings of

DHCP relay agents.

display dhcp relay security
[ ip-address | dynamic | static ] [ |

{ begin | exclude | include }
regular-expression ]

Available in any view.

Display statistics information about
bindings of DHCP relay agents.

display dhcp relay security statistics
[ | { begin | exclude | include }

regular-expression ]

Available in any view.

Display information about the refreshing
interval for entries of dynamic IP-to-MAC

bindings.

display dhcp relay security tracker [ |
{ begin | exclude | include }

regular-expression ]

Available in any view.

Display information about the
configuration of a specific or all DHCP
server groups.

display dhcp relay server-group
{ group-id | all } [ | { begin | exclude

| include } regular-expression ]

Available in any view.

Display packet statistics on relay agent.

display dhcp relay statistics

[ server-group { group-id | all } ] [ |
{ begin | exclude | include }

regular-expression ]

Available in any view.

Clear packet statistics from relay agent.

reset dhcp relay statistics
[ server-group group-id ]

Available in user view.

DHCP relay agent configuration examples

DHCP relay agent configuration example

Network requirements

As shown in

Figure 32

, DHCP clients reside on network 10.10.1.0/24. The IP address of DHCP server

(Switch B) is 10.1.1.1/24, and the IP address of DHCP server (Switch C) is 10.2.1.1/24. Because the
DHCP clients reside on a different network with the DHCP servers, a DHCP relay agent is deployed to

forward messages between DHCP clients and the DHCP servers.
VLAN-interface 1 of the DHCP relay agent (Switch A) connects to the subnet where DHCP clients reside.

The IP address of VLAN-interface 1 is 10.10.1.1/24.