取消
显示结果 
搜索替代 
您的意思是: 
cancel
2261
查看次数
0
有帮助
2
回复

2960交换机使用ipv6

jialingwang4038
Spotlight
Spotlight

请问2960交换机开启ipv6有什么要求吗,是否要哪个高版本ios? 

ipv6是否仅支持3层交换机开启路由模式?二层交换机的管理vlan的ip地址能设置为ipv6吗?

 

64K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 64:D9:89:A7:D8:00
Motherboard assembly number : 73-10015-11
Power supply part number : 341-0098-02
Motherboard serial number : FOC15283A4R
Power supply serial number : AZS15260751
Model revision number : J0
Motherboard revision number : A0
Model number : WS-C2960G-24TC-L
System serial number : FOC1528V5AM
Top Assembly Part Number : 800-26673-07
Top Assembly Revision Number : A0
Version ID : V07
CLEI Code Number : CMMD610ARA
Hardware Board Revision Number : 0x01


Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 24 WS-C2960G-24TC-L 12.2(50)SE5 C2960-LANBASEK9-M

1 个已接受解答

已接受的解答

ilay
VIP
VIP

12.2(50)应该是支持配置IPv6的,不过默认情况下ipv6并未启用,需要手动开启一下

全局模式下配置"sdm prefer dual-ipv4-and-ipv6 default",然后重启交换机,即可使用ipv6,

2960作为基础的二层交换机,支持ipv6的功能也是有限的,接口SVI配置v6地址,配置单播的默认路由还是可以的,其他的就有点鸡肋了。更多的Feature可以参考一下文档:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_50_se/configuration/guide/scg/swipv6.html

2960的产品大部分已经EOS了,如果还有在使用的设备,建议将相关的文档下载一些进行留存。

Switch Ports Model              SW Version            SW Image                 
------ ----- -----              ----------            ----------               
*    1 50    WS-C2960-48TC-L    12.2(50)SE1           C2960-LANBASEK9-M        


Configuration register is 0xF

TEST#                    
TEST#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
TEST(config)#int vlan 1
TEST(config-if)#ipv6 add
TEST(config-if)#ipv6 address 2001:1::1/64
TEST(config-if)#exit
TEST(config)#ipv6 route ::/0 2001:1::1111
TEST(config)#exit
TEST#sh sdm prefer 
 The current template is "dual-ipv4-and-ipv6 default" template.  <-------------------
 The selected template optimizes the resources in
 the switch to support this level of features for
 0 routed interfaces and 255 VLANs. 

  number of unicast mac addresses:                  8K
  number of IPv4 IGMP groups + multicast routes:    0.25K
  number of IPv4 unicast routes:                    0
  number of IPv6 multicast groups:                  0.375k
  number of directly-connected IPv6 addresses:      0
  number of indirect IPv6 unicast routes:           0
  number of IPv4 policy based routing aces:         0
  number of IPv4/MAC qos aces:                      0.125k
  number of IPv4/MAC security aces:                 0.375k
  number of IPv6 policy based routing aces:         0
  number of IPv6 qos aces:                          0
  number of IPv6 security aces:                     0.125k
 
TEST# 

 

在原帖中查看解决方案

2 条回复2

jialingwang4038
Spotlight
Spotlight

ilay
VIP
VIP

12.2(50)应该是支持配置IPv6的,不过默认情况下ipv6并未启用,需要手动开启一下

全局模式下配置"sdm prefer dual-ipv4-and-ipv6 default",然后重启交换机,即可使用ipv6,

2960作为基础的二层交换机,支持ipv6的功能也是有限的,接口SVI配置v6地址,配置单播的默认路由还是可以的,其他的就有点鸡肋了。更多的Feature可以参考一下文档:

https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_50_se/configuration/guide/scg/swipv6.html

2960的产品大部分已经EOS了,如果还有在使用的设备,建议将相关的文档下载一些进行留存。

Switch Ports Model              SW Version            SW Image                 
------ ----- -----              ----------            ----------               
*    1 50    WS-C2960-48TC-L    12.2(50)SE1           C2960-LANBASEK9-M        


Configuration register is 0xF

TEST#                    
TEST#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
TEST(config)#int vlan 1
TEST(config-if)#ipv6 add
TEST(config-if)#ipv6 address 2001:1::1/64
TEST(config-if)#exit
TEST(config)#ipv6 route ::/0 2001:1::1111
TEST(config)#exit
TEST#sh sdm prefer 
 The current template is "dual-ipv4-and-ipv6 default" template.  <-------------------
 The selected template optimizes the resources in
 the switch to support this level of features for
 0 routed interfaces and 255 VLANs. 

  number of unicast mac addresses:                  8K
  number of IPv4 IGMP groups + multicast routes:    0.25K
  number of IPv4 unicast routes:                    0
  number of IPv6 multicast groups:                  0.375k
  number of directly-connected IPv6 addresses:      0
  number of indirect IPv6 unicast routes:           0
  number of IPv4 policy based routing aces:         0
  number of IPv4/MAC qos aces:                      0.125k
  number of IPv4/MAC security aces:                 0.375k
  number of IPv6 policy based routing aces:         0
  number of IPv6 qos aces:                          0
  number of IPv6 security aces:                     0.125k
 
TEST# 

 

快捷链接