Switchport General Allowed Vlan - Cisco Small Business 300 1.1 Series Administration Manual

Managed switch
Table of Contents

Advertisement

Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
Examples:
Example 1 - The following example:
Defines VLAN 2 as native VLAN for port 1
Removes VLAN 2 from port 1 and then sets it as the native VLAN
console(config)#
interface
console(config-if)#
Port 1: Port is Trunk in VLAN 2.
console(config-if)#
console(config-if)#
console(config-if)#
Example 2 - The following example sets packets on port as untagged on ingress
and untagged on egress:
console(config)#
interface
console(config-if)#
console(config-if)#
console(config-if)#
Example 3 - The following example sets packets on port as tagged on ingress and
tagged on egress:
console(config)#
interface
console(config-if)#
console(config-if)#
console(config-if)#

30.15 switchport general allowed vlan

General ports can receive tagged or untagged packets. Use the switchport
general allowed vlan Interface Configuration mode command to add/remove
gi1
switchport trunk native vlan
switchport trunk allowed vlan remove
switchport trunk native vlan
gi1
switchport mode trunk
switchport trunk native vlan
gi1
switchport mode trunk
switchport trunk allowed vlan add
2
2
2
2
2
30
416

Advertisement

Table of Contents
loading

Table of Contents