![Cisco Small Business 300 1.1 Series Administration Manual Download Page 644](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294644.webp)
Smartport Commands
78-20269-01 Command Line Interface Reference Guide
646
43
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command is an extension of the switchport trunk allowed vlan command.
Unlike the switchport trunk allowed vlan command, the
vlan-list
parameter of this
command may include the voice VLAN (when it is the default VLAN). If the default
VLAN is the voice VLAN, the following occurs:
•
add
all
— Adds the interface to the default VLAN as an egress tagged port.
•
remove
all
— Removes the interface from the default VLAN.
Example
To add port 1 to VLANs 1-5:
console(conf)#
interface
gi1
console(conf-if)#
smartport switchport trunk allowed vlan
add
1-5
43.16 smartport switchport trunk native vlan
Use the smartport switchport trunk native vlan Interface Configuration (Ethernet,
port-channel) mode command to define the native VLAN when the interface is in
trunk mode. Use the no form of this command to restore the default configuration.
Syntax
smartport switchport trunk native vlan
native
-
vlan-id
Parameters
native-vlan-id—Specifies the native VLAN ID.
Default Configuration
VLAN 1
Command Mode
Interface Configuration (Ethernet, port-channel) mode