ip policy
Syntax
For standard policy lists in Interface Configuration mode:
ip policy { input | output | secondary-input }
policyName
[ statistics { enabled [ baseline { enabled | disabled } ] [ preserve | merge ] |
disabled [ merge ] } | merge ]
no ip policy { input | output | secondary-input } [
policyName
]
For secure policy lists in Interface Configuration mode:
ip policy { secure-input | secure-output }
policyName
[ statistics { enabled [ baseline
baselineValue
] [ preserve ] | disabled } ]
no ip policy { secure-input | secure-output }
For policy lists in Profile Configuration mode:
ip policy { input | output | secondary-input }
policyName
[ statistics { enabled | disabled } ] [ merge ]
no ip policy { input | output | secondary-input } [
policyName
]
Release Information
Command introduced before JUNOSe Release 7.1.0.
merge
keyword added in JUNOSe Release 7.2.0.
Profile Configuration mode added in JUNOSe Release 7.2.0.
Description
Assigns a policy list to the ingress or egress of an interface.
For standard policy lists, specify the
input
or
output
keyword to assign the policy
list to the ingress or egress of the interface. If you enter the
ip policy
command and
the policy list does not exist, the router inserts a default filter rule. Attaching this
policy list to an interface filters all packets on that interface.
For secure policy lists, which are used for packet mirroring, use the
secure-input
or
secure-output
keyword to assign the packet mirroring policy list to the ingress or
egress side of the interface. If you use the
ip policy
command and the secure policy
list does not exist, the router creates a secure policy list with a default mirror rule
that disables mirroring. Attaching this policy list to an interface results in no packet
mirroring.
In Profile Configuration mode, assigns the policy list to a profile, which then assigns
the policy to an interface.
In Interface Configuration mode, the
no
version removes the association between a
policy list and an interface. In Profile Configuration mode, the
no
version removes
policy reference from the profile.
892
■
ip policy
JUNOSe 11.0.x Command Reference Guide A to M
Summary of Contents for JUNOSE 11.0
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x Command Reference Guide A to M...
Page 38: ...xxxviii List of Tables JUNOSe 11 0 x Command Reference Guide A to M...
Page 44: ...2 Commands A to M JUNOSe 11 0 x Command Reference Guide A to M...
Page 62: ...20 Interface Types and Specifiers JUNOSe 11 0 x Command Reference Guide A to M...
Page 63: ...Chapter 2 A Commands 21...
Page 185: ...Mode Global Configuration Subscriber Policy Configuration arp 143 Chapter 2 A Commands...
Page 253: ...Chapter 3 B Commands 211...
Page 388: ...346 bundled group id overrides mlppp ed JUNOSe 11 0 x Command Reference Guide A to M...
Page 389: ...Chapter 4 C Commands 347...
Page 515: ...Chapter 5 D Commands 473...
Page 595: ...Chapter 6 E Commands 553...
Page 649: ...Chapter 7 F Commands 607...
Page 687: ...Chapter 8 G Commands 645...
Page 703: ...Chapter 9 H Commands 661...
Page 718: ...676 hotfix activate JUNOSe 11 0 x Command Reference Guide A to M...
Page 719: ...Chapter 10 I Commands 677...
Page 1009: ...Configuring an ICR Partition ip vrrp icr partition vlan range 967 Chapter 10 I Commands...
Page 1168: ...1126 is type JUNOSe 11 0 x Command Reference Guide A to M...
Page 1169: ...Chapter 11 K Commands 1127...
Page 1171: ...Related Topics Configuring RADIUS Based Mirroring key 1129 Chapter 11 K Commands...
Page 1173: ...Chapter 12 L Commands 1131...
Page 1273: ...Mode Global Configuration log severity 1231 Chapter 12 L Commands...
Page 1284: ...1242 lsp refresh interval JUNOSe 11 0 x Command Reference Guide A to M...
Page 1285: ...Chapter 13 M Commands 1243...
Page 1465: ...Part 2 Index Index on page 1425 Index 1423...
Page 1466: ...1424 Index JUNOSe 11 0 x Command Reference Guide A to M...