配置和监控 400ZR 和 400G OpenZR+ 相干光学器件
- 在配置模式下,转至
[edit interfaces interface-name]层次结构。[edit] user@host# edit interfaces interface-name
- 在 层次结构级别包括
[edit interfaces interface-name]speed 语句以配置速度。[edit interfaces interface-name] user@host# set speed (400g | 100g);
- 配置速度和通道化。
[edit interfaces interface-name] user@host# set number-of-sub-ports <number-of-sub-ports>
您必须使用层次结构来
[edit chassis fpc fpc-slot pic pic-number] set number-of-sub-ports number-of-sub-ports配置速度和通道化。 - 配置不同的应用程序以获得速度。
- 更改为 [edit interfaces interface-name optics-options]。
[edit interfaces interface-name] user@host# edit interfaces interface-name optics-options
- 在此 层次结构中执行以下命令。
user@host# set interfaces <interface> optics-options application hostid <hostid> mediaid <mediaid> [domainid <domainid>]
- 更改为 [edit interfaces interface-name optics-options]。
- [可选] 在层次结构级别中
[edit interfaces interface-name optics-options]配置输出功率。如果处于信道化模式,则必须使用第一个子端口配置输出功率。user@host# set interface et-<interface> optics-option tx-power <tx power>
示例:
user@host# set interfaces et-0/0/0:0 optics-options tx-power -10
- 指定光学器件的波长,以 nm 为单位。如果处于通道化模式,则必须使用第一个子端口来配置波长。
[edit interfaces interface-name optics-options] user@host# set wavelength nm
示例:
user@host# set interfaces et-0/0/0:0 optics-options wavelength 1552.52
- 要查看当前和历史性能指标,请使用命令
show interfaces transport pm。请参阅 show interfaces transport pm。