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

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

我有两个相同的第 3 层交换机,运行相同的 Cisco IOS 版本。其中一个交换机,我可以使用 ipv6 进行配置。然而,当我尝试任何 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

这个问题的明显答案是“您的交换机不支持 IPv6 功能集”,但这没有任何意义,因为两个交换机上的固件和 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"

我错过了什么?

答案1

我希望您能够重新加载开关:

sdm prefer dual [default|routing|vlan]

然后reload,您就可以开始了。显然,这会影响 TCAM,因此请show sdm pref确保可用资源能够反映您的需求。default除非您需要运行大量 IP 路由,否则我会选择它。

基本上,仅当选择了双栈 SDM 配置文件时,IPv6 才可见并启用。

答案2

听起来好像该交换机使用了错误的 SDM 模板。从思科手册

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

选择支持 IPv4 和 IPv6 的 SDM 模板。

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

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

相关内容