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.
Options
•
input—Applies policy to data arriving at this interface before a route lookup
•
output—Applies policy to data leaving this interface
Copyright © 2010, Juniper Networks, Inc.
904
JunosE 11.2.x Command Reference Guide A to M
Содержание JUNOS OS 10.3 - XML MANAGEMENT PROTOCOL GUIDE 6-30-2010
Страница 6: ...Copyright 2010 Juniper Networks Inc vi...
Страница 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 2 x Command Reference Guide A to M...
Страница 38: ...Copyright 2010 Juniper Networks Inc xxxviii JunosE 11 2 x Command Reference Guide A to M...
Страница 40: ...Copyright 2010 Juniper Networks Inc xl JunosE 11 2 x Command Reference Guide A to M...
Страница 46: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 2 x Command Reference Guide A to M...
Страница 63: ...CHAPTER 2 A Commands 19 Copyright 2010 Juniper Networks Inc...
Страница 253: ...CHAPTER 3 B Commands 209 Copyright 2010 Juniper Networks Inc...
Страница 389: ...CHAPTER 4 C Commands 345 Copyright 2010 Juniper Networks Inc...
Страница 514: ...Copyright 2010 Juniper Networks Inc 470 JunosE 11 2 x Command Reference Guide A to M...
Страница 515: ...CHAPTER 5 D Commands 471 Copyright 2010 Juniper Networks Inc...
Страница 595: ...CHAPTER 6 E Commands 551 Copyright 2010 Juniper Networks Inc...
Страница 663: ...CHAPTER 7 F Commands 619 Copyright 2010 Juniper Networks Inc...
Страница 701: ...CHAPTER 8 G Commands 657 Copyright 2010 Juniper Networks Inc...
Страница 717: ...CHAPTER 9 H Commands 673 Copyright 2010 Juniper Networks Inc...
Страница 732: ...Copyright 2010 Juniper Networks Inc 688 JunosE 11 2 x Command Reference Guide A to M...
Страница 733: ...CHAPTER 10 I Commands 689 Copyright 2010 Juniper Networks Inc...
Страница 898: ...Mode Global Configuration Copyright 2010 Juniper Networks Inc 854 JunosE 11 2 x Command Reference Guide A to M...
Страница 1181: ...CHAPTER 11 K Commands 1137 Copyright 2010 Juniper Networks Inc...
Страница 1184: ...Copyright 2010 Juniper Networks Inc 1140 JunosE 11 2 x Command Reference Guide A to M...
Страница 1185: ...CHAPTER 12 L Commands 1141 Copyright 2010 Juniper Networks Inc...
Страница 1284: ...Mode Global Configuration Copyright 2010 Juniper Networks Inc 1240 JunosE 11 2 x Command Reference Guide A to M...
Страница 1295: ...CHAPTER 13 M Commands 1251 Copyright 2010 Juniper Networks Inc...
Страница 1476: ...Copyright 2010 Juniper Networks Inc 1432 JunosE 11 2 x Command Reference Guide A to M...
Страница 1477: ...PART 2 Index Index on page 1435 1433 Copyright 2010 Juniper Networks Inc...
Страница 1478: ...Copyright 2010 Juniper Networks Inc 1434 JunosE 11 2 x Command Reference Guide A to M...
Страница 1502: ...Copyright 2010 Juniper Networks Inc 1458 JunosE 11 2 x Command Reference Guide A to M...