Mostrar el vecino BGP
List of Syntax
SintaxisSintaxis (conmutador de serie EX, serie QFX y serie OCX)
Sintaxis
Sintaxis (conmutador de serie EX, serie QFX y serie OCX)
Release Information
Comando introducido antes de la versión 7,4 Junos OS.
Comando introducido en Junos OS versión 9,0 para conmutadores de la serie EX.
Comando introducido en Junos OS versión 11,3 para el serie QFX.
Comando introducido en Junos OS versión de 14,1 x53-D20 para la serie OCX.
orfopción presentada en Junos OS versión 9,2.
exact-instanceopción presentada en Junos OS versión 11,4.
output-queueopción presentada en Junos OS versión 16,1.
DontGRHelpFateSharingBfdDownse añade al options campo de la salida del comando en Junos os Release 18.3 R1.
PurgePending, PurgeInProgressy PurgeImpatient se agregan al Flags campo del comando Output en Junos os versión 19.4 R1.
Descripción
Mostrar información acerca de BGP los elementos del mismo nivel.
Opciones
Información adicional
Para obtener más información local-address, nlrisobre hold-time, las preference instrucciones y, vea Junos OS Routing Protocols Library for Routing Devicesel.
Nivel de privilegio requerido
vista
Temas relacionados
Lista de ejemplos
Mostrar el vecino BGPMostrar el vecino BGP (no-ayuda-destino-compartido-BFD está configurado)
Mostrar BGP Neighbor (CLNS)
Mostrar el vecino BGP (VPN de capa 2)
muestra el vecino BGP (VPN de capa 3) (no compatible con la serie OCX).
Mostrar dirección de vecino BGP Neighbor
Mostrar dirección de vecino BGP Neighbor
Mostrar dirección de vecino de BGP Neighbor (BGP reinicio correcto habilitado)
Mostrar dirección de vecino de BGP Neighbor (BGP reinicio correcto de larga duración)
Mostrar detalle de dirección de vecino ORF de BGP Neighbor
Mostrar sistema lógico BGP Neighbor
Mostrar salida BGP Neighbor-Queue-cola
Mostrar el vecino BGP (Ingeniería de tráfico de segmento de enrutamiento)
Mostrar el vecino BGP (con una particionamiento de costillas configurada)
Campos de salida
Tabla 1describe los campos de salida del show bgp neighbor comando. Los campos de salida se enumeran en el orden aproximado en el que aparecen.
Tabla 1: Mostrar campos de salida de vecino de BGP
Nombre del campo | Descripción de campo |
---|---|
Peer | Dirección del vecino BGP. La dirección va seguida del número de puerto del vecino. |
AS | COMO el número del interlocutor. |
Local | Dirección del dispositivo de enrutamiento local. La dirección va seguida del número de puerto del mismo nivel. |
Type | Tipo de interlocutor: Internalo External. |
State | Estado actual de la sesión BGP:
|
Flags | Indicadores de BGP internos:
|
Last state | Estado anterior de la sesión de BGP:
|
Last event | Última actividad producida durante la BGP sesión:
|
Last error | Último error ocurrido en la sesión de BGP:
|
Export | Nombre de la Directiva de exportación configurada en el sistema del mismo nivel. |
Import | Nombre de la Directiva de importación que está configurada en el sistema del mismo nivel. |
Options | Opciones de BGP configuradas:
|
Path-attributes dropped | Códigos de atributo de ruta que se quitan de las actualizaciones de vecinos. |
Path-attributes ignored | Códigos de atributo de ruta que se omiten durante las actualizaciones de vecinos. |
Peer does not support LLGR Restarter or Receiver functionality | BGP vecino no es totalmente compatible con el modo de reinicio correcto y duradero (LLGR). |
Peer does not support LLGR Restarter functionality | BGP vecino no admite el modo de reinicio correcto de larga duración (LLGR) para cualquier familia. |
Authentication key change | (Sólo aparece si la authentication-keychain instrucción está configurada) Nombre de la cadena clave de autenticación habilitada. |
Authentication algorithm | (Sólo aparece si la authentication-algorithm instrucción está configurada) Tipo de algoritmo de autenticación habilitado: hmaco md5. |
Address families configured | Nombres de familias de direcciones configuradas para VPN. |
BGP-Static Advertisement Policy | Nombre de la BGP Directiva estática configurada en el sistema del mismo nivel. |
Local Address | Dirección del dispositivo de enrutamiento local. |
Remove-private options | Opciones asociadas a la remove-private instrucción. |
Holdtime | Mantenga la hora configurada con la hold-time instrucción. El tiempo de conservación es el triple del intervalo de mensajes de KeepAlive que se envían. |
Flags for NLRI inet-label-unicast | Indicadores relacionados con la unidifusión con etiqueta:
|
Traffic statistics | Información acerca de las estadísticas de tráfico con etiqueta de unidifusión:
|
Traffic Statistics Interval | Tiempo transcurrido entre los períodos de muestra para estadísticas de tráfico de unidifusión con etiqueta, en segundos. |
Preference | Valor de preferencia configurado con preference la instrucción. |
Outbound Timer | Tiempo durante el que la ruta está disponible en Junos OS tabla de enrutamiento antes de exportarla a BGP. Este campo sólo se muestra en el resultado si el out-delay parámetro está configurado con un valor distinto de cero. |
Number of flaps | Número de veces que BGP sesión ha dejado de funcionar y, a continuación, vuelva a la copia de seguridad. |
Threads related state | Muestra el estado relacionado con los subprocesos si la actualización de subprocesos está habilitada:
|
Peer ID | Identificador de enrutador del homólogo. |
Group index | Número de índice del grupo de par BGP. El número de índice diferencia los grupos cuando se divide un solo BGP grupo debido a opciones de configuración diferentes en los niveles de grupo y de par. |
Peer index | Índice que es único dentro del grupo BGP al que pertenece el elemento del mismo nivel. |
Local ID | Identificador de enrutador del dispositivo de enrutamiento local. |
Local Interface | Nombre de la interfaz en el dispositivo de enrutamiento local. |
Active holdtime | Conserve el tiempo que el dispositivo de enrutamiento local negoció con el interlocutor. |
Keepalive Interval | Intervalo de KeepAlive, en segundos. |
I/O Session Thread | Muestra el subproceso de sesión de e/s BGP y su estado si la subprocesamiento de actualizaciones está habilitada. |
I/O Session Thread | Muestra el subproceso de sesión de e/s BGP y su estado si la subprocesamiento de actualizaciones está habilitada. |
BFD | Estado de la detección de fallos de BFD. |
Local Address | Nombre de la interfaz conectada directamente sobre la que se establece el emparejamiento de EBGP directo. |
NLRI and times for LLGR configured on peer | Los nombres de las familias de direcciones y el tiempo de cierre de BGP un reinicio normal duradero configurado en el par BGP o en el vecino. Las horas se muestran con el demonio de protocolo de enrutamiento (RPD)% #0T formato: <weeks>w<days>d <hours>:<minutes>:<seconds> Los elementos de cero a la izquierda se omiten, por ejemplo, un valor inferior a una semana no incluye las semanas. |
NLRI and times that peer supports LLGR Restarter for | Nombres de familias y tiempo obsoleto que el par BGP admite para el modo de reinicio durante BGP reinicio correcto de larga duración. Las horas se muestran con el demonio de protocolo de enrutamiento (RPD)% #0T formato: <weeks>w<days>d <hours>:<minutes>:<seconds> Los elementos de cero a la izquierda se omiten, por ejemplo, un valor inferior a una semana no incluye las semanas. |
NLRI that peer saved LLGR forwarding for | Nombre de la familia de direcciones para la que el par BGP guardado BGP reenvío correcto de los reinicios. |
Graceful Restart Details | Cantidad de tiempo restante hasta que la LLGR expire y se muestre el tiempo restante del temporizador obsoleto GR, junto con los detalles de las COSTILLAs, mientras está activo el modo de receptor LLGR (un sistema del mismo nivel que negoció LLGR se desconectó y no se reconectó todavía). |
NLRI we are holding stale routes for | Nombres de las familias de direcciones (NLRIs) para las que se mantienen o conservan las rutas obsoletas cuando BGP modo receptor con reinicio correcto está activo para un vecino. |
Time until end-of-rib is assumed for stale routes | Cantidad de tiempo restante del temporizador obsoleto hasta el que se asumen los marcadores de fin de costilla (EoR) cuando se activa BGP modo de receptor de reinicio normal para un vecino. La hora se muestra en formato de hora universal coordinada (UTC) (AAAA-MM-DD-HH: MM: SS). Observe que la visualización del temporizador obsoleto (‘tiempo hasta el fin de la costilla’.) también está presente cuando una sesión está activa, pero el vecino no ha enviado todavía todas las indicaciones de fin de la costilla. |
Time until stale routes are deleted or become long-lived stale | Cantidad de tiempo hasta el que las rutas obsoletas se eliminan o pasan a ser rutas obsoletas de larga duración cuando se activa BGP modo de receptor de reinicio normal para un vecino. |
NLRI for restart configured on peer | Nombres de las familias de direcciones configuradas para el reinicio. |
NLRI advertised by peer | Familias de direcciones que admiten los interlocutores: unicasto multicast. |
NLRI for this session | Familias de direcciones que se utilizan para esta sesión. |
Peer supports Refresh capability | Capacidad remota’del mismo nivel para enviar y solicitar un reanuncio de tabla de enrutamiento completo (capacidad de actualización de rutas). Para obtener más información, consulte RFC 2918, Capacidad de Actualizar de ruta para BGP-4. |
Restart time configured on peer | Tiempo configurado permitido para reiniciar en el vecino. |
Stale routes from peer are kept for | Cuando se negocia el reinicio correcto, el tiempo máximo permitido para mantener las rutas de los vecinos después de que la sesión de BGP haya dejado de funcionar. |
Peer does not support Restarter functionality | El modo de reinicio con reinicio correcto está deshabilitado en el sistema del mismo nivel. |
Peer does not support Receiver functionality | El modo auxiliar de reinicio correcto está deshabilitado en el interlocutor. |
Restart time requested by this peer | Hora de reinicio solicitada por este vecino durante la negociación de la capacidad. |
Restart flag received from the peer | Cuando aparece este campo, el anunciador BGP se ha reiniciado (reiniciando) y este interlocutor no debería esperar al end-of-rib marcador del orador antes de anunciar información enrutadora al orador. |
NLRI that peer supports restart for | El vecino admite un reinicio normal para esta familia de direcciones. |
NLRI peer can save forwarding state | El vecino que admite esta familia de direcciones guarda todos los Estados de reenvío. |
NLRI that peer saved forwarding for | Vecino guarda todos los Estados de reenvío de esta familia de direcciones. |
NLRI that restart is negotiated for | El enrutador admite un reinicio normal para esta familia de direcciones. |
NLRI of received end-of-rib markers | Familias de direcciones para las que se reciben marcadores de fin de enrutamiento y tabla desde el vecino. |
NLRI of all end-of-rib markers sent | Las familias para las que se envían marcadores de la tabla de fin de enrutamiento al vecino. |
Peer supports 4 byte AS extension (peer-as 1) | Peer entiende 4 bytes como números en mensajes de BGP. El interlocutor ejecuta Junos OS versión 9,1 o posterior. |
NLRIs for which peer can receive multiple paths | Aparece en la salida del comando del enrutador local si el elemento del mismo nivel inferior está configurado para recibir varias rutas BGP en un único destino, en lugar de recibir únicamente la ruta activa. El valor posible es inet-unidifusión. |
NLRIs for which peer can send multiple paths: inet-unicast | Aparece en la salida del comando del enrutador local si el elemento de nivel superior de flujo está configurado para enviar varias rutas de BGP a un único destino, en lugar de enviarse solo la ruta activa. El valor posible es inet-unidifusión. |
Table inet.number | Información acerca de la tabla de enrutamiento:
|
Last traffic (seconds) | Última vez que se recibió tráfico desde el interlocutor o se envió al mismo nivel, y la última vez que se comprobó el dispositivo de enrutamiento local. |
Input messages | Mensajes que ha recibido BGP desde el búfer de socket de recepción, en el que se muestra el número total de mensajes, el número de mensajes de actualización, el número de veces que se cambia y actualiza una directiva, y el tamaño de búfer en octetos. El tamaño del búfer es 16 KB. |
Output messages | Mensajes que BGP ha escrito en el búfer de socket de transmisión, en el que se muestra el número total de mensajes, el número de mensajes de actualización, el número de veces que se cambia y actualiza una directiva, y el tamaño de búfer en octetos. El tamaño del búfer es 16 KB. |
Input dropped path attributes | Información acerca de los atributos de ruta eliminados:
|
Input ignored path attributes | Información acerca de los atributos de ruta omitidos:
|
Output queue | Número de paquetes de BGP que se ponen en cola para ser transmitidos a un vecino en particular para una tabla de enrutamiento específica. La cola 0 de salida es para NLRIs unidifusión, 1 y Queue es para NLRIs de multidifusión. También especifica el nombre de la tabla de enrutamiento y la NLRI a través de la que se anunció la tabla (routing table name, NLRI), en el formato. Si la función de subprocesamiento de actualización está habilitada, el campo cola de salida mostrará el número de colas de salida de los subprocesos de actualización con un campo adicional que muestra el número de colas de salida por nervio como recuperaciones de las principales o particiones. Nota: La cola de salida de las tablas de enrutamiento que no se anuncian solo se mostrarán en el nivel de extensive salida. |
Trace options | Configurada la traza de paquetes y operaciones del Protocolo de BGP. |
Trace file | Nombre del archivo que va a recibir el resultado de la operación de seguimiento. |
Filter Updates recv | (orf solo opción) Número de filtros de ruta salientes recibidos para cada familia de direcciones configurada. Nota: El contador es acumulativo. Por ejemplo, el contador aumenta después de que el interlocutor remoto reenvía o borra la lista de prefijos de filtrado de rutas salientes. |
Immediate | (orf solo opción) Número de actualizaciones de ruta recibidas con el indicador inmediato activado. El indicador inmediato indica que el par BGP debe reanunciar las rutas actualizadas. Nota: El contador es acumulativo. Por ejemplo, el contador aumenta después de que el interlocutor remoto reenvía o borra la lista de prefijos de filtrado de rutas salientes. |
Filter | (orf solo opción) Tipo de filtro de prefijo recibido: prefix-basedo extended-community. |
Received filter entries | (orf solo opción) Lista de filtros recibidos mostrados. |
seq | (orf solo opción) Orden numérico asignado a esta entrada de prefijo entre todas las entradas recibidas del prefijo del filtro de ruta saliente. |
prefix | (orf solo opción) Dirección de la entrada de prefijo que coincide con el filtro. |
minlength | (orf solo opción) Longitud mínima del prefijo, en bits, necesaria para coincidir con este prefijo. |
maxlength | (orf solo opción) Longitud máxima de prefijo, en bits, necesaria para coincidir con este prefijo. |
match | (orf solo opción) Para este prefijo, ya sea permit para deny o enrutar actualizaciones. |
Ejemplo
Mostrar el vecino BGP
user@host > show bgp neighbor
Para M Series, serie MX y enrutadores de serie T que se ejecutan Junos OS versión 16,1 show bgp neighbor o posterior, el resultado incluye el grupo de BGP al que pertenece el interlocutor, la instancia de enrutamiento (si existe) en la que está configurado el sistema del mismo nivel y la instancia de enrutamiento que usa el sistema del mismo nivel. para el contexto de reenvío (si corresponde). A continuación, se muestra un ejemplo.
Peer: 10.255.7.250+179 AS 10 Local: 10.255.7.248+63740 AS 10 Group: toAsbr2 Routing-Instance: master Forwarding routing-instance: toAs2 Type: Internal State: Established Flags: <Sync> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Export: [ redist_static ] Options: <Preference LocalAddress PeerAS Refresh> Options: <AdvertiseBGPStatic> Local Address: 10.255.7.248 Holdtime: 90 Preference: 170 Outbound Timer: 50 Number of flaps: 0 Peer ID: 10.255.7.250 Local ID: 10.255.7.248 Active Holdtime: 90 Keepalive Interval: 30 Group index: 0 Peer index: 0 BFD: disabled, down NLRI for restart configured on peer: inet-unicast NLRI advertised by peer: inet-unicast NLRI for this session: inet-unicast Peer supports Refresh capability (2) Stale routes from peer are kept for: 300 Peer does not support Restarter functionality NLRI that restart is negotiated for: inet-unicast NLRI of received end-of-rib markers: inet-unicast NLRI of all end-of-rib markers sent: inet-unicast Peer supports 4 byte AS extension (peer-as 10) Peer does not support Addpath NLRI that we support extended nexthop encoding for: inet-unicast NLRI that peer supports extended nexthop encoding for: inet-unicast Table inet.0 Bit: 10000 RIB State: BGP restart is complete Send state: in sync Active prefixes: 1 Received prefixes: 1 Accepted prefixes: 1 Suppressed due to damping: 0 Advertised prefixes: 1 Last traffic (seconds): Received 9 Sent 5 Checked 5 Input messages: Total 36 Updates 2 Refreshes 0 Octets 718 Output messages: Total 37 Updates 1 Refreshes 0 Octets 796 Output Queue[0]: 0 (inet.0, inet-unicast)
Peer: 10.255.162.214+52193 AS 100 Local: 10.255.167.205+179 AS 100 Type: Internal State: Established (route reflector client)Flags: <Sync> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Options: <Preference LocalAddress Cluster AddressFamily Rib-group Refresh> Address families configured: inet-unicast inet-vpn-unicast route-target Local Address: 10.255.167.205 Holdtime: 90 Preference: 170 Number of flaps: 0 Peer ID: 10.255.162.214 Local ID: 10.255.167.205 Active Holdtime: 90 Keepalive Interval: 30 Group index: 0 Peer index: 1
Mostrar el vecino BGP (no-ayuda-destino-compartido-BFD está configurado)
user@host> show bgp neighbor
Peer: 10.1.1.1 AS 200 Local: unspecified AS 17 Group: one Routing-Instance: master Forwarding routing-instance: master Type: External State: Idle Flags: <PeerInterfaceError> Last State: NoState Last Event: NoEvent Last Error: None Options: <Preference PeerAS Refresh> Options: <BfdEnabled> Options: <DontGRHelpFateSharingBfdDown> Holdtime: 90 Preference: 170 Number of flaps: 0 Trace options: bridge Trace file: /var/log/bgp-log size 131072 files 10 Peer: 20.1.1.1 AS 200 Local: unspecified AS 17 Group: one Routing-Instance: master Forwarding routing-instance: master Type: External State: Idle Flags: <PeerInterfaceError> Last State: NoState Last Event: NoEvent Last Error: None Options: <Preference PeerAS Refresh> Options: <BfdEnabled> Options: <DontGRHelpFateSharingBfdDown> Holdtime: 90 Preference: 170 Number of flaps: 0 Trace options: bridge Trace file: /var/log/bgp-log size 131072 files 10 Peer: 30.1.1.1 AS 200 Local: unspecified AS 17 Group: two Routing-Instance: master Forwarding routing-instance: master Type: External State: Idle Flags: <PeerInterfaceError> Last State: NoState Last Event: NoEvent Last Error: None Options: <Preference PeerAS Refresh> Options: <BfdEnabled> Options: <DontGRHelpFateSharingBfdDown> Holdtime: 90 Preference: 170 Number of flaps: 0 Trace options: bridge Trace file: /var/log/bgp-log size 131072 files 10
Mostrar BGP Neighbor (CLNS)
user@host> show bgp neighbor
Peer: 10.245.245.1+179 AS 200 Local: 10.245.245.3+3770 AS 100 Type: External State: Established Flags: <ImportEval Sync> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Options: <Multihop Preference LocalAddress HoldTime AddressFamily PeerAS Rib-group Refresh> Address families configured: iso-vpn-unicast Local Address: 10.245.245.3 Holdtime: 90 Preference: 170 Number of flaps: 0 Peer ID: 10.245.245.1 Local ID: 10.245.245.3 Active Holdtime: 90 Keepalive Interval: 30 Peer index: 0 NLRI advertised by peer: iso-vpn-unicast NLRI for this session: iso-vpn-unicast Peer supports Refresh capability (2) Table bgp.isovpn.0 Bit: 10000 RIB State: BGP restart is complete RIB State: VPN restart is complete Send state: in sync Active prefixes: 3 Received prefixes: 3 Suppressed due to damping: 0 Advertised prefixes: 3 Table aaaa.iso.0 RIB State: BGP restart is complete RIB State: VPN restart is complete Send state: not advertising Active prefixes: 3 Received prefixes: 3 Suppressed due to damping: 0 Last traffic (seconds): Received 6 Sent 5 Checked 5 Input messages: Total 1736 Updates 4 Refreshes 0 Octets 33385 Output messages: Total 1738 Updates 3 Refreshes 0 Octets 33305 Output Queue[0]: 0 (bgp.isovpn.0, iso-vpn-unicast) Output Queue[1]: 0 (aaaa.iso.0, iso-vpn-unicast)
Mostrar el vecino BGP (VPN de capa 2)
user@host> show bgp neighbor
Peer: 10.69.103.2 AS 65536 Local: 10.69.103.1 AS 65539 Type: External State: Active Flags: <ImportEval> Last State: Idle Last Event: Start Last Error: None Export: [ BGP-INET-import ] Options: <Preference LocalAddress HoldTime GracefulRestart AddressFamily PeerAS Refresh> Address families configured: inet-unicast Local Address: 10.69.103.1 Holdtime: 90 Preference: 170 Number of flaps: 0 Peer: 10.69.104.2 AS 65539 Local: 10.69.104.1 AS 65539 Type: External State: Active Flags: <ImportEval> Last State: Idle Last Event: Start Last Error: None Export: [ BGP-L-import ] Options: <Preference LocalAddress HoldTime GracefulRestart AddressFamily PeerAS Refresh> Address families configured: inet-labeled-unicast Local Address: 10.69.104.1 Holdtime: 90 Preference: 170 Number of flaps: 0 Peer: 10.255.14.182+179 AS 69 Local: 10.255.14.176+2131 AS 69 Type: Internal State: Established Flags: <ImportEval> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Options: <Preference LocalAddress HoldTime GracefulRestart AddressFamily Rib-group Refresh> Address families configured: inet-vpn-unicast l2vpn Local Address: 10.255.14.176 Holdtime: 90 Preference: 170 Number of flaps: 0 Peer ID: 10.255.14.182 Local ID: 10.255.14.176 Active Holdtime: 90 Keepalive Interval: 30 NLRI for restart configured on peer: inet-vpn-unicast l2vpn NLRI advertised by peer: inet-vpn-unicast l2vpn NLRI for this session: inet-vpn-unicast l2vpn Peer supports Refresh capability (2) Restart time configured on the peer: 120 Stale routes from peer are kept for: 300 Restart time requested by this peer: 120 NLRI that peer supports restart for: inet-vpn-unicast l2vpn NLRI peer can save forwarding state: inet-vpn-unicast l2vpn NLRI that peer saved forwarding for: inet-vpn-unicast l2vpn NLRI that restart is negotiated for: inet-vpn-unicast l2vpn NLRI of received end-of-rib markers: inet-vpn-unicast l2vpn Table bgp.l3vpn.0 Bit: 10000 RIB State: BGP restart in progress RIB State: VPN restart in progress Send state: in sync Active prefixes: 10 Received prefixes: 10 Suppressed due to damping: 0 Table bgp.l2vpn.0 Bit: 20000 RIB State: BGP restart in progress RIB State: VPN restart in progress Send state: in sync Active prefixes: 1 Received prefixes: 1 Suppressed due to damping: 0 Table BGP-INET.inet.0 Bit: 30000 RIB State: BGP restart in progress RIB State: VPN restart in progress Send state: in sync Active prefixes: 2 Received prefixes: 2 Suppressed due to damping: 0 Table BGP-L.inet.0 Bit: 40000 RIB State: BGP restart in progress RIB State: VPN restart in progress Send state: in sync Active prefixes: 2 Received prefixes: 2 Suppressed due to damping: 0 Table LDP.inet.0 Bit: 50000 RIB State: BGP restart is complete RIB State: VPN restart in progress Send state: in sync Active prefixes: 1 Received prefixes: 1 Suppressed due to damping: 0 Table OSPF.inet.0 Bit: 60000 RIB State: BGP restart is complete RIB State: VPN restart in progress Send state: in sync Active prefixes: 2 Received prefixes: 2 Suppressed due to damping: 0 Table RIP.inet.0 Bit: 70000 RIB State: BGP restart is complete RIB State: VPN restart in progress Send state: in sync Active prefixes: 2 Received prefixes: 2 Suppressed due to damping: 0 Table STATIC.inet.0 Bit: 80000 RIB State: BGP restart is complete RIB State: VPN restart in progress Send state: in sync Active prefixes: 1 Received prefixes: 1 Suppressed due to damping: 0 Table L2VPN.l2vpn.0 Bit: 90000 RIB State: BGP restart is complete RIB State: VPN restart in progress Send state: in sync Active prefixes: 1 Received prefixes: 1 Suppressed due to damping: 0 Last traffic (seconds): Received 0 Sent 0 Checked 0 Input messages: Total 14 Updates 13 Refreshes 0 Octets 1053 Output messages: Total 3 Updates 0 Refreshes 0 Octets 105 Output Queue[0]: 0 (bgp.l3vpn.0, inet-vpn-unicast) Output Queue[1]: 0 (bgp.l2vpn.0, inet-vpn-unicast) Output Queue[2]: 0 (BGP-INET.inet.0, inet-vpn-unicast) Output Queue[3]: 0 (BGP-L.inet.0, inet-vpn-unicast) Output Queue[4]: 0 (LDP.inet.0, inet-vpn-unicast) Output Queue[5]: 0 (OSPF.inet.0, inet-vpn-unicast) Output Queue[6]: 0 (RIP.inet.0, inet-vpn-unicast) Output Queue[7]: 0 (STATIC.inet.0, inet-vpn-unicast) Output Queue[8]: 0 (L2VPN.l2vpn.0, inet-vpn-unicast)
muestra el vecino BGP (VPN de capa 3) (no compatible con la serie OCX).
user@host> show bgp neighbor
Peer: 192.0.2.0.179 AS 10045 Local: 192.0.2.1+1214 AS 10045 Type: Internal State: Established Flags: <ImportEval> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Export: [ match-all ] Import: [ match-all ] Options: <Preference LocalAddress HoldTime GracefulRestart AddressFamily Rib-group Refresh> Address families configured: inet-vpn-unicast Local Address: 192.0.2.1 Holdtime: 90 Preference: 170 Flags for NLRI inet-labeled-unicast: TrafficStatistics Traffic Statistics: Options: all File: /var/log/bstat.log size 131072 files 10 Traffic Statistics Interval: 60 Number of flaps: 0 Peer ID: 192.168.1.110 Local ID: 192.168.1.111 Active Holdtime: 90 Keepalive Interval: 30 NLRI for restart configured on peer: inet-vpn-unicast NLRI advertised by peer: inet-vpn-unicast NLRI for this session: inet-vpn-unicast Peer supports Refresh capability (2) Restart time configured on the peer: 120 Stale routes from peer are kept for: 300 Restart time requested by this peer: 120 NLRI that peer supports restart for: inet-vpn-unicast NLRI peer can save forwarding state: inet-vpn-unicast NLRI that peer saved forwarding for: inet-vpn-unicast NLRI that restart is negotiated for: inet-vpn-unicast NLRI of received end-of-rib markers: inet-vpn-unicast NLRI of all end-of-rib markers sent: inet-vpn-unicast Table bgp.l3vpn.0 Bit: 10000 RIB State: BGP restart is complete RIB State: VPN restart is complete Send state: in sync Active prefixes: 2 Received prefixes: 2 Suppressed due to damping: 0 Table vpn-green.inet.0 Bit: 20001 RIB State: BGP restart is complete RIB State: VPN restart is complete Send state: in sync Active prefixes: 2 Received prefixes: 2 Suppressed due to damping: 0 Last traffic (seconds): Received 15 Sent 20 Checked 20 Input messages: Total 40 Updates 2 Refreshes 0 Octets 856 Output messages: Total 44 Updates 2 Refreshes 0 Octets 1066 Output Queue[0]: 0 (bgp.l3vpn.0, inet-vpn-unicast) Output Queue[1]: 0 (vpn-green.inet.0, inet-vpn-unicast) Trace options: detail packets Trace file: /var/log/bgpgr.log size 131072 files 10
Mostrar dirección de vecino BGP Neighbor
user@host> show bgp neighbor 192.168.1.111
Peer: 10.255.245.12+179 AS 35 Local: 10.255.245.13+2884 AS 35 Type: Internal State: Established (route reflector client)Flags: <Sync> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Options: <Preference LocalAddress HoldTime Cluster AddressFamily Rib-group Refresh> Options: RFC6514CompliantSafi129 Address families configured: inet-vpn-unicast inet-labeled-unicast Local Address: 10.255.245.13 Holdtime: 90 Preference: 170 Flags for NLRI inet-vpn-unicast: AggregateLabel Flags for NLRI inet-labeled-unicast: AggregateLabel Number of flaps: 0 Peer ID: 10.255.245.12 Local ID: 10.255.245.13 Active Holdtime: 90 Keepalive Interval: 30 BFD: disabled NLRI advertised by peer: inet-vpn-unicast inet-labeled-unicast NLRI for this session: inet-vpn-unicast inet-labeled-unicast Peer supports Refresh capability (2) Restart time configured on the peer: 300 Stale routes from peer are kept for: 60 Restart time requested by this peer: 300 NLRI that peer supports restart for: inet-unicast inet6-unicast NLRI that restart is negotiated for: inet-unicast inet6-unicast NLRI of received end-of-rib markers: inet-unicast inet6-unicast NLRI of all end-of-rib markers sent: inet-unicast inet6-unicast Table inet.0 Bit: 10000 RIB State: restart is complete Send state: in sync Active prefixes: 4 Received prefixes: 6 Suppressed due to damping: 0 Table inet6.0 Bit: 20000 RIB State: restart is complete Send state: in sync Active prefixes: 0 Received prefixes: 2 Suppressed due to damping: 0 Last traffic (seconds): Received 3 Sent 3 Checked 3 Input messages: Total 9 Updates 6 Refreshes 0 Octets 403 Output messages: Total 7 Updates 3 Refreshes 0 Octets 365 Output Queue[0]: 0 (inet.0, inet-unicast) Output Queue[1]: 0 (inet6.0, inet6-unicast) Trace options: detail packets Trace file: /var/log/bgpgr size 131072 files 10
Mostrar dirección de vecino BGP Neighbor
user@host> show bgp neighbor 192.168.4.222
Peer: 192.168.4.222+4902 AS 65501 Local: 192.168.4.221+179 AS 65500 Type: External State: Established Flags: <Sync> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: Cease Export: [ export-policy ] Import: [ import-policy ] Options: <Preference HoldTime AddressFamily PeerAS PrefixLimit Refresh> Address families configured: inet-unicast inet-multicast Holdtime: 60000 Preference: 170 Number of flaps: 4 Last flap event: RecvUpdate Error: 'Cease' Sent: 5 Recv: 0 Peer ID: 10.255.245.6 Local ID: 10.255.245.5 Active Holdtime: 60000 Keepalive Interval: 20000 Peer index: 0 BFD: disabled, down Local Interface: fxp0.0 NLRI advertised by peer: inet-unicast inet-multicast NLRI for this session: inet-unicast inet-multicast Peer supports Refresh capability (2) Table inet.0 Bit: 10000 RIB State: BGP restart is complete Send state: in sync Active prefixes: 8 Received prefixes: 10 Accepted prefixes: 10 Suppressed due to damping: 0 Advertised prefixes: 3 Table inet.2 Bit: 20000 RIB State: BGP restart is complete Send state: in sync Active prefixes: 0 Received prefixes: 0 Accepted prefixes: 0 Suppressed due to damping: 0 Advertised prefixes: 0 Last traffic (seconds): Received 357 Sent 357 Checked 357 Input messages: Total 4 Updates 2 Refreshes 0 Octets 211 Output messages: Total 4 Updates 1 Refreshes 0 Octets 147 Output Queue[0]: 0 (inet.0, inet-unicast) Output Queue[1]: 0 (inet.2, inet-multiicast) Trace options: all Trace file: /var/log/bgp size 10485760 files 10
Mostrar dirección de vecino de BGP Neighbor (BGP reinicio correcto habilitado)
user@router> show bgp neighbor 10.255.255.16
Peer: 10.255.255.16 AS 100 Local: 10.255.255.12 AS 100 Type: Internal State: Active Flags: <> Last State: Idle Last Event: Start Last Error: None Options: <Preference LocalAddress AddressFamily Rib-group Refresh> Options: <LLGR> Address families configured: l2vpn Local Address: 10.255.255.12 Holdtime: 90 Preference: 170 NLRI l2vpn: Number of flaps: 6 Last flap event: Restart NLRI we are holding stale routes for: inet-vpn-unicast Time until stale routes are deleted or become long-lived stale: 00:01:57 Time until end-of-rib is assumed for stale routes: 00:04:43 Table bgp.l3vpn.0 RIB State: BGP restart is complete RIB State: VPN restart is complete Send state: not advertising Active prefixes: 0 Received prefixes: 7 Accepted prefixes: 7 Suppressed due to damping: 0 Table foo.inet.0 Bit: 30000 RIB State: BGP restart is complete RIB State: VPN restart is complete Send state: not in sync Active prefixes: 0 Received prefixes: 7 Accepted prefixes: 7 Suppressed due to damping: 0
Mostrar dirección de vecino de BGP Neighbor (BGP reinicio correcto de larga duración)
user@router> show bgp neighbor 10.4.12.11
Peer: 10.4.12.11 AS 100 Local: 10.6.128.225 AS 100 Type: Internal State: Active Flags: <> Last State: Idle Last Event: Start Last Error: None Export: [ foo ] Options: <Preference LocalAddress Refresh GracefulRestart> Options: <LLGR> Local Address: 10.6.128.225 Holdtime: 90 Preference: 170 Number of flaps: 3 Last flap event: Restart Error: 'Cease' Sent: 0 Recv: 1 Time until long-lived stale routes deleted: inet-vpn-unicast 10:00:22 route-target 10:00:22 Table bgp.l3vpn.0 RIB State: BGP restart is complete RIB State: VPN restart is complete Send state: not advertising Active prefixes: 0 Received prefixes: 7 Accepted prefixes: 7 Suppressed due to damping: 0 Table foo.inet.0 Bit: 30000 RIB State: BGP restart is complete RIB State: VPN restart is complete Send state: not in sync Active prefixes: 0 Received prefixes: 7 Accepted prefixes: 7 Suppressed due to damping: 0
Mostrar detalle de dirección de vecino ORF de BGP Neighbor
user@host > show bgp neighbor orf 192.168.165.56
detail
Peer: 192.168.165.56+179 Type: External Group: ext1 inet-unicast Filter updates recv: 1 Immediate: 1 Filter: prefix-based receive Received filter entries: seq 1: prefix 2.2.2.2/32: minlen 32: maxlen 32: match deny: inet6-unicast Filter updates recv: 0 Immediate: 1 Filter: prefix-based receive Received filter entries: *:*
Mostrar sistema lógico BGP Neighbor
user@host > show bgp neighbor logical-system
ITR1
Peer: 10.79.8.2+179 AS 65536 Local: 10.79.8.1+50891 AS 65500 Description: MX1 Type: External State: Established Flags: <ImportEval Sync> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None .... Table inet.0 Bit: 10000 RIB State: BGP restart is complete Send state: in sync Active prefixes: 1 Received prefixes: 1 Accepted prefixes: 1 Suppressed due to damping: 0 Advertised prefixes: 10 Stale prefixes: 4: <=new, line only appears if count is non-0 It is the Number of prefixes marked as stale; LLGR-stale prefixes: 5: <=new, line only appears if count is non-0 It is the Number of prefixes marked as LLGR-stale
Mostrar salida BGP Neighbor-Queue-cola
user@host > show bgp neighbor output-queue
Peer: 192.0.2.2+179 AS 103 Local: 192.0.2.1+50799 AS 102 Output Queue[0]: 0 (inet.0, inet-unicast) Priority 1 : 0 Priority 2 : 0 Priority 3 : 0 Priority 4 : 0 Priority 5 : 0 Priority 6 : 0 Priority 7 : 0 Priority 8 : 0 Priority 9 : 0 Priority 10: 0 Priority 11: 0 Priority 12: 0 Priority 13: 0 Priority 14: 0 Priority 15: 0 Priority 16: 0 Expedited : 0
Mostrar el vecino BGP (Ingeniería de tráfico de segmento de enrutamiento)
user@host > show bgp neighbor
run show bgp neighbor 1.1.1.254 Peer: 1.1.1.254+60180 AS 100 Local: 1.1.1.1+179 AS 100 Group: toB Routing-Instance: master Forwarding routing-instance: master Type: Internal State: Established Flags: <Sync> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Options: <Preference LocalAddress> Address families configured: inet-segment-routing-te Local Address: 1.1.1.1 Holdtime: 90 Preference: 170 Local AS: 100 Local System AS: 0 Number of flaps: 0 Peer ID: 128.9.150.15 Local ID: 128.9.150.110 Active Holdtime: 90 Keepalive Interval: 30 Group index: 0 Peer index: 0 I/O Session Thread: bgpio-0 State: Enabled BFD: disabled, down NLRI for restart configured on peer: inet-segment-routing-te NLRI advertised by peer: inet-segment-routing-te NLRI for this session: inet-segment-routing-te Peer supports Refresh capability (2) Stale routes from peer are kept for: 300 Peer does not support Restarter functionality Restart flag received from the peer: Notification NLRI that restart is negotiated for: inet-segment-routing-te Peer does not support LLGR Restarter functionality Peer supports 4 byte AS extension (peer-as 100) Peer does not support Addpath Last traffic (seconds): Received 17628 Sent 25 Checked 17628 Input messages: Total 2 Updates 0 Refreshes 0 Octets 82 Output messages: Total 1 Updates 0 Refreshes 0 Octets 19 Trace options: all Trace file: /var/log/bgp.log size 10485760 files 10
Mostrar el vecino BGP (con una particionamiento de costillas configurada)
user@host > show bgp neighbor rib-sharding main
Peer: 1.1.1.1+179 AS 1 Local: 2.2.2.1+60231 AS 1 Group: toFeeder Routing-Instance: master Forwarding routing-instance: master Type: Internal State: Established Flags: <Sync> Last State: OpenConfirm Last Event: RecvKeepAlive Last Error: None Options: <Preference LocalAddress Refresh> Options: <ConnectRetryInterval> Options: <GracefulShutdownRcv> Local Address: 2.2.2.1 Holdtime: 90 Preference: 170 Graceful Shutdown Receiver local-preference: 0 Number of flaps: 0 Threads related state: Internal State: Thread sync complete Peer UP acknowledgement received from Update Thread Peer ID: 1.1.1.1 Local ID: 2.2.2.1 Active Holdtime: 90 Keepalive Interval: 30 Group index: 0 Peer index: 0 SNMP index: 0 I/O Session Thread: bgp-updio-2 State: Enabled BFD: disabled, down NLRI for restart configured on peer: inet-unicast NLRI advertised by peer: inet-unicast NLRI for this session: inet-unicast Peer supports Refresh capability (2) Stale routes from peer are kept for: 300 Peer does not support Restarter functionality Restart flag received from the peer: Notification NLRI that restart is negotiated for: inet-unicast NLRI of received end-of-rib markers: inet-unicast NLRI of all end-of-rib markers sent: inet-unicast Peer does not support LLGR Restarter functionality Peer supports 4 byte AS extension (peer-as 1) Peer does not support Addpath NLRI(s) enabled for color nexthop resolution: inet-unicast Table inet.0 Bit: 20002 RIB State: BGP restart is complete Send state: in sync Active prefixes: 0 Received prefixes: 0 Accepted prefixes: 0 Suppressed due to damping: 0 Advertised prefixes: 0 Last traffic (seconds): Received 7 Sent 11 Checked 3910 Input messages: Total 145 Updates 1 Refreshes 0 Octets 2759 Output messages: Total 135 Updates 0 Refreshes 0 Octets 2569 Output Queue[1]: 0 (inet.0, inet-unicast) Output Queue[1]: 0 (inet.0, inet-unicast) (Main/Shards)