MAC criteria filter
The 7705 SAR-Hm series of routers support the creation of ingress SAP QoS policies that filter on MAC information with the command config>qos>sap-ingress>mac-criteria>entry>action fc. Operators can filter packets based on Layer 2 MAC criteria to set the forwarding class (FC) for the packet when forwarding to the egress interface. MAC filtering is supported on all services.
The following CLI output shows an example of a MAC criteria filter configured on a VPLS SAP.
#--------------------------------------------------
echo "Port Configuration"
#--------------------------------------------------
port 1/1/4
ethernet
mode access
exit
no shutdown
exit
port 1/1/9
ethernet
mode access
exit
no shutdown
exit
#--------------------------------------------------
echo "QoS Policy Configuration"
#--------------------------------------------------
qos
sap-ingress 66 name "66" create
queue 1 create
exit
queue 2 create
exit
queue 11 multipoint create
exit
fc "af" create
queue 2
exit
fc "be" create
queue 1
exit
mac-criteria
entry 1 create
match frame-type ethernet-II
src-mac 00-14-14-14-00-02
exit
action fc "af"
exit
exit
exit
sap-ingress 67 name "67" create
queue 1 create
exit
queue 2 create
exit
queue 11 multipoint create
exit
fc "af" create
queue 2
exit
fc "be" create
queue 1
exit
mac-criteria
entry 1 create
match frame-type ethernet-II
src-mac 00-14-14-14-00-01
exit
action fc "af"
exit
exit
exit
exit
#--------------------------------------------------
echo "Service Configuration"
#--------------------------------------------------
service
customer 1 name "1" create
description "Default customer"
exit
vpls 12 name "12" customer 1 vpn 12 create
description "Default tls description for service id 12"
stp
shutdown
exit
sap 1/1/4 create
description "Default sap description for service id 12"
static-mac 00:14:14:14:00:02 create
ingress
qos 66
exit
no shutdown
exit
sap 1/1/9 create
description "Default sap description for service id 12"
static-mac 00:14:14:14:00:01 create
ingress
qos 67
exit
no shutdown
exit
no shutdown
exit
exit