preference

preference [minimum | maximum ]

no preference

Description

Enables a DHCPv6 snooping guard policy to allow or deny the DHCPv6 servers in the specified server preference range. If not configured the minimum preference is set to 0 and maximum preference is set to 255.

Thenoform of the command removes the server preference limits on the specified DHCPv6 snooping guard policy.

Parameter

Description

minimum

Specifies the minimum value for the server preference range. Range: 1‑255.

maximum

Specifies the maximum value for the server preference range. Range: 1‑255.

Examples

Setting the minimum and maximum server preference range to 6-250 on DHCPv6 snooping guard policy pol1:

switch(config)#dhcpv6-snooping guard-policy pol1switch(config-dhcpv6-guard-policy)#preference min 6switch(config-dhcpv6-guard-policy)#preference max 250

禁用服务器范围DHC的偏好Pv6 snooping guard policy pol1:

switch(config)#dhcpv6-snooping guard-policy pol1switch(config-dhcpv6-guard-policy)#no preference

Command History

Release

Modification

10.10

Command introduced.

Command Information

Platforms

Command context

Authority

8400

config-dhcpv6-guard-policy

Administrators or local user group members with execution rights for this command.