{AS65000} {AS65001} ──[ex-rt]─────[rt1]─────[rt2]── ←eBGP→ ←iBGP→
rt(config)# ip route ip-addr 255.255.255.0
rt(config)# router bgp as-num
rt(config-router)# neighbor ip-addr remote-as as-num
rt(config-router)# neighbor ip-addr update-source Loopback 0
rt(config-router)# neighbor ip-addr eBGP-multihop [hop]
rt(config-router)# neighbor ip-addr password passwd
rt(config)# router bgp as-num rt(config-router)# neighbor ip-addr1 peer-group name rt(config-router)# neighbor ip-addr2 peer-group name rt(config-router)# neighbor name remote-as as-num rt(config-router)# neighbor name command
rt(config)# router bgp as-num
rt(config-router)# neighbor ip-addr remote-as as-num
rt(config-router)# neighbor ip-addr update-source Loopback 0
rt(config-router)# network ip-addr [mask netmask]
rt(config-router)# synchronization
rt(config-router)# neighbor neig-addr next-hop-self
rt(config)# ip prefix-list name permit|deny ip-addr/prefix [ge prefix] [le prefix]
rt(config)# route-map permit seq-num rt(config-route-map)# match ip prefix-list name rt(config-route-map)# set local-preference value
rt(config-router)# bgp default local-preference value
rt(config-router)# neighbor ip-addr weight weight
rt(config-router)# neighbor ip-addr route-reflector-client
rt(config)# access-list acl-num permit net-addr/wildcard-mask rt(config)# route-map map-name permit seq-num
rt(config-route-map)# match ip address acl-num
rt(config-route-map)# set community foo
rt(config)# router bgp as-num rt(config-router)# neighbor ip-addr send-community rt(config-router)# neighbor ip-addr route-map map-name out
rt# show ip bgp community no-export
rt(config-router)# bgp cluster-id cluster-id
rt(config)# ip prefix-list name permit|deny ip-addr/prefix [ge prefix] [le prefix]
rt(config)# neighbor ip-addr prefix-list name in|out
rt(config-router)# aggregate-address net-addr netmask [summary-only]
rt(config-router)# distance bgp external-distance internal-distance local-distance
rt(config-router)# bgp redistribute-internal
rt# show ip bgp neighbors
rt# show ip bgp summary
rt# show ip bgp
#pre(soft){{
rt# show ip route