![SNR S2940-8G-v2 Configuration Manual Download Page 233](http://html1.mh-extra.com/html/snr/s2940-8g-v2/s2940-8g-v2_configuration-manual_1310630233.webp)
SNR S2940-8G-v2 Switch Configuration Guide
DHCPv6 Configuration
35.6
DHCPv6 Configuration Examples
Example 1:
When deploying IPv6 networking, the switch can be configured as DHCPv6 server in order to
manage the allocation of IPv6 addresses. Both the state and the stateless DHCPv6 are supported.
Topology:
The access layer use Switch1 switch to connect users of dormitory buildings and it is configured
as DHCPv6 relay delegation; Switch3 is configured as DHCPv6 server in secondary aggregation
layer, and connected with backbone network or higher aggregation layers; The Windows Vista
which be provided with DHCPv6 client must load on PC.
DHCPv6 Relay
Switch 3
Vlan 1: 2001:da8:1:1::1
Vlan 10: 2001:da8:10:1::1
Switch2
Vlan 1: 2001:da8:1:1::2
Vlan 10: 2001:da8:10:1::2
Vlan 100: 2001:da8:100:1::2
DHCPv6 Client
DHCPv6 Server
Switch1
Figure 35.2: DHCPv6 Configuration Example
Usage guide:
Switch3 configuration:
Switch3(config)#service dhcpv6
Switch3(config)#ipv6 dhcp pool EDP
Switch3(dhcpv6-EDP-config)#network-address 2001:da8:100:1::1 2001:da8:100:1::100
Switch3(dhcpv6-EDP-config)#excluded-address 2001:da8:100:1::1
Switch3(dhcpv6-EDP-config)#dns-server 2001:da8::20
Switch3(dhcpv6-EDP-config)#dns-server 2001:da8::21
Switch3(dhcpv6-EDP-config)#domain-name dhcpv6.com
Switch3(dhcpv6-EDP-config)#lifetime 1000 600
Switch3(dhcpv6-EDP-config)#exit
Switch3(config)#interface vlan 1
Switch3(Config-if-Vlan1)#ipv6 address 2001:da8:1:1::1/64
Switch3(Config-if-Vlan1)#exit
Switch3(config)#interface vlan 10
Switch3(Config-if-Vlan10)#ipv6 address 2001:da8:10:1::1/64
Switch3(Config-if-Vlan10)#ipv6 dhcp server EDP preference 80
Switch3(Config-if-Vlan10)#exit
Switch2 configuration:
Switch2(config)#service dhcpv6
Switch2(config)#interface vlan 1
Switch2(Config-if-Vlan1)#ipv6 address 2001:da8:1:1::2/64
Switch2(Config-if-Vlan1)#exit
Switch2(config)#interface vlan 10
Switch2(Config-if-Vlan10)#ipv6 address 2001:da8:10:1::2/64
233
Summary of Contents for S2940-8G-v2
Page 11: ...SNR S2940 8G v2 Switch Configuration Guide Part I Basic Management Configuration 11...
Page 46: ...SNR S2940 8G v2 Switch Configuration Guide Part II Port Configuration 46...
Page 123: ...SNR S2940 8G v2 Switch Configuration Guide Part III VLAN and MAC Table Configuration 123...
Page 164: ...SNR S2940 8G v2 Switch Configuration Guide Part IV MSTP Configuration 164...
Page 198: ...SNR S2940 8G v2 Switch Configuration Guide Part VI L3 Forward and ARP Configuration 198...
Page 218: ...SNR S2940 8G v2 Switch Configuration Guide Part VII DHCP Configuration 218...
Page 257: ...SNR S2940 8G v2 Switch Configuration Guide Part VIII Multicast Protocol 257...
Page 278: ...SNR S2940 8G v2 Switch Configuration Guide Part IX Security Function Configuration 278...
Page 376: ...SNR S2940 8G v2 Switch Configuration Guide Part X Reliability Configuration 376...
Page 395: ...SNR S2940 8G v2 Switch Configuration Guide Part XI Flow Monitor Configuration 395...
Page 403: ...SNR S2940 8G v2 Switch Configuration Guide Part XII Network Time Management Configuration 403...
Page 411: ...SNR S2940 8G v2 Switch Configuration Guide Part XIII Debugging and Diagnosis 411...