#show ip bgp regexp expression
#show ip as-path-access-listfilter-list#
#show ip bgpfilter-list # access-list#
(config-router)# neighbor [IP-address/peer-group] prefix-listlist [in/out
(config-router)# distribute-list prefix-listlist out routing-process
Router(config)# ip prefix-list Example seq 10 permit 192.168.1.0/24 ge 25This statement is like saying, “match any address that starts with 192.168.1.0, but has a subnet mask of 25 bits or greater.” This would effectively match any subnet of the classful address 192.168.1.0/24.
- ”refcount” in the output of “show ip prefix-list detail” means how many routes matched that entry.
(config-router)# neighborIP-address capibility orf prefix-list [both/send/receive]
# show ip bgp neighborIP-address
# clear ip bgpneighbor in prefix-list
- ”ORF Send” on one router, needs “Receive” on the neighboring router.
# debug ip bgp update
(config-router)# neighbor IP-address soft-reconfiguration inbound //stores a copy of neighbor routing-table in the memory, and processes the new policies on it.
# clear ip bgp IP-address soft in
# clear ip bgp IP-address soft out // Applying the new policies and sends the new routes to the neighbor
# show ip bgp neighbor IP-address received/advertised
# clear ip bgp neighbor IP-address in // It’s called route-refresh and is better and soft-reconfig. This features is depended on the capability of Route-Refresh. This capability is mentioned in the “show ip bgp neighbor ip-address“