![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 415](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294415.webp)
Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
416
30
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
gi1
console(config-if)#
switchport trunk native vlan
2
Port 1: Port is Trunk in VLAN 2.
console(config-if)#
switchport trunk allowed vlan remove
2
console(config-if)#
switchport trunk native vlan
2
console(config-if)#
Example 2 - The following example sets packets on port as untagged on ingress
and untagged on egress:
console(config)#
interface
gi1
console(config-if)#
switchport mode trunk
console(config-if)#
switchport trunk native vlan
2
console(config-if)#
Example 3 - The following example sets packets on port as tagged on ingress and
tagged on egress:
console(config)#
interface
gi1
console(config-if)#
switchport mode trunk
console(config-if)#
switchport trunk allowed vlan add
2
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
Содержание Small Business 300 1.1 Series
Страница 1: ...Cisco Small Business 300 1 1 Series Managed Switch Administration Guide CLI GUIDE ...
Страница 527: ...DHCP Relay Commands 78 20269 01 Command Line Interface Reference Guide 528 38 Servers 1 1 1 1 2 2 2 2 ...
Страница 705: ...Revision History 78 20269 01 Command Line Interface Reference Guide 936 4 ...