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 Networking S 系列:如何使用主控台命令列建立 VLAN

Summary: 如何使用主控台命令列建立 VLAN。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Instructions

使用下列程序:

  1. 使用 S 系列交換器的主控台或管理 IP 開啟 CLI。
  2. 使用您的管理登入資料登入具備權限的 exec 模式。
  3. 若要確認現有的 VLAN 組態,請使用 Show vlan 命令,請按下 Enter 鍵。
注意:VLAN 1 為預設,在原廠預設組態上為作用中。
  1. 若要建立 VLAN,請執行 「配置終端機」命令以編輯交換器組態,然後按下 Enter 鍵。
  2. 若要建立單一 VLAN,請使用 介面 VLAN 命令,其中 X 是 VLAN 號碼,然後按下 Enter 鍵。
  3. 若要建立一系列 VLAN,請使用 interface 範圍 vlan 命令,後跟您要新增的 VLAN 號碼。如果是連續的 VLAN,請使用連字號。對於非連續範圍,請使用逗號。如果必須一次進行批量更改,還可以組合連續和非連續範圍。

範例:

  • VLAN 3 至 5 的連續範圍為: 介面範圍 VLAN 3-5
  • VLAN 3、10 和 200 的非連續範圍為: 介面範圍 VLAN 3、10、200
  • 混合使用連續與非連續 VLAN 為: 介面範圍 vlan 3-5、10,200
  1. 若要退出 privileged exec 模式,請輸入 End,然後按下 Enter 鍵。
  2. 若要確認變更,請重新執行 命令顯示介面 VLAN
  3. 驗證變更並準備好儲存對啟動組態的變更後,請使用 write memory 命令,按下 Enter 鍵。


如需進一步協助,請參閱 Dell SmartFabric OS10 使用者指南說明文件,或聯絡 Dell 技術支援部門。

請參閱相關的 KB 文章125512:Dell SmartFabric OS10 資訊中心

Additional Information

觀看本影片:

Affected Products

S Series
Article Properties
Article Number: 000196756
Article Type: How To
Last Modified: 27 Jun 2023
Version:  6
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.