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.

如何在 7000、8000、8100、M6220、M6348、M8024-K N2000、N3000 和 N4000 系列交换机上执行接口范围命令

Summary: 如何在 Dell n 系列 PowerConnect 交换机上设置接口范围命令

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



文章摘要:本文介绍如何同时配置多个接口。

 

要同时配置多个接口,必须进入接口范围命令。


运行以下命令以进入各种接口。

console>enable

console#configure

对于连续端口,以下示例在设备 1 上使用千兆位以太网端口 1-5

console(config)#interface range gi1/0/1-5

对于非连续端口,以下示例在设备 1 和 2 上使用千兆位以太网端口 48

console(config)#interface range gi1/0/48,gi2/0/48

 

注:请注意,从 range 后面开始,在两个示例的其余命令语法中再也没有空格
 
注:要验证端口在您交换机上的定义方式,可运行 console#show interfaces status


下面是配置连续端口 1 到 5 以及 8 和 9 的示例。

console(config)#interface range gi1/0/1-5,gi1/0/8,gi1/0/9

 

注:您可以同时配置不同的接口类型,如千兆位以太网和10千兆位以太网接口

 

Article Properties


Affected Product

PowerSwitch N3000 Series, PowerConnect 7024, PowerConnect 7024F, PowerConnect 7024P, PowerConnect 8024, PowerConnect 8024F, PowerConnect 8100 Series, PowerConnect M6220, PowerConnect M6348, PowerConnect M8024, PowerConnect M8024-K

Last Published Date

21 Feb 2021

Version

3

Article Type

How To