IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

PDF

IP Addresses and Services Configuration Guide for Cisco 8000 Series Routers, IOS XR Releases

Verify hybrid ACL compression

Want to summarize with AI?

Log in

This topic describes how to verify the configured object-group ACLs in operation and the compression of the ACEs in the ACL on the Cisco 8000 Series Router.


You can use the commands described in this section to verify the configured object-group ACLs in operation and the compression of the ACEs in the ACL.

Note

The outputs provided in this section are a standalone sample and are not related to the configurations provided in the preceding sections.

Procedure

  1. Verify the entries of the ACL in operation.

    Example:

    Router# show access-lists ipv4 network-object-acl hardware ingress location 0/0/CPU0
    ipv4 access-list network-object-acl
    40 permit ospf net-group n_192.168.0.0_16 any (20898463272 matches)
    70 permit tcp any net-group TEST_ALL_V4 established
    100 permit udp net-group INTERNAL port-group KERBEROS_UDP net-group TEST_ALL_V4
    130 permit udp net-group INTERNAL port-group DNS_UDP net-group TEST_ALL_V4
    160 permit udp net-group INTERNAL port-group NTP net-group TEST_ALL_V4
    190 permit udp net-group INTERNAL port-group LDAP_UDP net-group TEST_ALL_V4
    ...
    1500 permit udp net-group VLAN60_SECURITY net-group h_192.168.77.242 port-group UDP_50000-50100
    1530 deny ipv4 net-group VLAN60_SECURITY any log (20891956640 matches)
    ...
  2. Verify the ACE compression in the ACL.

    Example:

    Router# show access-lists ipv4 network-object-acl hardware ingress verify location 0/0/CPU0
    Verifying TCAM entries for network-object-acl
    Please wait...
    
    
    
        INTF    NPU lookup  ACL # intf Total  compression Total   result failed(Entry) TCAM entries
                    type    ID  shared ACES   prefix-type Entries        ACE SEQ #     verified
    ---------- --- ------- --- ------ ------ ----------- ------- ------ ------------- ------------
    
    HundredGigE 0_0_10_3 (ifhandle: 0x1c8)
    
                  1 IPV4      2      1    247 COMPRESSED      810 passed                        810
                                              SRC IP         2746 passed                       2746
                                              DEST IP        3413 passed                       3413
                                              SRC PORT        340 passed                        340

You have successfully verified the compression of ACEs within an ACL.

Note

The command show access-lists access-list-name hardware ingress detail location location displays compressed output for source and destination IP addresses when the detail keyword is used while attaching ACLs to interfaces.