R1#show ip bgp regexp .*
. - Any single character
* - Zero or more instances
.* - Match Everything
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxZJAolNSpmLoZoNBnpieUz2nZhPBWGGAmqgxNz40p1I95y0-Zc9jeqZDigjyKAifpmKP62rESlAXTP3daRKnuI2CmHdH922vQjOoUfTrshfsf50Jo9ypwMg0eD3jXZyzlfFLw_119jAjl/s400/sh+ip+bgp.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjApWom_PGp6Qrzg5Lx24DFzz0SSTEoTGRYQAzmeGaz-0A4o8nv9nwCXc3RBdX9Kijex-RrYIinlRT0CVrRnplASVFr4amYC7ZR-82_6qYGe2cnM3nnV4G2RXXoi-9tocSPNQRPVZr0ErAS/s400/locally+orig+routes.png)
^200$ - routes only origin from AS200 (Directly connected to AS200)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxIQ5roOOwetEZHa1-HbUZd_NtSZBNzpp7CPpnctlaLO907VvB7jeibp6AIiN2U0JM0q-7YP6oU6p_VDbmc5_hXXyzA1vova2BxC_ysM35h9zECKKj4zq9dsnc247fHKZkZEx2g3WU0m5/s400/only+origin+from+as200.png)
_300$ - routes origin from AS300
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMbMnjV5h9VomP0nlFzkgUVJ3ttVEpQgrnjMO0IMCI2t79Xjofnv-JebW4FuT2JL7aW3I3PCVrToZEnzoFDBgSRKu55TonoO82rxG3yNCi7SLjlKNLpiYXY3j5gRzcnVJ2GvhpITbfmrTK/s400/routes+origin+from+as300.png)
^200_ - routes learning from AS200 (Compare with the output of ^200_.)
^300_ - routes learning from AS300 (Compare with the output of ^300_.)
^400_ - routes learning from AS400 (Compare with the output of ^400_.)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiKvUPdwxVRqmPPBFhGgiyklmRQ-psy_7ye0TrYyDrZwhMQK5Ffg2BbNBj3Fj3k62cI0cVYffEKaclOdhaOoZkPVMmJBUN06Qy6TEfH2Z-RW9cZz2TBQxLbkqI9YjBKPZXAJRwj9eCEBtmF/s400/routes+learn+from+AS.png)
^200_. - Compare with the output of ^200_
^300_. - Compare with the output of ^300_
^400_. - Compare with the output of ^400_
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAVi-enTw4Ga29yvWn5BqyBGuMUBuy1SlGUjmaAVqyZBGSr4sk-5-vY-Xz_mD3IMSAGi6DjnipFVEIgV_S7FEtkRkSeEZW8oYDPV_pfeyo_Avv1S60FwotmXWjPZZUTqMKx9MKw4-n8pqN/s400/networks+behind+AS+stop.png)
_200_ - routes pass through AS200
_300_ - routes pass through AS300
_400_ - routes pass through AS400
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiD-a5lQ8JI6qpY18O960oeMoZJkPz1TEiHHA065BUaEQH5PP3_E9nKqzfiDjebG_mJgyOHsS4YWbMm6h9KBJlTZDsgmqhMtCOKiTkEow2hF_YJ8MAnyGHCw1moNMTwW85j9D_VByno4KVN/s400/pass+through+AS.png)
Study more about BGP Regular Expressions @ below links:
Link 1
Link 2
Link 3
No comments:
Post a Comment