*> 211.21.26.0/24 110.110.110.10 0 1000 300
*> 1.1.1.0/24 192.168.88.250 444 0 606
*> 179.98.0.0 192.168.88.250 444 0 606
*> 192.92.86.0 192.168.88.250 8883 0 606
*> 192.168.88.0 192.168.88.250 444 0 606
*> 200.200.200.0 192.168.88.250 777 0 606
At present, use the regular expression in the show command. The effect is shown as
follows:
DGS-3610# show ip bgp regexp __300__
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Status Network Next Hop Metric LocPrf Path
------ ------------------ --------------- -------- -------- -------------------
*> 211.21.21.0/24 110.110.110.10 0 1000 200 300
*> 211.21.23.0/24 110.110.110.10 0 1000 200 300
*> 211.21.25.0/24 110.110.110.10 0 1000 300
*> 211.21.26.0/24 110.110.110.10 0 1000 300
29.18 BGP Configuration Examples
The following lists the BGP configuration.
29.18.1 Configuring BGP Neighbor
The following will show how to configure the BGP neighbor. Use the neighbor remote-as
command to configure the BGP neighbor. The concrete configuration is shown as follows:
router bgp 109
neighbor 131.108.200.1 remote-as 167
neighbor 131.108.234.2 remote-as 109
neighbor 150.136.64.19 remote-as 99
Configure one IBGP peer 131.108.234.2 and two EBGP peers such as 131.108.200.1 and
150.136.64.19.
The following is an example to configure the bgp neighbor. For the relationship among
routers and the assignment of the IP addresses, refer to the schematics.