151
Switch(Config-ethernet1/5)#exit
Command: switchport ingress-filtering
no switchport ingress-filtering
Function: Enable the VLAN ingress rule for a port; the “no vlan ingress disable”
command disable the ingress rule.
Command mode: Interface Mode
Default: VLAN ingress rules are enabled by default.
Usage Guide: When VLAN ingress rules are enabled on the port, when the system
receives data it will check source port first, and forwards the data to the destination port if
it is a VLAN member port.
Example: Disable VLAN ingress rules on the port
Switch(Config-Ethernet1/1)# no switchport ingress-filtering
5.2.2.8 private-vlan Command: private-vlan
no private-vlan
Function: Set the current VLAN to Private VLAN; the “no private-vlan” command
cancels Private VLAN.
Parameter: primary sets the current VLAN to Primary VLAN; isolated sets the current
VLAN to Isolated VLAN; community sets the current VLAN to Community VLAN.
Command mode: VLAN Mode
Usage Guide: There are three types of VLANs: Primary VLAN, Isolated VLAN and
Community VLAN. The ports in Primary VLAN can communicate with the ports in Isolated
VLAN and Community VLAN which are associated to the Primary VLAN; the ports in
Isolated VLAN can’t communicate each other. They can only communicate to the ports in
the associated Primary VLAN; the ports in Community VLAN can communicate each other
and they can also communicate to the ports in the associated Primary VLAN. The ports in
Isolated VLAN can’t communicate to the ports in Community VLAN.
Only the VLAN which doesn’t have any member ports can be set to Private VLAN; only
the Private VLAN which has already configured association relationship can add Access
ports as its member ports; when the VLAN is set to Private VLAN, all the member ports
are removed from the VLAN.
Note: The ports in Isolated VLAN must be configured by the command: no switchport
ingress-filtering; GVRP can’t transmit Private VLAN information.