This example uses the DHCPv6 server to configure the information about DNS server to those clients which get IPv6 in autoconfig mode or manual mode. The configured DHCP pool doesn’t contain a prefix pool but contains DNS server to be passed to clients. The IPv6 interface must have the ‘ipv6 nd other-config-flag’ command enabled.
- Enable ipv6 routing.
- Select Routing > IPv6 > Basic > Global Configuration.
A screen similar to the following displays:
- For IPv6 Unicast Routing, select the Enable radio button.
- Click Apply.
- Select Routing > IPv6 > Basic > Global Configuration.
- Enable ipv6 routing on the interface 2/0/21.
- Select Routing > IPv6 > Advanced > Interface Configuration.
A screen similar to the following displays:
- Under IPv6 Interface Configuration, scroll down and select the Interface 2/0/21 check box.
Now 2/0/21 appears in the Interface field at the top.
- In the IPv6 Mode field, select Enable.
- In the Routing Mode field, select Enable.
- In the Adv Other Config Flag field, select Enable.
- Click Apply to save the settings.
- Select Routing > IPv6 > Advanced > Interface Configuration.
- Configure IPv6 address on the interface 2/0/21.
- Select Routing > IPv6 > Advanced > Prefix Configuration.
A screen similar to the following displays:
- In the Interface list, select 1/0/21.
- In the IPv6 Prefix field, enter 2003:1000::1.
- In the Length field, enter 64.
- In the EUI64 field, select Disable.
- Click Add.
- Select Routing > IPv6 > Advanced > Prefix Configuration.
- Enable DHCPv6 service.
- Select System > Services > DHCPv6 Server > DHCPv6 Server Configuration.
A screen similar to the following displays:
- For Admin Mode, Select the Enable radio button.
- Click Apply.
- Select System > Services > DHCPv6 Server > DHCPv6 Server Configuration.
- Create DHCPv6 pool.
- Select System > Services > DHCP Server > DHCPv6 Pool Configuration.
A screen similar to the following displays:
- From the Pool Name drop-down list, select Create.
- In the Pool Name field, enter ipv6_server.
- In the DNS Server Addresses fields, enter 20011:9:18::1 (the DNS server IPv6 address).
- Click Apply.
- Select System > Services > DHCP Server > DHCPv6 Pool Configuration.
- Enable DHCPv6 pool on the interface 2/0/21.
- Select System > Services > DHCPv6 Server > DHCPv6 Interface Configuration.
A screen similar to the following displays:
- Scroll down and select the interface 2/0/21 check box.
Now 2/0/21 appears in the Interface field at the top.
- Enter the following information:
- In the Admin mode field, select Enable.
- In the Pool Name field, enter ipv6_server.
- Click Apply.
- Select System > Services > DHCPv6 Server > DHCPv6 Interface Configuration.
For more information, see the following support articles:
- What is Dynamic Host Configuration Protocol for IPv6 (DHCPv6) and how does it work with my managed switch?
- How do I configure a stateless DNS server using CLI commands on my managed switch?
This article applies to the following managed switches and their respective firmware:
- M5300 - firmware version 10.0.0.x
-
- M5300-28G (GSM7228S)
- M5300-5G (GSM7252S)
- M5300-28G3 (GSM7328Sv2h2)
- M5300-52G3 (GSM7352Sv2h2)
- M5300-28G_POE+ (GSM7228PSv1h2)
- M5300-52G-POE+ (GSM7252PSv1h2)
- M5300-28GF3 (GSM7328FSv2)
- XSM7224S - firmware version 9.0.1.x (license required to support the feature described in this article)