如何在 Force10 交换机上执行 interface range 命令
Summary: 如何在 Dell Force10 交换机上使用 range 命令, Dell Force10 如何使用 interface range 命令, how to use range command on Dell Force10 switch, Dell Force10 how to use interface range command
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。
目录
1. 同时配置多个接口
2. 同时配置多个VLAN
同时配置多个接口
要同时配置多个接口,需进入接口范围命令。
输入以下命令以进入各种接口。
ftos>启用
ftos#configure
对于连续端口,以下示例在设备0上使用10千兆位以太网端口2-5
ftos(config)#interface range te 0/2 - 5
对于非连续端口,以下示例在设备0和3上使用10千兆位以太网端口48
ftos(config)#interface range te 0/48 , te 3/48
提醒:请注意,从 range 后面开始,在两个示例的其余命令语法中的每次输入后都有空格
提醒:要验证端口在您交换机上的定义方式,可运行 ftos#show interfaces status
下面是在设备 0 上配置 10 千兆位以太网连续端口 1 至 5 以及 8 和 9 的示例
ftos(config)#interface range gi 0/1 - 5 , gi 0/8 , gi 0/9
提醒:您可以同时配置不同的接口类型,如千兆位以太网和 10 千兆位以太网接口
提醒:如果所需范围命令的语法很大,则先将其键入在记事本上再粘贴在命令行中可能更简单。
提醒:现有接口都可进行批量配置
同时配置多个VLAN
提醒:VLAN 的接口范围不创建新 VLAN。只会配置现有VLAN。现有接口都可进行批量配置
要同时配置多个VLAN,需进入接口范围命令。
输入以下命令以进入各种VLAN。
对于连续VLAN,以下示例采用VLAN 2-10
ftos(config)#interface range vlan 2 - 10
对于非连续VLAN,以下示例采用VLAN 15和20
ftos(config)#interface range vlan 15 , vlan 20
提醒:请注意,从 range 后面开始,在两个示例的其余命令语法中的每次输入后都有空格
下面是配置VLAN 2至10以及15和20的示例。
ftos(config)#interface range vlan 2 - 10 , vlan 15 , vlan 20
Affected Products
Force10 S60-44TArticle Properties
Article Number: 000121358
Article Type: How To
Last Modified: 07 Oct 2024
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.