IPv6 addr autoconfig

r1#debug ipv6 nd
ICMP Neighbor Discovery events debugging is on
r1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
r1(config)#int e0/0
r1(config-if)#no ipv6 addr autoconfig
r1(config-if)#do sh ipv6 int e0/0

r1(config-if)#ipv6 addr auto
r1(config-if)#
*May 4 05:49:58.592: ICMPv6-ND: Sending NS for FE80::210:7BFF:FEBF:BF01 on Ethernet0/0
*May 4 05:49:59.592: ICMPv6-ND: DAD: FE80::210:7BFF:FEBF:BF01 is unique.
*May 4 05:49:59.592: ICMPv6-ND: Sending NA for FE80::210:7BFF:FEBF:BF01 on Ethernet0/0
*May 4 05:49:59.592: ICMPv6-ND: Address FE80::210:7BFF:FEBF:BF01/10 is up on Ethernet0/0
*May 4 05:50:01.592: ICMPv6-ND: Sending RS on Ethernet0/0
*May 4 05:50:05.592: ICMPv6-ND: Sending RS on Ethernet0/0
*May 4 05:50:09.592: ICMPv6-ND: Sending RS on Ethernet0/0
----------------------------------------------------------------------
r1(config-if)#do sh ipv6 int e0/0
Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::210:7BFF:FEBF:BF01
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFBF:BF01
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
======================================================================
ipv6 unicast-routing NOT enabled
======================================================================

r2(config)#no ipv6 unicast-routing
r2(config)#int e0/0
r2(config-if)#ipv6 addr 2000:12::2/64
r2(config-if)#no sh
r2(config-if)#
*Aug 26 10:00:21.539: %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up
*Aug 26 10:00:22.539: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet0/0, changed state to up

r2(config-if)#do sh ipv6 int e0/0
Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::207:85FF:FEA1:8401
Global unicast address(es):
2000:12::2, subnet is 2000:12::/64
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF00:2
FF02::1:FFA1:8401
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
----------------------------------------------------------------------
r1(config-if)#
*May 4 05:52:08.484: ICMPv6-ND: Received NA for FE80::207:85FF:FEA1:8401 on Ethernet0/0 from FE80::207:85FF:FEA1:8401
*May 4 05:52:09.484: ICMPv6-ND: Received NA for 2000:12::2 on Ethernet0/0 from 2000:12::2

r1(config-if)#do sh ipv6 int e0/0
Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::210:7BFF:FEBF:BF01
No global unicast address is configured
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFBF:BF01
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
======================================================================
ipv6 unicast-routing enabled on R2
======================================================================

r2(config)#ipv6 unicast-routing
----------------------------------------------------------------------
r1(config-if)#
*May 4 05:57:24.984: ICMPv6-ND: Received RA from FE80::207:85FF:FEA1:8401 on Ethernet0/0
*May 4 05:57:24.984: ICMPv6-ND: DELETE -> INCMP: FE80::207:85FF:FEA1:8401
*May 4 05:57:24.984: ICMPv6-ND: INCMP -> STALE: FE80::207:85FF:FEA1:8401
*May 4 05:57:24.984: ICMPv6-ND: Sending NS for 2000:12::210:7BFF:FEBF:BF01 on Ethernet0/0
*May 4 05:57:24.984: ICMPv6-ND: Autoconfiguring 2000:12::210:7BFF:FEBF:BF01 on Ethernet0/0
*May 4 05:57:25.984: ICMPv6-ND: DAD: 2000:12::210:7BFF:FEBF:BF01 is unique.
*May 4 05:57:25.984: ICMPv6-ND: Sending NA for 2000:12::210:7BFF:FEBF:BF01 on Ethernet0/0
*May 4 05:57:25.984: ICMPv6-ND: Address 2000:12::210:7BFF:FEBF:BF01/64 is up on Ethernet0/0
r1(config-if)#do sh ipv6 int e0/0
Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::210:7BFF:FEBF:BF01
Global unicast address(es):
2000:12::210:7BFF:FEBF:BF01, subnet is 2000:12::/64 [PRE]
valid lifetime 2591967 preferred lifetime 604767
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFBF:BF01
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
Default router is FE80::207:85FF:FEA1:8401 on Ethernet0/0
--------------------------------------------------------------------
======================================================================
NO ipv6 unicast-routing enabled
======================================================================
r2(config)#no ipv6 unicast-routing

r1(config-if)#
*May 4 06:00:24.348: ICMPv6-ND: Received RA from FE80::207:85FF:FEA1:8401 on Ethernet0/0
*May 4 06:03:20.032: ICMPv6-ND: Received RA from FE80::207:85FF:FEA1:8401 on Ethernet0/0
*May 4 06:05:56.992: ICMPv6-ND: Received RA from FE80::207:85FF:FEA1:8401 on Ethernet0/0
*May 4 06:06:15.252: ICMPv6-ND: Received RA from FE80::207:85FF:FEA1:8401 on Ethernet0/0
*May 4 06:06:15.252: ICMPv6-ND: Zero lifetime, deleting
*May 4 06:06:15.252: ICMPv6-ND: STALE -> DELETE: FE80::207:85FF:FEA1:8401
r1(config-if)#do sh ipv6 int e0/0
Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::210:7BFF:FEBF:BF01
Global unicast address(es):
2000:12::210:7BFF:FEBF:BF01, subnet is 2000:12::/64 [PRE]
valid lifetime 2591951 preferred lifetime 604751
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFBF:BF01
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
----------------------------------------------------------------------
r1(config-if)#do sh ipv6 int e0/0
Ethernet0/0 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::210:7BFF:FEBF:BF01
Global unicast address(es):
2000:12::210:7BFF:FEBF:BF01, subnet is 2000:12::/64 [PRE]
valid lifetime 2591906 preferred lifetime 604706
Joined group address(es):
FF02::1
FF02::2
FF02::1:FFBF:BF01
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值