Configuring MAC Address Validation for Subscriber Interfaces
This topic describes how to configure MAC address validation for subscriber interfaces in dynamic profiles.
The subscriber interfaces can be statically created and associated with a dynamic profile (for example, VLAN interfaces) or dynamically created in the dynamic profile (such as demux interfaces).
By default, MAC address validation is disabled.
This topic contains the following sections:
Configuring MAC Address Validation for Static Subscriber Interfaces
This topic describes how to configure MAC address validation for static subscriber interfaces in dynamic profiles.
Before you begin:
Configure the dynamic profile.
(Optional) Configure an enhanced network services mode.
See Configuring Junos OS to Run a Specific Network Services Mode in MX Series Routers.
To configure MAC address validation on static subscriber interfaces:
For example, to configure loose validation on interface fe-0/0/0.0, configure the following:
[edit interfaces fe-0/0/0 unit 0 family inet] user@host# set mac-validate loose
After you configure MAC address validation, associate the static VLAN interface with the dynamic profile.
Configuring MAC Address Validation for Dynamic Subscriber Interfaces
This topic describes how to configure MAC address validation for subscriber interfaces created on demux interfaces in dynamic profiles.
When you configure MAC address validation for demux interfaces
in a dynamic profile and specify either loose
or strict
validation, the resulting behavior is always loose validation. To
enable strict behavior for a dynamic IP demux interface, besides configuring
either loose
or strict
mode on the IP demux
interface, you must also configure strict validation on the underlying
interface.
Before you begin:
Configure the dynamic profile.
Configure the dynamic IP demux interface.
(Optional) Configure an enhanced network services mode.
See Configuring Junos OS to Run a Specific Network Services Mode in MX Series Routers.
To configure loose MAC address validation for a dynamic subscriber interface:
Configure loose validation for the demux interface.
[edit dynamic-profiles profile-name interfaces demux0 unit “$junos-interface-unit” family inet] user@host# set mac-validate loose
For loose validation, you do not need to configure MAC address validation on the underlying interface.
To configure strict MAC address validation for a dynamic subscriber interface: