*B:TechPubs>config# show filter dhcp
===============================================================================
DHCP Filters
===============================================================================
Filter-Id Applied Description
-------------------------------------------------------------------------------
10 No test-dhcp-filter
-------------------------------------------------------------------------------
Num filter entries: 1
===============================================================================
*B:TechPubs>config#
*B:TechPubs>config# show filter dhcp 10
===============================================================================
DHCP Filter
===============================================================================
Filter-Id : 10 Applied : No
Entries : 0
Description : test-dhcp-filter
-------------------------------------------------------------------------------
Filter Match Criteria
-------------------------------------------------------------------------------
No Match Criteria Found
===============================================================================
*B:TechPubs>config#
A:ALA-48# show filter download-failed
============================================
Filter entries for which download failed
============================================
Filter-type Filter-Id Filter-Entry
--------------------------------------------
ip 1 10
============================================
A:ALA-48#
ip ip-filter-id embedded
[inactive
]
ip ip-filter-id associations
ip ip-filter-id type
entry-type
ip ip-filter-id counters
[type
entry-type]
ip ip-filter-id entry
entry-id counters
ip ip-filter-id entry
entry-id [detail
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
OK—embedding operation successful, if any entries are overwritten this will also be indicated.
Failed—embedding failed, the reason is displayed (out of resources).
|
A:ALA-49# show filter ip
===============================================================================
Configured IP Filters Total: 2
===============================================================================
Filter-Id Scope Applied Description
-------------------------------------------------------------------------------
5 Template Yes
6 Template Yes
===============================================================================
Host Common IP Filters Total: 2
===============================================================================
Filter-Id Description
-------------------------------------------------------------------------------
5:P4 Auto-created PCC-Rule Ingress Filter
6:P5 Auto-created PCC-Rule Egress Filter
===============================================================================
Num IP filters: 4
===============================================================================
A:ALA-49#
*A:Dut-C>config>filter# show filter ip
===============================================================================
IP Filters Total: 2
===============================================================================
Filter-Id Scope Applied Description
-------------------------------------------------------------------------------
10001 Template Yes
fSpec-1 Template Yes BGP FlowSpec filter for the Base router
-------------------------------------------------------------------------------
Num IP filters: 2
===============================================================================
*A:Dut-C>config>filter# show filter ip embedded
================================================
IP Filter embedding
================================================
In From Priority Inserted Status
----------------------------------------------------------------------------------
10 2 50 1/1 OK
1 100 1/2 OK- 1 entry overwritten
20 2 100 0/5 Failed – out of resources
================================================
*A:Dut-C>config>filter#
show filter ip "5:P4"
===============================================================================
IP Filter
===============================================================================
Filter Id : 5:P4 Applied : Yes
Scope : Template Def. Action : Forward
System filter: Unchained
Radius Ins Pt: n/a
CrCtl. Ins Pt: n/a
RadSh. Ins Pt: n/a
PccRl. Ins Pt: 40000 (size 10000)
Entries : 0
PccRl Entries: 11
Description : Auto-created PCC-Rule Ingress Filter
-------------------------------------------------------------------------------
Filter Match Criteria : IP
-------------------------------------------------------------------------------
Entry : 40000 - inserted on ingress by PCC-Rule
Description : Inserted (ingress) entry for pcc-rule RULE_ingress_DROP
Log Id : n/a
Src. IP : 0.0.0.0/0
Src. Port : n/a
Dest. IP : 75.24.24.0/32
Dest. Port : n/a
Protocol : 6 Dscp : cp60
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Src Route Opt : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Option-pres : Off
Egress PBR : Undefined
Match action : Drop
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
Entry : 40001 - inserted on ingress by PCC-Rule
Description : Inserted (ingress) entry for pcc-rule RULE_ingress_FC_HTTP
Log Id : n/a
Src. IP : 0.0.0.0/0
Src. Port : n/a
Dest. IP : 75.24.24.4/32
Dest. Port : n/a
Protocol : 6 Dscp : cp60
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Src Route Opt : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Option-pres : Off
Egress PBR : Undefined
Match action : HTTP-Redirect (http://pcc.portal.com/RULE_ingress_FC_HTTP)
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
Entry : 40002 - inserted on ingress by PCC-Rule
Description : Inserted (ingress) entry for pcc-rule RULE_ingress_FC_RDR
Log Id : n/a
Src. IP : 0.0.0.0/0
Src. Port : n/a
Dest. IP : 75.24.24.5/32
Dest. Port : n/a
Protocol : 6 Dscp : cp60
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Src Route Opt : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Option-pres : Off
Egress PBR : Undefined
Match action : Forward
Next Hop : 10.10.10.10 (Indirect)
PBR Down Act : Drop (entry-default)
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
…
===============================================================================
show filter ip "5:P4" associations
===============================================================================
IP Filter
===============================================================================
Filter Id : 5:P4 Applied : Yes
Scope : Template Def. Action : Forward
System filter: Unchained
Radius Ins Pt: n/a
CrCtl. Ins Pt: n/a
RadSh. Ins Pt: n/a
PccRl. Ins Pt: 40000 (size 10000)
Entries : 0
PccRl Entries: 11
Description : Auto-created PCC-Rule Ingress Filter
-------------------------------------------------------------------------------
Filter Association : IP
-------------------------------------------------------------------------------
Subscriber Hosts
- Sub : 1/1/3:1.1|00:00:00:00:00:01 (Ingress)
- sap : 1/1/3:1.1
- IP Address : 22.1.0.1
-------------------------------------------------------------------------------
Filter associated with IOM: 1
===============================================================================
A:ALA-49>config>filter# show filter ip 3
===============================================================================
IP Filter
===============================================================================
Filter Id : 3 Applied : Yes
Scope : Template Def. Action : Drop
Entries : 1
-------------------------------------------------------------------------------
Filter Match Criteria : IP
-------------------------------------------------------------------------------
Entry : 10
Log Id : n/a
Src. IP : 10.1.1.1/24 Src. Port : None
Dest. IP : 0.0.0.0/0 Dest. Port : None
Protocol : 2 Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
TCP-syn : Off TCP-ack : Off
Match action : Drop
Ing. Matches : 0 Egr. Matches : 0
===============================================================================
A:ALA-49>config>filter#
*A:Dut-C>config>filter# show filter ip fSpec-1 associations
===============================================================================
IP Filter
===============================================================================
Filter Id : fSpec-1 Applied : Yes
Scope : Template Def. Action : Forward
Radius Ins Pt: n/a
CrCtl. Ins Pt: n/a
Entries : 2 (insert By Bgp)
Description : BGP FlowSpec filter for the Base router
-------------------------------------------------------------------------------
Filter Association : IP
-------------------------------------------------------------------------------
Service Id : 1 Type : IES
- SAP 1/1/3:1.1 (merged in ip-fltr 10001)
===============================================================================
*A:Dut-C>config>filter#
*A:Dut-C>config>filter# show filter ip 10001
===============================================================================
IP Filter
===============================================================================
Filter Id : 10001 Applied : Yes
Scope : Template Def. Action : Drop
Radius Ins Pt: n/a
CrCtl. Ins Pt: n/a
Entries : 1
BGP Entries : 2
Description : (Not Specified)
-------------------------------------------------------------------------------
Filter Match Criteria : IP
-------------------------------------------------------------------------------
Entry : 1
Description : (Not Specified)
Log Id : n/a
Src. IP : 0.0.0.0/0 Src. Port : None
Dest. IP : 0.0.0.0/0 Dest. Port : None
Protocol : 6 Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Option-present : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Match action : Forward
Next Hop : Not Specified
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
Entry : fSpec-1-32767 - inserted by BGP FLowSpec
Description : (Not Specified)
Log Id : n/a
Src. IP : 0.0.0.0/0 Src. Port : None
Dest. IP : 0.0.0.0/0 Dest. Port : None
Protocol : 6 Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Option-present : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Match action : Drop
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
Entry : fSpec-1-49151 - inserted by BGP FLowSpec
Description : (Not Specified)
Log Id : n/a
Src. IP : 0.0.0.0/0 Src. Port : None
Dest. IP : 0.0.0.0/0 Dest. Port : None
Protocol : 17 Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Option-present : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Match action : Drop
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
===============================================================================
*A:Dut-C>config>filter#
===============================================================================
Configured IP Filters Total: 4
===============================================================================
Filter-Id Scope Applied Description
-------------------------------------------------------------------------------
1 Template No
5 Exclusive No
10 Template Yes
100 Embedded N/A
===============================================================================
System IP Filters Total: 1
===============================================================================
Filter-Id Description
-------------------------------------------------------------------------------
_tmnx_ofs_test of-switch 'test' embedded filter
-------------------------------------------------------------------------------
Num IP filters: 5
==============================================================================
*A:bksim4001>show>filter# ip _tmnx_ofs_test
===============================================================================
IP Filter
===============================================================================
Filter Id : _tmnx_ofs_test Applied : No
Scope : Embedded Def. Action : Drop
Radius Ins Pt: n/a
CrCtl. Ins Pt: n/a
RadSh. Ins Pt: n/a
Entries : 1
Description : of-switch 'test' embedded filter
-------------------------------------------------------------------------------
Filter Match Criteria : IP
-------------------------------------------------------------------------------
Entry : 1000
Description : (Not Specified)
Log Id : n/a
Src. IP : 0.0.0.0/0
Src. Port : n/a
Dest. IP : 0.0.0.0/0
Dest. Port : n/a
Protocol : Undefined Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Src Route Opt : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Option-pres : Off
Match action : Drop
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
A:ALA-49# show filter ip 10
===============================================================================
IP Filter
===============================================================================
Filter Id : 10 Applied : No
Scope : Template Def. Action : Drop
Entries : 2
-------------------------------------------------------------------------------
Filter Match Criteria : IP
-------------------------------------------------------------------------------
Entry : 1010
time-range : day Cur. Status : Inactive
Log Id : n/a
Src. IP : 0.0.0.0/0 Src. Port : None
Dest. IP : 10.10.100.1/24 Dest. Port : None
Protocol : Undefined Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Option-present : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Match action : Forward
Next Hop : 138.203.228.28
Ing. Matches : 0 Egr. Matches : 0
Entry : 1020
time-range : night Cur. Status : Active
Log Id : n/a
Src. IP : 0.0.0.0/0 Src. Port : None
Dest. IP : 10.10.1.1/16 Dest. Port : None
Protocol : Undefined Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Option-present : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Match action : Forward
Next Hop : 172.22.184.101
Ing. Matches : 0 Egr. Matches : 0
===============================================================================
A:ALA-49#
A:ALA-49# show filter ip 1 associations
===============================================================================
IP Filter
===============================================================================
Filter Id : 1 Applied : Yes
Scope : Template Def. Action : Drop
Entries : 1
-------------------------------------------------------------------------------
Filter Association : IP
-------------------------------------------------------------------------------
Service Id : 1001 Type : VPLS
- SAP 1/1/1:1001 (Ingress)
Service Id : 2000 Type : IES
- SAP 1/1/1:2000 (Ingress)
===============================================================================
Filter Match Criteria : IP
-------------------------------------------------------------------------------
Entry : 10
Log Id : n/a
Src. IP : 10.1.1.1/24 Src. Port : None
Dest. IP : 0.0.0.0/0 Dest. Port : None
Protocol : 2 Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
Fragment : Off Option-present : Off
Sampling : Off Int. Sampling : On
IP-Option : 0/0 Multiple Option: Off
TCP-syn : Off TCP-ack : Off
Match action : Drop
Ing. Matches : 0 Egr. Matches : 0
===============================================================================
A:ALA-49#
A:ALA-49# show filter ip 160 associations
===============================================================================
IP Filter
===============================================================================
Filter Id : 160 Applied : No
Scope : Template Def. Action : Drop
Entries : 0
-------------------------------------------------------------------------------
Filter Association : IP
-------------------------------------------------------------------------------
Tod-suite "english_suite"
- ingress, time-range "day" (priority 5)
===============================================================================
A:ALA-49#
*A:ALA-48# show filter ipv6 100 counters
===============================================================================
IPv6 Filter
===============================================================================
Filter Id : 100 Applied : No
Scope : Template Def. Action : Forward
Entries : 1
Description : IPv6 filter configuration
-------------------------------------------------------------------------------
Filter Match Criteria : IPv6
-------------------------------------------------------------------------------
Entry : 10
Ing. Matches : 9788619 pkts (978861900 bytes)
Egr. Matches : 9788619 pkts (978861900 bytes)
===============================================================================
*A:ALA-48#
ipv6 ipv6-filter-id embedded
[inactive
]
ipv6 ipv6-filter-id [detail
]
ipv6 ipv6-filter-id associations
ipv6 ipv6-filter-id type
entry-type
ipv6 ipv6-filter-id counters
[type
entry-type]
ipv6 ipv6-filter-id entry
entry-id counters
A:ALA-48# show filter ipv6
===============================================================================
IP Filters
===============================================================================
Filter-Id Scope Applied Description
-------------------------------------------------------------------------------
100 Template Yes test
200 Exclusive Yes
-------------------------------------------------------------------------------
Num IPv6 filters: 2
===============================================================================
A:ALA-48# show filter ipv6 embedded
================================================
IP Filter embedding
================================================
In From Priority Inserted Status
----------------------------------------------------------------------------------
10 2 50 1/1 OK
1 100 1/2 OK- 1 entry overwritten
20 2 100 0/5 Failed – out of resources
================================================
A:ALA-48#
===============================================================================
Configured IP Filters Total: 4
===============================================================================
Filter-Id Scope Applied Description
-------------------------------------------------------------------------------
1 Template No
5 Exclusive No
10 Template Yes
100 Embedded N/A
===============================================================================
System IP Filters Total: 1
===============================================================================
Filter-Id Description
-------------------------------------------------------------------------------
_tmnx_ofs_test of-switch 'test' embedded filter
-------------------------------------------------------------------------------
Num IP filters: 5
==============================================================================
A:ALA-48# show filter ipv6 100
===============================================================================
IPv6 Filter
===============================================================================
Filter Id : 100 Applied : Yes
Scope : Template Def. Action : Forward
Entries : 1
Description : test
-------------------------------------------------------------------------------
Filter Match Criteria : IPv6
-------------------------------------------------------------------------------
Entry : 10
Log Id : 101
Src. IP : ::/0 Src. Port : None
Dest. IP : ::/0 Dest. Port : None
Next Header : Undefined Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
TCP-syn : Off TCP-ack : Off
Match action : Drop
Ing. Matches : 0 Egr. Matches : 0
===============================================================================
A:ALA-48#
A:ALA-48# show filter ipv6 1 associations
===============================================================================
IPv6 Filter
===============================================================================
Filter Id : 1 Applied : Yes
Scope : Template Def. Action : Drop
Entries : 1
-------------------------------------------------------------------------------
Filter Association : IPv6
-------------------------------------------------------------------------------
Service Id : 2000 Type : IES
- SAP 1/1/1:2000 (Ingress)
===============================================================================
Filter Match Criteria : IPv6
-------------------------------------------------------------------------------
Entry : 10
Log Id : 101
Src. IP : ::/0 Src. Port : None
Dest. IP : ::/0 Dest. Port : None
Next Header : Undefined Dscp : Undefined
ICMP Type : Undefined ICMP Code : Undefined
TCP-syn : Off TCP-ack : Off
Match action : Drop
Ing. Matches : 0 Egr. Matches : 0
===============================================================================
A:ALA-48#
A:ALA-48# show filter ipv6 8 counters
===============================================================================
IPv6 Filter
===============================================================================
Filter Id : 8 Applied : Yes
Scope : Template Def. Action : Forward
Entries : 4
Description : Description for Ipv6 Filter Policy id # 8
-------------------------------------------------------------------------------
Filter Match Criteria : IPv6
-------------------------------------------------------------------------------
Entry : 5
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
Entry : 6
Ing. Matches : 0 pkts
Egr. Matches : 0 pkts
Entry : 8
Ing. Matches : 160 pkts (14400 bytes)
Egr. Matches : 80 pkts (6880 bytes)
Entry : 10
Ing. Matches : 80 pkts (7200 bytes)
Egr. Matches : 80 pkts (6880 bytes)
====================================================================================A:ALA-48#
log log-id [match
string] [bindings]
If the optional keyword match and
string parameter are given, the command displays the given filter log from the first occurence of the given string.
2007/04/13 16:23:09 Filter: 100:100 Desc: Entry-100
Interface: to-ser1 Action: Forward
Src MAC: 04-5b-01-01-00-02 Dst MAC: 04-5d-01-01-00-02 EtherType: 0800
Src IP: 10.10.0.1:646 Dst IP: 10.10.0.4:49509 Flags: TOS: c0
Protocol: TCP Flags: ACK
2007/04/13 16:23:10 Filter: 100:100 Desc: Entry-100
Interface: to-ser1 Action: Forward
Src MAC: 04-5b-01-01-00-02 Dst MAC: 04-5d-01-01-00-02 EtherType: 0800
Src IP: 10.10.0.1:646 Dst IP: 10.10.0.3:646 Flags: TOS: c0
Protocol: UDP
2007/04/13 16:23:12 Filter: 100:100 Desc: Entry-100
Interface: to-ser1 Action: Forward
Src MAC: 04-5b-01-01-00-02 Dst MAC: 01-00-5e-00-00-05 EtherType: 0800
Src IP: 10.10.13.1 Dst IP: 224.0.0.5 Flags: TOS: c0
Protocol: 89
Hex: 02 01 00 30 0a 0a 00 01 00 00 00 00 ba 90 00 00
00 00 00 00 00 00 00 00 ff ff ff 00 00 03 02 01
A:ALA-A>config# show filter log bindings
===============================================================================
Filter Log Bindings
===============================================================================
Total Log Instances (Allowed) : 2046
Total Log Instances (In Use) : 0
Total Log Bindings : 0
-------------------------------------------------------------------------------
Type FilterId EntryId Log Instantiated
-------------------------------------------------------------------------------
No Instances found
===============================================================================
A:ALA-A>config#
A:ALA-A>config# show filter log 190
===============================================================================
Summary Log[190] Crit1: SrcAddr TotCnt: 723 ArpCnt: 83
Mac 8 06-06-06-06-06-06
Mac 8 06-06-06-06-06-05
Mac 8 06-06-06-06-06-04
Mac 8 06-06-06-06-06-03
Mac 8 06-06-06-06-06-02
Ip 16 6.6.6.1
Ip 16 6.6.6.2
Ip 16 6.6.6.3
Ip 16 6.6.6.4
Ip 8 6.6.6.5
Ipv6 8 3FE:1616:1616:1616:1616:1616::
Ipv6 8 3FE:1616:1616:1616:1616:1616:FFFF:FFFF
Ipv6 8 3FE:1616:1616:1616:1616:1616:FFFF:FFFE
Ipv6 8 3FE:1616:1616:1616:1616:1616:FFFF:FFFD
Ipv6 8 3FE:1616:1616:1616:1616:1616:FFFF:FFFC
===============================================================================
A:ALA-A
mac [mac-filter-id [associations
| counters
] [entry
entry-id]]
===============================================================================
Mac Filter : 200
===============================================================================
Filter Id : 200 Applied : No
Scope : Exclusive D. Action : Drop
Description : Forward SERVER sourced packets
-------------------------------------------------------------------------------
Filter Match Criteria : Mac
-------------------------------------------------------------------------------
Entry : 200 FrameType : 802.2SNAP
Description : Not Available
Src Mac : 00:00:5a:00:00:00 ff:ff:ff:00:00:00
Dest Mac : 00:00:00:00:00:00 00:00:00:00:00:00
Dot1p : Undefined Ethertype : 802.2SNAP
DSAP : Undefined SSAP : Undefined
Snap-pid : Undefined ESnap-oui-zero : Undefined
Match action : Forward
Ing. Matches : 0 Egr. Matches : 0
Entry : 300 (Inactive) FrameType : Ethernet
Description : Not Available
Src Mac : 00:00:00:00:00:00 00:00:00:00:00:00
Dest Mac : 00:00:00:00:00:00 00:00:00:00:00:00
Dot1p : Undefined Ethertype : Ethernet
DSAP : Undefined SSAP : Undefined
Snap-pid : Undefined ESnap-oui-zero : Undefined
Match action : Default
Ing. Matches : 0 Egr. Matches : 0
===============================================================================
The associations for a filter ID will be displayed if the associations keyword is specified. The assocation information is appended to the filter information. The following table describes the fields in the appended associations output.
A:ALA-49# show filter mac 3 associations
===============================================================================
Mac Filter
===============================================================================
Filter ID : 3 Applied : Yes
Scope : Template Def. Action : Drop
Entries : 1
-------------------------------------------------------------------------------
Filter Association : Mac
-------------------------------------------------------------------------------
Service Id : 1001 Type : VPLS
- SAP 1/1/1:1001 (Egress)
===============================================================================
A:ALA-49#
When the counters keyword is specified, the filter entry output displays the filter matches/hit information. The following table describes the command output for the command.
A:ALA-49# show filter mac 8 counters
===============================================================================
Mac Filter
===============================================================================
Filter Id : 8 Applied : Yes
Scope : Template Def. Action : Forward
Entries : 2
Description : Description for Mac Filter Policy id # 8
-------------------------------------------------------------------------------
Filter Match Criteria : Mac
-------------------------------------------------------------------------------
Entry : 8 FrameType : Ethernet
Ing. Matches: 80 pkts (5440 bytes)
Egr. Matches: 62 pkts (3968 bytes)
Entry : 10 FrameType : Ethernet
Ing. Matches: 80 pkts (5440 bytes)
Egr. Matches: 80 pkts (5120 bytes)
li-mac [li-mac-filter-id [associations
| counters
] [entry
entry-id]]
# show li filter li-mac "testLiMacFilter"
===============================================================================
LI Mac Filter
===============================================================================
Filter Id : testLiMacFilter Associated : Yes
Entries : 4
Description : test LI Mac filter setup
-------------------------------------------------------------------------------
Filter Match Criteria : Mac
-------------------------------------------------------------------------------
Entry : 10 FrameType : Ethernet
Description : entry 10
Src Mac : 01:02:03:04:05:06 ff:ff:ff:ff:ff:ff
Dest Mac :
LI Source : Yes
Ing. Matches: 0 pkts
Egr. Matches: 0 pkts
Entry : 20 FrameType : Ethernet
Description : entry 20
Src Mac :
Dest Mac : 01:02:03:04:05:06 ff:ff:ff:ff:ff:ff
LI Source : Yes
Ing. Matches: 0 pkts
Egr. Matches: 0 pkts
Entry : 30 FrameType : Ethernet
Description : test 30
Src Mac :
Dest Mac :
LI Source : Yes
Ing. Matches: 0 pkts
Egr. Matches: 0 pkts
Entry : 50 FrameType : Ethernet
Description : entry 50
Src Mac : 00:00:01:66:00:00 00:00:0f:ff:00:00
Dest Mac :
LI Source : No
Ing. Matches: 0 pkts
Egr. Matches: 0 pkts
The associations for a filter ID will be displayed if the associations keyword is specified. The assocation information is appended to the filter information. The following table describes the fields in the appended associations output.
# show li filter li-mac "testLiMacFilter" association
===============================================================================
LI Mac Filter
===============================================================================
Filter Id : testLiMacFilter Associated : Yes
Entries : 4
Description : test LI Mac filter setup
-------------------------------------------------------------------------------
Filter Association : Mac
-------------------------------------------------------------------------------
mac filter 1
Service Id : 60 Type : VPLS
- SAP 1/1/6:7 (Ingress)
- SAP 1/1/6:9 (Egress)
When the counters keyword is specified, the filter entry output displays the filter matches/hit information. The following table describes the command output for the command.
# show li filter li-mac "testLiMacFilter" counters
===============================================================================
LI Mac Filter
===============================================================================
Filter Id : testLiMacFilter Associated : Yes
Entries : 4
Description : test LI Mac filter setup
-------------------------------------------------------------------------------
Filter Match Criteria : Mac
-------------------------------------------------------------------------------
Entry : 10
Description : entry 10
Ing. Matches: 0 pkts
Egr. Matches: 0 pkts
Entry : 20
Description : entry 20
Ing. Matches: 0 pkts
Egr. Matches: 0 pkts
Entry : 30
Description : test 30
Ing. Matches: 0 pkts
Egr. Matches: 0 pkts
Entry : 50
Description : entry 50
Ing. Matches: 0 pkts
Egr. Matches: 0 pkts
A:ALA-A>config>filter# show filter redirect-policy
===============================================================================
Redirect Policies
===============================================================================
Redirect Policy Applied Description
-------------------------------------------------------------------------------
wccp Yes
redirect1 Yes New redirect info
redirect2 Yes Test test test test
===============================================================================
ALA-A>config>filter#
ALA-A>config>filter# show filter redirect-policy redirect1
===============================================================================
Redirect Policy
===============================================================================
Redirect Policy: redirect1 Applied : Yes
Description : New redirect info
Active Dest : 10.10.10.104
-------------------------------------------------------------------------------
Destination : 10.10.10.104
-------------------------------------------------------------------------------
Description : SNMP_to_104
Admin Priority : 105 Oper Priority: 105
Admin State : Up Oper State : Up
SNMP Test : SNMP-1
Interval : 30 Timeout : 1
Drop Count : 30
Hold Down : 120 Hold Remain : 0
Last Action at : None Taken
-------------------------------------------------------------------------------
Destination : 10.10.10.105
-------------------------------------------------------------------------------
Description : another test
Admin Priority : 95 Oper Priority: 105
Admin State : Up Oper State : Down
Ping Test
Interval : 1 Timeout : 30
Drop Count : 5
Hold Down : 0 Hold Remain : 0
Last Action at : 03/19/2007 00:46:55 Action Taken : Disable
-------------------------------------------------------------------------------
Destination : 10.10.10.106
-------------------------------------------------------------------------------
Description : (Not Specified)
Admin Priority : 90 Oper Priority: 90
Admin State : Up Oper State : Down
URL Test : URL_to_Proxy
Interval : 10 Timeout : 10
Drop Count : 3
Hold Down : 0 Hold Remain : 0
Last Action at : 03/19/2007 05:04:15 Action Taken : Disable
Priority Change: 0 Return Code : 0
===============================================================================
A:ALA-A>config>filter#
A:ALA-A>show filter redirect-policy redirect1 dest 10.10.10.106
===============================================================================
Redirect Policy
===============================================================================
Redirect Policy: redirect1 Applied : Yes
Description : New redirect info
Active Dest : 10.10.10.104
-------------------------------------------------------------------------------
Destination : 10.10.10.106
-------------------------------------------------------------------------------
Description : (Not Specified)
Admin Priority : 90 Oper Priority: 90
Admin State : Up Oper State : Down
URL Test : URL_to_Proxy
Interval : 10 Timeout : 10
Drop Count : 3
Hold Down : 0 Hold Remain : 0
Last Action at : 03/19/2007 05:04:15 Action Taken : Disable
Priority Change: 0 Return Code : 0
===============================================================================
ALA-A#
*A:Dut-C>show>filter# system-filter
===============================================================================
IP system filters
===============================================================================
Filter-Id Active
-------------------------------------------------------------------------------
100 Yes
65535 No
-------------------------------------------------------------------------------
No. of IP system filters (total / active): 2 / 1
===============================================================================
===============================================================================
IPv6 system filters
===============================================================================
Filter-Id Active
-------------------------------------------------------------------------------
No Matching Entries
-------------------------------------------------------------------------------
No. of IPv6 system filters (total / active): 0 / 0
===============================================================================
*A:Dut-C>show>filter# system-filter chained-to
============================================================================
IP filters that chain to the active IP system filter
============================================================================
3 4 5 6
5:23 6:24
----------------------------------------------------------------------------
No. of IP filters that chain to the active IP system filter: 6
============================================================================
============================================================================
IPv6 filters that chain to the active IPv6 system filter
============================================================================
No Matching Entries
----------------------------------------------------------------------------
No. of IPv6 filters that chain to the active IPv6 system filter: 0
============================================================================
ip ip-filter-id [entry
entry-id] [ingress
| egress
]
ipv6 ip-filter-id [entry
entry-id] [ingress
| egress
]
mac mac-filter-id [entry
entry-id] [ingress
| egress
]
filter ip ip-filter-id entry
entry-id [interval
seconds] [repeat
repeat] [absolute
| rate
]
When the absolute keyword is specified, the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
When the rate keyword is specified, the rate-per-second for each statistic is displayed instead of the delta.
filter ipv6 ipv6-filter-id entry
entry-id [interval
seconds] [repeat
repeat] [absolute
| rate
]
When the absolute keyword is specified, the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
When the rate keyword is specified, the rate-per-second for each statistic is displayed instead of the delta.
filter mac mac-filter-id entry
entry-id [interval
seconds] [repeat
repeat] [absolute
| rate
]
When the absolute keyword is specified, the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
When the rate keyword is specified, the rate-per-second for each statistic is displayed instead of the delta.
*A:Dut-C>tools>dump>filter>resources># cpm
===========================================================================
Number of ACL filters defined on CPM
===========================================================================
Owner MAC IP IPv6 Total
---------------------------------------------------------------------------
Configuration 0 7 0 7
BGP FlowSpec 0 2 2 4
Host Common 0 2 0 2
Tms 0 1 1 2
Openflow 0 2 1 3
---------------------------------------------------------------------------
Total 0 14 4 18
===========================================================================
Available filters (except openflow): 16369
Available openflow filters: 16381
=============================================================================
Number of ACL filter entries / subentries defined on CPM
=============================================================================
Inserted by MAC IP IPv6 Total
-----------------------------------------------------------------------------
User configuration 0 21 1 22
0 21 1 22
Radius 0 0 0 0
0 0 0 0
Credit Control 0 0 0 0
0 0 0 0
BGP FlowSpec 0 0 0 0
0 0 0 0
Embedded 0 0 0 0
0 0 0 0
Radius shared host 0 2 0 2
0 2 0 2
Openflow 0 0 0 0
0 0 0 0
PCC-Rule 0 0 0 0
0 0 0 0
Other 0 0 0 0
0 0 0 0
-----------------------------------------------------------------------------
Total 0 23 1 24
0 23 1 24
=============================================================================
Available subentries (except openflow): 262120
Available openflow subentries: 262144
===============================================================================
Filters utilizing most resources (ordered by CPM entries)
===============================================================================
Type Id Entries Subentries TCAM entries
(per FlexPath)
-------------------------------------------------------------------------------
No Mac filters found
-------------------------------------------------------------------------------
Ip 100 5 5 5
Ip 65535 5 5 5
Ip 1 4 4 4
Ip 5:23 2 2 2
Ip 6:24 2 2 2
-------------------------------------------------------------------------------
Ipv6 _tmnx_tms-ing-5/1-F 1 1 1
Ipv6 fSpec-0 0 0 0
Ipv6 fSpec-2345 0 0 0
Ipv6 _tmnx_ofs_system:1 0 0 0
No more Ipv6 filters
===============================================================================
===============================================================================
Filters utilizing most resources (ordered by CPM subentries)
===============================================================================
Type Id Entries Subentries TCAM entries
(per FlexPath)
-------------------------------------------------------------------------------
No Mac filters found
-------------------------------------------------------------------------------
Ip 100 5 5 5
Ip 65535 5 5 5
Ip 1 4 4 4
Ip 5:23 2 2 2
Ip 6:24 2 2 2
-------------------------------------------------------------------------------
Ipv6 _tmnx_tms-ing-5/1-F 1 1 1
Ipv6 fSpec-0 0 0 0
Ipv6 fSpec-2345 0 0 0
Ipv6 _tmnx_ofs_system:1 0 0 0
No more Ipv6 filters
===============================================================================
*A:Dut-C>tools dump filter resources egress-pbr
===============================
Egress PBR destinations
===============================
Name Count
-------------------------------
All destinations 8
Unique destinations 4
===============================
*A:Dut-C# tools dump filter resources egress-pbr detail
===============================================================================
Unique egress PBR destinations
===============================================================================
Num Action Ref. count Parameters
-------------------------------------------------------------------------------
1 Esi L3 1 esi 00:00:00:00:00:00:00:00:00:01
ip 5.5.1.5
if VasToFromAccess
rtr 123
-------------------------------------------------------------------------------
2 Esi L3 2 esi 00:00:00:00:00:00:00:00:00:02
ip 5.5.0.5
if VasToFromNetwork
rtr 123
-------------------------------------------------------------------------------
3 Red-pol 3 name egress-pbr
-------------------------------------------------------------------------------
4 Red-pol 2 name ingress-pbr
===============================================================================
specifies that only the filter resource utilization associated with the IOM card in this slot will be displayed
*A:Dut-C>tools>dump>filter>resources># iom
=======================================================
Number of ACL filter entries used / available on IOMs
=======================================================
Slot Used Available
-------------------------------------------------------
1 11 65524
2 5 65530
3 5 65530
=======================================================
===========================================================================
Number of ACL filters and filter entries used / available on FlexPaths
===========================================================================
Slot FlexPath Dir Filters Filters MAC/IP MAC/IP IPv6 IPv6
used avail entries entries entries entries
used avail used avail
---------------------------------------------------------------------------
1 1 Ingr 2 2045 10 65526 2 28670
Egr 2 2045 5 32763 2 16382
2 1 Ingr 4 2043 7 65529 2 28670
Egr 0 2047 2 32766 2 16382
3 1 Ingr 0 2047 7 65529 2 28670
Egr 0 2047 2 32766 2 16382
===========================================================================
===============================================================================
Filters utilizing most resources (ordered by TCAM entries per FlexPath)
Only filters present on any IOM are displayed
===============================================================================
Type Id Entries Subentries TCAM entries
(per FlexPath)
-------------------------------------------------------------------------------
No Mac filters found
-------------------------------------------------------------------------------
Ip 100 5 5 5
Ip 5:23 2 2 2
Ip 6:24 2 2 2
Ip 3 1 1 1
Ip 4 1 1 1
-------------------------------------------------------------------------------
Ipv6 _tmnx_tms-ing-5/1-F 1 1 1
Ipv6 fSpec-0 0 0 0
Ipv6 fSpec-2345 0 0 0
No more Ipv6 filters
===============================================================================
specifies that only the filter resource utilization associated with this IP filter will be displayed.
*A:Dut-C>tools>dump>filter>resources># ip 100
===============================================================================
Resource utilization details for Ip filter 100
===============================================================================
CPM entries used : 5
CPM subentries used : 5
TCAM entries used (per FlexPath) : 5
Associated with IOMs : 1,2,3,4,5,6,7,8,9,10
---------------------------------------------------------------------------
Largest 5 entries
---------------------------------------------------------------------------
Entry ID Active TCAM entries
(per FlexPath)
---------------------------------------------------------------------------
3 Yes 1
4 Yes 1
5 Yes 1
6 Yes 1
100 Yes 1
---------------------------------------------------------------------------
===============================================================================
specifies that only the filter resource utilization associated with this IPv6 filter will be displayed.
*A:Dut-C>tools>dump>filter>resources># ipv6 "fSpec-0"
===============================================================================
Resource utilization details for Ipv6 filter fSpec-0
===============================================================================
CPM entries used : 0
CPM subentries used : 0
TCAM entries used (per FlexPath) : 0
Associated with IOMs : 2
---------------------------------------------------------------------------
Largest 5 entries
---------------------------------------------------------------------------
Entry ID Active TCAM entries
(per FlexPath)
---------------------------------------------------------------------------
No Matching Entries
---------------------------------------------------------------------------
===============================================================================
specifies that only the filter resource utilization associated with this IPv6 filter will be displayed.
*A:Dut-C>tools>dump>filter>resources># mac 1
===============================================================================
Resource utilization details for Mac filter 1
===============================================================================
CPM entries used : 1
CPM subentries used : 1
TCAM entries used (per FlexPath) : 1
Associated with IOMs : 1
---------------------------------------------------------------------------
Largest 5 entries
---------------------------------------------------------------------------
Entry ID Active TCAM entries
(per FlexPath)
---------------------------------------------------------------------------
1 Yes 1
No more entries defined
---------------------------------------------------------------------------
===============================================================================