<R1>display ipv6 interface GigabitEthernet 0/0/0GigabitEthernet0/0/0 current state : UP IPv6 protocol current state : UPIPv6 is enabled, link-local address is FE80::1 No global unicast address configured Joined group address(es): FF02::1:FF00:1 FF02::2 FF02::1 MTU is 1500 bytes ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds ND retransmit interval is 1000 milliseconds Hosts use stateless autoconfig for addresses
<R1>display ospfv3 peerOSPFv3 Process (1)OSPFv3 Area (0.0.0.0)Neighbor ID Pri State Dead Time Interface Instance ID2.2.2.2 1 Full/Backup 00:00:30 GE0/0/0 03.3.3.3 1 Full/DROther 00:00:40 GE0/0/0 0<R3>display ospfv3 peerOSPFv3 Process (1)OSPFv3 Area (0.0.0.0)Neighbor ID Pri State Dead Time Interface Instance ID1.1.1.1 1 Full/DR 00:00:32 GE0/0/0 02.2.2.2 1 Full/Backup 00:00:38 GE0/0/0 0
<R1>ping ipv6 fe80::3 -i GigabitEthernet 0/0/0 PING fe80::3 : 56 data bytes, press CTRL_C to break Reply from FE80::3 bytes=56 Sequence=1 hop limit=64 time = 2 ms Reply from FE80::3 bytes=56 Sequence=2 hop limit=64 time = 2 ms Reply from FE80::3 bytes=56 Sequence=3 hop limit=64 time = 11 ms Reply from FE80::3 bytes=56 Sequence=4 hop limit=64 time = 2 ms Reply from FE80::3 bytes=56 Sequence=5 hop limit=64 time = 2 ms --- fe80::3 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 2/3/11 ms<R1>ping ipv6 2001:3::C PING 2001:3::C : 56 data bytes, press CTRL_C to break Reply from 2001:3::C bytes=56 Sequence=1 hop limit=64 time = 11 ms Reply from 2001:3::C bytes=56 Sequence=2 hop limit=64 time = 6 ms Reply from 2001:3::C bytes=56 Sequence=3 hop limit=64 time = 2 ms Reply from 2001:3::C bytes=56 Sequence=4 hop limit=64 time = 2 ms Reply from 2001:3::C bytes=56 Sequence=5 hop limit=64 time = 6 ms --- 2001:3::C ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss round-trip min/avg/max = 2/5/11 ms
[R2]dhcp enable[R2] dhcpv6 duid llWarning: The DHCP unique identifier should be globally-unique and stable. Are you sure to change it? [Y/N]y[R2]dhcpv6 pool pool1[R2-dhcpv6-pool-pool1]address prefix 2001:FACE::/64[R2-dhcpv6-pool-pool1]dns-server 2001:444e:5300::1[R2-dhcpv6-pool-pool1]excluded-address 2001:FACE::1[R2-dhcpv6-pool-pool1]quit
[R1]dhcp enable[R1] dhcpv6 duid llWarning: The DHCP unique identifier should be globally-unique and stable. Are you sure to change it? [Y/N]y[R1]interface Gigabitethernet 0/0/0[R1-GigabitEthernet0/0/0]ipv6 address auto dhcp[R3]dhcp enable[R3] dhcpv6 duid llWarning: The DHCP unique identifier should be globally-unique and stable. Are you sure to change it? [Y/N]y[R3]interface GigabitEthernet 0/0/0[R3-GigabitEthernet0/0/0]ipv6 address auto dhcp
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
?
在R2上執(zhí)行display dhcpv6 pool命令,查看DHCPv6地址池的信息。<R2>display dhcpv6 poolDHCPv6 pool: pool1 Address prefix: 2001:FACE::/64 Lifetime valid 172800 seconds, preferred 86400 seconds 2 in use, 0 conflicts Excluded-address 2001:FACE::1 1 excluded addresses Information refresh time: 86400 DNS server address: 2001:444E:5300::1 Conflict-address expire-time: 172800 Active normal clients: 2 在R1和R3上執(zhí)行display ipv6 interface brief命令,查看通過DHCPv6獲取的IPv6地址。[R1]display ipv6 interface brief*down: administratively down(l): loopback(s): spoofingInterface Physical Protocol GigabitEthernet0/0/0 up up [IPv6 Address] 2001:FACE::2LoopBack0 up up(s) [IPv6 Address] 2001:1::A [R3]display ipv6 interface brief*down: administratively down(l): loopback(s): spoofingInterface Physical Protocol GigabitEthernet0/0/0 up up [IPv6 Address] 2001:FACE::3LoopBack0 up up(s) [IPv6 Address] 2001:3::C