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

Nexus 5K COPP default configuration - CIR/BC values

hakan.topcu
Level 1
Level 1

Hi,

when comparing two copp related outputs, I get different information.

The "show platform ..." output displays more classes (policies) as there are class-maps configuried and different CIR/BC rates!

For example, the lacp class ist configured with cir 1024 kbps and bc 4800000 bytes. The show platform displays a cir of 128000 (?)  4687 (?).

Can anyone explain the second output and the difference of the CIR and BC rates?

Thanks!
Best Regards
Hakan

Output from a NX5648Q, version 7.2(1)N1(1)

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

  service-policy  input: copp-system-policy-default

    class-map copp-system-class-igmp (match-any)
      match protocol igmp
      police cir 1024 kbps , bc 65535 bytes
        conformed 861336 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 54354320 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 0 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 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-wccp (match-any)
      match protocol wccp
      police cir 1060 kbps , bc 4800000 bytes
        conformed 0 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 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-ecp (match-any)
      match protocol ecp
      police cir 6400 kbps , bc 3200000 bytes
        conformed 0 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 3994712 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 5768012 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 4287257 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 0 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 0 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 0 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 0 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 0 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 0 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 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-bfd (match-any)
      match protocol bfd
      police cir 9600 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-vxlan (match-any)
      match protocol vxlan
      police cir 1024 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 0 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 0 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 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-rpf-fail (match-any)
      match protocol rpf
      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)
      match protocol mcast last hop
      police cir 512 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-onep-dpss (match-any)
      match protocol dpss
      police cir 625 kbps , bc 3200000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    class-map copp-system-class-l3-isis (match-any)
      match protocol isis
      police cir 1024 kbps , bc 4800000 bytes
        conformed 0 bytes; action: transmit
        violated 0 bytes;
    

NX5648Q# show platform afm info copp-tbls
COPP table
----------
* mgmt/ipv6-mgmt - http,snmp,ntp,telnet,ssh,ftp
** excp/ipv6-excp - mtu failure, martian address, punt, l3 header errors, icmp errors

Policer-Num  Name                  CIR       Burst     Passed-Bytes  Dropped-Bytes
----------------------------------------------------------------------------------
0            default               64000     6250      0               0             
1            stp                   2500000   4687      54298200        0             
2            lacp                  128000    4687      3990608         0             
3            fc control            3750000   65535     0               0             
4            fc errors             125000    65535     0               0             
5            fc data               125000    65535     0               0             
6            lldp                  256000    4687      5762095         0             
7            sat control           62500000  65535     951929142       0             
8            sat data              250000    16000     0               0             
9            udld                  256000    4687      0               0             
10           igmp/ipv6-mld         128000    63        860328          0             
11           fip                   128000    4687      0               0             
13           dhcp/ipv6-dhcp        128000    4687      0               0             
14           L3 data hi            2500000   4096      0               0             
15           L3 data low           1250000   512       0               0             
16           L3 front panel rdt    250000    2048      0               0             
17           isis                  128000    4687      0               0             
18           cdp                   128000    4687      4283339         0             
19           dot1x                 125000    65535     0               0             
20           pim/ipv6-pim          128000    4687      0               0             
21           mgmt/ipv6-mgmt*       1500000   4687      0               0             
23           arp/ipv6-nd           128000    3515      0               0             
24           rip                   1200000   4687      0               0             
25           ospf/ipv6-ospf        1200000   4687      0               0             
26           eigrp/ipv6-eigrp      1200000   4687      0               0             
27           hsrp vrrp/ipv6-hsrp   128000    250       0               0             
29           bgp/ipv6-bpg          1200000   4687      0               0             
30           mcast first hop       1200000   4687      0               0             
31           ping                  8000      3515      0               0             
33           mcast rpf fail        64000     3125      0               0             
35           ucast fib miss        8000      15        0               0             
36           glean                 128000    4687      0               0             
37           msdp                  1200000   4687      0               0             
38           excption ttl          8000      3125      0               0           
39           exception same intf   8000      3125      0               0             
40           exception ip frag     8000      3125      0               0             
41           excp/ipv6-excp**      8000      4687      0               0             
42           bfd                   1200000   4687      0               0             
43           mcast last hop        64000     3125      0               0             
44           wccp                  132500    4687      0               0             
45           onep dpss             78125     3125      0               0             
46           ecp                   800000    3125      0               0             
47           vxlan                 128000    4687      0               0             
48           nvgre                 125000    65535     0               0

0 Replies 0