BGP-PIC für Layer 3-VPNs
Konfigurieren von BGP PIC Edge für MPLS Layer 3-VPNs
In einer MPLS-VPN-Layer-3-Umgebung ist es üblich, dass Kunden ihre Netzwerke mit Multihoming betreiben, um Link-Redundanz zu gewährleisten. Obwohl das Interior Gateway Protocol (IGP) für eine schnelle Konvergenz sorgen kann, kann die Behebung eines Verbindungsfehlers und das Bereitstellen einer alternativen Route in bestimmten Fällen sehr zeitaufwendig sein. Beispielsweise kann ein PE-Router (Provider Edge) mit 200.000 oder mehr IP-Präfixen konfiguriert sein, und ein Ausfall des PE-Routers kann sich auf viele dieser Präfixe auswirken.
BGP Prefix-Independent Convergence (PIC) Edge ermöglicht es Ihnen, eine Layer-3-VPN-Route in der Weiterleitungstabelle als alternativen Pfad zu installieren, was ein schnelles Failover ermöglicht, wenn ein PE-Router ausfällt oder Sie die Verbindung zu einem PE-Router verlieren. Dieser bereits installierte Pfad wird so lange verwendet, bis die globale Konvergenz durch die IGP aufgelöst ist. Die Verwendung der alternativen VPN-Route für die Weiterleitung bis zur vollständigen globalen Konvergenz verringert den Datenverkehrsverlust.
BGP PIC Edge unterstützt Multiprotokoll-BGP, IPv4 oder IPv6 VPN Network Layer Reachability Information (NLRI), die mit einem der folgenden IGP-Protokolle aufgelöst werden:
OSPF
IS-IS
LDP
U.A.W.G
BGP PIC Edge unterstützt keinen Multicast-Datenverkehr.
Bevor Sie beginnen:
Konfigurieren Sie LDP oder RSVP.
Konfigurieren Sie einen IGP: entweder OSPF oder IS-IS.
Konfigurieren Sie ein Layer 3-VPN.
Konfigurieren Sie Multiprotokoll-BGP entweder für ein IPv4-VPN oder ein IPv6-VPN.
So konfigurieren Sie BGP PIC Edge in einem MPLS-Layer 3-VPN:
Auf universellen Routing-Plattformen der MX-Serie 5G mit Modular Port Concentrators (MPCs) empfehlen wir dringend, erweiterte IP-Netzwerkservices zu aktivieren.
So aktivieren Sie erweiterte IP-Netzwerkservices:
[edit chassis] user@host# set network-services enhanced-ip
Beispiel: Konfigurieren von BGP PIC Edge für MPLS-Layer 3-VPNs
In diesem Beispiel wird gezeigt, wie Sie den BGP-PIC-Edge (Präfixunabhängige Konvergenz) konfigurieren, mit dem Sie eine Layer-3-VPN-Route in der Weiterleitungstabelle als alternativen Pfad installieren können. Dies ermöglicht ein schnelles Failover, wenn ein Provider-Edge-Router (PE) ausfällt oder Sie die Verbindung zu einem PE-Router verlieren. Dieser bereits installierte Pfad wird so lange verwendet, bis die globale Konvergenz durch das Interior Gateway Protocol (IGP) aufgelöst ist. Die Verwendung der alternativen VPN-Route für die Weiterleitung bis zur vollständigen globalen Konvergenz verringert den Datenverkehrsverlust.
Anforderungen
Vor der Konfiguration dieses Beispiels ist keine spezielle Konfiguration erforderlich, die über die Geräteinitialisierung hinausgeht.
In diesem Beispiel werden die folgenden Hardware- und Softwarekomponenten verwendet:
-
Eine universelle Routing-Plattformen der MX-Serie 5G mit MPC-Schnittstellen zur Konfiguration der BGP-PIC-Edge-Funktion.
-
Fünf Router, die eine Kombination aus M Series Multiservice-Edge-Routern, MX-Serie 5G-Universelle Routing-Plattformen oder T-Serie-Core-Routern sein können.
-
Junos OS Version 13.2 oder höher auf dem Gerät mit konfiguriertem BGP-PIC-Edge.
Überblick
In einer MPLS-VPN-Layer-3-Umgebung ist es üblich, dass Kunden ihre Netzwerke mit Multihoming betreiben, um Link-Redundanz zu gewährleisten. Obwohl das Interior Gateway Protocol (IGP) für eine schnelle Konvergenz sorgen kann, kann die Behebung eines Verbindungsfehlers und das Bereitstellen einer alternativen Route in bestimmten Fällen sehr zeitaufwendig sein. Beispielsweise kann ein PE-Router (Provider Edge) mit 200.000 oder mehr IP-Präfixen konfiguriert sein, und ein Ausfall des PE-Routers kann sich auf viele dieser Präfixe auswirken.
Dieses Beispiel zeigt zwei Kunden-Edge-Router (CE): Gerät CE1 und Gerät CE2. Bei den Geräten PE1, PE2 und PE3 handelt es sich um PE-Router. Gerät P1 ist ein Provider-Core-Router. Nur für Gerät PE1 ist BGP PIC Edge konfiguriert. Im Beispiel wird die P1-PE2-Verbindung (P-PE) verwendet, um den Ausfall eines Abschnitts des Netzwerks zu simulieren.
Zu Testzwecken wird die Adresse 172.16.1.5/24 als Loopback-Schnittstellenadresse auf Gerät CE2 hinzugefügt. Die Adresse wird an Gerät PE2 und Gerät PE3 angemeldet und über internes BGP (IBGP) IBGP an Gerät PE1 weitergeleitet. Auf Gerät PE1 gibt es zwei Pfade zum Netzwerk 172.16.1.5/24. Dabei handelt es sich um den primären Pfad und einen Backup-Pfad.
Topologie
Abbildung 1 zeigt das Beispielnetzwerk.

Die CLI-Schnellkonfiguration zeigt die Konfiguration für alle Geräte in Abbildung 1.
Im Abschnitt Schritt-für-Schritt-Vorgehensweise werden die Schritte auf Gerät PE1 beschrieben.
Konfiguration
CLI Schnellkonfiguration
Um dieses Beispiel schnell zu konfigurieren, kopieren Sie die folgenden Befehle, fügen Sie sie in eine Textdatei ein, entfernen Sie alle Zeilenumbrüche, ändern Sie alle erforderlichen Details, damit sie Ihrer Netzwerkkonfiguration entsprechen, und kopieren Sie dann die Befehle, und fügen Sie sie dann in die CLI auf der [edit]
Hierarchieebene ein.
Gerät CE1
set interfaces ge-1/2/0 unit 0 family inet address 10.0.0.1/30 set interfaces lo0 unit 0 family inet address 192.168.0.1/32 set protocols bgp group ebgp type external set protocols bgp group ebgp export send-direct set protocols bgp group ebgp neighbor 10.0.0.2 set policy-options policy-statement send-direct from protocol direct set policy-options policy-statement send-direct then accept set routing-options autonomous-system 101
Gerät CE2
set interfaces ge-1/2/4 unit 0 family inet address 10.0.0.42/30 set interfaces ge-1/2/3 unit 0 family inet address 10.0.0.46/30 set interfaces lo0 unit 0 family inet address 192.168.0.8/32 set interfaces lo0 unit 0 family inet address 172.16.1.5/24 set protocols bgp group ebgp type external set protocols bgp group ebgp export send-direct set protocols bgp group ebgp neighbor 10.0.0.45 set protocols bgp group ebgp neighbor 10.0.0.41 set policy-options policy-statement send-direct from protocol direct set policy-options policy-statement send-direct then accept set routing-options autonomous-system 102
Gerät P1
set interfaces ge-1/2/1 unit 0 family inet address 10.0.0.5/30 set interfaces ge-1/2/1 unit 0 family mpls set interfaces ge-1/2/5 unit 0 family inet address 10.0.0.17/30 set interfaces ge-1/2/5 unit 0 family mpls set interfaces ge-1/2/2 unit 0 family inet address 10.0.0.33/30 set interfaces ge-1/2/2 unit 0 family mpls set interfaces lo0 unit 0 family inet address 192.168.0.3/32 set protocols mpls interface ge-1/2/1.0 set protocols mpls interface ge-1/2/5.0 set protocols mpls interface ge-1/2/2.0 set protocols ospf area 0.0.0.0 interface ge-1/2/1.0 set protocols ospf area 0.0.0.0 interface ge-1/2/5.0 set protocols ospf area 0.0.0.0 interface ge-1/2/2.0 set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols ldp interface ge-1/2/1.0 set protocols ldp interface ge-1/2/5.0 set protocols ldp interface ge-1/2/2.0 set protocols ldp interface lo0.0 set routing-options autonomous-system 100
Gerät PE1
set interfaces ge-1/2/0 unit 0 family inet address 10.0.0.2/30 set interfaces ge-1/2/1 unit 0 family inet address 10.0.0.6/30 set interfaces ge-1/2/1 unit 0 family mpls set interfaces lo0 unit 0 family inet address 192.168.0.2/32 set protocols mpls interface ge-1/2/1.0 set protocols bgp group ibgp type internal set protocols bgp group ibgp local-address 192.168.0.2 set protocols bgp group ibgp family inet unicast set protocols bgp group ibgp family inet-vpn unicast set protocols bgp group ibgp export nhs set protocols bgp group ibgp neighbor 192.168.0.7 set protocols bgp group ibgp neighbor 192.168.0.6 set protocols ospf area 0.0.0.0 interface ge-1/2/1.0 set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols ldp interface ge-1/2/1.0 set protocols ldp interface lo0.0 set policy-options policy-statement lb then load-balance per-packet set policy-options policy-statement nhs then next-hop self set routing-instances customer1 instance-type vrf set routing-instances customer1 interface ge-1/2/0.0 set routing-instances customer1 route-distinguisher 100:1 set routing-instances customer1 vrf-target target:100:1 set routing-instances customer1 routing-options protect core set routing-instances customer1 protocols bgp group ebgp type external set routing-instances customer1 protocols bgp group ebgp neighbor 10.0.0.1 set routing-options router-id 192.168.0.2 set routing-options autonomous-system 100 set routing-options forwarding-table export lb
Gerät PE2
set interfaces ge-1/2/2 unit 0 family inet address 10.0.0.34/30 set interfaces ge-1/2/2 unit 0 family mpls set interfaces ge-1/2/3 unit 0 family inet address 10.0.0.45/30 set interfaces lo0 unit 0 family inet address 192.168.0.7/32 set protocols mpls interface ge-1/2/2.0 set protocols bgp group ibgp type internal set protocols bgp group ibgp local-address 192.168.0.7 set protocols bgp group ibgp family inet unicast set protocols bgp group ibgp family inet-vpn unicast set protocols bgp group ibgp export nhs set protocols bgp group ibgp neighbor 192.168.0.2 set protocols bgp group ibgp neighbor 192.168.0.6 set protocols ospf area 0.0.0.0 interface ge-1/2/2.0 set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols ldp interface ge-1/2/2.0 set protocols ldp interface lo0.0 set routing-instances customer1 instance-type vrf set routing-instances customer1 interface ge-1/2/3.0 set routing-instances customer1 route-distinguisher 100:1 set routing-instances customer1 vrf-target target:100:1 set routing-instances customer1 protocols bgp group ebgp type external set routing-instances customer1 protocols bgp group ebgp neighbor 10.0.0.46 set routing-options autonomous-system 100
Gerät PE3
set interfaces ge-1/2/5 unit 0 family inet address 10.0.0.18/30 set interfaces ge-1/2/5 unit 0 family mpls set interfaces ge-1/2/4 unit 0 family inet address 10.0.0.41/30 set interfaces ge-1/2/4 unit 0 family mpls set interfaces lo0 unit 0 family inet address 192.168.0.6/32 set protocols mpls interface ge-1/2/5.0 set protocols mpls interface ge-1/2/4.0 set protocols bgp group ibgp type internal set protocols bgp group ibgp local-address 192.168.0.6 set protocols bgp group ibgp family inet unicast set protocols bgp group ibgp family inet-vpn unicast set protocols bgp group ibgp export nhs set protocols bgp group ibgp neighbor 192.168.0.7 set protocols bgp group ibgp neighbor 192.168.0.2 set protocols ospf area 0.0.0.0 interface ge-1/2/5.0 set protocols ospf area 0.0.0.0 interface lo0.0 passive set protocols ldp interface ge-1/2/5.0 set protocols ldp interface lo0.0 set routing-instances customer1 instance-type vrf set routing-instances customer1 interface ge-1/2/4.0 set routing-instances customer1 route-distinguisher 100:1 set routing-instances customer1 vrf-target target:100:1 set routing-instances customer1 protocols bgp group ebgp type external set routing-instances customer1 protocols bgp group ebgp neighbor 10.0.0.42 set routing-options autonomous-system 100
Verfahren
Schritt-für-Schritt-Anleitung
Für das folgende Beispiel ist es erforderlich, dass Sie durch verschiedene Ebenen in der Konfigurationshierarchie navigieren. Weitere Informationen zum Navigieren in der CLI finden Sie unter Verwenden des CLI-Editors im Konfigurationsmodus im CLI-Benutzerhandbuch.
So konfigurieren Sie Gerät R1:
-
Konfigurieren Sie die Geräteschnittstellen.
[edit interfaces] user@PE1# set ge-1/2/0 unit 0 family inet address 10.0.0.2/30 user@PE1# set ge-1/2/1 unit 0 family inet address 10.0.0.6/30 user@PE1# set ge-1/2/1 unit 0 family mpls user@PE1# set lo0 unit 0 family inet address 192.168.0.2/32
-
Konfigurieren Sie MPLS und LDP auf den Core-Schnittstellen.
[edit protocols] user@PE1# set mpls interface ge-1/2/1.0 user@PE1# set ldp interface ge-1/2/1.0 user@PE1# set ldp interface lo0.0
-
Konfigurieren Sie eine IGP für die Core-Schnittstellen.
[edit protocols ospf area 0.0.0.0] user@PE1# set interface ge-1/2/1.0 user@PE1# set interface lo0.0 passive
-
Konfigurieren Sie IBGP-Verbindungen mit den anderen PE-Geräten.
[edit protocols bgp group ibgp] user@PE1# set type internal user@PE1# set local-address 192.168.0.2 user@PE1# set family inet unicast user@PE1# set family inet-vpn unicast user@PE1# set export nhs user@PE1# set neighbor 192.168.0.7 user@PE1# set neighbor 192.168.0.6
-
Konfigurieren Sie die Lastenausgleichsrichtlinie.
[edit policy-options policy-statement lb] user@PE1# set then load-balance per-packet
-
(Optional) Konfigurieren Sie eine Next-Hop-Selbstrichtlinie.
[edit policy-options policy-statement nhs] user@PE1# set then next-hop self
-
Konfigurieren Sie die Routing-Instanz, um die CE-PE EBGP-Verbindung zu erstellen.
[edit routing-instances customer1] user@PE1# set instance-type vrf user@PE1# set interface ge-1/2/0.0 user@PE1# set route-distinguisher 100:1 user@PE1# set vrf-target target:100:1 user@PE1# set protocols bgp group ebgp type external user@PE1# set protocols bgp group ebgp neighbor 10.0.0.1
-
Aktivieren Sie die BGP-PIC-Edge-Funktion.
[edit routing-instances customer1] user@PE1# set routing-options protect core
-
Wenden Sie die Lastenausgleichsrichtlinie an.
[edit routing-options forwarding-table] user@PE1# set export lb
-
Weisen Sie die Router-ID und die AS-Nummer (autonomes System) zu.
[edit routing-options] user@PE1# set router-id 192.168.0.2 user@PE1# set autonomous-system 100
Befund
Bestätigen Sie im Konfigurationsmodus Ihre Konfiguration, indem Sie die show interfaces
Befehle , show protocols
, show policy-options
show routing-instances
, und show routing-options
eingeben. Wenn in der Ausgabe nicht die beabsichtigte Konfiguration angezeigt wird, wiederholen Sie die Anweisungen in diesem Beispiel, um die Konfiguration zu korrigieren.
user@PE1# show interfaces ge-1/2/0 { unit 0 { family inet { address 10.0.0.2/30; } } } ge-1/2/1 { unit 0 { family inet { address 10.0.0.6/30; } family mpls; } } lo0 { unit 0 { family inet { address 192.168.0.2/32; } } }
user@PE1# show protocols mpls { interface ge-1/2/1.0; } bgp { group ibgp { type internal; local-address 192.168.0.2; family inet { unicast; } family inet-vpn { unicast; } export nhs; neighbor 192.168.0.7; neighbor 192.168.0.6; } } ospf { area 0.0.0.0 { interface ge-1/2/1.0; interface lo0.0 { passive; } } } ldp { interface ge-1/2/1.0; interface lo0.0; }
user@PE1# show policy-options policy-statement lb { then { load-balance per-packet; } } policy-statement nhs { then { next-hop self; } }
user@PE1# show routing-instances customer1 { instance-type vrf; interface ge-1/2/0.0; route-distinguisher 100:1; vrf-target target:100:1; routing-options { protect core; } protocols { bgp { group ebgp { type external; peer-as 101; neighbor 10.0.0.1; } } } }
user@PE1# show routing-options router-id 192.168.0.2; autonomous-system 100; forwarding-table { export lb; }
Wenn Sie mit der Konfiguration des Geräts fertig sind, wechseln commit
Sie aus dem Konfigurationsmodus.
Verifizierung
Vergewissern Sie sich, dass die Konfiguration ordnungsgemäß funktioniert.
- Anzeige umfangreicher Routeninformationen
- Anzeige der Weiterleitungstabelle
- Anzeigen der OSPF-Routen
Anzeige umfangreicher Routeninformationen
Zweck
Vergewissern Sie sich, dass BGP PIC Edge funktioniert.
Aktion
Führen Sie auf Gerät PE1 den show route extensive table customer1.inet.0 172.16.1/24
Befehl aus.
user@PE1> show route extensive table customer1.inet.0 172.16.1/24 customer1.inet.0: 7 destinations, 12 routes (7 active, 0 holddown, 0 hidden) 172.16.1.0/24 (3 entries, 2 announced) State: <CalcForwarding> TSI: KRT in-kernel 172.16.1.0/24 -> {indirect(262146), indirect(262142)} Page 0 idx 0, (group ebgp type External) Type 1 val 0x950a62c (adv_entry) Advertised metrics: Nexthop: Self AS path: [100] 102 I Communities: target:100:1 Path 172.16.1.0 from 192.168.0.6 Vector len 4. Val: 0 @BGP Preference: 170/-101 Route Distinguisher: 100:1 Next hop type: Indirect Address: 0x9514a74 Next-hop reference count: 7 Source: 192.168.0.6 Next hop type: Router, Next hop index: 990 Next hop: 10.0.0.5 via ge-1/2/1.0, selected Label operation: Push 299824, Push 299856(top) Label TTL action: prop-ttl, prop-ttl(top) Load balance label: Label 299824: None; Label 299856: None; Session Id: 0x280002 Protocol next hop: 192.168.0.6 Label operation: Push 299824 Label TTL action: prop-ttl Load balance label: Label 299824: None; Indirect next hop: 0x96bc104 262146 INH Session ID: 0x280006 State: <Secondary Active Int Ext ProtectionPath ProtectionCand> Local AS: 100 Peer AS: 100 Age: 1:38:13 Metric2: 1 Validation State: unverified Task: BGP_100.192.168.0.6+45824 Announcement bits (1): 1-BGP_RT_Background AS path: 102 I Communities: target:100:1 Import Accepted VPN Label: 299824 Localpref: 100 Router ID: 192.168.0.6 Primary Routing Table bgp.l3vpn.0 Indirect next hops: 1 Protocol next hop: 192.168.0.6 Metric: 1 Label operation: Push 299824 Label TTL action: prop-ttl Load balance label: Label 299824: None; Indirect next hop: 0x96bc104 262146 INH Session ID: 0x280006 Indirect path forwarding next hops: 1 Next hop type: Router Next hop: 10.0.0.5 via ge-1/2/1.0 Session Id: 0x280002 192.168.0.6/32 Originating RIB: inet.3 Metric: 1 Node path count: 1 Forwarding nexthops: 1 Nexthop: 10.0.0.5 via ge-1/2/1.0 BGP Preference: 170/-101 Route Distinguisher: 100:1 Next hop type: Indirect Address: 0x9515570 Next-hop reference count: 7 Source: 192.168.0.7 Next hop type: Router, Next hop index: 933 Next hop: 10.0.0.5 via ge-1/2/1.0, selected Label operation: Push 299856, Push 299872(top) Label TTL action: prop-ttl, prop-ttl(top) Load balance label: Label 299856: None; Label 299872: None; Session Id: 0x280002 Protocol next hop: 192.168.0.7 Label operation: Push 299856 Label TTL action: prop-ttl Load balance label: Label 299856: None; Indirect next hop: 0x96bc000 262142 INH Session ID: 0x280005 State: <Secondary NotBest Int Ext ProtectionPath ProtectionCand> Inactive reason: Not Best in its group - Router ID Local AS: 100 Peer AS: 100 Age: 1:38:13 Metric2: 1 Validation State: unverified Task: BGP_100.192.168.0.7+10985 AS path: 102 I Communities: target:100:1 Import Accepted VPN Label: 299856 Localpref: 100 Router ID: 192.168.0.7 Primary Routing Table bgp.l3vpn.0 Indirect next hops: 1 Protocol next hop: 192.168.0.7 Metric: 1 Label operation: Push 299856 Label TTL action: prop-ttl Load balance label: Label 299856: None; Indirect next hop: 0x96bc000 262142 INH Session ID: 0x280005 Indirect path forwarding next hops: 1 Next hop type: Router Next hop: 10.0.0.5 via ge-1/2/1.0 Session Id: 0x280002 192.168.0.7/32 Originating RIB: inet.3 Metric: 1 Node path count: 1 Forwarding nexthops: 1 Nexthop: 10.0.0.5 via ge-1/2/1.0 #Multipath Preference: 255 Next hop type: Indirect Address: 0x9578010 Next-hop reference count: 4 Next hop type: Router, Next hop index: 990 Next hop: 10.0.0.5 via ge-1/2/1.0, selected Label operation: Push 299824, Push 299856(top) Label TTL action: prop-ttl, prop-ttl(top) Load balance label: Label 299824: None; Label 299856: None; Session Id: 0x280002 Next hop type: Router, Next hop index: 933 Next hop: 10.0.0.5 via ge-1/2/1.0 Label operation: Push 299856, Push 299872(top) Label TTL action: prop-ttl, prop-ttl(top) Load balance label: Label 299856: None; Label 299872: None; Session Id: 0x280002 Protocol next hop: 192.168.0.6 Label operation: Push 299824 Label TTL action: prop-ttl Load balance label: Label 299824: None; Indirect next hop: 0x96bc104 262146 INH Session ID: 0x280006 Weight 0x1 Protocol next hop: 192.168.0.7 Label operation: Push 299856 Label TTL action: prop-ttl Load balance label: Label 299856: None; Indirect next hop: 0x96bc000 262142 INH Session ID: 0x280005 Weight 0x4000 State: <ForwardingOnly Int Ext> Inactive reason: Forwarding use only Age: 1:38:13 Metric2: 1 Validation State: unverified Task: RT Announcement bits (1): 0-KRT AS path: 102 I Communities: target:100:1
Bedeutung
Die indirekten Ausgabezeilen des nächsten Hops, die die Gewichtung enthalten, folgen den nächsten Hops, die die Software zum Reparieren von Pfaden verwenden kann, bei denen ein Verbindungsfehler auftritt.
Die Gewichtung des nächsten Hops hat einen der folgenden Werte:
-
0x1 zeigt aktive Next Hops an.
-
0x4000 gibt passive Next Hops an.
Anzeige der Weiterleitungstabelle
Zweck
Überprüfen Sie den Status der Weiterleitung und der Kernel-Routing-Tabelle mithilfe von show route forwarding-table
.
Aktion
Führen Sie auf Gerät PE1 den show route forwarding-table table customer1 destination 172.16.1.0/24
Befehl aus.
user@PE1> show route forwarding-table table customer1 destination 172.16.1.0/24 Routing table: customer1.inet Internet: Destination Type RtRef Next hop Type Index NhRef Netif 172.16.1.0/24 user 0 ulst 262147 2 indr 262146 3 10.0.0.5 Push 299824, Push 299856(top) 990 2 ge-1/2/1.0 indr 262144 3 10.0.0.5 Push 300080, Push 299920(top) 1000 2 ge-1/2/1.0
Bedeutung
Zusätzlich zum Status der Weiterleitung und der Kernel-Routing-Tabelle zeigt dieser Befehl den vom Packet Forwarding Engine verwendeten Unilist-Index (262147) an.
Anzeigen der OSPF-Routen
Zweck
Zeigt den OSPF-Routenstatus an.
Aktion
Führen Sie auf Gerät PE1 den show (ospf | ospf3) route detail
Befehl aus.
user@PE1> show ospf route detail betsy@tp0:PE1> show ospf route detail Topology default Route Table: Prefix Path Route NH Metric NextHop Nexthop Type Type Type Interface Address/LSP 192.168.0.3 Intra Router IP 1 ge-1/2/1.0 10.0.0.5 area 0.0.0.0, origin 192.168.0.3, optional-capability 0x0 192.168.0.6 Intra Router IP 2 ge-1/2/1.0 10.0.0.5 area 0.0.0.0, origin 192.168.0.6, optional-capability 0x0 192.168.0.7 Intra Router IP 2 ge-1/2/1.0 10.0.0.5 area 0.0.0.0, origin 192.168.0.7, optional-capability 0x0 10.0.0.4/30 Intra Network IP 1 ge-1/2/1.0 area 0.0.0.0, origin 192.168.0.3, priority low 10.0.0.16/30 Intra Network IP 2 ge-1/2/1.0 10.0.0.5 area 0.0.0.0, origin 192.168.0.6, priority medium 10.0.0.32/30 Intra Network IP 2 ge-1/2/1.0 10.0.0.5 area 0.0.0.0, origin 192.168.0.7, priority medium 192.168.0.2/32 Intra Network IP 0 lo0.0 area 0.0.0.0, origin 192.168.0.2, priority low 192.168.0.3/32 Intra Network IP 1 ge-1/2/1.0 10.0.0.5 area 0.0.0.0, origin 192.168.0.3, priority medium 192.168.0.6/32 Intra Network IP 2 ge-1/2/1.0 10.0.0.5 area 0.0.0.0, origin 192.168.0.6, priority medium session-id: 2621446, version: 1 192.168.0.7/32 Intra Network IP 2 ge-1/2/1.0 10.0.0.5 area 0.0.0.0, origin 192.168.0.7, priority medium session-id: 2621450, version: 1
Bedeutung
Die Ausgabe zeigt die nachverfolgten Sitzungs-IDs für die Loopback-Schnittstellenadressen auf den Geräten PE2 und PE3 an.