Displaying and maintaining dhcpv6 snooping, Dhcpv6 snooping configuration example – H3C Technologies H3C S12500 Series Switches User Manual

Page 203

Advertising
background image

189

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure the port as trusted. ipv6 dhcp snooping trust

By default, all ports of the device
with DHCPv6 snooping globally

enabled are untrusted.

Configuring the maximum number of DHCPv6
snooping entries an interface can learn

Perform this optional task to prevent an interface from learning too many DHCPv6 snooping entries and

to save system resources.
To configure the maximum number of DHCPv6 snooping entries an interface can learn:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view.

interface interface-type
interface-number

N/A

3.

Configure the maximum

number of DHCPv6 snooping

entries that the interface can
learn.

ipv6 dhcp snooping
max-learning-num number

Optional.
By default, the number of DHCPv6

snooping entries learned by an
interface is not limited.

Displaying and maintaining DHCPv6 snooping

Task Command

Remarks

Display DHCPv6 snooping
trusted ports.

display ipv6 dhcp snooping trust [ | { begin |
exclude | include } regular-expression ]

Available in any view.

Display DHCPv6 snooping
entries.

display ipv6 dhcp snooping user-binding
{ ipv6-address | dynamic } [ | { begin | exclude |
include } regular-expression ]

Available in any view.

Clear DHCPv6 snooping
entries.

reset ipv6 dhcp snooping user-binding
{ ipv6-address | dynamic }

Available in user
view.

DHCPv6 snooping configuration example

IMPORTANT:

By default, Ethernet, VLAN, and aggregate interfaces are down. To configure such an interface, bring the
interface up by executing the undo shutdown command.

Advertising