beautypg.com

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

Page 74

background image

63

To do…

Use the command…

Remarks

Configure the
padding format for
Option 82

dhcp relay information format
{ normal | verbose
[ node-identifier { mac |

sysname | user-defined

node-identifier } ] }

Optional
normal by default.

Configure the code
type for the circuit ID

sub-option

dhcp relay information
circuit-id format-type { ascii |

hex }

Optional
By default, the code type

depends on the padding format
of Option 82. Each field has its

own code type.
The code type configuration

applies to non-user-defined

Option 82 only.

Configure
non-user-defined
Option 82

Configure the code
type for the remote

ID sub-option

dhcp relay information
remote-id format-type { ascii

| hex }

Optional
By default, the code type is hex.
This code type configuration
applies to non-user-defined

Option 82 only.

Configure the
padding content for

the circuit ID
sub-option

dhcp relay information
circuit-id string circuit-id

Optional
By default, the padding content
depends on the padding format

of Option 82.

Configure
user-defined

Option 82

Configure the
padding content for

the remote ID
sub-option

dhcp relay information
remote-id string { remote-id |

sysname }

Optional
By default, the padding content
depends on the padding format

of Option 82.

Displaying and maintaining the DHCP relay agent

To do…

Use the command…

Remarks

Display information about DHCP server
groups correlated to a specified

interface or all interfaces

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

| exclude | include } regular-expression ]

Available in any
view

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