![D-Link xStack DWS-3200 Series Скачать руководство пользователя страница 424](http://html1.mh-extra.com/html/d-link/xstack-dws-3200-series/xstack-dws-3200-series_cli-manual_4140557424.webp)
DXS/DWS-3200 series CLI Reference Guide
Page 421
switchport general allowed vlan
The
switchport general allowed vlan
Interface Configuration mode command adds or removes VLANs from a
general port.
Syntax
switchport general allowed vlan add vlan-list
[
tagged
|
untagged
]
switchport general allowed vlan remove vlan-list
Parameters
•
add
vlan-list
— Specifies the list of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma
and no spaces. A hyphen designates a range of IDs.
•
remove vlan-list
— Specifies the list of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs with a
comma and no spaces. A hyphen designates a range of IDs.
•
tagged
— Indicates that the port transmits tagged packets for the VLANs.
•
untagged
— Indicates that the port transmits untagged packets for the VLANs.
Default Configuration
If the port is added to a VLAN without specifying tagged or untagged, the default setting is tagged.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
This command enables changing the egress rule (for example from tagged to untagged) without first removing the
VLAN from the list.
Example
The following example adds VLANs 2, 5, and 6 to the allowed list of Ethernet port 1.
Console(config)#
interface ethernet
1
Console(config-if)#
switchport mode general
Console(config-if)#
switchport general allowed vlan add
2,5-6
tagged
Содержание xStack DWS-3200 Series
Страница 2: ......
Страница 3: ......
Страница 17: ...Table of Contents Page 14 Appendix A Troubleshooting 571 Problem Management 572 Troubleshooting Solutions 572 ...
Страница 25: ...Using the CLI Editing Features Page 22 ...
Страница 91: ...Clock Commands show sntp status Page 88 ...
Страница 101: ...Configuration and Image File Commands show bootvar Page 98 ...
Страница 137: ...GVRP Commands show gvrp error statistics Page 134 ...
Страница 147: ...IGMP Snooping Commands show ip igmp snooping groups Page 144 ...
Страница 163: ...IP Address Commands show hosts Page 160 ...
Страница 177: ...LACP Commands show lacp port channel Page 174 ...
Страница 187: ...Line Commands show line Page 184 ...
Страница 195: ...Management ACL Commands show management access class Page 192 ...
Страница 201: ...PHY Cable Diagnostics Commands show fiber ports optical transceiver Page 198 ...
Страница 217: ...Port Monitor Commands Page 214 ...
Страница 341: ...Spanning Tree Commands show spanning tree Page 338 ...
Страница 395: ...System Management Commands show system mode Page 392 ...
Страница 413: ...User Interface Commands show privilege Page 410 ...
Страница 437: ...VLAN Commands show vlan protocols groups Page 434 ...
Страница 451: ...Web Server Commands show ip https Page 448 ...
Страница 477: ...802 1x Commands show dot1x advanced Page 474 ...
Страница 483: ...Wireless AP BSS Commands data rates Page 480 ...
Страница 517: ...WLAN Domain Commands wlan domain member approve Page 514 ...
Страница 547: ...Wireless AP Radio Commands beacon period Page 544 ...
Страница 555: ...Wireless Rogue AP Commands show wlan rogue aps neighborhood Page 552 ...
Страница 573: ...Wireless WLAN Commands show wlan stations counters Page 570 ...
Страница 581: ...Page 578 ...