cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1795
Views
0
Helpful
6
Replies

Policy-Map

Steven Williams
Level 4
Level 4

Ok I am going insane here! I have a policy map on one of my 5k's but not the other and seem to create it either. They are in an active/active pair. Here is the policy, can someone help me understand what it is and maybe why I cant create it on my other device?

policy-map type control-plane copp-system-policy-customized

class copp-system-class-hsrp-vrrp

police cir 1024 kbps bc 256000 bytes

class copp-system-class-l3dest-miss

police cir 64 kbps bc 16000 bytes

6 Replies 6

Steve Fuller
Level 9
Level 9

Hi Steven,

So I guess the first thing to ask is what is the error you get when trying to enable the policy?

Also to check which NX-OS release you're running? The Control Plane Policing feature was introduced in NX-OS 5.1(3)N1(1) (see CoPP in the release notes) so make sure you've a higher release than that.

Regards

No error at all. It just takes the commands. Running 6.0 so thats not it. I am wondering if it is something that can only run on one of two devices in an active/active pair....I cant see that as possible since one must take over all traffic if one fails.

I'm confused now. If there's no error when you enter the commands, what's the problem

I'm not sure I follow what you mean by active/active pair. I presume vPC, but they're still both separate switches from a management perspective and that is what CoPP is protecting for you.

What do you see if you run the show policy-map type control-plane and show policy-map interface control-plane on both switches? Also what's the difference between the output of the show running copp all command on the two switches?

Can you paste the output here?

Regards

Yes vPC pair. The issue is I enter the commands but they do not show in the running config on one of the two units...

      

N5K1N5K2

show policy-map type control-plane

  policy-map type control-plane copp-system-policy-customized
    class copp-system-class-igmp
      police cir 1024 kbps bc 65535 bytes
    class copp-system-class-pim-hello
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bridging
      police cir 20000 kbps bc 4800000 bytes
    class copp-system-class-arp
      police cir 1024 kbps bc 3600000 bytes
    class copp-system-class-dhcp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-mgmt
      police cir 12000 kbps bc 4800000 bytes
    class copp-system-class-lacp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-lldp
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-udld
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-isis
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-msdp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-cdp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-fip
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bgp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-eigrp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-exception
      police cir 64 kbps bc 4800000 bytes
    class copp-system-class-glean
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-hsrp-vrrp
      police cir 1024 kbps bc 256000 bytes
    class copp-system-class-icmp-echo
      police cir 64 kbps bc 3600000 bytes
    class copp-system-class-ospf
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-pim-register
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-rip
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-l3dest-miss
      police cir 64 kbps bc 16000 bytes
    class copp-system-class-mcast-miss
      police cir 256 kbps bc 3200000 bytes
    class copp-system-class-excp-ip-frag
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-same-if
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-ttl
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-default
      police cir 512 kbps bc 6400000 bytes
    class copp-system-class-rpf-fail
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-mcast-last-hop
      police cir 512 kbps bc 3200000 bytes
  policy-map type control-plane copp-system-policy-default
    class copp-system-class-igmp
      police cir 1024 kbps bc 65535 bytes
    class copp-system-class-pim-hello
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bridging
      police cir 20000 kbps bc 4800000 bytes
    class copp-system-class-arp
      police cir 1024 kbps bc 3600000 bytes
    class copp-system-class-dhcp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-mgmt
      police cir 12000 kbps bc 4800000 bytes
    class copp-system-class-lacp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-lldp
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-udld
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-isis
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-msdp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-cdp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-fip
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bgp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-eigrp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-exception
      police cir 64 kbps bc 4800000 bytes
    class copp-system-class-glean
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-hsrp-vrrp
      police cir 1024 kbps bc 256000 bytes
    class copp-system-class-icmp-echo
      police cir 64 kbps bc 3600000 bytes
    class copp-system-class-ospf
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-pim-register
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-rip
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-l3dest-miss
      police cir 64 kbps bc 16000 bytes
    class copp-system-class-mcast-miss
      police cir 256 kbps bc 3200000 bytes
    class copp-system-class-excp-ip-frag
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-same-if
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-ttl
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-default
      police cir 512 kbps bc 6400000 bytes
    class copp-system-class-rpf-fail
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-mcast-last-hop
      police cir 512 kbps bc 3200000 bytes
  policy-map type control-plane copp-system-policy-scaled-l2
    class copp-system-class-igmp
      police cir 4096 kbps bc 264000 bytes
    class copp-system-class-pim-hello
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bridging
      police cir 20000 kbps bc 4800000 bytes
    class copp-system-class-arp
      police cir 1024 kbps bc 3600000 bytes
    class copp-system-class-dhcp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-mgmt
      police cir 12000 kbps bc 4800000 bytes
    class copp-system-class-lacp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-lldp
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-udld
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-isis
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-msdp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-cdp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-fip
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bgp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-eigrp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-exception
      police cir 64 kbps bc 4800000 bytes
    class copp-system-class-glean
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-hsrp-vrrp
      police cir 1024 kbps bc 256000 bytes
    class copp-system-class-icmp-echo
      police cir 64 kbps bc 3600000 bytes
    class copp-system-class-ospf
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-pim-register
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-rip
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-l3dest-miss
      police cir 64 kbps bc 16000 bytes
    class copp-system-class-mcast-miss
      police cir 256 kbps bc 3200000 bytes
    class copp-system-class-excp-ip-frag
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-same-if
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-ttl
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-default
      police cir 512 kbps bc 6400000 bytes
    class copp-system-class-rpf-fail
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-mcast-last-hop
      police cir 512 kbps bc 3200000 bytes
  policy-map type control-plane copp-system-policy-scaled-l3
    class copp-system-class-igmp
      police cir 4096 kbps bc 264000 bytes
    class copp-system-class-pim-hello
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bridging
      police cir 20000 kbps bc 4800000 bytes
    class copp-system-class-arp
      police cir 4000 kbps bc 3600000 bytes
    class copp-system-class-dhcp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-mgmt
      police cir 12000 kbps bc 4800000 bytes
    class copp-system-class-lacp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-lldp
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-udld
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-isis
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-msdp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-cdp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-fip
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bgp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-eigrp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-exception
      police cir 64 kbps bc 4800000 bytes
    class copp-system-class-glean
      police cir 4000 kbps bc 4800000 bytes
    class copp-system-class-hsrp-vrrp
      police cir 1024 kbps bc 256000 bytes
    class copp-system-class-icmp-echo
      police cir 4000 kbps bc 3600000 bytes
    class copp-system-class-ospf
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-pim-register
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-rip
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-l3dest-miss
      police cir 64 kbps bc 16000 bytes
    class copp-system-class-mcast-miss
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-excp-ip-frag
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-same-if
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-ttl
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-default
      police cir 512 kbps bc 6400000 bytes
    class copp-system-class-rpf-fail
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-mcast-last-hop
      police cir 512 kbps bc 3200000 bytes

NEXUS5K001# show policy-map interface control-plane
Control Plane

  service-policy  input: copp-system-policy-customized

    class-map copp-system-class-igmp (match-any)
      match protocol igmp
      police cir 1024 kbps , bc 65535 bytes
        conformed 834102 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-pim-hello (match-any)
      match protocol pim
      police cir 1024 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-bridging (match-any)
      match protocol bridging
      police cir 20000 kbps , bc 4800000 bytes
        conformed 184965072 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-arp (match-any)
      match protocol arp
      match protocol nd
      police cir 1024 kbps , bc 3600000 bytes
        conformed 1711299342 bytes; action: transmit
        violated 467458 bytes;
    class-map copp-system-class-dhcp (match-any)
      match protocol dhcp
      police cir 1024 kbps , bc 4800000 bytes
        conformed 96669859 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-mgmt (match-any)
      match protocol mgmt
      police cir 12000 kbps , bc 4800000 bytes
        conformed 3420991988 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-lacp (match-any)
      match protocol lacp
      police cir 1024 kbps , bc 4800000 bytes
        conformed 5003732 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-lldp (match-any)
      match protocol lldp_dcx
      police cir 2048 kbps , bc 4800000 bytes
        conformed 8283269 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-udld (match-any)
      match protocol udld
      police cir 2048 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-isis (match-any)
      match protocol isis_dce
      police cir 1024 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-msdp (match-any)
      match protocol msdp
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-cdp (match-any)
      match protocol cdp
      police cir 1024 kbps , bc 4800000 bytes
        conformed 5995146 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-fip (match-any)
      match protocol fip
      police cir 1024 kbps , bc 4800000 bytes
        conformed 7396000 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-bgp (match-any)
      match protocol bgp
      police cir 9600 kbps , bc 4800000 bytes
        conformed 52049287 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-eigrp (match-any)
      match protocol eigrp
      match protocol eigrp6
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-exception (match-any)
      match protocol exception
      police cir 64 kbps , bc 4800000 bytes
        conformed 16415315 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-glean (match-any)
      match protocol glean
      police cir 1024 kbps , bc 4800000 bytes
        conformed 94203992002 bytes; action: transmit
        violated 5920334550 bytes;
    class-map copp-system-class-hsrp-vrrp (match-any)
      match protocol hsrp_vrrp
      match protocol hsrp6
      police cir 1024 kbps , bc 256000 bytes
        conformed 54227844 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-icmp-echo (match-any)
      match protocol icmp_echo
      police cir 64 kbps , bc 3600000 bytes
        conformed 184940591 bytes; action: transmit
        violated 46970 bytes;
    class-map copp-system-class-ospf (match-any)
      match protocol ospf
      match protocol ospf3
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-pim-register (match-any)
      match protocol reg
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-rip (match-any)
      match protocol rip
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-l3dest-miss (match-any)
      match protocol unicast
      police cir 64 kbps , bc 16000 bytes
        conformed 4214 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-mcast-miss (match-any)
      match protocol multicast
      police cir 256 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-excp-ip-frag (match-any)
      match protocol ip_frag
      police cir 64 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-excp-same-if (match-any)
      match protocol same-if
      police cir 64 kbps , bc 3200000 bytes
        conformed 17075590565 bytes; action: transmit
        violated 370668351863 bytes;
    class-map copp-system-class-excp-ttl (match-any)
      match protocol ttl
      police cir 64 kbps , bc 3200000 bytes
        conformed 1243144216 bytes; action: transmit
        violated 1611787 bytes;
    class-map copp-system-class-default (match-any)
      match protocol default
      police cir 512 kbps , bc 6400000 bytes
        conformed 157079876 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-rpf-fail (match-any)
      police cir 512 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-mcast-last-hop (match-any)
      police cir 512 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
NEXUS5K001#  show running copp all

!Command: show running-config copp all
!Time: Wed Mar 31 13:35:40 2010

version 6.0(2)N1(2a)
control-plane
  scale-factor 1.00 module 1
  scale-factor 1.00 module 2
  scale-factor 1.00 module 3
control-plane
  service-policy input copp-system-policy-customized


NEXUS5K001#

Nexus 5000 Switch
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2013, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php
NEXUS5K002# show policy-map type control-plane

  policy-map type control-plane copp-system-policy-customized
    class copp-system-class-igmp
      police cir 1024 kbps bc 65535 bytes
    class copp-system-class-pim-hello
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bridging
      police cir 20000 kbps bc 4800000 bytes
    class copp-system-class-arp
      police cir 1024 kbps bc 3600000 bytes
    class copp-system-class-dhcp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-mgmt
      police cir 12000 kbps bc 4800000 bytes
    class copp-system-class-lacp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-lldp
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-udld
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-isis
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-msdp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-cdp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-fip
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bgp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-eigrp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-exception
      police cir 64 kbps bc 4800000 bytes
    class copp-system-class-glean
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-hsrp-vrrp
      police cir 1024 kbps bc 256000 bytes
    class copp-system-class-icmp-echo
      police cir 64 kbps bc 3600000 bytes
    class copp-system-class-ospf
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-pim-register
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-rip
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-l3dest-miss
      police cir 64 kbps bc 16000 bytes
    class copp-system-class-mcast-miss
      police cir 256 kbps bc 3200000 bytes
    class copp-system-class-excp-ip-frag
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-same-if
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-ttl
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-default
      police cir 512 kbps bc 6400000 bytes
    class copp-system-class-rpf-fail
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-mcast-last-hop
      police cir 512 kbps bc 3200000 bytes
  policy-map type control-plane copp-system-policy-default
    class copp-system-class-igmp
      police cir 1024 kbps bc 65535 bytes
    class copp-system-class-pim-hello
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bridging
      police cir 20000 kbps bc 4800000 bytes
    class copp-system-class-arp
      police cir 1024 kbps bc 3600000 bytes
    class copp-system-class-dhcp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-mgmt
      police cir 12000 kbps bc 4800000 bytes
    class copp-system-class-lacp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-lldp
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-udld
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-isis
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-msdp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-cdp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-fip
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bgp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-eigrp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-exception
      police cir 64 kbps bc 4800000 bytes
    class copp-system-class-glean
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-hsrp-vrrp
      police cir 1024 kbps bc 256000 bytes
    class copp-system-class-icmp-echo
      police cir 64 kbps bc 3600000 bytes
    class copp-system-class-ospf
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-pim-register
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-rip
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-l3dest-miss
      police cir 64 kbps bc 16000 bytes
    class copp-system-class-mcast-miss
      police cir 256 kbps bc 3200000 bytes
    class copp-system-class-excp-ip-frag
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-same-if
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-ttl
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-default
      police cir 512 kbps bc 6400000 bytes
    class copp-system-class-rpf-fail
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-mcast-last-hop
      police cir 512 kbps bc 3200000 bytes
  policy-map type control-plane copp-system-policy-scaled-l2
    class copp-system-class-igmp
      police cir 4096 kbps bc 264000 bytes
    class copp-system-class-pim-hello
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bridging
      police cir 20000 kbps bc 4800000 bytes
    class copp-system-class-arp
      police cir 1024 kbps bc 3600000 bytes
    class copp-system-class-dhcp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-mgmt
      police cir 12000 kbps bc 4800000 bytes
    class copp-system-class-lacp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-lldp
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-udld
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-isis
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-msdp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-cdp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-fip
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bgp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-eigrp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-exception
      police cir 64 kbps bc 4800000 bytes
    class copp-system-class-glean
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-hsrp-vrrp
      police cir 1024 kbps bc 256000 bytes
    class copp-system-class-icmp-echo
      police cir 64 kbps bc 3600000 bytes
    class copp-system-class-ospf
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-pim-register
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-rip
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-l3dest-miss
      police cir 64 kbps bc 16000 bytes
    class copp-system-class-mcast-miss
      police cir 256 kbps bc 3200000 bytes
    class copp-system-class-excp-ip-frag
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-same-if
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-ttl
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-default
      police cir 512 kbps bc 6400000 bytes
    class copp-system-class-rpf-fail
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-mcast-last-hop
      police cir 512 kbps bc 3200000 bytes
  policy-map type control-plane copp-system-policy-scaled-l3
    class copp-system-class-igmp
      police cir 4096 kbps bc 264000 bytes
    class copp-system-class-pim-hello
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bridging
      police cir 20000 kbps bc 4800000 bytes
    class copp-system-class-arp
      police cir 4000 kbps bc 3600000 bytes
    class copp-system-class-dhcp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-mgmt
      police cir 12000 kbps bc 4800000 bytes
    class copp-system-class-lacp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-lldp
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-udld
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-isis
      police cir 2048 kbps bc 4800000 bytes
    class copp-system-class-msdp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-cdp
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-fip
      police cir 1024 kbps bc 4800000 bytes
    class copp-system-class-bgp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-eigrp
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-exception
      police cir 64 kbps bc 4800000 bytes
    class copp-system-class-glean
      police cir 4000 kbps bc 4800000 bytes
    class copp-system-class-hsrp-vrrp
      police cir 1024 kbps bc 256000 bytes
    class copp-system-class-icmp-echo
      police cir 4000 kbps bc 3600000 bytes
    class copp-system-class-ospf
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-pim-register
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-rip
      police cir 9600 kbps bc 4800000 bytes
    class copp-system-class-l3dest-miss
      police cir 64 kbps bc 16000 bytes
    class copp-system-class-mcast-miss
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-excp-ip-frag
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-same-if
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-excp-ttl
      police cir 64 kbps bc 3200000 bytes
    class copp-system-class-default
      police cir 512 kbps bc 6400000 bytes
    class copp-system-class-rpf-fail
      police cir 512 kbps bc 3200000 bytes
    class copp-system-class-mcast-last-hop
      police cir 512 kbps bc 3200000 bytes

NEXUS5K002# show policy-map interface control-plane
Control Plane

  service-policy  input: copp-system-policy-customized

    class-map copp-system-class-igmp (match-any)
      match protocol igmp
      police cir 1024 kbps , bc 65535 bytes
        conformed 1099702577173 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-pim-hello (match-any)
      match protocol pim
      police cir 1024 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-bridging (match-any)
      match protocol bridging
      police cir 20000 kbps , bc 4800000 bytes
        conformed 1117682720167 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-arp (match-any)
      match protocol arp
      match protocol nd
      police cir 1024 kbps , bc 3600000 bytes
        conformed 7392073468 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-dhcp (match-any)
      match protocol dhcp
      police cir 1024 kbps , bc 4800000 bytes
        conformed 1554060880 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-mgmt (match-any)
      match protocol mgmt
      police cir 12000 kbps , bc 4800000 bytes
        conformed 3360293230 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-lacp (match-any)
      match protocol lacp
      police cir 1024 kbps , bc 4800000 bytes
        conformed 1100653025235 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-lldp (match-any)
      match protocol lldp_dcx
      police cir 2048 kbps , bc 4800000 bytes
        conformed 1101335075091 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-udld (match-any)
      match protocol udld
      police cir 2048 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-isis (match-any)
      match protocol isis_dce
      police cir 1024 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-msdp (match-any)
      match protocol msdp
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-cdp (match-any)
      match protocol cdp
      police cir 1024 kbps , bc 4800000 bytes
        conformed 1100822976136 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-fip (match-any)
      match protocol fip
      police cir 1024 kbps , bc 4800000 bytes
        conformed 1334982352 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-bgp (match-any)
      match protocol bgp
      police cir 9600 kbps , bc 4800000 bytes
        conformed 55322608 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-eigrp (match-any)
      match protocol eigrp
      match protocol eigrp6
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-exception (match-any)
      match protocol exception
      police cir 64 kbps , bc 4800000 bytes
        conformed 7678996 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-glean (match-any)
      match protocol glean
      police cir 1024 kbps , bc 4800000 bytes
        conformed 22710843199 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-hsrp-vrrp (match-any)
      match protocol hsrp_vrrp
      match protocol hsrp6
      police cir 1024 kbps , bc 256000 bytes
        conformed 12316200612 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-icmp-echo (match-any)
      match protocol icmp_echo
      police cir 64 kbps , bc 3600000 bytes
        conformed 50470007 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-ospf (match-any)
      match protocol ospf
      match protocol ospf3
      police cir 9600 kbps , bc 4800000 bytes
        conformed 3366 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-pim-register (match-any)
      match protocol reg
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-rip (match-any)
      match protocol rip
      police cir 9600 kbps , bc 4800000 bytes
        conformed 12510 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-l3dest-miss (match-any)
      match protocol unicast
      police cir 64 kbps , bc 16000 bytes
        conformed 15136 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-mcast-miss (match-any)
      match protocol multicast
      police cir 256 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-excp-ip-frag (match-any)
      match protocol ip_frag
      police cir 64 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-excp-same-if (match-any)
      match protocol same-if
      police cir 64 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-excp-ttl (match-any)
      match protocol ttl
      police cir 64 kbps , bc 3200000 bytes
        conformed 8531281 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-default (match-any)
      match protocol default
      police cir 512 kbps , bc 6400000 bytes
        conformed 33212075608 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-rpf-fail (match-any)
      police cir 512 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-mcast-last-hop (match-any)
      police cir 512 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
NEXUS5K002# show running copp all

!Command: show running-config copp all
!Time: Wed Mar 31 13:38:37 2010

version 6.0(2)N1(2a)
control-plane
  scale-factor 1.00 module 1
  scale-factor 1.00 module 2
  scale-factor 1.00 module 3
policy-map type control-plane copp-system-policy-customized
  class copp-system-class-hsrp-vrrp
    police cir 1024 kbps bc 256000 bytes
  class copp-system-class-l3dest-miss
    police cir 64 kbps bc 16000 bytes
control-plane
  service-policy input copp-system-policy-customized


NEXUS5K002#

Hi Steven,

I just tried this in my lab switches and, as is somewhat obvious, the way this works is that the configuration only appears in the output of a show runn copp if there's something different from the default values.

When I apply the exact configuration you've posted into my switches, it appears in both. When I reset to the default values, the commands are no longer seen. I've vPC running and so that would seem to make no difference. I'm not running NX-OS 6.0, but have NX-OS 5.2(1)N1(6) so one obvious difference.

But from what you've posted I think I'm joining your insanity here as to why it doesn't appear in the configuration of the NEXUS5K001 switch. Clearly the values have been accepted and are operational as these are seen in the output of the show policy-map type control-plane name copp-system-policy-customized command you posted.

A real long shot, bit is there anything else different between the two switches since you applied the configuration e.g., one's been rebooted and the other not?

Regards

No difference between the two except one as vpc primary role and the other doesnt. Nexus 1 is the primary.

no reboots have been done since the NX-OS was updated last year in the summer.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: