Configuration Guide Vol. 3


22.2.5 Through several IPv6 DHCP relays

Points to note

The example below shows how to use the ipv6 dhcp relay destination command to specify the IPv6 addresses of the relay destinations.

Figure 22-5: Configuration that uses two or more IPv6 DHCP relays

[Figure Data]

Command examples

  1. (config)# no service ipv6 dhcp

    Disables the IPv6 DHCP server on the Switch.

  2. (config)# service ipv6 dhcp relay

    Enables the IPv6 DHCP relay on the Switch.

  3. (config)# interface vlan 2

    (config-if)# ipv6 dhcp relay destination 3ffe:100::2

    Sets 3ffe:100::2 as the relay destination.

  4. (config-if)# ipv6 dhcp relay hop-limit 0

    (config-if)# exit

    Sets 0 as the maximum hop count.

  5. (config)# ipv6 dhcp relay static-route-setting

    On the Switch, enables the automatic generation of routes from the DHCP servers to the client to which prefixes are distributed. Note that the routes are not configured until the prefixes have been completely distributed.

  1. (config)# no service ipv6 dhcp

    Disables the IPv6 DHCP server on the Switch.

  2. (config)# service ipv6 dhcp relay

    Enables the IPv6 DHCP relay on the Switch.

  3. (config)# interface vlan 3

    (config-if)# ipv6 dhcp relay destination 3ffe:200::2 3ffe:300::2

    Sets 3ffe:200::2 and 3ffe:300::2 as relay destinations.

  4. (config-if)# ipv6 dhcp relay hop-limit 1

    (config-if)# exit

    Sets the maximum number of hops to 1.