show class-list

Description                                                    Display information for class lists.

Syntax                                                                  show class-list [name [ipaddr]]

Replace name with the class list name or ipaddr with an IP address in the class list. If neither option is specified, the list of configured class lists is displayed instead.

Mode                                                                   All

Usage                                                                  For Aho-Corasick (AC) class lists, enter the write memory command immediately before entering show class-list.

Example                                                            The following command displays the class-list files on the ACOS device device:

ACOS#show class-list

Name                             IP       Subnet   Location

test                             4        3        file

user-limit                       14       4        config

Total: 2

The following table describes the fields in the command output.

Field

Description

Name

Name of the class list.

IP

Number of host IP addresses in the class list.

Subnet

Number of subnets in the class list.

Location

Indicates whether the class list is in the startup-config or in a stand­alone file:

  config – Class list is located in the startup-config.

  file – Class list is located in a standalone file.

Total

Total number of class lists on the ACOS device device.

The following command shows details for a class list:

ACOS#show class-list test

Name:                test

Total single IP:     4

Total IP subnet:     3

Content:

   1.1.1.1 /32 glid 1

   2.2.2.2 /32 glid 2

   10.1.2.1 /32 lid 1

   10.1.2.2 /32 lid 2

   20.1.1.0 /24 lid 1

   20.1.2.0 /24 lid 2

    0.0.0.0 /0 lid 31

The following commands show the closest matching entries for specific IP addresses in class list “test”:

AOCS#show class-list test 1.1.1.1

   1.1.1.1 /32 glid 1

ACOS#show class-list test 1.1.1.2

   0.0.0.0 /0 lid 31

The class list contains an entry for 1.1.1.1, so that entry is shown. However, since the class list does not contain an entry for 1.1.1.2 but does contain a wildcard entry (0.0.0.0), the wildcard entry is shown.

Table of Contents

Index

Glossary

-Search-

Back