Mudanças entre as edições de "Comparativo de comandos BGP entre diferentes fabricantes"

De Wiki BPF
Ir para navegação Ir para pesquisar
Linha 6: Linha 6:
 
'''Cisco'''
 
'''Cisco'''
  
Comando: show ip bgp neighbors IP_DO_PEER received-routes
+
Comando: show ip bgp neighbors '''IP_DO_PEER''' received-routes
  
Exemplo: show ip bgp neighbors 192.0.2.1 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
 
Comando IPv6: show bgp ipv6 unicast neighbors '''IP_DO_PEER''' received-routes
Linha 16: Linha 16:
 
'''Huawei'''
 
'''Huawei'''
  
Comando IPv4: ''display bgp routing-table peer '''IP_DO_PEER''' received-routes''
+
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''
+
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  
 
Comando IPv6: display bgp ipv6 routing-table peer '''IP_DO_PEER''' received-routes  
Linha 26: Linha 26:
 
'''Juniper'''
 
'''Juniper'''
  
Comando:
+
Comando: show route receive-protocol bgp '''IP_DO_PEER'''
  
Exemplo:
+
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'''
 
'''Mikrotik'''
Linha 38: Linha 42:
 
'''VyOS'''
 
'''VyOS'''
  
Comando: ''sh ip bgp neighbors '''NOME_DO_PEER''' received-routes''
+
Comando: ''show ip bgp neighbors '''NOME_DO_PEER''' received-routes''
  
Exemplo: ''sh ip bgp neighbors 2.2.2.1 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
  
 
=== <u>Ver prefixos anunciados para um Peer</u> ===
 
=== <u>Ver prefixos anunciados para um Peer</u> ===
Linha 48: Linha 56:
  
 
Exemplo: ''show ip bgp neighbors 192.0.2.1 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'''
 
'''Huawei'''
Linha 55: Linha 67:
 
Exemplo IPv4: ''display bgp routing-table peer 192.0.2.1 advertised-routes''
 
Exemplo IPv4: ''display bgp routing-table peer 192.0.2.1 advertised-routes''
  
Comando IPv6:
+
Comando IPv6: display bgp ipv6 routing-table peer '''IP_DO_PEER''' advertised-routes
  
Exemplo IPv6:  
+
Exemplo IPv6: display bgp ipv6 routing-table peer '''2001:db8:3003:2::1''' advertised-routes
  
 
'''Juniper'''
 
'''Juniper'''
  
Comando:
+
Comando: show route advertising-protocol bgp '''IP_DO_PEER'''
  
Exemplo:
+
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'''
 
'''Mikrotik'''
Linha 73: Linha 89:
 
'''VyOS'''
 
'''VyOS'''
  
Comando: ''sh ip bgp neighbors '''NOME_DO_PEER''' advertised-routes''
+
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: ''sh ip bgp neighbors 2.2.2.1 advertised-routes''
+
Exemplo IPv6: show ipv6 ''bgp neighbors '''2001:db8:3003:2::1''' advertised-routes''
  
 
=== <u>Ver com quais communities um prefixo foi anunciado para um Peer</u> ===
 
=== <u>Ver com quais communities um prefixo foi anunciado para um Peer</u> ===

Edição das 11h56min de 19 de fevereiro de 2020

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