View DHCP Relay Information

View DHCP Relay information to display the current configuration for the forwarding path and the interface configuration.

About this task

Not all parameters are available in non-default VRFs.

Procedure

  1. Enter Privileged EXEC mode:

    enable

  2. View DHCP Relay global information:

    show ipv6 dhcp-relay {counters [vrf WORD<1–16> | vrfids WORD<0–512>] | fwd-path [vrf WORD<1–16> | vrfids WORD<0–512>]

  3. View IPv6 DHCP Relay interface configuration:

    show ipv6 dhcp-relay interface {gigabitEthernet {slot/port[/sub-port] [-slot/port[/sub-port]] [,...]} | vlan <1-4059>}

    Note

    Note

    The no ipv6 dhcp-relay command disables DHCP on the interface but does not delete the entry.

Example

Switch:1(config-if)#show ipv6 dhcp-relay fwd-path     

================================================================================
                         DHCPv6 Fwd-path - GlobalRouter
================================================================================
INTERFACE                           SERVER                              ENABLE    
--------------------------------------------------------------------------------
1111:0:0:0:0:0:0:1111               1234:0:0:0:0:0:0:1234               enable 

Variable Definitions

Use the information in the following table to help you use the show ipv6 dhcp-relay command.

Variable

Value

{slot/port[/sub-port][-slot/port[/sub-port]][,...]}

Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port.

vlan<1-4059>

Specifies the VLAN ID in the range of 1 to 4059. By default, VLAN IDs 1 to 4059 are configurable and the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1.

vrf WORD<1–16>

Specifies the VRF name.

vrfids WORD<0–512>

Specifies the VRF ID.