Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何在Dell Networking Force10交换机上的第2层模式中配置接口

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Instructions

 

本文介绍如何能够在OSI型号的第2层配置接口。

 


目标

 

目录

  1. 交换机端口模式概述
  2. 交换机端口模式配置
  3. 混合模式概述
  4. 混合模式配置
  5. 如何删除混合和交换机端口配置

 

交换机端口模式概述

 

仅置于“交换机端口”模式的接口可通过以下流量类型之一:

  1. 对于单个VLAN,仅未标记的流量
  2. 对于多个VLAN,标记的流量

 

 

交换机端口模式配置

  

命令

用途

FTOS# configure

进入配置模式。

FTOS(conf)# interface gi 0/1

进入特定物理接口。

FTOS(conf-if-gi-0/1)# switchport

启用第2层交换机端口模式。  接口将自动添加到默认VLAN并通过未标记的流量。

FTOS(conf-if-gi-0/1)# no shutdown

启用接口。

 

 

混合模式概述

 

混合模式加交换机端口模式

  1. 将接口置于“混合”模式允许接口通过未标记和标记的流量。
  2. 一旦处于混合模式,接口即可添加到单个VLAN作为未标记的VLAN,添加到多个其它VLAN作为标记的VLAN
  3. 此单个未标记的VLAN成为该接口的本地VLAN。 

 

 

连接交换机接口上的本地或未标记的VLAN应始终与适当的交换机管理流量相匹配以成功通过。

 

 

混合模式配置

 

 

 

命令

用途

FTOS# configure

进入配置模式。

FTOS(conf)# interface gi 0/1

进入特定物理接口。

FTOS(conf-if-gi-0/1)# portmode hybrid

仅在接口必须通过未标记和标记的流量时才需要。必须在设置所有第2层配置之前配置。  交换机端口模式必须在置于混合模式之前删除。

FTOS(conf-if-gi-0/1)# switchport

启用第2层交换机端口模式。  接口将自动添加到默认VLAN并通过未标记的流量。

FTOS(conf-if-gi-0/1)# no shutdown

启用接口。

 

 

如何删除混合和交换机端口配置

 

 

命令

用途

FTOS# configure

进入配置模式。

FTOS(conf)# interface gi 0/1

进入接口配置模式。

FTOS(config-if-gi-0/1)#  no switchport

禁用第2层交换机端口模式。  接口只能在默认VLAN中作为未标记流量才能删除。 

FTOS(config-if-gi-0/1)#  no portmode hybrid

禁用混合模式。  在删除混合模式之前必须禁用第2层交换机端口模式。

 

 

在可以从接口中删除混合模式之前,必须删除所有第2层配置。  包括作为标记的或未标记的VLAN的所有VLAN。

 

 

 

 

 

 

 

Article Properties


Affected Product

Force10 S60-44T, PowerEdge M IO Aggregator

Last Published Date

21 Feb 2021

Version

3

Article Type

How To