Users Guide
show ipv6 dhcp-relay
Displays the DHCPv6 relay information on the client interfaces.
Syntax
show ipv6 dhcp-relay interface {{ethernet node/slot/port | port-channel id-
number} | vlan vlan-id [{ethernet node/slot/port | port-channel id-number}]
| virtual-network vnid}
Parameters
● ethernet - node/slot/port
● portchannel -id-number
● vlan - vlan-id [ethernet node/slot/port | port-channel id-number]
● virtual-network - vn-id
Defaults None.
Command Mode EXEC
Usage
Information
Show ipv6 dhcp-relay will display the below information :
Interface name
Per-interface interface-id field value
Per-interface remote-id field value
show ipv6 dhcp relay interface <interface> - This command displays the relay information
for the requested interface.
If the interface-id option is enabled, the show command displays the option-18 value which is sent in
packet Format:- interface-id (or) prefix:interface-id (if prefix is configured)
If the remote-id option is enabled, the show command displays the option-37 value which is sent in packet
format:- remote-id (or) prefix:remote-id (if prefix is configured)
IIf interface-id option is disabled, the corresponding show command field displays Disabled.
If remote-id option is disabled, the corresponding show command field displays Disabled.
If an interface is associated to a VLAN, then it is mandatory to give both VLAN and port information in
the show command. For example, show ipv6 dhcp-relay vlan 10 ethernet 1/1/1.
Otherwise, the show command displays an empty output.
NOTE: This command is accessible to all user roles.
Example
OS10(conf)#ipv6 dhcp-relay remote-id
OS10(conf)#ipv6 dhcp-relay interface-id
OS10# show ipv6 dhcp-relay interface ethernet 1/1/1
Interface : ethernet 1/1/1
Interface-id[option-18] : Enabled (ethernet1/1/1)
Remote-id[option-37] : Enabled
Enterprise-number : 674
Remote-id value : 90b11cf4a65d
OS10(conf)#ipv6 dhcp-relay remote-id description force10
OS10(conf)#ipv6 dhcp-relay prefix remote-id hostname
OS10(conf)#ipv6 dhcp-relay prefix interface-id hostname vrfname
interface ethernet1/1/1
no shutdown
no switchport
switchport mode trunk
switchport trunk allowed vlan 10
vlan 10
ip addrres 1::2/64
ip helper address 2::2
ip vrf forwarding red
OS10# show ipv6 dhcp-relay interface vlan 10 ethernet 1/1/1
System management
327