Display the DHCPv6 Guard Policy

About this task

Displays DHCPv6 Guard policy information for all the configured DHCPv6 Guard policies or a particular policy.

Procedure

  1. To enter User EXEC mode, log on to the switch.
  2. Display DHCPv6 Guard policy information:

    show ipv6 fhs dhcp-guard policy WORD<1–64>

Example

Switch:1# show ipv6 fhs dhcp-guard policy

==================================================================================================
                                   IPv6 DHCP Guard Policy Info
==================================================================================================
POLICY-NAME          SERVER-ACC-LIST      REPLY-PREF-LIST     MIN-RTR-PREF MAX-RTR-PREF
--------------------------------------------------------------------------------------------------
dhcp_pol1            v6_acl1              v6_acl2             0            0
--------------------------------------------------------------------------------------------------

All 1 out of 1 Total Num of dhcp-guard stats entries displayed

Variable Definitions

The following table defines parameters for the show ipv6 dhcp-guard policy command.

Variable

Description

WORD<1–64>

Displays DHCPv6 Guard policy information for all the configured DHCPv6 Guard policies.

Policy name is an optional parameter. If policy name is provided, only the DHCPv6 Guard policy of the specified policy-name is displayed.

Job Aid

The following table shows the field descriptions for the show ipv6 dhcp-guard policy command.

Field

Description

POLICY-NAME

Indicates the DHCPv6 Guard policy name.

SERVER-ACC-LIST

Indicates if the received DHCPv6 server packet source IPv6 addresss matches the configured IPv6 access list.

REPLY-PREF-LIST

Indicates if the advertised prefix in received DHCPv6 server packet matches the configured IPv6 access list.

MIN-RTR-PREF

Indicates the advertised router preference minimum limit.

MAX-RTR-PREF

Indicates the advertised router preference maximum limit.