API Guide
以下示例显示了将非默认配置添加到正在运行的配置:
OS10(conf-if-eth1/1/50)# negotiation off
OS10(conf-if-eth1/1/50)# show configuration
!
interface ethernet1/1/50
no shutdown
switchport access vlan 1
negotiation off
flowcontrol receive on
OS10(conf-if-eth1/1/50)# negotiation on
OS10(conf-if-eth1/1/50)# show configuration
!
interface ethernet1/1/50
no shutdown
switchport access vlan 1
negotiation on
flowcontrol receive on
以下示例显示了未将默认配置添加到正在运行的配置中:
OS10(conf-if-eth1/1/50)# negotiation auto
OS10(conf-if-eth1/1/50)# show configuration
!
interface ethernet1/1/50
no shutdown
switchport access vlan 1
flowcontrol receive on
以下示例显示了 no negotiation 命令将接口重置为使用的介质的默认设置。
OS10(conf-if-eth1/1/50)# no negotiation
OS10(conf-if-eth1/1/50)# show configuration
!
interface ethernet1/1/50
no shutdown
switchport access vlan 1
flowcontrol receive on
OS10(conf-if-eth1/1/50)# do show interface ethernet 1/1/50
Ethernet 1/1/50 is up, line protocol is up
Hardware is Eth, address is e4:f0:04:3e:2d:86
Current address is e4:f0:04:3e:2d:86
Pluggable media present, QSFP28 type is QSFP28 100GBASE-CR4-2.0M
Wavelength is 64
Receive power reading is not available
Interface index is 112
Internet address is not set
Mode of IPv4 Address Assignment: not set
Interface IPv6 oper status: Disabled
MTU 1532 bytes, IP MTU 1500 bytes
LineSpeed 100G, Auto-Negotiation on
Identifier
GUID-F47A803B-1A3F-44B9-A887-B1D5B395E0CB
Version 4
Status Translation approved
配置分解模式
使用受支持的分解线缆,您可以将 40GE QSFP+ 或 100GE QSFP28 端口以太网端口拆分为单独的分解接口。所有分解接口的速度都
相同。您可以使用 QSFP+ 收发器将 QSFP28 端口设置为在 40GE 模式下运行。
interface breakout node/slot/port map {10g-4x | 25g-4x | 40g-1x | 50g-2x |
100g-1x}
• node/slot/port — 输入物理端口信息。
• 10g-4x — 将 QSFP28 端口或 QSFP+ 端口拆分为四个 10G 接口。
• 25g-4x — 将 QSFP28 端口拆分为四个 25G 接口。
接口
247