Dell EMC Networking OS10:介面中繼模式組態
Summary: 如何在介面上設定 OS10 中繼模式
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
先決條件:
- 交換器的原廠預設組態已設定 VLAN 10 和 11。
設定管理介面網路連線的指示:
- 使用 S 系列交換器的主控台或管理 IP 開啟 CLI。
- 以預設系統管理員認證身分登入許可權 exec 模式。(OS10:user=admin、password=admin)。
- 顯示介面狀態,並注記「存取」模式的 A:
請參閱 Eth 1/1/14 介面,如下所示。處於模式 A 以供存取。
- 若要修改交換器組態,請執行「configure terminal」命令,然後按 Enter 鍵。
OS10(config)#
- 若要設定乙太網路 1/1/14 介面,請輸入「介面乙太網路 1/1/14」命令:
OS10(conf-if-eth1/1/14)#
- 若要使用「switchport mode trunk」命令將介面模式變更為中繼:
OS10(conf-if-eth1/1/14)#
- 使用「switchport trunk allowed vlan 10,11」設定要指派給介面的中繼 vlan。
OS10(conf-if-eth1/1/14)#
- 使用命令「switchport access vlan 1」,設定要指派給埠的存取 vlan。
OS10(conf-if-eth1/1/14)#
- 使用命令「end」結束介面並設定回到 exec 模式。
OS10#
- 使用命令「show running-configuration interface ethernet 1/1/14」,確認介面上所做的組態變更
- 若要使用命令「show interface status」來確認介面的變更。確認主幹的模式現在是 T。已套用存取 VLAN 1,並指派附有標記的 VLANS 10 和 11。
- 若要儲存組態變更,請使用命令「Write memory」。
OS10#
如需進一步協助,請參閱Dell EMC SmartFabric OS10 使用者指南版本檔,或聯絡 Dell EMC 技術支援部門。
Additional Information
請參閱此影片:
Affected Products
Enterprise SONiC DistributionArticle Properties
Article Number: 000201923
Article Type: How To
Last Modified: 10 Oct 2022
Version: 2
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.