Comparativo de comandos BGP entre diferentes fabricantes

De Wiki BPF
Revisão de 11h56min de 19 de fevereiro de 2020 por Glaubermattar (discussão | contribs)
Ir para navegação Ir para pesquisar

EM CONSTRUÇÃO

O formato de tabela fica confuso, vou fazer em texto plano mesmo, me ajudem ai pf

Ver prefixos recebidos de um Peer

Cisco

Comando: show ip bgp neighbors IP_DO_PEER received-routes

Exemplo: show ip bgp neighbors 192.0.2.1 received-routes

Comando IPv6: show bgp ipv6 unicast neighbors IP_DO_PEER received-routes

Exemplo IPv6: show bgp ipv6 unicast neighbors 2001:db8:3003:2::1 received-routes

Huawei

Comando IPv4: display bgp routing-table peer IP_DO_PEER received-routes

Exemplo IPv4: display bgp routing-table peer 192.0.2.1 received-routes

Comando IPv6: display bgp ipv6 routing-table peer IP_DO_PEER received-routes

Exemplo IPv6: display bgp ipv6 routing-table peer 2001:db8:3003:2::1 received-routes

Juniper

Comando: show route receive-protocol bgp IP_DO_PEER

Exemplo: show route receive-protocol bgp 192.0.2.1

Comando IPv6: show route receive-protocol bgp IP_DO_PEER

Exemplo IPv6: show route receive-protocol bgp 2001:db8:3003:2::1

Mikrotik

Comando: ip route print where received-from=NOME_DO_PEER

Exemplo: ip route print where received-from=Upstream-A

VyOS

Comando: show ip bgp neighbors NOME_DO_PEER received-routes

Exemplo: show ip bgp neighbors 2.2.2.1 received-routes

Comando IPv6: show ipv6 bgp neighbors IP_DO_PEER received-routes

Exemplo IPv6: show ipv6 bgp neighbors 2001:db8:3003:2::1 received-routes

Ver prefixos anunciados para um Peer

Cisco

Comando: show ip bgp neighbors IP_DO_PEER advertised-routes

Exemplo: show ip bgp neighbors 192.0.2.1 advertised-routes

Comando IPv6: show bgp ipv6 unicast neighbors IP_DO_PEER advertised-routes

Exemplo IPv6: show bgp ipv6 unicast neighbors 2001:db8:3003:2::1 advertised-routes

Huawei

Comando IPv4: display bgp routing-table peer IP_DO_PEER advertised-routes

Exemplo IPv4: display bgp routing-table peer 192.0.2.1 advertised-routes

Comando IPv6: display bgp ipv6 routing-table peer IP_DO_PEER advertised-routes

Exemplo IPv6: display bgp ipv6 routing-table peer 2001:db8:3003:2::1 advertised-routes

Juniper

Comando: show route advertising-protocol bgp IP_DO_PEER

Exemplo: show route advertising-protocol bgp 192.0.2.1

Comando IPv6: show route advertising-protocol bgp IP_DO_PEER

Exemplo IPv6: show route advertising-protocol bgp 2001:db8:3003:2::1

Mikrotik

Comando: routing bgp advertisements print NOME_DO_PEER

Exemplo: routing bgp advertisements print Upstream-A

VyOS

Comando: show ip bgp neighbors NOME_DO_PEER advertised-routes

Exemplo: show ip bgp neighbors 2.2.2.1 advertised-routes

Comando IPv6: show ipv6 bgp neighbors NOME_DO_PEER advertised-routes

Exemplo IPv6: show ipv6 bgp neighbors 2001:db8:3003:2::1 advertised-routes

Ver com quais communities um prefixo foi anunciado para um Peer

Cisco

Comando:

Exemplo:

Huawei

Comando IPv4: display bgp routing-table peer IP_DO_PEER advertised-routes PREFIXO MASCARA_CIDR

Exemplo IPv4: display bgp routing-table peer 192.0.2.1 advertised-routes 10.0.0.0 24

Comando IPv6:

Exemplo IPv6:

Juniper

Comando:

Exemplo:

Mikrotik

Comando: routing bgp advertisements print NOME_DO_PEER terse

Exemplo: routing bgp advertisements print Upstream-A terse

Ver resumo das sessões BGP

Cisco

Comando:

Exemplo:

Huawei

Comando IPv4:

Exemplo IPv4:

Comando IPv6:

Exemplo IPv6:

Juniper

Comando: show bgp summary

Mikrotik

Comando: /routing bgp peer print detail

VyOS

Comando: show ip bgp summary