Cisco 3400上的ipv6无法识别的命令

我有两个相同的第三层交换机,运行相同的Cisco IOS版本。 其中一个交换机,我可以configurationipv6。 然而,另一个交换机告诉我,当我尝试任何ipv6命令时,“无法识别的命令”。 这包括Vlan接口内的命令,而不仅仅是ipv6的常规设置。

好开关:

ns-sw03#conf t Enter configuration commands, one per line. End with CNTL/Z. ns-sw03(config)#ipv6 ? access-list Configure access lists cef Cisco Express Forwarding for IPv6 dhcp Configure IPv6 DHCP general-prefix Configure a general IPv6 prefix hop-limit Configure hop count limit host Configure static hostnames icmp Configure ICMP parameters local Specify local options mld Global MLD Snooping enable for Catalyst Vlans nd Configure IPv6 ND neighbor Neighbor ospf OSPF prefix-list Build a prefix list route Configure static routes router Enable an IPV6 routing process source-route Process packets with source routing header options traffic Configure traffic parameters unicast-routing Enable unicast routing 

坏开关:

 ns-sw04#conf t Enter configuration commands, one per line. End with CNTL/Z. ns-sw04(config)#ipv6 ? % Unrecognized command 

问题的明显答案是“您的交换机不支持IPv6function集”,但这没有任何意义,因为两个交换机上的固件和IOS是相同的。

好开关:

 ns-sw03#show version Cisco IOS Software, ME340x Software (ME340x-METROIPACCESSK9-M), Version 12.2(54)SE, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Tue 13-Apr-10 00:47 by prod_rel_team Image text-base: 0x01000000, data-base: 0x02E00000 ROM: Bootstrap program is ME340x boot loader BOOTLDR: ME340x Boot Loader (ME340x-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1) ns-sw03 uptime is 1 year, 40 weeks, 3 days, 9 hours, 19 minutes System returned to ROM by power-on System restarted at 03:44:43 CEST Sat Jul 9 2011 System image file is "flash:me340x-metroipaccessk9-mz.122-54.SE/me340x-metroipaccessk9-mz.122-54.SE.bin" 

坏开关:

 ns-sw04#show version Cisco IOS Software, ME340x Software (ME340x-METROIPACCESSK9-M), Version 12.2(54)SE, RELEASE SOFTWARE (fc1) Technical Support: http://www.cisco.com/techsupport Copyright (c) 1986-2010 by Cisco Systems, Inc. Compiled Tue 13-Apr-10 00:47 by prod_rel_team Image text-base: 0x01000000, data-base: 0x02E00000 ROM: Bootstrap program is ME340x boot loader BOOTLDR: ME340x Boot Loader (ME340x-HBOOT-M) Version 12.2(44)SE5, RELEASE SOFTWARE (fc1) ns-sw04 uptime is 1 year, 40 weeks, 3 days, 9 hours, 16 minutes System returned to ROM by power-on System restarted at 03:46:15 CEST Sat Jul 9 2011 System image file is "flash:me340x-metroipaccessk9-mz.122-54.SE/me340x-metroipaccessk9-mz.122-54.SE.bin" 

我错过了什么?

我希望你能够重新加载交换机:

sdm prefer dual [default|routing|vlan]

然后reload ,你应该很好去。 显然这会影响TCAM,因此请show sdm pref以确保可用资源反映您将需要的内容。 除非需要运行大量的IP路由,否则我会使用default

基本上,只有在select双协议栈SDMconfiguration文件时,IPv6才可见并启用。

这听起来像开关正在使用错误的SDM模板。 从思科手册 :

 sdm prefer dual-ipv4-and-ipv6 {default | routing | vlan} 

select一个支持IPv4和IPv6的SDM模板。

  • default:将交换机设置为默认模板,以平衡系统资源。
  • 路由:将交换机设置为路由模板,以支持IPv4和IPv6路由,包括基于IPv4策略的路由。
  • vlan:最大化交换机上的VLANconfiguration,硬件不支持路由。

应用新模板后,必须重新启动设备才能使configuration生效。