API Guide

查看控制平面服务策略
OS10(conf-control-plane)# do show qos control-plane
Service-policy (input): example-copp-policy-map-name
Identifier GUID-BF23A159-7A16-4145-8C07-E4387D0CA098
Version 8
Status Translation approved
查看配置
使用 show 命令可显示分配给每个控制板队列的协议流量以及应用到每个队列的当前速率限制。使用 show 命令可输出验证 CoPP
置。
查看 CoPP 配置
OS10# show qos control-plane
Service-policy (input): example-copp-policy-map-name
查看 CMAP1 配置
OS10# show class-map type control-plane example-copp-class-map-name
Class-map (control-plane): example-copp-class-map-name (match-any)
查看 CoPP 服务策略
OS10# show policy-map type control-plane
Service-policy(control-plane) input: example-copp-policy-map-name
Class-map (control-plane): example-copp-class-map-name
set qos-group 2
police cir 100 bc 100 pir 100 be 100
查看 CoPP 信息
OS10# show control-plane info
Queue Min Rate Limit(in pps) Max Rate Limit(in pps)
Protocols
0 600 600 ISCSI UNKNOWN UNICAST
1 1000 1000 SFLOW
2 400 400 IGMP MLD PIM
3 600 1000 VLT NDS
4 500 1000 IPV6_ICMP IPV4_ICMP
5 500 1000 ICMPV6_RS ICMPV6_NS ICMPV6_RA ICMPV6_NA
6 500 1000 ARP_REQ SERVICEABILITY
7 500 1000 ARP_RESP
8 500 500 SSH TELNET TACACS NTP FTP
9 600 600 FCOE
10 600 1000 LACP
11 400 400 RSTP PVST MSTP
12 500 500 DOT1X LLDP
13 600 1000 IPV6_OSPF IPV4_OSPF
14 600 1000 OSPF_HELLO
15 600 1000 BGP
16 500 500 IPV6_DHCP IPV4_DHCP
17 600 1000 VRRP
18 700 700 BFD
19 700 1000 OPEN_FLOW REMOTE CPS
20 300 300 MCAST DATA
21 100 100 ACL LOGGING
22 300 300 MCAST KNOWN DATA
查看 CoPP 统计信息
OS10# show control-plane statistics
Queue Packets Bytes Dropped Packets Dropped
Bytes
0 26 1768 0 0
1 0 0 0 0
2 0 0 0 0
3 0 0 0 0
1142
服务质量