20 switchport trunk allowed – CANOGA PERKINS 9175 Command Reference User Manual
Page 102
CanogaOS Command Reference
6-12
Usage
The trunk port ingress-filter configuration should only be allowed on a trunk port.
When the ingress-filter is disabled, this port will not check the vlan ID of received ingress packets.
Examples
This example shows how to set the trunk port ingress-filter to disable.
Switch(config-if)# switchport mode trunk ingress-filter disable
Related Commands
switchport mode trunk
6.20 switchport trunk allowed
Use this command to allow traffic from specified vlan to transmit the trunk port.
To remove this setting, use the no form of this command.
Command Syntax
switchport trunk allowed vlan {add vlan
̘remove vlan| all | none}
no switchport trunk
vlan: vlan list connected with ‘-’ and ‘,’, for example, “1-10,15,20,30-40”
add: allow the traffic from the specified vlan to transmit the trunk port
remove: do not allow the traffic from the specified vlan to transmit the trunk port
all: allow the traffic from all the vlan to transmit the trunk port
none: do not allow the traffic from all the vlan to transmit the trunk port
Command Mode
Interface configuration
Usage
None
Examples
This example shows how to allow traffic from vlan11,12 to transmit the trunk port
Switch(config-if)# switchport trunk allowed vlan add 11,12
This example shows how to refuse traffic from vlan11,12 to transmit the trunk port
Switch(config-if)# switchport trunk allowed vlan remove 11,12
This example shows how to allow traffic from all vlan to transmit the trunk port
Switch(config-if)# switchport trunk allowed vlan all
This example shows how to refuse traffic from all vlan to transmit the trunk port
Switch(config-if)# switchport trunk allowed vlan none
Related Commands
switchport access allowed