API Guide

* 清除所有对等。
neighbor-address 使用此 IP 地址清除邻居。
IPv4 邻居进行软重新配置
OS10(conf-router-neighbor)# address-family ipv4 unicast
OS10(conf-router-bgp-neighbor-af)# soft-reconfiguration inbound
OS10(conf-router-bgp-neighbor-af)# end
OS10# clear ip bgp 10.2.1.2
IPv6 邻居进行软重新配置
OS10(conf-router-neighbor)# address-family ipv6 unicast
OS10(conf-router-bgp-neighbor-af)# soft-reconfiguration inbound
OS10(conf-router-bgp-neighbor-af)# end
OS10# clear ip bgp 2001:0000:3221:DFE8:63::FEAB
Identifier GUID-727E21E4-CFCF-47B3-ACFC-5587F142EBB8
Version 2
Status Translation approved
重新分发 iBGP 路由到 OSPF
当您配置系统将 BGP 路由重新分发至 OSPF 默认情况下系统仅重新分发 eBGP 路由。要将 iBGP 路由重新分发至 OSPF请配
置路由映射并将其应用到 OSPF 配置下的 redistribute 命令。
配置示例
以下示例拓扑具有两个交换机 Core 1 Core 2它们分别相互连接并使用 OSPF 共享路由。边界路由器 BR 连接到 Core 1并使用
内部 BGP 进行共享。Core 1 将由 iBGP 学习的路由重新分配至 Core 2 OSPF
BR 上的配置
BR 配置了 BGP这将形成 BGP 邻居与 Core 1 的邻接关系。
interface Loopback0
ip address 192.168.100.1/24
!
interface ethernet1/1/1
no shutdown
no switchport
ip address 10.10.9.1
!
router bgp 20
network 192.168.100.0
neighbor 10.10.9.2 remote-as 20
address-family ipv4 unicast
Core 1 上的配置
564 3