API Guide
3. 为端口组内的奇数端口配置端口模式。
port node/slot/port mode Eth port-mode
• 100g-1x — 将端口重置为 100GE 模式。
• 40g-1x — 将端口设置为 40GE 模式,以便与 QSFP+40GE 收发器配合使用。
• 25g-4x — 将一个端口拆分为四个 25GE 接口。
• 10g-4x — 将一个端口拆分为四个 10GE 接口。
4. 返回 CONFIGURATION 模式。
exit
5. 进入以太网接口模式以配置其他设置。输入单个接口、连字符分隔的范围或用逗号分隔的多个接口。
interface ethernet node/slot/port[:subport]
配置受限端口组配置文件
OS10(config)# port-group 1/1/2
OS10(conf-pg-1/1/2)# profile restricted
OS10(conf-pg-1/1/2)# port 1/1/3 mode Eth 25g-4x
OS10(conf-pg-1/1/2)# exit
OS10(config)# interface ethernet 1/1/3:2
OS10(conf-if-eth1/1/3:2)#
查看接口
OS10(config)# interface ethernet 1/1/3:2
OS10(conf-if-eth1/1/3:2)# show configuration
!
interface ethernet1/1/3:2
no shutdown
Identifier
GUID-1A9F6680-AB7E-4CFA-9C94-96CF3B436F8C
Version 1
Status Translation approved
S5200F-ON 交换机上的端口组
在 S5200F-ON 系列交换机上,端口组确定可用的前面板以太网端口和受支持的分解接口。
当您将某个端口转换为特定模式时,属于该端口组的所有端口也会在相同的模式下运行。例如,如果您将以太网 1/1/1 接口转换为
10g-4x,则属于端口组 1/1/1(即 1/1/2、1/1/3 和 1/1/4)的所有其他接口也会以 10g-4x 的模式运行。
下图显示了 S5212F-ON 交换机上支持的端口组和分解模式:
OS10# show port-group
Port-group Mode Ports FEM
port-group1/1/1 Eth 10g-4x 1 2 3 4 -
port-group1/1/2 Eth 10g-4x 5 6 7 8 -
port-group1/1/3 Eth 10g-4x 9 10 11 12 -
port-group1/1/4 Eth 100g-1x 13 -
port-group1/1/5 Eth 100g-1x 14 -
port-group1/1/6 Eth 100g-1x 15 -
表
. 22: S5212F-ON 交换机上的端口组和分解模式
端口组 端口 支持的分解模式
Port-group1/1/1 1、2、3、4
• 25g-4x
• 10g-4x
Port-group1/1/2 5、6、7、8
• 25g-4x
• 10g-4x
226
接口