Chapter 13: IP Policy-Based Forwarding Configuration Guide
198
DIGITAL GIGAswitch/Router User Reference Manual
To display IP policy information, enter the following commands in Enable mode.
For example, to display information about an active IP policy called “p1”, enter the
following command in Enable mode:
Display information about all
IP policies.
ip-policy show all
ip-policy show policy-name all
Display statistics about a
specific IP policy.
ip-policy show policy-name
<name>
Display information about all
IP policies on a specified
interface.
ip-policy show interface
<interface>
Display information about IP
policies that have been applied
to all interfaces
ip-policy show interface all
Clear statistics gathered for IP
policies.
ip-policy clear all
|
policy-name
<name>
|
all
gs/r#
ip-policy show policy-name p1
--------------------------------------------------------------------------------
IP Policy name : p1
Applied Interfaces : int1
Load Policy : first available
ACL Source IP/Mask Dest. IP/Mask SrcPort DstPort TOS Prot
--- -------------- ------------- --------- --------- --- ----
prof1 9.1.1.5/32 15.1.1.2 any any 0 IP
prof2 2.2.2.2/32 anywhere any any 0 IP
everything anywhere anywhere any any 0 IP
N ext Hop Information
- -------------------
Seq Rule ACL Cnt Action Next Hop Cnt Last
--- ---- -------- --- ----------- -------- --- ----
10 permit prof1 0 Policy Only 11.1.1.2 0 Dwn
20 permit prof2 0 Policy Last 1.1.1.1 0 Dwn
2.2.2.2 0 Dwn
3.3.3.3 0 Dwn
999 permit everything 0 Policy Only drop N/A N/A
65536 deny deny 0 N/A normal fwd N/A N/A
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
21