Display And Maintenance Commands For Dhcp Relay Agent - H3C SR8800-F Configuration Manual

Comware 7 user access
Hide thumbs Also See for SR8800-F:
Table of Contents

Advertisement

secondary gateway. Then, when the secondary gateway receives a DHCP reply, it resolves
Option 82, records the VLAN ID of the L2VE subinterface, and forwards the reply to the PW.
To configure forwarding DHCP replies based on Option 82:
Step
1.
Enter system view.
2.
Enter interface view.
3.
Enable the relay agent
to handle Option 82.
4.
Configure the padding
mode and padding
format for the Circuit ID
sub-option.
5.
Configure the DHCP
relay agent to forward
DHCP replies based
on Option 82.
Display and maintenance commands for DHCP
relay agent
Execute display commands in any view and reset commands in user view.
Task
Display information about DHCP servers on an
interface.
Display Option 82 configuration information on the
DHCP relay agent.
Display relay entries on the DHCP relay agent.
Display packet statistics on the DHCP relay agent.
Clear relay entries on the DHCP relay agent.
Clear packet statistics on the DHCP relay agent.
Command
system-view
interface interface-type
interface-number
dhcp relay information enable
dhcp relay information circuit-id { bas
[ sub-interface-vlan ] [ with-vxlan ] |
string circuit-id | { normal | verbose
[ node-identifier { mac | sysname |
user-defined node-identifier } ]
[ interface ] } [ sub-interface-vlan ]
[ format { ascii | hex } ] }
dhcp relay forward reply by-option82
Command
display dhcp relay server-address [ interface
interface-type interface-number ]
display dhcp relay information [ interface
interface-type interface-number ]
display dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
display dhcp relay statistics [ interface
interface-type interface-number ]
reset dhcp relay client-information [ interface
interface-type interface-number | ip ip-address
[ vpn-instance vpn-instance-name ] ]
reset dhcp relay statistics [ interface interface-type
interface-number ]
147
Remarks
N/A
N/A
By default, handling of Option 82
is disabled.
By default, the padding mode for
the Circuit ID sub-option is
normal, and the padding format
is hex.
The device name (set by using
the sysname command) must
not include spaces if it is
configured as the padding
content for sub-option 1.
Otherwise, the DHCP relay agent
will fail to add or replace Option
82.
You must set the padding mode
to bas, normal, or verbose, and
specify the sub-interface-vlan
keyword for this command.
By default, the DHCP relay agent
does not forward DHCP replies
based on Option 82.

Advertisement

Table of Contents
loading

Table of Contents