copp
此内容尚不支持你的语言。
COPP yang module for sonic-mgmt-asterfusion
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
Section titled “Resources”Resource List
Section titled “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
Section titled “Detailed Nodes”/copps
Section titled “/copps”Path
/copps
Node Type
container
Description
COPP group configuration
Access
Read-Write
/copps/copp
Section titled “/copps/copp”Path
/copps/copp
Node Type
list
Description
List of COPP group
Access
Read-Write
/copps/copp/name
Section titled “/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
Section titled “/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
Section titled “/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
Section titled “/copps/copp/trap-priority”Path
/copps/copp/trap-priority
Node Type
leaf
Description
Trap priority
Access
Read-Only
Data Type
/copps/copp/queue
Section titled “/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
Section titled “/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
Section titled “/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
Section titled “/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
/copps/copp/cir
Section titled “/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
Section titled “/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