show route output
구문
show route output (address ip-address | interface interface-name) <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
구문(EX 시리즈 스위치)
show route output (address ip-address | interface interface-name) <brief | detail | extensive | terse>
설명
지정된 IP 주소 또는 지정된 이름으로 인터페이스로 전송될 정적 경로 및 내부 게이트웨이 프로토콜을 통해 학습된 라우팅 테이블 항목을 표시합니다.
BGP 프로토콜에 대해 인접 라우터에 보급되거나 이웃에서 수신된 경로를 보려면 대신 및 show route receive-protocol bgp
명령을 사용합니다show route advertising-protocol bgp
.
옵션
address ip-address | 지정된 IP 주소로 인터페이스를 전송할 라우팅 테이블 항목을 표시합니다. |
brief | detail | extensive | terse | (선택 사항) 지정된 출력 수준을 표시합니다. 출력 수준을 지정하지 않으면 시스템이 기본값으로 으로 지정 |
interface interface-name | 지정된 이름으로 인터페이스를 보낼 라우팅 테이블 항목을 표시합니다. |
logical-system (all | logical-system-name) | (선택 사항) 모든 논리적 시스템 또는 특정 논리적 시스템에서 이 작업을 수행합니다. |
필수 권한 수준
보기
출력 필드
출력 필드에 대한 정보는 show route 명령, show route detail 명령, show route extensive 명령 또는 show route terse 명령의 출력 필드 테이블을 참조하십시오.
샘플 출력
show route 출력 주소
user@host> show route output address 172.16.36.1/24 inet.0: 28 destinations, 30 routes (27 active, 0 holddown, 1 hidden) + = Active Route, - = Last Active, * = Both 172.16.36.0/24 *[Direct/0] 00:19:56 > via so-0/1/2.0 [OSPF/10] 00:19:55, metric 1 > via so-0/1/2.0 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) mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
show route 출력 주소 세부 정보
user@host> show route output address 172.16.36.1 detail inet.0: 28 destinations, 30 routes (27 active, 0 holddown, 1 hidden) 172.16.36.0/24 (2 entries, 0 announced) *Direct Preference: 0 Next hop type: Interface Next-hop reference count: 1 Next hop: via so-0/1/2.0, selected State: <Active Int> Age: 23:00 Task: IF AS path: I OSPF Preference: 10 Next-hop reference count: 1 Next hop: via so-0/1/2.0, selected State: <Int> Inactive reason: Route Preference Age: 22:59 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) iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden) mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
show route 출력 주소 extensive
명령에 대한 show route output address extensive
출력은 명령의 출력과 show route output address detail
동일합니다. 샘플 출력은 을(를) 참조하십시오 show route 출력 주소 세부 정보.
show route 출력 주소 terse
user@host> show route output address 172.16.36.1 terse inet.0: 28 destinations, 30 routes (27 active, 0 holddown, 1 hidden) + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 172.16.36.0/24 D 0 >so-0/1/2.0 O 10 1 >so-0/1/2.0 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) mpls.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden) inet6.0: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) private1__.inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)
출시 정보
Junos OS 릴리스 7.4 전에 소개된 명령입니다.