Cabletron Systems SmartSwitch manual Ip-policy show interface interface

Models: SmartSwitch

1 338
Download 338 pages 45.77 Kb
Page 220
Image 220

Chapter 13: IP Policy-Based Forwarding Configuration Guide

Display information about all

ip-policy show interface <interface>

IP policies on a specified

 

interface.

 

 

 

Display information about IP

ip-policy show interface all

policies that have been applied

 

to all interfaces

 

 

 

Clear statistics gathered for IP

ip-policy clear allpolicy-name <name>all

policies.

 

 

 

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

 

 

 

 

 

 

Next 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

21

 

 

 

 

 

 

 

 

 

 

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.

220

SmartSwitch Router User Reference Manual

Page 220
Image 220
Cabletron Systems SmartSwitch manual Ip-policy show interface interface