Chapter 15: IP Policy-Based Forwarding Configuration Guide

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

ssr# ip-policy show policy-name p1

--------------------------------------------------------------------------------

IP Policy name

: p1

1

 

 

 

 

 

 

Applied Interfaces : int1

2

 

 

 

 

 

Load Policy

 

: first available 3

 

 

 

 

 

4

 

 

5

 

6

7

8

9

 

10

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

 

 

 

 

 

 

 

- -------------------

 

11

12

13

 

14

15

16

 

17

18

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

19

 

 

 

 

 

 

 

 

 

 

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.IP protocol (ICMP, TCP UDP).

216

SmartSwitch Router User Reference Manual

Page 242
Image 242
Cabletron Systems 9032578-05 manual Ssr# ip-policy show policy-name p1