Monitoring Policy Management
This section shows how to set a statistics baseline and use the show command to view your policy configuration and monitor policy statistics.
Setting a Statistics Baseline
You can set a baseline for policy statistics by using the baseline interface command and the frame-relay policy, ip policy, ipv6 policy, l2tp policy, mpls policy, and vlan policy commands. If you do not enable baselining, show command output fields for baseline counters display the contents of the regular statistics counters.
When you set baseline statistics, you can retrieve statistics beginning at the time when the baselining is set.
To enable a baseline for the statistics for the attachment of the policy list named routeForXYZCorp with statistics enabled to the ingress of an interface, use the following commands:
host1(config)#interface atm 12/0.1host1(config-subif)#ip policy input routeForXYZCorp statistics enabled baseline enabledTo show baseline counters, run the show ip interface command with the delta keyword:
host1#show ip interface atm 12/0.1 deltaatm12/0.1 is up, line protocol is upNetwork Protocols: IPInternet address is 200.200.1.1/255.255.255.0Broadcast address is 255.255.255.255Operational MTU = 9180 Administrative MTU = 0Operational speed = 155520000 Administrative speed = 0Discontinuity Time = 1251181Router advertisement = disabledAdministrative debounce-time = disabledOperational debounce-time = disabledAccess routing = disabledMultipath mode = hashedIn Received Packets 5, Bytes 540In Policed Packets 0, Bytes 0In Error Packets 0In Invalid Source Address Packets 0In Discarded Packets 0Out Forwarded Packets 5, Bytes 540Out Scheduler Drops Packets 0, Bytes 0Out Policed Packets 5, Bytes 540Out Discarded Packets 0IP Policy input routeForXYZCorpclassifier-group *filter5 Packets 540 Bytes droppedPolicy Management show Commands
Use the following show commands to display statistics for policy lists:
- show classifier-list
- show frame-relay subinterface
- show gre-tunnel
- show interfaces
- show ip interface
- show ipv6 interface
- show l2tp tunnel
- show mpls interface
- show policy-list
- show rate-limit-profile
- show secure policy-list
- show vlan subinterface
You can use the output filtering feature of the show command to include or exclude lines of output based on a text string you specify. See JUNOSe System Basics Configuration Guide, Chapter 2, Command-Line Interface for details.
frame-relay policy
ip policy
ipv6 policy
mpls policy
l2tp policy
vlan policy
- Use to assign a policy list to an interface and enable or disable the recording of routing statistics for bytes and packets affected by the policy.
- If you enable statistics, you can enable or disable baselining of the statistics. The router implements the baseline by reading and storing the statistics at the time the baseline is set and then subtracting this baseline when baseline-relative statistics are retrieved. Unlike other baseline statistics, policy baseline statistics are not stored in nonvolatile storage (NVS).
- Baselining must also be enabled on the interface with the appropriate baseline interface command.
- If you issue the baseline interface command for an interface without first enabling policy statistics baselining on that interface, a warning message indicates:
Policy baseline statistics are not enabledExample host1(config-if)#ip policy secondary-input my-policy statistics enabled baseline enabledUse the no version to remove the association between a policy list and an interface. show classifier-list
- Use to display CLACL configurations.
- Field descriptions—Fields displayed vary depending on the type and configuration of the CLACL:
- Reference count—Number of times the CLACL is referenced by policies
- Entry count—Number of entries in the classifier list
- Classifier-List—Name of the classifier list
- Entry—Entry number of the classifier list rule
- Color—Packet color to match
- Protocol—Protocol type
- Not Protocol—If true, matches any protocol except the preceding protocol; if false, matches the preceding protocol
- Source IP Address—Number of the network or host from which the packet is sent
- Source IP WildCardMask—Mask that indicates addresses to be matched when specific bits are set
- Not Source Ip Address—If true, matches any source IP address and mask except the preceding source IP address and mask; if false, matches the preceding source IP address and mask
- Destination IP Address—Number of the network or host from which the packet is sent
- Destination IP WildCardMask—Mask that indicates addresses to be matched when specific bits are set
- Not Destination Ip Address—If true, matches any destination IP address and mask except the preceding destination IP address and mask; if false, matches the preceding destination IP address and mask
- Traffic Class—Name of the traffic class to match
- User Packet Class—User packet value to match
- DS Field—DS field value to match
- TOS Byte—ToS value to match
- Precedence—Precedence value to match
- User Priority bits—User priority bits value to match
- Traffic Class Field—Traffic class field value to match
- EXP Bits—MPLS EXP bit value to match
- EXP Mask—Mask applied to EXP bits before matching
- DE Bit—Frame Relay DE bit value to match
- Destination Route Class—Route class used to classify packets based on the packet's destination address
- Source Route Class—Route class used to classify packets based on the packet's source address
- Local—If true, matches packets destined to a local interface; if false, matches packets that are traversing the router
host1#show classifier-listClassifier Control List Table---------- ------- ---- -----GRE Tunnel greClass.1VLAN lowLatencyLowDrop.1VLAN excellentEffort.1VLAN bestEffort.1VLAN lowLatency.1IP wstFd.1 source-route-class 44 destination-route-class 55 3 any anyIP XYZCorpPermit.1 local true color green ip any anyIP routeForXYZCorp.1 color red tcp any anyIP XYZCorpIcmpEchoRequests.1 ip any anyIP XYZCorpPrecedence.1 tcp any any tos 5IP XYZCorpPrecedence67.1 udp any anyIPv6 IPv6Precedence.1 color yellowIPv6 IPv6Precedence67.1L2TP l2tpclass.1 color green user-packet-class 8MPLS mplsClass.1 user-packet-class 10 exp-bits 3 exp-mask 7Frame relay frMatchDeSet.7 user-packet-class 8 de-bit 0Example 2 host1#show classifier-list detailedClassifier Control List Table---------- ------- ---- -----IP Classifier Control List XYZCorpPermitReference count: 1Entry count: 1Classifier-List XYZCorpPermit Entry 1Color: greenProtocol: ipNot Protocol: falseSource IP Address: 0.0.0.0Source IP WildcardMask: 255.255.255.255Not Source Ip Address: falseDestination IP Address: 0.0.0.0Destination IP WildcardMask:255.255.255.255Not Destination Ip Address: falseGRE Tunnel Classifier Control List greClassReference count: 0Entry count: 2Classifier-List greClass Entry 1User Packet Class: 8DS Field: 3Classifier-List greClass Entry 2Color: yellowVLAN Classifier Control List bestEffortReference count: 0Entry count: 1Classifier-List bestEffort Entry 1Color: redUser Packet Class: 15User Priority bits: 7IPv6 Classifier Control List IPv6ClassifierReference count: 0Entry count: 1Classifier-List IPv6Classifier Entry 1User Packet Class: 3Traffic Class Field: 200L2TP Classifier Control List l2tpclassReference count: 0Entry count: 1Classifier-List l2tpclass Entry 1Color: greenUser Packet Class: 8MPLS Classifier Control List mplsClassReference count: 0Entry count: 1Classifier-List mplsClass Entry 1User Packet Class: 10EXP Bits: 3EXP Mask: 7Frame relay Classifier Control List frMatchDeSetReference count: 2Entry count: 1Classifier-List frMatchDeSet Entry 7Traffic Class: toBostonUser Packet Class: 8DE Bit: 0show frame-relay subinterface
- Use to display information about a subinterface's Frame Relay policy lists.
- Field descriptions related to policy lists
- Frame Relay policy—Type and name of the VLAN policy
- mark-de—DE bit value
- color—Color applied to packet flow for queuing: green, yellow, or red
- classifier-group—Name of the classifier control list used by the policy
- filter—Filter policy action
- forward—Forward policy action
- traffic class—Traffic class in the policy list
- user-packet-class—User packet class in the policy list
host1#show frame-relay subinterfaceFrame relay sub-interface SERIAL5/0:1/1.1, status is upNumber of sub-interface down transitions is 0Time since last status change 03:04:59No baseline has been setIn bytes: 660 Out bytes: 660In frames: 5 Out frames: 5In errors: 0 Out errors: 0In discards: 0 Out discards: 0In unknown protos: 0Frame relay policy output frOutputPolicyclassifier-group frGroupA entry 15 packets, 640 bytesmark-de 1Frame relay sub-interface SERIAL5/1:1/1.1, status is upNumber of sub-interface down transitions is 0Time since last status change 03:05:09No baseline has been setIn bytes: 660 Out bytes: 660In frames: 5 Out frames: 5In errors: 0 Out errors: 0In discards: 0 Out discards: 0In unknown protos: 0Frame relay policy input frInputPolicyclassifier-group frMatchDeSet entry 15 packets, 660 bytescolor redshow gre tunnel
- Use to display information about GRE tunnels.
- Use the state keyword to display tunnels that are in a specific state: disabled, down, enabled, not-present, or up.
- Use the ip keyword to display tunnels associated with an IP address.
- To display information about a specific tunnel, include the name of the tunnel.
- To display information about tunnels on a specific virtual router, include the name of the virtual router.
- Field descriptions related to policies
- GRE tunnel policy input—Policy for outbound traffic
- GRE tunnel policy output—Policy for inbound traffic
- traffic-class—Name of traffic class
- classifier-group—Name of classifier group
- entry—Identifier for the entry in the classifier group
- packets—Number of packets
- bytes—Number of bytes
- mark—ToS byte setting for the classifier control list
- mask—Mask value corresponding to the ToS
host1#show gre tunnel detail tunnelGre50GRE tunnel tunnelGre50 is DownTunnel operational configurationTunnel mtu is '10240'Tunnel source address is '0.0.0.0'Tunnel destination address is '0.0.0.0'Tunnel transport virtual router is sourceTunnel checksum option is disabledTunnel sequence number option is disabledTunnel up/down trap is enabledTunnel-server location is 6/0Tunnel administrative state is UpStatistics packets octets discards errorsData rx 0 0 0 0Data tx 0 0 0 0GRE tunnel policy input routeGre25classifier-group gre6 entry 10 packets, 0 bytestraffic-class best-effortmark 4 mask 255GRE tunnel policy output routeGre35classifier-group gre14 entry 10 packets, 0 bytestraffic-class best-effortmark 4 mask 255show interfaces
- Use to display information about a subinterface and its VLAN policy lists.
- You can specify the following keywords:
- delta—Specifies that baselined statistics are to be shown
- brief—Displays the operational status of all configured interfaces
- Subinterface number—Location of the subinterface that carries the VLAN traffic
- Administrative status—Operational state that you configured for this interface: up or down
- VLAN ID—Domain number of the VLAN
- In Bytes—Number of bytes received on the VLAN subinterface
- In Packets—Sum of all unicast, broadcast, and multicast packets received on the VLAN or S-VLAN subinterface
- In Errors—Value is always 0 (zero)
- In Discards—Value is always 0 (zero)
- Out Bytes—Number of bytes sent on the VLAN or stacked VLAN (S-VLAN) subinterface
- Out Packets—Number of packets sent on the VLAN or S-VLAN subinterface
- Out Errors—Value is always 0 (zero)
- Out Discards—Value is always 0 (zero)
- VLAN policy—Type and name of the VLAN policy
host1#show interfaces fastEthernet 1/0.1FastEthernet1/0.1 is Up, Administrative status is UpVLAN ID: 100In: Bytes 4156, Packets 30Errors 0, Discards 0Out: Bytes 6406, Packets 45Errors 0, Discards 0VLAN policy input vlanPol1classifier-group vlan20 entry 15 packets, 730 bytesfiltershow ip interface
- Use to display information about an IP interface (including policy list statistics).
- Field descriptions related to policy management only
- Network Protocols—Protocols configured on the interface
- Internet address—IP address of the interface
- Broadcast address—Broadcast address used by the interface
- Operational MTU—Operational maximum transmission unit (MTU) for packets sent on this interface
- Administrative MTU—Administrative maximum transmission unit for packets sent on this interface
- Operational speed—Speed known to the IP layer in bits per second; equal to the administrative speed if configured, otherwise inherited from the lower layer
- Administrative speed—Configured speed known to the IP layer in bits per second
- Discontinuity Time—Time since the counters on the interface became invalid—for example, when the line module was reset
- Router Advertisement—When enabled by the ip irdp command, the router advertises its presence via the ICMP Router Discovery Protocol (IRDP)
- Administrative debounce-time—Administrative time delay that an interface must remain in a new state before the routing protocols react to the state change
- Operational debounce-time—Time delay that an interface must remain in a new state before the routing protocols react to the state change
- Access routing—When enabled, an access route is installed to the host on the other end of the interface
- In Received Packets—Packets received on the interface; indicates whether packets are unicast or multicast
- In Received Bytes—Bytes received on the interface; indicates whether bytes are unicast or multicast
- In Policed Packets—Packets policed on the interface; discarded because they exceeded a traffic contract to their destination
- In Policed Bytes—Bytes policed on the interface; discarded because they exceeded a traffic contract to their destination
- In Error Packets—Packets determined to be in error at the interface
- In Invalid Source Address Packets—Packets determined to have originated from an invalid source address
- Out Forwarded Packets—Packets forwarded from the interface; indicates whether packets are unicast or multicast
- Out Forwarded Bytes—Bytes forwarded from the interface; indicates whether bytes are unicast or multicast
- Out Scheduler Drops Packets—Packets dropped by the out scheduler; indicates whether packets are committed, conformed, or exceeded
- Out Scheduler Drops Bytes—Bytes dropped by the out scheduler; indicates whether bytes are committed, conformed, or exceeded
- Policy—Indicates which policy is attached and whether it is on the input or output of the interface
- classifier-group—Name of a CLACL attached to the interface and number of entry
- filter—Number of packets and bytes dropped because of the CLACL
- color—Explicit color applied to packet flow for queuing; green, yellow, or red:
- Packets transmitted—Number of packets sent to the next-hop address
- Bytes transmitted—Number of bytes sent to the next-hop address
- forward—Number of packets and bytes forwarded because of the CLACL
- rate-limit-profile—Name of the rate-limit profile
- committed—Number of packets and bytes within the committed rate limit
- conformed—Number of packets and bytes exceeding the committed rate limit but within the peak rate
- exceeded—Number of packets and bytes exceeding the peak rate
- action—Action performed on the packets matched by the rules in the rate-limit profile
host1#show ip interface serial 2/1:28/24.1serial2/1:28/24.1 is up, line protocol is upNetwork Protocols: IPInternet address is 172.24.1.101/255.255.255.0Broadcast address is 255.255.255.255Operational MTU = 1600 Administrative MTU = 0Operational speed = 155520000 Administrative speed = 0Discontinuity Time = 14695Router advertisement = disabledAdministrative debounce-time = disabledOperational debounce-time = disabledAccess routing = disabledIn Received Packets 15, Bytes 3135In Policed Packets 0, Bytes 0In Error Packets 0In Invalid Source Address Packets 0Out Forwarded Packets 0, Bytes 0Out Scheduler Drops Packets 0, Bytes 0IP Policy input pl28241Classifier-group clacl28241X01 entry 10 packets, 0 bytesfilterClassifier-group clacl28241X02 entry 11 packets, 202 bytesfilterClassifier-group clacl28241X03 entry 11 packets, 203 bytesfilterClassifier-group clacl28241X04 entry 11 packets, 204 bytesfilterClassifier-group clacl28241X05 entry 11 packets, 205 bytesfilterExample 2 host1#show ip interface serial 2/1:2/1.101serial2/1:2/1.101 is up, line protocol is upNetwork Protocols: IPInternet address is 192.1.2.101/255.255.255.0Broadcast address is 255.255.255.255Operational MTU = 1600 Administrative MTU = 0Router advertisement = disabledAdministrative debounce-time = disabledOperational debounce-time = disabledAccess routing = disabledIn Received Packets 464, Bytes 686788In Policed Packets 0, Bytes 0In Error Packets 0In Invalid Source Address Packets 0Out Forwarded Packets 350, Bytes 256728Out Scheduler Drops Packets 0, Bytes 0Policy input pl02001classifier-group clacl02001 entry 11 packets, 1596 bytesnext-hop 192.2.2.201classifier-group clacl02001 entry 2rate-limit-profile rlp02001committed: 1 packets, 1596 bytes action: dropconformed: 2 packets, 1016 bytes action: dropexceeded: 89 packets, 140956 bytes action: dropclassifier-group clacl02002 entry 198 packets, 144716 bytesnext-hop 192.2.2.201classifier-group clacl02002 entry 2rate-limit-profile rlp02002committed: 98 packets, 144716 bytes action: dropconformed: 0 packets, 0 bytes action: dropexceeded: 0 packets, 0 bytes action: dropclassifier-group clacl02003 entry 115 packets, 20340 bytesnext-hop 192.2.2.201classifier-group clacl02004 entry 120 packets, 25440 bytesnext-hop 192.2.2.201classifier-group clacl02005 entry 120 packets, 30440 bytesnext-hop 192.2.2.201Example 3 If you have enabled policy statistics and baselining, consider the difference in standard and baselined statistics. First display standard policy statistics:
host1#show ip interface atm 9/1.1Policy output 2egressclassifier-group claclWst10 entry 198 packets, 12544 bytesforwardNow display baselined statistics:
host1#show ip interface atm 9/1.1 deltaPolicy output 2egressclassifier-group claclWst10 entry 110 packets, 1280 bytesforwardshow ipv6 interface
- Use to display detailed or summary information, including policy and classifier information, for a particular IPv6 interface or for all interfaces.
- The default for the show ipv6 interface command is all interface types and all interfaces.
- Use the brief or detail keywords with the show ipv6 interface command to display different levels of information.
- Field descriptions
- Description—Optional description for the interface or address specified
- Network Protocols—Network protocols configured on this interface
- Link local address—Local IPv6 address of this interface
- Internet address—External address of this interface
- Operational MTU—Value of the MTU
- Administrative MTU—Value of the MTU if it has been administratively overridden using the configuration
- Operational speed—Speed of the interface
- Administrative speed—Value of the speed if it has been administratively overridden using the configuration
- Creation type—Method by which the interface was created (static or dynamic)
- ND reachable time—Amount of time (in milliseconds) that the neighbor is expected to remain reachable
- ND duplicate address detection attempts—Number of times that the router attempts to determine a duplicate address
- ND neighbor solicitation retransmission interval—Interval in which the router retransmits neighbor solicitations
- ND proxy—Indicates whether the router will reply to solicitations on behalf of a known neighbor
- ND RA source link layer—Indicates whether the RA includes the link layer
- ND RA interval—Interval (in seconds) of the neighbor discovery router advertisement
- ND RA lifetime—Lifetime (in seconds) of the neighbor discovery router advertisement
- ND RA managed flag—State of the neighbor discovery router advertisement managed flag
- ND RA other config flag—State of the neighbor discovery router advertisement other config flag
- ND RA advertising prefixes—Configured advertisement prefixes for neighbor discovery router advertisement
- In Received Packets, Bytes—Total number of packets and bytes received on this interface
- Unicast Packets, Bytes—Unicast packets and bytes received on the IPv6 interface; link-local received multicast packets (non-multicast-routed frames) are counted as unicast packets
- Multicast Packets, Bytes—Multicast packets and bytes received on the IPv6 interface, which are then multicast-routed and counted as multicast packets
- In Policed Packets—Packets that were received and dropped because of rate limits
- In Invalid Source Address Packets—Packets received with invalid source address (for example, spoofed packets)
- In Error Packets—Number of packets received with errors
- In Discarded Packets—Packets received that were discarded for reasons other than rate limits, errors, and invalid source address
- Unicast Packets, Bytes—Unicast packets and bytes that were sent from this interface
- Multicast Routed Packets, Bytes—Multicast packets and bytes that were sent from this interface
- Out Scheduler Dropped Packets, Bytes—Number of outbound packets and bytes dropped by the scheduler
- Out Policed Packets, Bytes—Number of outbound packets and bytes dropped because of rate limits
- Out Discarded Packets—Number of outbound packets that were discarded for reasons other than those dropped by the scheduler and those dropped because of rate limits
- rate-limit-profile—Name of the profile
- classifier-group entry—Entry index
- Committed—Number of packets and bytes that conform to the committed access rate
- Conformed—Number of packets and bytes that exceed the committed access rate but conform to the peak access rate
- Exceeded—Number of packets and bytes that exceed the peak access rate
- Queue length—Number of bytes in the queue
- Dropped committed packets, bytes—Total number of committed packets and bytes dropped by this interface
- Dropped conformed packets, bytes—Total number of conformed packets and bytes dropped by this interface
- Dropped exceeded packets, bytes—Total number of exceeded packets and bytes dropped by this interface
host1#show ipv6 interface FastEthernet 9/0.6FastEthernet9/0.6 line protocol VlanSub is up, ipv6 is upDescription: IPv6 interface in Virtual Router Hop6Network Protocols: IPv6Link local address: fe80::90:1a00:740:31cdInternet address: 2001:db8:1::/48Operational MTU 1500 Administrative MTU 0Operational speed 100000000 Administrative speed 0Creation type StaticND reachable time is 3600000 millisecondsND duplicate address detection attempts is 100ND neighbor solicitation retransmission interval is 1000 millisecondsND proxy is enabledND RA source link layer is advertisedND RA interval is 200 seconds, lifetime is 1800 secondsND RA managed flag is disabled, other config flag is disabledND RA advertising prefixes configured on interfaceIn Received Packets 0, Bytes 0Unicast Packets 0, Bytes 0Multicast Packets 0, Bytes 0In Total Dropped Packets 0, Bytes 0In Policed Packets 0In Invalid Source Address Packets 0In Error Packets 0In Discarded Packets 0Out Forwarded Packets 8, Bytes 768Unicast Packets 8, Bytes 768Multicast Routed Packets 0, Bytes 0Out Total Dropped Packets 5, Bytes 0Out Scheduler Dropped Packets 0, Bytes 0Out Policed Packets 0Out Discarded Packets 5IPv6 policy input ipv6InPol25rate-limit-profile Rlp2Mb classifier-group clgA entry 1Committed: 0 packets, 0 bytesConformed: 0 packets, 0 bytesExceeded: 0 packets, 0 bytesrate-limit-profile Rlp8MbCommitted: 0 packets, 0 bytesConformed: 0 packets, 0 bytesExceeded: 0 packets, 0 bytesIPv6 policy output ipv6PolOut2rate-limit-profile RlpOutA classifier-group clgB entry 1Committed: 0 packets, 0 bytesConformed: 0 packets, 0 bytesExceeded: 0 packets, 0 bytesrate-limit-profile RlpOutBCommitted: 0 packets, 0 bytesConformed: 0 packets, 0 bytesExceeded: 0 packets, 0 bytesIPv6 policy local-input ipv6PolLocIn5rate-limit-profile Rlp1Mb classifier-group clgC entry 1Committed: 0 packets, 0 bytesConformed: 0 packets, 0 bytesExceeded: 0 packets, 0 bytesrate-limit-profile Rlp5MbCommitted: 0 packets, 0 bytesConformed: 0 packets, 0 bytesExceeded: 0 packets, 0 bytesqueue 0: traffic class best-effort, bound to ipv6 FastEthernet9/0.6Queue length 0 bytesForwarded packets 0, bytes 0Dropped committed packets 0, bytes 0Dropped conformed packets 0, bytes 0Dropped exceeded packets 0, bytes 0show mpls l2transport interface
- Use to display status and configuration information about MPLS Layer 2 interfaces.
- When the keyword l2transport is specified, only Layer 2 circuits for the specified interface are displayed.
- Field descriptions
- Interface—Specifier and status of each interface
- base-LSP/remote-addr—Identifies either the tunnel that is selected to forward the traffic or the address of the router at the other end
- group-id—Group ID number for the interface
- vc-id—VC ID number for the interface
- mtu—Maximum transmission unit for the interface
- state/in/out-label—Status of the Layer 2-over-MPLS connection or the incoming/outgoing VC label
- Mpls Statistics
- pkts—Number of packets received or sent
- hcPkts—Number of high-capacity (64-bit) packets received or sent
- octets—Number of octets received or sent
- hcOctets—Number of high-capacity (64-bit) octets received or sent
- errors—Number of packets that are dropped for some reason at receipt or before being sent
- discardPkts—Number of packets that are discarded due to lack of buffer space at receipt or before being sent
- Queue length—Number of bytes in queue
- Forwarded packets, bytes—Total number of packets and bytes forwarded by this interface
- Dropped committed packets, bytes—Total number of committed packets and bytes dropped by this interface
- Dropped conformed packets, bytes—Total number of conformed packets and bytes dropped by this interface
- Dropped exceeded packets, bytes—Total number of exceeded packets and bytes dropped by this interface
- MPLS policy—Type (input, output) and name of policy
- classifier-group—Name of a CLACL attached to the interface and number of entry
- rate-limit-profile—Name of profile
- Committed—Number of packets and bytes conforming to the committed access rate
- Conformed—Number of packets and bytes that exceed the committed access rate but conform to the peak access rate
- Exceeded—Number of packets and bytes exceeding the peak access rate
host1#show mpls l2transport interfaceFastEthernet9/0.1routed to 222.9.1.3 on base LSP tun mpls:lsp-de090100-24-37group-id 2 vc-id 900001 mtu 1500State UPIn Label 48 on stack0 pkts, 0 hcPkts, 0 octets0 hcOctets, 0 errors, 0 discardPktsOut Label 49 on tun mpls:lsp-de090100-24-370 pkts, 0 hcPkts, 0 octets0 hcOctets, 0 errors, 0 discardPktsqueue 0: traffic class best-effort, bound to atm-vc ATM1/0.1Queue length 0 bytesForwarded packets 0, bytes 0Dropped committed packets 0, bytes 0Dropped conformed packets 0, bytes 0Dropped exceeded packets 0, bytes 0MPLS policy input mplsInputPolicyclassifier-group claclWst50 entry 10 packets, 0 bytesrate-limit-profile rlpcommitted: 0 packets, 0 bytes, action: transmitconformed: 0 packets, 0 bytes, action: transmitexceeded: 0 packets, 0 bytes, action dropMPLS policy output mplsOutputPolicyclassifier-group claclWst75 entry 10 packets, 0 bytesrate-limit-profile rlpcommitted: 0 packets, 0 bytes, action: transmitconformed: 0 packets, 0 bytes, action: transmitexceeded: 0 packets, 0 bytes, action: dropshow policy-list
- Use to display information about policy lists.
- Field descriptions—Fields displayed vary depending on the type of policy and the rules assigned to the policy:
- Policy—Name of the policy list.
- Administrative state—For SNMP use; goes to enable 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 disabled and enabled.
- Reference count—Number of attachments to interfaces or profiles.
- Referenced by interface(s)—List of interfaces to which policy is attached; indicates whether the attachment is at input or output of interface.
- Referenced by profile(s)—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.
- Classifier control list—Name of the classifier control list containing policy rules and the precedence assigned to the classifier control list.
- Statistics—Enabled, disabled.
- Rule types are:
- filter—Filter 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
host1#show policy-listPolicy Table------ -----IP Policy routeForABCCorpAdministrative state: enableReference count: 0Classifier control list: ipCLACL10, precedence 75forwardVirtual-router: defaultList: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 5mark tos 125rate-limit-profile ipRLP25Classifier control list: ipCLACL20, precedence 125filterIPv6 Policy routeForIPv6Administrative state: enableReference count: 0Classifier control list: ipv6tc67, precedence 75color redmark tc-precedence 7Frame relay Policy frOutputPolicyAdministrative state: enableReference count: 0Classifier control list: frMatchDeSet, precedence 100mark-de 1Frame relay Policy frInputPolicyAdministrative state: enableReference count: 0Classifier control list: frMatchDeSet, precedence 100color redGRE Tunnel Policy routeGre50Administrative state: enableReference count: 0Classifier control list: gre8, precedence 150color redmark dsfield 20filterL2TP Policy routeForl2tpAdministrative state: enableReference count: 0Classifier control list: *, precedence 100color redrate-limit-profile l2tpRLP20MPLS Policy routeForMplsAdministrative state: enableReference count: 0Classifier control list: *, precedence 200mark-exp 2 mask 7rate-limit-profile mplsRLP5VLAN Policy routeForVlanAdministrative state: enableReference count: 0Classifier control list: lowLatencyLowDrop, precedence 100traffic-class lowLatencyLowDropcolor greenmark-user-priority 7Classifier control list: lowLatency, precedence 100traffic-class lowLatency (suspended)Classifier control list: excellentEffort, precedence 100traffic-class excellentEffortClassifier control list: bestEffort, precedence 100traffic-class bestEffortshow rate-limit-profile
- Rate-Limit-Profile—Name of the rate-limit profile
- Profile Type—One-rate or two-rate profile
- Reference Count—Number of policy lists that reference this rate-limit profile
- Committed rate—Target rate for the traffic, in bits per second
- Committed burst—Amount of bandwidth allocated to accommodate bursty traffic, in bytes
- Excess burst—Amount of bandwidth allocated to accommodate a packet in progress when the rate is in excess of the burst
- Peak rate—Amount of bandwidth allocated to accommodate traffic flow in excess of the committed rate, in bits per second
- Peak burst—Amount of bandwidth allocated to accommodate bursty traffic in excess of the peak rate, in bytes
- Mask—Value of mask applied to ToS byte in IP packet header
- Committed rate action—Policy action (drop, transmit, or mark) taken when traffic flow does not exceed the committed rate
- Conformed rate action—Policy action (drop, transmit, or mark) taken when traffic flow exceeds the committed rate but remains below the peak rate
- Exceeded rate action—Policy action (drop, transmit, or mark) taken when traffic flow exceeds the peak rate
host1#show rate-limit-profileRate Limit Profile Table---- ----- ------- -----IP Rate-Limit-Profile: rlpProfile Type: one-rateReference count: 0Committed rate: 0Committed burst: 8192Excess burst: 0Mask: 255Committed rate action: transmitConformed rate action: transmitExceeded rate action: dropIP Rate-Limit-Profile: rlpProfile Type: two-rateReference count: 0Committed rate: 0Committed burst: 8192Peak rate: 0Peak burst: 8192Mask: 255Committed rate action: transmitConformed rate action: transmitExceeded rate action: dropL2TP Rate-Limit-Profile: L2tpRlpProfile Type: two-rateReference count: 0Committed rate: 0Committed burst: 8192Peak rate: 0Peak burst: 8192Committed rate action: transmitConformed rate action: transmitExceeded rate action: dropshow secure policy-list
- Use to display information about secure policy lists, which are used for packet mirroring.
- You must have CLI access level 13 or above to use this command; the level can be modified by an administrator.
- Field descriptions
- Policy—Type (IP or L2TP) and name of the policy list
- Administrative state—Set to enable when the policy list is created.
- Reference count—Number of attachments to interfaces or profiles
- Classifier control list—Name of the classifier control list, which is always *; (contains mirror policy rule and has precedence value to determine order within policy)
- precedence—Precedence assigned to the classifier control list
- mirror—Mirror action
- analyzer-ip-address—IP address of analyzer device
- analyzer-virtual-router—Virtual router where the analyzer interface is configured
- analyzer-udp-port—UDP port used to communicate with analyzer device
- mirror-id—Unique identifier of the mirrored session
- session-id—Unique identifier of the user session
NOTE: A status of unreachable after the session-id indicates that the analyzer interface is either not in analyzer mode or that it is in a down state.
- Referenced by interface(s)—Interfaces to which policy is attached; indicates whether the attachment is at secure input or secure output of interface; also indicates the virtual router at which the interface attachment exists
- Referenced by profile(s)—Not currently supported; always null
- statistics—Not currently supported; always disabled
host1#show secure policy-listPolicy Table------ -----Secure IP Policy secureIpPolicyAdministrative state: enableReference count: 2Classifier control list: *, precedence 100mirror analyzer-ip-address 192.168.1.1 analyzer-virtual-router default analyzer-udp-port 3000 mirror-id 6789 session-id 6543Referenced by interface(s):ATM5/0.1 secure-input policy, statistics disabled, virtual-router defaultATM5/0.1 secure-output policy, statistics disabled, virtual-router defaultReferenced by profile(s):No profile referencesL2TP Secure Policy secureL2tpPolicyAdministrative state: enableReference count: 2Classifier control list: *, precedence 100mirror analyzer-ip-address 192.168.2.1 analyzer-virtual-router default analyzer-udp-port 3000 mirror-id 6789 session-id 6543 (unreachable)Referenced by interface(s):TUNNEL l2tp:1/msn.pwh.com/1 secure-input policy, statistics disabledTUNNEL l2tp:1/msn.pwh.com/1 secure-output policy, statistics disabledReferenced by profile(s):No profile referencesshow vlan subinterface
- Subinterface number—Location of the subinterface that carries the VLAN traffic
- VLAN ID—Domain number of the VLAN
- VLAN policy—Type and name of the VLAN policy
- filter—Number of packets and bytes that have been policed by the policy
host1#show vlan subinterface fastEthernet 1/0.1VLAN ID is 100VLAN policy input vlanPol1classifier-group claclVlanBos entry 15 packets, 730 bytesfilter