Common Configuration Tasks
Page 322 7750 SR OS Router Configuration Guide
MAC Entry Matching Criteria
Use the following CLI syntax to configure MAC filter matching criteria:
CLI Syntax: config>filter>mac-filter># entry entry-id
match [frame-type {802dot3|802dot2-llc|802dot2-
snap|ethernet_II}]
dot1p dot1p-value [dot1p-mask]
dsap dsap-value [dsap-mask]
dst-mac ieee-address [ieee-address-mask]
etype 0x0600..0xffff
snap-oui {zero|non-zero}
snap-pid snap-pid
src-mac ieee-address [ieee-address-mask]
ssap ssap-value [ssap-mask]
The following displays the command usage to configure IP filter matching criteria:
Example:config>filter>ip-filter>entry# match
config>filter>mac-filter>entry>match# src-mac 00:dc:98:1d:00:00
config>filter>mac-filter>entry>match# dst-mac 02:dc:98:1d:00:01
config>filter>ip-filter>entry>match# exit
The following displays the filter matching configuration.
A;ALA-7>config>filter# info
----------------------------------------------
description "filter-west"
scope exclusive
entry 1 create
description "allow-104"
match
src-mac 00:dc:98:1d:00:00 ff:ff:ff:ff:ff:ff
dst-mac 02:dc:98:1d:00:01 ff:ff:ff:ff:ff:ff
exit
action drop
exit
----------------------------------------------
A:ALA-7>config>filter#