show route source-gateway
構文
show route source-gateway address <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
構文(EXシリーズスイッチ)
show route source-gateway address <brief | detail | extensive | terse>
説明
特定のアドレスから学習されたルーティングテーブル内のエントリを表示します。コマンド出力の 「 ソース」フィールドには show route detail
、各ルートのソースがリストされます(わかっている場合)。
オプション
brief | detail | extensive | terse | (オプション)指定された出力レベルを表示します。出力レベルを指定しない場合、システムはデフォルトで brief. |
address | システムの IP アドレス。 |
logical-system (all | logical-system-name) | (オプション)この操作は、すべての論理システムまたは特定の論理システムで実行します。 |
必要な権限レベル
ビュー
出力フィールド
出力フィールドの詳細については、show route コマンド、show route detail コマンド、show route extensiveコマンド、または show route terse コマンドの出力フィールド テーブルを参照してください。
サンプル出力
show route source-gateway
user@host> show route source-gateway 10.255.70.103 inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete mpls.0: 7 destinations, 7 routes (5 active, 0 holddown, 2 hidden) Restart Complete inet6.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) Restart Complete private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) green.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.255.70.103:1:3:1/96 *[BGP/170] 12:12:24, localpref 100, from 10.255.70.103 AS path: I > via so-0/3/0.0, label-switched-path green-r1-r3 red.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.255.70.103:2:3:1/96 *[BGP/170] 12:12:24, localpref 0, from 10.255.70.103 AS path: I > via so-0/3/0.0, label-switched-path green-r1-r3 bgp.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.255.70.103:1:3:1/96 *[BGP/170] 12:12:24, localpref 100, from 10.255.70.103 AS path: I > via so-0/3/0.0, label-switched-path green-r1-r3 10.255.70.103:2:3:1/96 *[BGP/170] 12:12:24, localpref 0, from 10.255.70.103 AS path: I > via so-0/3/0.0, label-switched-path green-r1-r3
ルートソースゲートウェイの詳細を表示
user@host> show route source-gateway 10.255.70.103 detail inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete mpls.0: 7 destinations, 7 routes (5 active, 0 holddown, 2 hidden) Restart Complete inet6.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) Restart Complete green.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete 10.255.70.103:1:3:1/96 (1 entry, 1 announced) *BGP Preference: 170/-101 Route Distinguisher: 10.255.70.103:1 Next-hop reference count: 7 Source: 10.255.70.103 Protocol next hop: 10.255.70.103 Indirect next hop: 2 no-forward State: <Secondary Active Int Ext> Local AS: 69 Peer AS: 69 Age: 12:14:00 Metric2: 1 Task: BGP_69.10.255.70.103+179 Announcement bits (1): 0-green-l2vpn AS path: I Communities: target:11111:1 Layer2-info: encaps:VPLS, control flags:, mtu: 0 Label-base: 800008, range: 8 Localpref: 100 Router ID: 10.255.70.103 Primary Routing Table bgp.l2vpn.0 red.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) Restart Complete 10.255.70.103:2:3:1/96 (1 entry, 1 announced) *BGP Preference: 170/-1 Route Distinguisher: 10.255.70.103:2 Next-hop reference count: 7 Source: 10.255.70.103 Protocol next hop: 10.255.70.103 Indirect next hop: 2 no-forward State: <Secondary Active Int Ext> Local AS: 69 Peer AS: 69 Age: 12:14:00 Metric2: 1 Task: BGP_69.10.255.70.103+179 Announcement bits (1): 0-red-l2vpn AS path: I Communities: target:11111:2 Layer2-info: encaps:VPLS, control flags:Site-Down, mtu: 0 Label-base: 800016, range: 8 Localpref: 0 Router ID: 10.255.70.103 Primary Routing Table bgp.l2vpn.0 bgp.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete 10.255.70.103:1:3:1/96 (1 entry, 0 announced) *BGP Preference: 170/-101 Route Distinguisher: 10.255.70.103:1 Next-hop reference count: 7 Source: 10.255.70.103 Protocol next hop: 10.255.70.103 Indirect next hop: 2 no-forward State: <Active Int Ext> Local AS: 69 Peer AS: 69 Age: 12:14:00 Metric2: 1 Task: BGP_69.10.255.70.103+179 AS path: I Communities: target:11111:1 Layer2-info: encaps:VPLS, control flags:, mtu: 0 Label-base: 800008, range: 8 Localpref: 100 Router ID: 10.255.70.103 Secondary Tables: green.l2vpn.0 10.255.70.103:2:3:1/96 (1 entry, 0 announced) *BGP Preference: 170/-1 Route Distinguisher: 10.255.70.103:2 Next-hop reference count: 7 Source: 10.255.70.103 Protocol next hop: 10.255.70.103 Indirect next hop: 2 no-forward State: <Active Int Ext> Local AS: 69 Peer AS: 69 Age: 12:14:00 Metric2: 1 Task: BGP_69.10.255.70.103+179 AS path: I Communities: target:11111:2 Layer2-info: encaps:VPLS, control flags:Site-Down, mtu: 0 Label-base: 800016, range: 8 Localpref: 0 Router ID: 10.255.70.103 Secondary Tables: red.l2vpn.0
show route source-gateway extensive
user@host> show route source-gateway 10.255.70.103 extensive inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete private1__.inet.0: 2 destinations, 3 routes (2 active, 0 holddown, 0 hidden) iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) Restart Complete mpls.0: 7 destinations, 7 routes (5 active, 0 holddown, 2 hidden) Restart Complete inet6.0: 5 destinations, 5 routes (5 active, 0 holddown, 0 hidden) Restart Complete green.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete 10.255.70.103:1:3:1/96 (1 entry, 1 announced) *BGP Preference: 170/-101 Route Distinguisher: 10.255.70.103:1 Next-hop reference count: 7 Source: 10.255.70.103 Protocol next hop: 10.255.70.103 Indirect next hop: 2 no-forward State: <Secondary Active Int Ext> Local AS: 69 Peer AS: 69 Age: 12:15:24 Metric2: 1 Task: BGP_69.10.255.70.103+179 Announcement bits (1): 0-green-l2vpn AS path: I Communities: target:11111:1 Layer2-info: encaps:VPLS, control flags:, mtu: 0 Label-base: 800008, range: 8 Localpref: 100 Router ID: 10.255.70.103 Primary Routing Table bgp.l2vpn.0 red.l2vpn.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) Restart Complete 10.255.70.103:2:3:1/96 (1 entry, 1 announced) *BGP Preference: 170/-1 Route Distinguisher: 10.255.70.103:2 Next-hop reference count: 7 Source: 10.255.70.103 Protocol next hop: 10.255.70.103 Indirect next hop: 2 no-forward State: <Secondary Active Int Ext> Local AS: 69 Peer AS: 69 Age: 12:15:24 Metric2: 1 Task: BGP_69.10.255.70.103+179 Announcement bits (1): 0-red-l2vpn AS path: I Communities: target:11111:2 Layer2-info: encaps:VPLS, control flags:Site-Down, mtu: 0 Label-base: 800016, range: 8 Localpref: 0 Router ID: 10.255.70.103 Primary Routing Table bgp.l2vpn.0 bgp.l2vpn.0: 4 destinations, 4 routes (4 active, 0 holddown, 0 hidden) Restart Complete 10.255.70.103:1:3:1/96 (1 entry, 0 announced) *BGP Preference: 170/-101 Route Distinguisher: 10.255.70.103:1 Next-hop reference count: 7 Source: 10.255.70.103 Protocol next hop: 10.255.70.103 Indirect next hop: 2 no-forward State: <Active Int Ext> Local AS: 69 Peer AS: 69 Age: 12:15:24 Metric2: 1 Task: BGP_69.10.255.70.103+179 AS path: I Communities: target:11111:1 Layer2-info: encaps:VPLS, control flags:, mtu: 0 Label-base: 800008, range: 8 Localpref: 100 Router ID: 10.255.70.103 Secondary Tables: green.l2vpn.0 Indirect next hops: 1 Protocol next hop: 10.255.70.103 Metric: 2 Indirect next hop: 2 no-forward Indirect path forwarding next hops: 1 Next hop: via so-0/3/0.0 weight 0x1 10.255.70.103/32 Originating RIB: inet.3 Metric: 2 Node path count: 1 Forwarding nexthops: 1 Nexthop: via so-0/3/0.0 10.255.70.103:2:3:1/96 (1 entry, 0 announced) *BGP Preference: 170/-1 Route Distinguisher: 10.255.70.103:2 Next-hop reference count: 7 Source: 10.255.70.103 Protocol next hop: 10.255.70.103 Indirect next hop: 2 no-forward State: <Active Int Ext> Local AS: 69 Peer AS: 69 Age: 12:15:24 Metric2: 1 Task: BGP_69.10.255.70.103+179 AS path: I Communities: target:11111:2 Layer2-info: encaps:VPLS, control flags:Site-Down, mtu: 0 Label-base: 800016, range: 8 Localpref: 0 Router ID: 10.255.70.103 Secondary Tables: red.l2vpn.0 Indirect next hops: 1 Protocol next hop: 10.255.70.103 Metric: 2 Indirect next hop: 2 no-forward Indirect path forwarding next hops: 1 Next hop: via so-0/3/0.0 weight 0x1 10.255.70.103/32 Originating RIB: inet.3 Metric: 2 Node path count: 1 Forwarding nexthops: 1 Nexthop: via so-0/3/0.0
リリース情報
Junos OSリリース7.4より前に導入されたコマンド。