configure ports ingress-filtering

configure ports port_list mac-based-vlans ingress-filtering [on|off]

Description

Allows users to toggle the ingress filtering setting for MAC-based VLANs.

Syntax Description

port_list

Specifies one or more ports, or slots and ports.

mac-based-vlans

Specifies MAC-based VLANs.

ingress-filtering

Specifies the configuration of ingress filtering when MAC-based VLANs are enabled.

on

Turns on ingress filtering. Enabling ingress filtering prevents VLANs other than those with egress membership from being forwarded.

off

Turns off ingress filtering. Disabling ingress filtering allows the forwarding of packets sourced from any VLAN. This is the default setting.

Default

The default is off.

Usage Guidelines

If the command is executed on a port that does not have MAC-based VLANs enabled, the command will be accepted, but it will not be applied until MAC-Based VLANs are enabled.

Example

The following command enables ingress filtering for ports 1:2:

# configure ports 1:2 mac-based-vlans ingress-filtering on

History

This command was first available in ExtremeXOS 31.5.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.