Cisco: show ip bgp com expressões regulares (regexp)
Para exibir rotas BGP com filtro, basta utilizar o comando show ip bgp regexp [regexp].
Exemplo (exibindo apenas as rotas originadas no AS local):
RouterA#sh ip bgp regexp ^$
BGP table version is 33242, local router ID is 10.1.0.134
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
* i10.50.16.0/24 10.5.0.98 0 100 0 i
*> 0.0.0.0 0 32768 i
*> 10.1.0.134/32 0.0.0.0 0 32768 i
*>i10.1.0.135/32 10.5.0.98 0 100 0 i
Mais exemplos aqui.
Não ha comentários
Leave a reply