vlan policy
Assigns a VLAN policy list to an interface. If you enter the vlan policy command and the policy list does not exist, the router creates a policy list with no rules, the default. When no rules are found in a policy list, the router performs a routing table lookup and forwards packets on the interface based on the routing table information. 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.
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 the policy reference from the profile.
vlan policy { input | output } policyName
[ statistics { enabled [ baseline { enabled | disabled } ] [ preserve | merge ] |
disabled [ merge ] } | merge ]no vlan policy { input | output } [ policyName ]
- inputApplies policy to data arriving at this interface
- outputApplies policy to data leaving this interface
- policyNameName of the policy; a maximum of 40 characters
- statisticsEnables or disables collection of policy routing statistics
- enabledEnables collection of policy routing statistics
- baseline enabledEnables baselining of policy routing statistics
- baseline disabledDisables baselining of policy routing statistics
- preservePreserves existing statistics for any classifier list that is the same for both the new and old policy attachments when you attach a new policy to an interface
- disabledDisables collection of policy routing statistics
Interface Configuration, Profile Configuration
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.