API Guide

1. CONFIGURATION 模式下创建上行链路状态组。
uplink-state-group group-id
2. UPLINK-STATE-GROUP 模式下配置上游和下游接口。
upstream {interface-type | interface-range[ track-vlt-status ] | VLTi}
downstream {interface-type | interface-range}
3. 可选 UPLINK-STATE-GROUP 模式下禁用上行链路状态组跟踪。
no enable
4. 可选 UPLINK-STATE-GROUP 模式下提供上行链路状态组的描述性名称。
name string
5. UPLINK-STATE-GROUP 模式下当上游接口停机时配置要禁用的下游接口的数量。
downstream disable links{number | all}
6. 可选 UPLINK-STATE-GROUP 模式下启用已禁用的下游接口的自动恢复。
downstream auto-recover
7. 可选 UPLINK-STATE-GROUP 模式下配置计时器以延迟下游端口上的 UFD 操作。当您配置为在 VLT 网络中跟踪 VLT
态时如果 VLT 端口通道是上行链路状态组的上游成员则延迟计时器会在 VLT 状态为正在运行而不是对等端口通道运行状态
时触发。
defer-time timer
8. 可选 EXEC 模式下清除下游接口的 UFD 错误禁用状态。
clear ufd-disable
配置上行链路状态组
OS10(config)# uplink-state-group 1
OS10(conf-uplink-state-group-1)# upstream ethernet 1/1/7:1
OS10(conf-uplink-state-group-1)# downstream ethernet 1/1/1-1/1/5
OS10(conf-uplink-state-group-1)# downstream ethernet 1/1/9:2-1/1/9:3
OS10(conf-uplink-state-group-1)# enable
OS10(conf-uplink-state-group-1)# name UFDGROUP1
OS10(conf-uplink-state-group-1)# defer-time 10
OS10(conf-uplink-state-group-1)# no downstream auto-recover
OS10(conf-uplink-state-group-1)# downstream disable links 2
查看上行链路状态组配置
OS10#show uplink-state-group 1
Uplink State Group: 1 Status: Enabled,down
OS10# show uplink-state-group 1 detail
(Up): Interface up (Dwn): Interface down (Dis): Interface disabled
Uplink State Group : 1 Status : Enabled,up Name : UFDGROUP1
Defer Time : 10 second(s)
Upstream Interfaces : Eth 1/1/7:1(Up)
Downstream Interfaces: Eth 1/1/1(Dwn) Eth 1/1/2(Dwn) Eth 1/1/3(Dwn) Eth 1/1/4(Dwn)
Eth 1/1/5(Dwn) Eth 1/1/9:2(Dwn) Eth 1/1/9:3(Dwn)
OS10#show uplink-state-group 1 detail
(Up): Interface up (Dwn): Interface down (Dis): Interface disabled (NA): Not Available
*: VLT port-channel, V: VLT status, P: Peer Operational status ^: Tracking status
1250
上行链路故障检测