![Cisco Sx350 Скачать руководство пользователя страница 1267](http://html.mh-extra.com/html/cisco/sx350/sx350_cli-manual_26093201267.webp)
Virtual Local Area Network (VLAN) Commands
Cisco Sx350 Ph. 2.2.5 Devices - Command Line Interface Reference Guide
1266
67
switchxxxxxx(config)#
interface
gi12
switchxxxxxx(config-if)#
switchport mode access
switchxxxxxx(config-if)#
switchport access vlan
2
67.12 switchport trunk allowed vlan
A trunk interface is an untagged member of a single VLAN, and, in addition, it may
be an tagged member of one or more VLANs. Use the switchport trunk allowed
vlan Interface Configuration mode command to add/remove VLAN(s) to/from a
trunk port. Use the no form of the command to return to the default.
Syntax
switchport trunk allowed vlan {all | none | add
vlan-list
| remove
vlan-list
| except
vlan-list
}
no switchport trunk allowed vlan
Parameters
•
all—Specifies all VLANs from 1 to 4094. At any time, the port belongs to all
VLANs existing at the time. (range: 1–4094).
•
none—Specifies an empty VLAN list The port does not belong to any
VLAN.
•
add
vlan-list
—List of VLAN IDs to add to the port. Separate nonconsecutive
VLAN IDs with a comma and no spaces. Use a hyphen to designate a range
of IDs.
•
remove
vlan-list
—List of VLAN IDs to remove from a port. Separate
nonconsecutive VLAN IDs with a comma and no spaces. Use a hyphen to
designate a range of IDs.
•
except
vlan-list
—List of VLAN IDs including all VLANs from range 1-4094
except VLANs belonging to
vlan-list
.
Default Configuration
By default, trunk ports belongs to all created VLANs.
Command Mode
Interface (Ethernet, Port Channel) Configuration mode
Содержание Sx350
Страница 1: ...Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide CLI GUIDE ...
Страница 26: ...25 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1 ...
Страница 237: ...CDP Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 236 8 ...
Страница 503: ...IGMP Snooping Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 502 23 1000 239 255 0 7 ...
Страница 532: ...IP Routing Protocol Independent Commands 531 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 25 ...
Страница 736: ...IPv6 Prefix List Commands 735 Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 31 ...
Страница 975: ...RADIUS Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 974 48 ...
Страница 1297: ...Virtual Local Area Network VLAN Commands Cisco Sx350 Ph 2 2 5 Devices Command Line Interface Reference Guide 1296 67 4086 802 1x ...