NETCONF Configuration Guide
YANG API Reference
copp
11 min
copp yang module for sonic mgmt asterfusion yang tree diagram 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 resources resource list 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 detailed nodes /copps /copps path /copps node type container description copp group configuration access read write /copps/copp /copps/copp path /copps/copp node type list description list of copp group access read write /copps/copp/name /copps/copp/name path /copps/copp/name node type leaf description copp group class name access read write data type \<yang type copp packet 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 /copps/copp/trap ids path /copps/copp/trap ids node type leaf list description name of trap ids access read only data type \<yang type identityref> 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 /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 \<yang type copp packet action> constraints enumeration with options drop trap copy forward mandatory yes /copps/copp/trap priority /copps/copp/trap priority path /copps/copp/trap priority node type leaf description trap priority access read only data type \<yang type uint8> /copps/copp/queue /copps/copp/queue path /copps/copp/queue node type leaf description cpu rx queue access read only data type \<yang type uint8> constraints valid range 0 to 7 /copps/copp/mode /copps/copp/mode path /copps/copp/mode node type leaf description policer mode access read only data type \<yang type policy mode> constraints enumeration with options sr tcm tr tcm /copps/copp/meter type /copps/copp/meter type path /copps/copp/meter type node type leaf description policer meter type access read only data type \<yang type meter type> constraints enumeration with options packets bytes /copps/copp/cbs /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 \<yang type uint32> /copps/copp/cir /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 \<yang type uint32> constraints valid range 125 to 10000 mandatory yes /copps/copp/red packet action /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 \<yang type copp packet action> constraints enumeration with options drop trap copy forward
