show route inactive-path
Syntaxe
show route inactive-path <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
Syntaxe (commutateurs EX Series)
show route inactive-path <brief | detail | extensive | terse>
Description
Affichez les routes pour les destinations qui n’ont pas de route active. Un routage inactif est un chemin qui n’a pas été sélectionné comme le meilleur chemin.
Options
none | Affiche toutes les routes inactives. |
brief | detail | extensive | terse | (Facultatif) Affichez le niveau de sortie spécifié. Si vous ne spécifiez pas de niveau de sortie, le système s’applique par défaut à |
logical-system (all | logical-system-name) | (Facultatif) Effectuez cette opération sur tous les systèmes logiques ou sur un système logique particulier. |
Niveau de privilège requis
Vue
Champs de sortie
Pour plus d’informations sur les champs de sortie, consultez les tables de champs de sortie pour la show route
commande, la show route detail
commande, la show route extensive
commande ou la show route terse
commande.
Exemple de sortie
- afficher le chemin inactif de route
- afficher le détail des chemins inactifs
- show route inactif-chemin étendu
- afficher route inactif-chemin terse
afficher le chemin inactif de route
user@host> show route inactive-path inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.12.100.12/30 [OSPF/10] 03:57:28, metric 1 > via so-0/3/0.0 private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both 10.0.0.0/8 [Direct/0] 04:39:56 > via fxp1.0 red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.12.80.0/30 [BGP/170] 04:38:17, localpref 100 AS path: 100 I > to 10.12.80.1 via ge-6/3/2.0 iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete bgp.l3vpn.0: 3 destinations, 3 routes (0 active, 0 holddown, 3 hidden) Restart Complete inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
afficher le détail des chemins inactifs
user@host> show route inactive-path detail inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden) Restart Complete 10.12.100.12/30 (2 entries, 1 announced) OSPF Preference: 10 Next-hop reference count: 1 Next hop: via so-0/3/0.0, selected State: <Int> Inactive reason: Route Preference Local AS: 1 Age: 3:58:24 Metric: 1 Area: 0.0.0.0 Task: OSPF AS path: I private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) 10.0.0.0/8 (2 entries, 0 announced) Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via fxp1.0, selected State: <NotBest Int> Inactive reason: No difference Age: 4:40:52 Task: IF AS path: I red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden) Restart Complete 10.12.80.0/30 (2 entries, 1 announced) BGP Preference: 170/-101 Next-hop reference count: 6 Source: 10.12.80.1 Next hop: 10.12.80.1 via ge-6/3/2.0, selected State: <Ext> Inactive reason: Route Preference Peer AS: 100 Age: 4:39:13 Task: BGP_100.10.12.80.1+179 AS path: 100 I Localpref: 100 Router ID: 10.0.0.0
show route inactif-chemin étendu
La sortie de la show route inactive-path extensive
commande est identique à celle de la show route inactive-path detail
commande.
afficher route inactif-chemin terse
user@host> show route inactive-path terse inet.0: 25 destinations, 26 routes (24 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path 10.12.100.12/30 O 10 1 >so-0/3/0.0 private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path 10.0.0.0/8 D 0 >fxp1.0 red.inet.0: 6 destinations, 8 routes (4 active, 0 holddown, 3 hidden) Restart Complete + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path 10.12.80.0/30 B 170 100 >10.12.80.1 100 I iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete mpls.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete bgp.l3vpn.0: 3 destinations, 3 routes (0 active, 0 holddown, 3 hidden) Restart Complete inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
Informations de publication
Commande introduite avant Junos OS version 7.4.