Command Usage

Ingress filtering only affects tagged frames.

If ingress filtering is disabled, the interface accepts any VLAN-tagged frame if the tag matches a VLAN known to the switch (except for VLANs explicitly forbidden on this port).

If ingress filtering is enabled, incoming frames tagged for VLANs that do not include this ingress port in their member set are discarded.

Ingress filtering does not affect VLAN independent BPDU frames, such as GVRP or STP. However, they do affect VLAN dependent BPDU frames, such as GMRP.

Example

The following example shows how to set the interface to port SNP1 and then enable ingress filtering:

Console(config)#interface ethernet SNP1

Console(config-if)#switchport ingress-filtering

Console(config-if)#

4.3.12.7switchport native vlan

Use this command to configure the PVID (default VID) for an interface. Use the no form to restore the default.

Syntax

switchport native vlan vlan-id

no switchport native vlan

vlan-id– The default VLAN ID for an interface. (Range: 1-4094, no leading zeroes)

Default Setting

VLAN 1

Command Mode

Interface Configuration (Ethernet, Port Channel)

4-126Sun Fire B1600 Blade System Chassis Switch Administration Guide • June 2003

Page 324
Image 324
Sunfire B1600 manual Switchport native vlan