Viewing the DHCPv6-relay configuration
Syntax:
show ipv6 helper–address [vlan
<vid>]
Displays the DHCPv6-relay configuration on all VLANs configured on the routing switch or on the VLAN you specify.
Display of unicast Helper address configured on VLAN 10 in Routing a unicast DHCPv6 request across a multiple-hop topology
Switch(config)# show ipv6 helper–address VLAN: 10 IPv6 Helper Address Egress Vlan ––––––––––––––––––––––––––––––––––––––– ––––––––––– 2001:db8:0:12::11 11 Egress VLAN not used with unicast Helper addresses
Display of multicast Helper address configured on VLAN 10
Switch(config)# show ipv6 helper–address VLAN: 14 IPv6 Helper Address Egress Vlan ––––––––––––––––––––––––––––––––––––––– ––––––––––– FF05::1:3 11 Egress VLAN required for multicast Helper addresses
Configuring a unicast IPv6 Helper address does not require the specification of an egress VLAN. However, an egress VLAN must be included when configuring a multicast Helper address.
Using the
show ipv6 help–address vlan
<vid>
command displays the Helper address information for the specified VLAN in the same format as that shown above.
Syntax:
show run
Use this option to verify whether DHCPv6-relay is enabled on the routing switch. The output includes per-VLAN listings of any configured Helper addresses.
The show run command with DHCPv6-relay enabled
Switch(config)# show run Running configuration: . . . ipv6 hop-limit 25 1 ipv6 unicast–routing 2 interface loopback 1 ip address 1.1.1.1 exit snmp–server community "public" unrestricted vlan 10 untagged 20–22 ipv6 address fe80::1 link-local ipv6 address 2001:db8:0:10::1 ipv6 helper–address unicast 2001:db8:0:12::11 3 exit vlan 14 ipv6 address fe80::1 link-local ipv6 address 2001:db8:0:14::1 exit dhcpv6–relay 4
1 Nondefault hop-limit configured
2 IPv6 unicast routing enabled
3 DHCPv6 Helper address configured per-VLAN
4 DHCPv6-relay globally enabled
Use the
show dhcpv6–relay
command to display statistical information about DHCPv6 relay.
DHCPv6 relay information
Switch(config)# show dhcpv6–relay DHCPV6 Relay Agent : Enabled Client Requests Server Responses VLAN Name Received Dropped Failed Received Dropped Failed ––––––––– –––––––– ––––––– –––––– –––––––– ––––––– –––––– DEFAULT 120 0 0 120 0 0 VLAN20 30 1 0 29 2 1