ipv6 policy { input | output } policyName
[ statistics { enabled [ baseline { enabled |
disabled } ] [ preserve | merge ] |
disabled [ merge
] } | merge ]
no ipv6 policy { input | output | secondary-input } [ policyName ]
For policy lists in Profile Configuration mode:
ipv6 policy { input | output } policyName
[ statistics { enabled | disabled } ] [ merge ]
no ipv6 policy { input | output | secondary-input } [ policyName ]
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.
In Interface Configuration mode, assigns a policy list to the ingress or egress of an interface. If you enter the ipv6 policy command and the policy list does not exist, the router creates a policy list with no rules, the default. When a policy list does not have rules, the router inserts a default filter rule. Attaching this policy list to an interface filters all packets on that interface. You must specify the input or output keyword to assign the policy list to the ingress or egress of the interface.
In Profile Configuration mode, assigns the policy list to a profile, which then assigns the policy to an interface.
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.
![]() | Note: The local-input keyword for the ipv6 policy command is deprecated, and may be completely removed in a future release. The keyword should be removed from scripts. You should recreate any local input policies using the ipv6 classifier-list local true command and attaching the policies using the ipv6 policy secondary-input command. |
Interface Configuration, Profile Configuration