NETCONF Configuration Guide
YANG API Reference
copp
23 min
asternos copp module description copp yang module for sonic mgmt asterfusion yang tree diagram module asternos copp + rw copps + rw copp \[name] + rw name copp packet type + ro trap ids identityref + rw trap action copp packet action + ro trap priority? uint8 + ro queue? uint8 + ro mode? traffic behavior\ policy mode + ro meter type? traffic behavior\ meter type + ro cbs? uint32 + rw cir uint32 + ro red packet action? copp packet action rpcs + x show counters copp \| + w input \| | + w packet type? copp packet type \| + ro output \| + ro data? \<anydata> + x clear counters copp + ro output + ro data? \<anydata> resources resource list path access /copps read write /copps/copp read write /copps/copp/name read write /copps/copp/trap ids read only /copps/copp/trap action read write /copps/copp/trap priority read only /copps/copp/queue read only /copps/copp/mode read only /copps/copp/meter type read only /copps/copp/cbs read only /copps/copp/cir read write /copps/copp/red packet action read only detailed nodes /copps path /copps node type container description copp group configuration access read write /copps/copp path /copps/copp node type list description list of copp group access read write /copps/copp/name path /copps/copp/name node type leaf description copp group class name access read write data type constraints enumeration with options acl arp bfd bfdv6 bgp default dhcp dhcpv6 eapol ftp iccp icmp igmp ip2me isis mtu error lacp ldp lldp mld ndp ospf ospfv6 pim ptp sample packet snmp snp ssh stp telnet tftp ttl error vrrp vrrpv6 lbdt /copps/copp/trap ids path /copps/copp/trap ids node type leaf list description name of trap ids access read only data type constraints identityref with options bgp iccp vrrpv6 ospfv6 icmp echo mld v2 report eapol dhcpv6 ssh ip2me lacp mld v1 report arp resp lldp telnet bgpv6 acl igmp query neigh discovery stp snp dhcp sample packet arp req igmp v1 report igmp v3 report bfd isis pim vrrp snmp l3 mtu error ospf ttl error ftp mld v1 done ptp bfdv6 igmp leave ldp mld v1 v2 igmp v2 report tftp lbdt /copps/copp/trap action path /copps/copp/trap action node type leaf description copp trap action refers to how a network device responds when it detects traffic that exceeds the configured limits or matches specific policies access read write data type constraints enumeration with options drop trap copy forward mandatory yes /copps/copp/trap priority path /copps/copp/trap priority node type leaf description trap priority access read only data type constraints valid range /copps/copp/queue path /copps/copp/queue node type leaf description cpu rx queue access read only data type constraints valid range 0 to 7 /copps/copp/mode path /copps/copp/mode node type leaf description policer mode access read only data type constraints enumeration with options sr tcm tr tcm /copps/copp/meter type path /copps/copp/meter type node type leaf description policer meter type access read only data type constraints enumeration with options packets bytes /copps/copp/cbs path /copps/copp/cbs node type leaf description committed burst size for the dual rate token bucket policer this value represents the depth of the token bucket access read only data type constraints valid range /copps/copp/cir path /copps/copp/cir node type leaf description committed information rate for the dual rate token bucket policer this value represents the rate at which tokens are added to the primary bucket access read write data type constraints valid range 125 to 10000 mandatory yes /copps/copp/red packet action path /copps/copp/red packet action node type leaf description red packet action refers to a specific action taken when packets that are deemed critical or potentially harmful are detected access read only data type constraints enumeration with options drop trap copy forward rpcs show counters copp path access /show counters copp/input read write /show counters copp/input/packet type read write /show counters copp/output read write /show counters copp/output/data read write /show counters copp/input path /show counters copp/input node type container description no description available access read write /show counters copp/input/packet type path /show counters copp/input/packet type node type leaf description type of packet access read write data type constraints enumeration with options acl arp bfd bfdv6 bgp default dhcp dhcpv6 eapol ftp iccp icmp igmp ip2me isis mtu error lacp ldp lldp mld ndp ospf ospfv6 pim ptp sample packet snmp snp ssh stp telnet tftp ttl error vrrp vrrpv6 lbdt /show counters copp/output path /show counters copp/output node type container description no description available access read write /show counters copp/output/data path /show counters copp/output/data node type anydata description display the copp counters of each protocol protocol total/pkts trap/pkts trap/pps drop/pkts drop/pps \ mtu error 0 0 0 0 0 ttl error 0 0 0 0 0 acl 0 0 0 0 0 access read write clear counters copp path access /clear counters copp/output read write /clear counters copp/output/data read write /clear counters copp/output path /clear counters copp/output node type container description no description available access read write /clear counters copp/output/data path /clear counters copp/output/data node type anydata description display the clear counters copp result access read write
