API Guide

Description: peer_template_1_abcd
For address family: Unicast
BGP neighbor is leaf_v4, peer-group external
Update packing has 4_OCTET_AS support enabled
Number of peers in this group 2
Peer-group members:
100.5.1.1
100.6.1.1
OS10# show ip bgp peer-group leaf_v4 summary
BGP router identifier 100.0.0.8 local AS number 64601
Neighbor AS MsgRcvd MsgSent Up/Down State/Pfx
100.5.1.1 64802 376 325 04:28:25 1251
100.6.1.1 64802 376 327 04:26:17 1251
查看正在运行的配置
OS10# show running-configuration bgp
!
router bgp 64601
bestpath as-path multipath-relax
bestpath med missing-as-worst
non-deterministic-med
router-id 100.0.0.8
!
template leaf_v4
description peer_template_1_abcd !
address-family ipv4 unicast
distribute-list leaf_v4_in in
distribute-list leaf_v4_out out
route-map set_aspath_prepend in
!
neighbor 100.5.1.1
description leaf_connected_ebgp_neighbor
bfd
inherit template leaf_v4
remote-as 64802
no shutdown
!
neighbor 100.6.1.1
description leaf_connected_ebgp_neighbor
bfd
inherit template leaf_v4
remote-as 64802
no shutdown
!
Identifier
GUID-D646A2F5-BDEB-4FEE-906A-15A74DE190B8
Version 2
Status Translation approved
非默认 VRF 实例的对等模板
您可以创建对等模板以便一次将多个邻居添加到您创建的非默认 VRF 实例。
1. 启用 BGP并在 CONFIGURATION 模式下将 AS 编号分配给本地 BGP 扬声器 1 65535 适用于 2 字节 1 4294967295
| 0.1 65535.65535 适用于 4 字节或从 0.1 65535.65535以点分隔格式
router bgp as-number
2. 进入 CONFIG-ROUTER-VRF 模式以创建适用于您创建的非默认 VRF 实例的对等模板。
vrf vrf-name
3. CONFIG-ROUTER-VRF 模式下通过为其分配邻居名称来创建对等模板。
template template-name
3 547