您现在的位置:首页 >> IPv6知识 >> IPv6配置 >> 内容

cisco 交换机上配置ipv6双栈

时间:2010/3/15 13:08:47 点击:1829

  核心提示:以C3560或C3750为例,首先使用一个ADVANCED IP SERVICES 特性的IOS 启动交换机,然后在选择打开ipv6功能,在配置模式下打 sdm prefer dual-ipv4-and-ipv6 default。重启后,就可以是用ipv6 unicast-routing 配置打开i...
以C3560或C3750为例,

首先使用一个ADVANCED IP SERVICES 特性的IOS 启动交换机,然后在选择打开IPv6功能,在配置模式下打 sdm prefer dual-ipv4-and-IPv6 default  。

重启后,就可以是用IPv6 unicast-routing 配置打开IPv6 路由功能。



Switch(config)# sdm prefer dual-ipv4-and-IPv6 default
Switch(config)# ipv6 unicast-routing
Switch(config)# interface fastethernet1/0/11
Switch(config-if)# no switchport
Switch(config-if)# ipv6 address 2001:0DB8:c18:1::/64 eui 64
Switch(config-if)# end
Switch# show ipv6 interface fastethernet1/0/11
FastEthernet1/0/11 is up, line protocol is up
  IPv6 is enabled, link-local address is FE80::20B:46FF:FE2F:D940
  Global unicast address(es):
  2001:0DB8:c18:1:20B:46FF:FE2F:D940, subnet is 2001:0DB8:c18:1::/64 [EUI]
  Joined group address(es):
    FF02::1
    FF02::2
    FF02::1:FF2F:D940
  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
  ND advertised reachable time is 0 milliseconds
  ND advertised retransmit interval is 0 milliseconds
  ND router advertisements are sent every 200 seconds
  ND router advertisements live for 1800 seconds
  Hosts use stateless autoconfig for addresses.

作者:IPv6edu.com 来源:网络


共有评论 1相关评论
发表我的评论
  • 大名:
  • 内容:
  • IPv6教育(www.ipv6edu.com) © 2017 版权所有 All Rights Reserved.
  • Email:master@ipv6edu.com 京ICP备09058832号
  • Powered by ipv6edu!