API Guide

Identifier GUID-A45750BC-6DE1-4315-82DF-74643DDC6755
Version 5
Status Translation approved
快速外部故障切换
快速外部故障切换会终止任何直接相邻对等节点的 EBGP 会话如果用于到达对等主机的链路关闭BGP 不会等待保留计时器过
期。
默认情况下快速外部故障切换处于启用状态。要禁用或重新启用它请使用 [no] fast-external-fallover 命令。要使
fast-external-fallover 命令对已建立的 BGP 会话生效您必须使用 clear ip bgp {* | peer-ipv4-address |
peer-ipv6-address} 命令重置会话。
查看快速外部故障切换配置
OS10(config)# do show running-configuration bgp
!
router bgp 300
!
neighbor 3.1.1.1
remote-as 100
no shutdown
!
neighbor 3::1
remote-as 100
no shutdown
!
address-family ipv6 unicast
activate
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/1)# show configuration
!
interface ethernet1/1/1
ip address 3.1.1.3/24
no switchport
no shutdown
ipv6 address 3::3/64
OS10(conf-if-eth1/1/1)# shutdown
OS10(conf-if-eth1/1/1)# do show ip bgp summary
BGP router identifier 11.11.11.11 local AS number 300
Neighbor AS MsgRcvd MsgSent Up/
Down State/Pfx
3.1.1.1 100 6 6
00:00:15 Active
3::1 100 8 11
00:00:15 Active
OS10(conf-if-eth1/1/1)#
查看快速外部故障切换取消配置
OS10(config-router-bgp-300)# do show running-configuration bgp
!
router bgp 300
no fast-external-fallover
!
neighbor 3.1.1.1
remote-as 100
no shutdown
!
neighbor 3::1
remote-as 100
no shutdown
!
address-family ipv6 unicast
activate
OS10(config-router-bgp-300)#
OS10(conf-if-eth1/1/1)# do clear ip bgp *
OS10# show ip bgp summary
BGP router identifier 11.11.11.11 local AS number 300
Neighbor AS MsgRcvd MsgSent Up/Down State/Pfx
-----------------------------------------------------------------
3.1.1.1 100 7 4 00:00:08 3
552 3