Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products

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

前提条件:  

  1. 交换机具有出厂默认配置,并配置了 VLAN 10 和 11。
指示
设置管理接口网络连接的说明:  
  1. 使用 S 系列交换机的控制台或管理 IP 打开 CLI。 
  2. 以默认管理员凭据身份登录到特权执行模式。(OS10:user=admin,password=admin)。
  3. 显示接口的状态,注意“访问”模式的 A: 
OS10# 显示接口状态
观察 Eth 1/1/14 界面,如下所示。它处于访问 A 模式。
  1. 要修改交换机配置,请运行“configure terminal”命令,然后按 Enter 键。
OS10# 配置终端
OS10(config)#
 
  1. 要配置以太网 1/1/14 接口,请输入“接口以太网 1/1/14”命令:
OS10(config)# 接口以太网 1/1/14
OS10(conf-if-eth1/1/14)#
  1. 要使用“switchport mode trunk”命令将接口模式更改为中继,请执行以下操作:
OS10(conf-if-eth1/1/14)# 交换机端口模式中继
OS10(conf-if-eth1/1/14)#
  1. 使用“switchport trunk allowed vlan 10,11”配置将哪些中继 vlan 分配给接口。
OS10(conf-if-eth1/1/14)# switchport trunk allowed vlan 10,11
OS10(conf-if-eth1/1/14)#
  1. 使用命令“switchport access vlan 1”配置将哪个访问 vlan 分配给端口。
OS10(conf-if-eth1/1/14)# 交换机端口访问 vlan 1
OS10(conf-if-eth1/1/14)#
  1. 使用命令“end”将接口和配置退出回执行模式。
OS10(conf-if-eth1/1/14)# end
OS10#
  1. 使用命令“show running-configuration interface ethernet 1/1/14”验证在接口上进行的配置更改
  1. 要使用命令“show interface status”验证对接口的更改。验证模式现在是中继的 T。将应用访问 VLAN 1,并分配标记的 VLANS 10 和 11。
  1. 要保存配置更改,请使用命令“write memory”。
OS10# 写入内存
OS10#


如需进一步帮助,请参阅 Dell EMC SmartFabric OS10 用户指南版本文档或联系 Dell EMC 技术支持。

Additional Information

请参阅此视频:

Affected Products

Enterprise SONiC Distribution
Article 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.