Verifying the Configuration

By running the following display commands, you can view the configured CAR functions.

Procedure

  1. Run the display cpu-defend policy policy-number command to check rules for filtering the packets to be sent to the CPU.
  2. Run the display cpu-defend { all | application-apperceive | tcpip-defend | tcpip-defend-v6 | total-packet | urpf } statistics [ slot slot-id ] command to check statistics about packets discarded by CAR.
  3. Run the display cpu-defend protocol-group { whitelist | user-defined-flow | management | route-protocol | multicast | arp | mpls | access-user | link-layer | network-layer | system-message | blacklist | check-failed | fwddata-to-cp | all } configuration slot slot-id command to check the bandwidth and weight of packets are sent to the CPU in a protocol group.
  4. Run the display cpu-defend protocol-group { whitelist | user-defined-flow | management | route-protocol | multicast | arp | mpls | access-user | link-layer | network-layer | system-message | blacklist | check-failed | fwddata-to-cp | all } statistics slot slot-id command to check statistics about protocol packets to be sent to the CPU in a protocol group.
  5. Run the following commands to check the weights of packets to be sent to the CPU in protocol queues of the protocol groups.

    Table 1 Displaying the weights of packets to be sent to the CPU in protocol queues of the protocol groups

    Operation

    Command

    Query the weight of packets to be sent to the CPU in a specific queue of the whitelist protocol group.

    display cpu-defend protocol-group whitelist queue { whitelist-bgp | whitelist-ldp | whitelist-management | whitelist-multicast | whitelist-reserve } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the user-defined flow protocol group.

    display cpu-defend protocol-group user-defined-flow queue { user-define-flow-1 | user-define-flow-2 | user-define-flow-3 | user-define-flow-4 | user-define-flow-5 | user-define-flow-6 | user-define-flow-7 | user-define-flow-8 } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the management protocol group.

    display cpu-defend protocol-group management queue { dcn | ftp | ntp | snmp | ssh | sshv6 | syslog | telnet } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the routing protocol group.

    display cpu-defend protocol-group route-protocol queue { bgp | bgpv6 | isis | ospf | ospfv3 | rip } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the routing protocol group.

    display cpu-defend protocol-group multicast queue { igmp | multicast-reserve | msdp | pim } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the ARP protocol group.

    display cpu-defend protocol-group arp queue { arp | nd } weight configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the MPLS protocol group.

    display cpu-defend protocol-group mpls queue { ldp | oam-ping | rsvp | vxlan } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the MPLS protocol group.

    display cpu-defend protocol-group access-user queue { bas-arp | bas-igmp | bas-nd | bas-trigger | dhcp | dhcpv6 | eapol | l2tp | lldp | ppp | vbas-reserve | web } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the link-layer protocol group.

    display cpu-defend protocol-group link-layer queue { 3ah | bfd | link-detect | trunk | y1731 | interface-rdi | lag-check | lag-ping-trace | mac-vlan } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the network-layer protocol group.

    display cpu-defend protocol-group network-layer queue { clock | default | dns | fragment | gre | hwtacas | icmp | icmpv6 | ipv4-reserve | ipv6-option | nhrp | vrrp | radius-diameter } configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the system-message protocol group.

    display cpu-defend protocol-group system-message queue system-message configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the blacklist protocol group.

    display cpu-defend protocol-group blacklist queue blacklist configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the detection protocol group.

    display cpu-defend protocol-group check-failed queue check-failed configuration slot slot-id

    Query the weight of packets to be sent to the CPU in a specific queue of the detection protocol group.

    display cpu-defend protocol-group fwddata-to-cp queue forward-data configuration slot slot-id

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic