vlan policy
Use to assign a VLAN policy list to an interface.
Use the input or output keyword to assign the policy list to the ingress or egress
of the interface.
You can enable or disable the recording of routing statistics for bytes and packets
affected by the policy.
If you enable statistics, you can enable or disable baselining of the statistics. The
router implements the baseline by reading and storing the statistics at the time
the baseline is set and then subtracting this baseline whenever baseline-relative
statistics are retrieved.
You must also enable baselining on the interface with the appropriate baseline
command.
You can use the preserve keyword to save the existing statistics when you attach
a policy to an interface that already has a policy attached. This keyword saves
the statistics for any classifier-list that is the same for both the new and old policy
attachments. Without the preserve keyword, all statistics are deleted when you
attach the new policy.
For example, when you replace a policy attachment that references the original
policy-list plOne with a new attachment referencing policy-list plTwo, the existing
statistics for the classifier group referencing clOne and the default classifier group
are saved.
Original Policy
Attachment
New Policy Attachment
ip policy-list plOne
ip policy-list plTwo
ip classifier-list clOne
Forward
ip classifier-list clTwo
Forward
ip classifier-list clThree
Forward
classifier-list *
Filter
Example
host1(config-profile)#vlan policy input VlanPolicy33 statistics enabled preserve
Chapter 18: Configuring Dynamic Interfaces Using Bulk Configuration
Comment
–
ip classifier-list clOne
statistics from plOne are saved
Forward
–
ip classifier-list clFour
–
Forward
–
ip classifier-list clFive
–
Forward
–
classifier-list *
statistics from plOne are saved
Filter
–
Configuring VLAN Dynamic Subinterfaces
679
Need help?
Do you have a question about the JUNOSE 11.1.X - LINK LAYER CONFIGURATION 4-7-2010 and is the answer not in the manual?
Questions and answers