beautypg.com

Displaying and maintaining the dhcp relay agent – H3C Technologies H3C S5560 Series Switches User Manual

Page 75

background image

60

Step Command

Remarks

4.

(Optional.) Configure the strategy
for handling DHCP requests that

contain Option 82.

dhcp relay information strategy
{ drop | keep | replace }

By default, the handling
strategy is replace.

5.

(Optional.) Configure the padding
mode and padding format for the

Circuit ID sub-option.

dhcp relay information circuit-id
{ string circuit-id | { normal |
verbose [ node-identifier { mac |

sysname | user-defined

node-identifier } ] } [ format { ascii |

hex } ] }

By default, the padding
mode for Circuit ID

sub-option is normal, and the

padding format is hex.

6.

(Optional.) Configure the padding

mode and padding format for the
Remote ID sub-option.

dhcp relay information remote-id
{ normal [ format { ascii | hex } ] |

string remote-id | sysname }

By default, the padding
mode for the Remote ID
sub-option is normal, and the

padding format is hex.

Setting the DSCP value for DHCP packets sent by
the DHCP relay agent

The DSCP value of a packet specifies the priority level of the packet and affects the transmission priority

of the packet.
To set the DSCP value for DHCP packets sent by the DHCP relay agent:

Step Command

Remarks

1.

Enter system view.

system-view N/A

2.

Set the DSCP value for DHCP
packets sent by the DHCP relay

agent.

dhcp dscp dscp-value

By default, the DSCP value in DHCP packets
sent by the DHCP relay agent is 56.

Displaying and maintaining the DHCP relay agent

Execute display commands in any view and reset commands in user view.

Task Command

Display information about DHCP servers specified
on an interface.

display dhcp relay server-address [ interface
interface-type interface-number ]

Display Option 82 configuration information on the
DHCP relay agent.

display dhcp relay information [ interface interface-type
interface-number
]

Display relay entries on the DHCP relay agent.

display dhcp relay client-information [ interface
interface-type interface-number | ip ip-address

[ vpn-instance vpn-instance-name ] ]

Display packet statistics on the DHCP relay agent.

display dhcp relay statistics [ interface interface-type
interface-number
]

Display MAC address check entries on the DHCP
relay agent.

display dhcp relay check mac-address

This manual is related to the following products: