ES4710BD 10 Slots L2/L3/L4 Chassis Switch

Command: switchport trunk allowed vlan {<vlan-list>all} no switchport trunk allowed vlan

Function: Sets trunk port to allow VLAN traffic; the “no switchport trunk allowed vlan” command restores the default setting.

Parameters: <vlan-list>is the list of VLANs allowed to pass through in the specified Trunk port; keyword “all” allows all VLAN traffic on the Trunk port.

Command mode: Interface Mode

Default: Default is Trunk port allowing all VLAN traffic

Usage Guide: The user can use this command to allow VLAN traffic to pass though the trunk port; traffic of VLANs not included are prohibited.

Example: Setting the Trunk port to allow traffic of VLAN1, 3, 5-20. Switch(Config)#interface ethernet 1/5 Switch(Config-ethernet1/5)#switchport mode trunk Switch(Config-ethernet1/5)#switchport trunk allowed vlan 1;3;5-20 Switch(Config-ethernet1/5)#exit

9.2.2.7switchport trunk native vlan

Command: switchport trunk native vlan <vlan-id>no switchport trunk native vlan

Function: Sets the PVID for Trunk port; the “no switchport trunk native vlan” command restores the default setting.

Parameters: <vlan-id>is the PVID for Trunk port.

Command mode: Interface Mode

Default: The default PVID of Trunk port is 1.

Usage Guide: PVID concept is defined in IEEE 802.1Q. PVID of Trunk ports are used to tag untagged frames. When a untagged frame enters a Trunk port, the port will tag the untagged frame with the native PVID set with this command for VLAN forwarding.

Example: Setting the native vlan for a Trunk port to 100. Switch(Config)#interface ethernet 1/5 Switch(Config-ethernet1/5)#switchport mode trunk Switch(Config-ethernet1/5)#switchport trunk native vlan 100 Switch(Config-ethernet1/5)#exit

9.2.2.8vlan ingress disable

Command: vlan ingress disable no vlan ingress disable

Function: Disables the VLAN ingress rule for a port; the “no vlan ingress disable” command enables the ingress rule.

207

Page 208
Image 208
Accton Technology ES4710BD manual Switchport trunk native vlan, Vlan ingress disable