show route best
구문
show route best destination-prefix <brief | detail | extensive | terse> <logical-system (all | logical-system-name)>
구문(EX 시리즈 스위치)
show route best destination-prefix <brief | detail | extensive | terse>
설명
지정된 주소 또는 주소 범위에 가장 적합한 경로인 라우팅 테이블에 경로를 표시합니다. 가장 좋은 경로는 일치하는 가장 긴 경로입니다.
옵션
brief | detail | extensive | terse | (선택 사항) 지정된 출력 수준을 표시합니다. 출력 수준을 지정하지 않으면 시스템은 기본적으로 |
destination-prefix | 주소 또는 주소 범위입니다. |
logical-system (all | logical-system-name) | (선택 사항) 모든 논리적 시스템 또는 특정 논리적 시스템에서 이 작업을 수행합니다. |
필요한 권한 수준
보기
출력 필드
출력 필드에 대한 정보는 명령, 명령, show route detail
show route extensive
명령 또는 show route terse
명령에 대한 show route
출력 필드 테이블을 참조하십시오.
샘플 출력
최고의 경로 표시
user@host> show route best 10.255.70.103 inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.255.70.103/32 *[OSPF/10] 1d 13:19:20, metric 2 > to 10.31.1.6 via ge-3/1/0.0 via so-0/3/0.0 inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete + = Active Route, - = Last Active, * = Both 10.255.70.103/32 *[RSVP/7] 1d 13:20:13, metric 2 > via so-0/3/0.0, label-switched-path green-r1-r3 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] 2d 01:43:34 > via fxp2.0 [Direct/0] 2d 01:43:34 > via fxp1.0
경로 최고의 세부 정보 표시
user@host> show route best 10.255.70.103 detail inet.0: 24 destinations, 25 routes (23 active, 0 holddown, 1 hidden) Restart Complete 10.255.70.103/32 (1 entry, 1 announced) *OSPF Preference: 10 Next-hop reference count: 9 Next hop: 10.31.1.6 via ge-3/1/0.0, selected Next hop: via so-0/3/0.0 State: <Active Int> Local AS: 69 Age: 1d 13:20:06 Metric: 2 Area: 0.0.0.0 Task: OSPF Announcement bits (2): 0-KRT 3-Resolve tree 2 AS path: I inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete 10.255.70.103/32 (1 entry, 1 announced) State: <FlashAll> *RSVP Preference: 7 Next-hop reference count: 5 Next hop: via so-0/3/0.0 weight 0x1, selected Label-switched-path green-r1-r3 Label operation: Push 100016 State: <Active Int> Local AS: 69 Age: 1d 13:20:59 Metric: 2 Task: RSVP Announcement bits (1): 1-Resolve tree 2 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 fxp2.0, selected State: <Active Int> Age: 2d 1:44:20 Task: IF AS path: I 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: 2d 1:44:20 Task: IF AS path: I
show route best extensive
명령의 출력은 명령의 show route best extensive
출력과 show route best detail
동일합니다. 샘플 출력은 show route best detail을 참조하십시오.
show route best terse
user@host> show route best 10.255.70.103 terse inet.0: 24 destinations, 25 routes (23 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.255.70.103/32 O 10 2 >10.31.1.6 so-0/3/0.0 inet.3: 2 destinations, 2 routes (2 active, 0 holddown, 0 hidden) Restart Complete + = Active Route, - = Last Active, * = Both A Destination P Prf Metric 1 Metric 2 Next hop AS path * 10.255.70.103/32 R 7 2 >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 >fxp2.0 D 0 >fxp1.0
릴리스 정보
Junos OS 릴리스 7.4 전에 소개된 명령입니다.