ensp ipv6實(shí)驗(yàn)(IPV6-雙鏈路實(shí)現(xiàn)DHCPV6中繼地址分配)


AR1
sys
ipv6?
dhcp enable
dhcpv6 pool 2010
?address prefix 2010::/64
?excluded-address 2010::FFFF
dhcpv6 pool 2020
?address prefix 2020::/64
?excluded-address 2020::FFFF
interface GigabitEthernet0/0/0
?ipv6 enable?
?ipv6 address 2100::FFFF/64?
?dhcpv6 server 2010
interface GigabitEthernet0/0/1
?ipv6 enable?
?ipv6 address 2200::FFFF/64?
?dhcpv6 server 2020
ipv6 route-static 2010:: 64 2100::FFFE?
ipv6 route-static 2020:: 64 2200::FFFE?
LSW1
sys
ipv6
vlan batch 10? 20? 100? ?200
dhcp enable
interface Vlanif10
?ipv6 enable
?ipv6 address 2010::FFFF/64
?ipv6 nd autoconfig managed-address-flag
?ipv6 nd autoconfig other-flag
?dhcpv6 relay destination 2100::FFFF
interface Vlanif20
?ipv6 enable
?ipv6 address 2020::FFFF/64
?ipv6 nd autoconfig managed-address-flag
?ipv6 nd autoconfig other-flag
?dhcpv6 relay destination 2200::FFFF
interface Vlanif100
?ipv6 enable
?ipv6 address 2100::FFFE/64
interface Vlanif200
?ipv6 enable
?ipv6 address 2200::FFFE/64
interface GigabitEthernet0/0/1
?port hybrid pvid vlan 100
?port hybrid untagged vlan 10 100
interface GigabitEthernet0/0/2
?port hybrid pvid vlan 200
?port hybrid untagged vlan 20 200
interface GigabitEthernet0/0/3
?port link-type trunk
?port trunk allow-pass vlan all
LSW2
sys
vlan batch 10? 20
interface GigabitEthernet0/0/1
?port link-type trunk
?port trunk allow-pass vlan all
interface GigabitEthernet0/0/2
?port link-type access
?port default vlan 10
interface GigabitEthernet0/0/3
?port link-type access
?port default vlan 20