Riverstone Networks WICT1-12 User Manual

Page 484

Advertising
background image

20-12 Riverstone Networks RS Switch Router User Guide Release 8.0

Monitoring IP Policies

IP Policy-Based Forwarding Configuration

For example, to display information about an active IP policy called “p1”, enter the following command in Enable
mode:

Legend:

1.

The name of the IP policy.

2.

The interface where the IP policy was applied.

3.

The load distribution setting for IP-policy statements that have more than one next-hop gateway;
either first available (the default) or round-robin.

4.

The names of the profiles (created with an

acl

statement) associated with this IP policy.

5.

The source address and filtering mask of this flow.

6.

The destination address and filtering mask of this flow.

7.

For TCP or UDP, the number of the source TCP or UDP port.

8.

For TCP or UDP, the number of the destination TCP or UDP port.

9.

The TOS value in the packet.

10.

The protocol of this profile (IP, ICMP, TCP UDP).

11.

The sequence in which the statement is evaluated. IP policy statements are listed in the order they
are evaluated (lowest sequence number to highest).

12.

The rule to apply to the packets matching the profile: either permit or deny

13.

The name of the profile (ACL) of the packets to be forwarded using an IP policy.

rs# 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

Next 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







































Advertising