- accept-source-mac {
-
-
mac-address mac-address {
-
-
policer {
- input cos-policer-name;
- output cos-policer-name;
- }
- }
- }
- [edit interfaces interface-name unit logical-unit-number],
- [edit logical-systems logical-system-name interfaces interface-name unit logical-unit-number]
Statement introduced before JUNOS Release 7.4.
For Gigabit Ethernet intelligent queuing (IQ) interfaces only, accept traffic from and to the specified remote media access control (MAC) address.
The accept-source-mac statement is equivalent to the source-address-filter statement, which is valid for aggregated Ethernet, Fast Ethernet, and Gigabit Ethernet interfaces only.
On untagged Gigabit Ethernet interfaces you should not configure the source-address-filter statement and the accept-source-mac statement simultaneously. On tagged Gigabit Ethernet interfaces you should not configure the source-address-filter statement and the accept-source-mac statement with an identical MAC address specified in both filters.
The statements are explained separately.
See Configuring MAC Address Filtering.
interface—To view this statement in the configuration.
interface-control—To add this statement to the configuration.