故障描述:Nexus N3K-C3548P-XL设备突发所有服务器ARP学习不到,MAC地址可正常学习故障分析:N3K-01# show policy-map interface control-plane| in arp next 5
class-map copp-s-arp (match-any)
police pps 200
HW MatchedPackets 263510
SW Matched Packets 228528
正常情况下,HW和SWmatched的packets数值应该一致,表示没有drop。
它们之间的差值表示COPP的dropcounter,即当时在COPPdrop了263510-228528=34982个arp包。
问题处理过程:
思科官方文档描述:
UpgradePath to Cisco NX-OS Release 7.x
Install All isthe only option that supports upgrade and downgrade between releases. Upgradefrom Releases 6.0(2)A8(7b), 6.0(2)A8(8), 6.0(2)A8(9), and 7.0(3)I7(3) issupported.
The following limitations are applicable when youupgrade from Releases 7.0(3)I7(2) or later to the NX-OS Release 7.0(3)I7(6):
■ Ifa custom CoPP policy is applied after upgrading to Cisco NX-OS Release7.0(3)I7(2) or later, and if the Nexus 3548 switch is downgraded to Cisco NX-OSRelease 5.0, where changes to the CoPP policy are not permitted, the customCoPP policy is retained and cannot be modified.
■ copy r s and reload isnot a supported method for an upgrade.
■ You must run the setup script after youupgrade to Cisco NX-OS Release 7.0(3)I7(6).
■ ForCisco Nexus 3548 and 3548-X switches, you must compact the software imagebefore you upgrade from earlier releases to Cisco NX-OS Release 7.0(3)I7(6).For the Cisco Nexus 3538-XL switch, compaction is not required.
在(config)#模式下执行setup
F340.16.04-Nexus3500-3(config)# setup ---- Basic System Configuration Dialog ---- Thissetup utility will guide you through the basic configuration ofthesystem. Setup configures only enough connectivity for managementofthe system. *Note:setup is mainly used for configuring the system initially,whenno configuration is present. So setup always assumes systemdefaultsand not the current system configuration values. PressEnter at anytime to skip a dialog. Use ctrl-c at anytimetoskip the remaining dialogs. Wouldyou like to enter the basic configuration dialog (yes/no): yes Create another login account (yes/no) : n Configure read-only SNMP community string (yes/no) : n Configure read-write SNMP community string (yes/no) : n Enter the switch name : <<<<<<<<没有提示yes/no 的地方敲回车即可 Continue with Out-of-band (mgmt0) management configuration? (yes/no) : n Configure the default gateway? (yes/no) : n Enable the telnet service? (yes/no) : n Enable the ssh service? (yes/no) : y Type of ssh key you would like to generate (dsa/rsa) : Configure the ntp server? (yes/no) : n Configure default interface layer (L3/L2) [L2]: Configure default switchport interface state (shut/noshut) [noshut]: Configure CoPP System Policy Profile ( default / l2 / l3 ) [default]: Thefollowing configuration will be applied: no telnet server enable system default switchport no system default switchport shutdown policy-map type control-plane copp-system-policy ( default ) Wouldyou like to edit the configuration? (yes/no) : n Usethis configuration and save it? (yes/no) : yMTC:Executingcopp config [########################################]100% <<<<<Copycomplete, now saving to disk (please wait)...Copycomplete.