[Contents] [Prev] [Next] [Index] [Report an Error]

# Monitoring Policy Lists

#### Purpose

Display information about policy lists.

#### Action

To display policy lists:

    host1#show policy-list
                                      Policy Table
                                      ------ -----
    IPv6 Policy ipv6-pol8
       Administrative state: enable
       Reference count:      2
       Classifier control list: *, precedence 100
          forward

       Referenced by interface(s):
          GigabitEthernet1/0/2.1  input policy, statistics enabled, virtual-router default
          GigabitEthernet1/0/2.1  output policy, statistics enabled, virtual-router default

       Referenced by profile(s):
          None

       Referenced by merged policies:
          None

    IP Policy routeForABCCorp
       Administrative state: enable
       Reference count:      0
     atm-cell-mode: enabled
    Classifier control list: ipCLACL10, precedence 75
     exception http-redirect
     forward
    Virtual-router: default
             List:
               next-hop 192.0.2.12, order 10, rule 2 (active)
               next-hop 192.0.100.109, order 20, rule 3 (reachable)
               next-hop 192.120.17.5, order 30, rule 4 (reachable)
               interface ip3/1, order 40, rule 5
          mark tos 125
          rate-limit-profile ipRLP25
       Classifier control list: ipCLACL20, precedence 125
          filter

    IPv6 Policy routeForIPv6
       Administrative state: enable
       Reference count:      0
       Classifier control list: ipv6tc67, precedence 75
          color red
          mark tc-precedence 7

    Frame relay Policy frOutputPolicy
       Administrative state: enable
       Reference count:      0
       Classifier control list: frMatchDeSet, precedence 100
          mark-de 1

    Frame relay Policy frInputPolicy
       Administrative state: enable
       Reference count:      0
       Classifier control list: frMatchDeSet, precedence 100
          color red

    GRE Tunnel Policy routeGre50
       Administrative state: enable
       Reference count:      0
       Classifier control list: gre8, precedence 150
          color red
          mark dsfield 20
          filter

    L2TP Policy routeForl2tp
       Administrative state: enable
       Reference count:      0
       Classifier control list: *, precedence 100
          color red
          rate-limit-profile l2tpRLP20

    MPLS Policy routeForMpls
       Administrative state: enable
       Reference count:      0
       Classifier control list: *, precedence 200
          mark-exp 2 mask 7
          rate-limit-profile mplsRLP5

    VLAN Policy routeForVlan
       Administrative state: enable
       Reference count:      0
       Classifier control list: lowLatencyLowDrop, precedence 100
          traffic-class lowLatencyLowDrop
          color green
          mark-user-priority 7
       Classifier control list: lowLatency, precedence 100
          traffic-class lowLatency (suspended)
       Classifier control list: excellentEffort, precedence 100
          traffic-class excellentEffort
       Classifier control list: bestEffort, precedence 100
          traffic-class bestEffort

To display component policies:

    host 1#show policy-list comp_p1

                                      Policy Table
                                      ------ -----
    IP Policy comp_p1
       Administrative state: enable
       Reference count:      7
       Classifier control list: C1, precedence 90
          forward
             Virtual-router: default
             List:
               next-hop 10.1.1.1, order 100, rule 2 (active)
       Classifier control list: C2, precedence 10
          filter

       Referenced by interfaces:
          ATM3/0.3  input policy, statistics enabled, virtual-router vr1
          ATM3/0.4  output policy, statistics disabled, virtual-router vr1
          ATM3/0.5  secondary-input policy, statistics enabled, virtual-router vr1

       Referenced by profiles:
          prof_1  input policy, statistics disabled

       Referenced by merge policies:
          mpl_10
          mpl_11
          mpl_12

    host1#show policy-list comp_p2

                                      Policy Table
                                      ------ -----
    IP Policy comp_p2
       Administrative state: enable
       Reference count:      1
       Classifier control list: C1, precedence 90
          color red
       Classifier control list: *, precedence 1000
          filter

       Referenced by interfaces:
          ATM4/0.5  input policy, statistics enabled, virtual-router default

       Referenced by profiles:
          None

       Referenced by merge policies:
          None

To display component policies:

    host1#show policy-list mpl_10

                                      Policy Table
                                      ------ -----

    IP Policy mpl_10
       Administrative state: enable
       Reference count:      1
       Classifier control list: C1, precedence 90
          forward
             Virtual-router: default
             List:
               next-hop 10.1.1.1, order 100, rule 2 (active)
               next-hop 20.1.1.1, order 100, rule 3 (reachable)
       Classifier control list: C2, precedence 10
          filter
       Classifier control list: C3, precedence 10
          filter
       Classifier control list: *, precedence 1000
          forward

       Referenced by interfaces:
          ATM5/0.1  input policy, statistics enabled, virtual-router default

       Referenced by profiles:
          None

       Component policies:
          comp_p1
          comp_p3

To display rate limit hierarchy in one policy:

    host1#show policy-list P1

                                      Policy Table
                                      ------ -----
    IP Policy P1
       Administrative state: enable
       Reference count:      2
       Classifier control list: A, precedence 100, parent-group X
          rate-limit-profile A
    mark profile A
       Classifier control list: B, precedence 100, parent-group X
          rate-limit-profile B
    mark profile B
       Classifier control list: *, precedence 100, parent-group Z
    mark profile D
          forward
       Parent group: X, parent-group Z
          rate-limit-profile X
       Parent group: Z
          rate-limit-profile Z

       Referenced by interface(s):
          SERIAL4/0  input policy, statistics disabled, virtual-router default
          SERIAL4/1  input policy, statistics disabled, virtual-router default

       Referenced by profile(s):
          No profile references

#### Meaning

Table 37 lists the show policy-list command output fields.

Table 37: show policy-list Output Fields

Field Name | Field Description
--- | ---
Policy | Name of the policy list.
Administrative state | For SNMP use; state is enabled when the policy list is created. Users modifying the policy list commands via telnet see the state as disabled. Modifications of a policy are not applied to an interface until the administrative state is first disabled and then reenabled.
Reference count | Number of attachments to interfaces or profiles.
Atm cell mode | State of mode for ATM cell tax used in rate calculations.
Referenced by interfaces | List of interfaces to which policy is attached; indicates whether the attachment is at input or output of interface.
Referenced by profiles | List of profiles to which policy is attached; indicates whether the attachment is at input, secondary-input, or output of interface created by the profile.
Referenced by merge policies | List of merged policies.
Referenced by component policies | List of component policies.
Classifier control list | Name of the classifier control list containing policy rules and the precedence assigned to the classifier control list.
Statistics | Enabled, disabled
Parent group | Name of the parent group.
Rule types are: |
filter | Filter policy action
exception http-redirect | HTTP redirect policy action
forward | Forward policy action
next-interface | Next-interface policy action
next-hop | Next-hop policy action
rate-limit-profile | Rate-limit-profile policy action
color | Color of a packet; green, yellow, or red
traffic-class | Traffic class in a policy list
log | Log policy action
mark tos | ToS byte in the IP header to a specified value
mark DS field | DS field value in the IP header to a specified value
mark TC precedence | Traffic class value in the IPv6 header to a specified value
mark EXP | Value assigned to EXP bits action
mark user priority | Value assigned to 802.1p VLAN user priority bit
mark DE | DE bit action
Rule status | Indicates whether the rule is suspended.

#### Related Topics

- show policy-list

[Contents] [Prev] [Next] [Index] [Report an Error]