Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell EMC SmartFabric OS10 User Guide Release 10.5.0

PDF

switchport access vlan

在 L2 访问或中继模式中为端口分配访问 VLAN 成员身份。

语法
switchport access vlan vlan-id
参数
vlan vlan-id — 输入 VLAN ID 号,从 1 到 4093。
默认
VLAN 1
命令模式
INTERFACE
使用情况信息
此命令可为未标记流量启用 L2 切换,并将端口接口分配给默认 VLAN1。使用此命令可更改用于传送未标记流量的访问 VLAN 的分配。您必须先创建 VLAN,然后才能为其分配访问接口。此命令的 no 版本会将 L2 访问或中继端口上的访问 VLAN 成员身份重置为 VLAN 1。
示例
OS10(conf-if-eth1/1/3)# switchport mode access 
OS10(conf-if-eth1/1/3)# switchport access vlan 100
支持的版本
10.2.0E or later

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\