NOTE: Layer2 bridging is supported only on the MX Seriesrouters. For more
informationabout how to configureLayer 2 bridging, see the Junos OS Policy
FrameworkConfigurationGuide, the Junos OS Routing ProtocolsConfiguration
Guide,and the Junos OS Feature Guide.
ThisexampleLayer 2 bridging firewall filter finds anyincoming frames with an IEEE 802.1p
learnedVLAN priority levelof either 1 or 2, and then classifies the packet in the best-effort
defaultforwarding class.
NOTE: Thisexample does not present exhaustiveconfiguration listings for
allrouters in the figures. However,you can use this example with a broader
configurationstrategy tocomplete the MX Series router network Ethernet
Operations,Administration, and Maintenance (OAM)configurations.
Toconfigure filteringof frames by IEEE 802.1p bits:
1. Configurethe firewall filter filter-learn-vlan-configure-forwarding:
[editfirewall]
familybridge {
filterfilter-learn-vlan-configure-forwarding{
term0 {
from{
learn-vlan-1p-priority[1 2];
}
thenforwarding-class best-effort;
}
}
}
2. Applythe firewall filter filter-learn-vlan-configure-forwardingas an input filter to
ge-0/0/0:
[editinterfaces]
ge-0/0/0{
unit0 {
familybridge {
filter{
inputfilter-learn-vlan-configure-forwarding;
}
}
}
}
Related
Documentation
MXSeries Ethernet Services Routers SolutionsPage
FirewallFilters for Bridge Domains and VPLS Instanceson page 95
Example:Configuring Policing and Marking of TrafficEntering a VPLS Core on page96
Example:Configuring Filtering of Frames by MACAddress on page 98
Copyright© 2010, Juniper Networks,Inc.100
Junos10.4 MX Series Ethernet ServicesRouters Solutions Guide