show spanning-tree interface
구문
show spanning-tree interface <brief | detail> <msti msti-id> <routing-instance routing-instance-name> <vlan-id vlan-id>
구문(EX 시리즈 스위치 및 QFX 시리즈 스위치)
show spanning-tree interface <brief | detail> <msti msti-id> <vlan-id vlan-id>
구문(EX 시리즈 스위치)
show spanning-tree interface <brief | detail> <interface-name interface-name> <msti msti-id> <vlan-id vlan-id>
설명
구성되거나 계산된 인터페이스 수준 스패닝 트리 프로토콜(STP, RSTP 또는 MSTP일 수 있음) 매개 변수를 표시합니다. 간략 모드에서는 관리상 비활성화되었거나 물리적 링크가 없는 인터페이스가 표시되지 않습니다.
옵션
none | 간단한 STP 인터페이스 정보를 표시합니다. |
brief | detail | (선택 사항) 지정된 출력 수준을 표시합니다. |
interface-name interface-name | (선택 사항) 인터페이스의 이름입니다. |
msti msti-id | (선택 사항) 지정된 MST 인스턴스에 대한 STP 인터페이스 정보를 표시합니다. |
routing-instance routing-instance-name | (선택 사항) 지정된 라우팅 인스턴스에 대한 STP 인터페이스 정보를 표시합니다. |
vlan-id vlan-id | (선택 사항) 지정된 VLAN에 대한 STP 인터페이스 정보를 표시합니다. |
필요한 권한 수준
보기
출력 필드
표 1 에는 명령의 출력 필드가 나열되어 있습니다 show spanning-tree interface
. 출력 필드는 나타나는 대략적인 순서대로 나열됩니다.
필드 이름 |
필드 설명 |
---|---|
인터페이스 이름 |
STP, RSTP, VSTP 또는 MSTP 인스턴스에 참여하도록 구성된 인터페이스입니다. |
포트 ID |
MSTP 또는 VSTP 인스턴스에 참여하도록 구성된 논리적 인터페이스 식별자입니다. |
지정된 포트 ID |
이 인터페이스가 연결된 LAN 세그먼트에 대해 지정된 포트의 포트 ID입니다. |
지정된 브리지 ID |
이 인터페이스가 연결된 LAN 세그먼트에 대해 지정된 브리지의 브리지 ID입니다. |
포트 비용 |
인터페이스에 대해 구성된 비용. |
포트 상태 |
STP 포트 상태: 포워딩(FWD), 차단(BLK), 수신 대기, 학습 또는 사용 안 함 |
포트 역할 |
MSTP, VSTP 또는 RSTP 포트 역할: 지정(DESG), 백업(BKUP), 대체(ALT), (ROOT) 또는 루트 방지(Root-Prev). |
링크 유형 |
MSTP, VSTP 또는 RSTP 링크 유형. 공유 또는 포인트 투 포인트(pt-pt) 및 에지 또는 비에지. |
대체 |
인터페이스를 MSTP, VSTP 또는 RSTP 대체 루트 포트(예) 또는 비대체 루트 포트(아니오)로 식별합니다. |
경계 포트 |
인터페이스를 MSTP 지역 경계 포트(예) 또는 비경계 포트(아니오)로 식별합니다. |
만료 횟수 동안 에지 지연 |
해당 인터페이스에서 에지 지연 타이머가 만료된 횟수입니다. |
만료 횟수 중 Rcvd 정보 |
해당 인터페이스에서 rcvd 정보 타이머가 만료된 횟수입니다. |
샘플 출력
- 스패닝 트리 인터페이스 표시
- show spanning-tree interface(QFX 시리즈)
- show spanning-tree interface(EX 시리즈)
- 스패닝 트리 인터페이스 세부 정보 표시
- show spanning-tree interface detail(EX 시리즈)
- 스패닝 트리 인터페이스 msti 표시
- 스패닝 트리 인터페이스 vlan-id 표시
- show spanning-tree interface(VSTP)
- show spanning-tree interface vlan-id(VSTP)
- show spanning-tree interface brief(EX 시리즈)
- show spanning-tree interface ge-1/0/0(EX 시리즈)
스패닝 트리 인터페이스 표시
user@host> show spanning-tree interface routing-instance vs1 detail Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ae1 128:1 128:1 32768.0090690b47d1 1000 FWD DESG ge-2/1/2 128:2 128:2 32768.0090690b47d1 20000 FWD DESG ge-2/1/5 128:3 128:3 32768.0090690b47d1 29999 FWD DESG ge-2/2/1 128:4 128:26 32768.0013c39ec880 20000 FWD ROOT xe-9/2/0 128:5 128:5 32768.0090690b47d1 2000 FWD DESG xe-9/3/0 128:6 128:6 32768.0090690b47d1 2000 FWD DESG Spanning tree interface parameters for instance 1 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ae1 128:1 128:1 32769.0090690b47d1 1000 FWD DESG ge-2/1/2 128:2 128:2 32769.0090690b47d1 20000 FWD DESG ge-2/1/5 128:3 128:3 32769.0090690b47d1 29999 FWD DESG ge-2/2/1 128:4 128:26 32769.0013c39ec880 20000 FWD ROOT xe-9/2/0 128:5 128:5 32769.0090690b47d1 2000 FWD DESG xe-9/3/0 128:6 128:6 32769.0090690b47d1 2000 FWD DESG Spanning tree interface parameters for instance 2 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ae1 128:1 128:1 32770.0090690b47d1 1000 FWD DESG ge-2/1/2 128:2 128:2 32770.0090690b47d1 20000 FWD DESG ge-2/1/5 128:3 128:3 32770.0090690b47d1 29999 FWD DESG ge-2/2/1 128:4 128:26 32770.0013c39ec880 20000 FWD ROOT xe-9/2/0 128:5 128:5 32770.0090690b47d1 2000 FWD DESG xe-9/3/0 128:6 128:6 32770.0090690b47d1 2000 FWD DESG
show spanning-tree interface(QFX 시리즈)
user@host> show spanning-tree interface routing-instance vs1 detail Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ae1 128:1 128:1 32768.0090690b47d1 1000 FWD DESG ge-2/1/2 128:2 128:2 32768.0090690b47d1 20000 FWD DESG ge-2/1/5 128:3 128:3 32768.0090690b47d1 29999 FWD DESG ge-2/2/1 128:4 128:26 32768.0013c39ec880 20000 FWD ROOT xe-9/2/0 128:5 128:5 32768.0090690b47d1 2000 FWD DESG xe-9/3/0 128:6 128:6 32768.0090690b47d1 2000 FWD DESG Spanning tree interface parameters for instance 1 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ae1 128:1 128:1 32769.0090690b47d1 1000 FWD DESG ge-2/1/2 128:2 128:2 32769.0090690b47d1 20000 FWD DESG ge-2/1/5 128:3 128:3 32769.0090690b47d1 29999 FWD DESG ge-2/2/1 128:4 128:26 32769.0013c39ec880 20000 FWD ROOT xe-9/2/0 128:5 128:5 32769.0090690b47d1 2000 FWD DESG xe-9/3/0 128:6 128:6 32769.0090690b47d1 2000 FWD DESG Spanning tree interface parameters for instance 2 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ae1 128:1 128:1 32770.0090690b47d1 1000 FWD DESG ge-2/1/2 128:2 128:2 32770.0090690b47d1 20000 FWD DESG ge-2/1/5 128:3 128:3 32770.0090690b47d1 29999 FWD DESG ge-2/2/1 128:4 128:26 32770.0013c39ec880 20000 FWD ROOT xe-9/2/0 128:5 128:5 32770.0090690b47d1 2000 FWD DESG xe-9/3/0 128:6 128:6 32770.0090690b47d1 2000 FWD DESG
show spanning-tree interface(EX 시리즈)
user@switch> show spanning-tree interface Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/0.0 128:513 128:513 8192.0019e2500340 1000 FWD DESG ge-0/0/2.0 128:515 128:515 8192.0019e2500340 1000 BLK DIS ge-0/0/4.0 128:517 128:517 8192.0019e2500340 1000 FWD DESG ge-0/0/23.0 128:536 128:536 8192.0019e2500340 1000 FWD DESG Spanning tree interface parameters for instance 1 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/0.0 128:513 128:513 8193.0019e2500340 1000 FWD DESG ge-0/0/2.0 128:515 128:515 8193.0019e2500340 1000 BLK DIS ge-0/0/4.0 128:517 128:517 8193.0019e2500340 1000 FWD DESG ge-0/0/23.0 128:536 128:536 8193.0019e2500340 1000 FWD DESG Spanning tree interface parameters for instance 2 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-0/0/0.0 128:513 128:1 8194.001b549fd000 1000 FWD ROOT ge-0/0/2.0 128:515 128:515 32770.0019e2500340 4000 BLK DIS ge-0/0/4.0 128:517 128:1 16386.001b54013080 1000 BLK ALT ge-0/0/23.0 128:536 128:536 32770.0019e2500340 1000 FWD DESG
스패닝 트리 인터페이스 세부 정보 표시
user@host> show spanning-tree interface routing-instance vs1 detail Spanning tree interface parameters for instance 0 Interface name : ae1 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 1000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/2 Port identifier : 128.2 Designated port ID : 128.2 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/5 Port identifier : 128.3 Designated port ID : 128.3 Port cost : 29999 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/2/1 Port identifier : 128.4 Designated port ID : 128.26 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:13:c3:9e:c8:80 Port role : Root Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-9/2/0 Port identifier : 128.5 Designated port ID : 128.5 Port cost : 2000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : xe-9/3/0 Port identifier : 128.6 Designated port ID : 128.6 Port cost : 2000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Spanning tree interface parameters for instance 1 Interface name : ae1 Port identifier : 128.1 Designated port ID : 128.1 Port cost : 1000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/2 Port identifier : 128.2 Designated port ID : 128.2 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/1/5 Port identifier : 128.3 Designated port ID : 128.3 Port cost : 29999 Port state : Forwarding Designated bridge ID : 32768.00:90:69:0b:47:d1 Port role : Designated Link type : Pt-Pt/NONEDGE Boundary port : No Interface name : ge-2/2/1 Port identifier : 128.4 Designated port ID : 128.26 Port cost : 20000 Port state : Forwarding Designated bridge ID : 32768.00:13:c3:9e:c8:80 Port role : Root Link type : Pt-Pt/NONEDGE Boundary port : No ...
show spanning-tree interface detail(EX 시리즈)
user@switch> show spanning-tree interface detail Spanning tree interface parameters for instance 0 Interface name : ge-1/0/0.0 Port identifier : 128.625 Designated port ID : 128.625 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/EDGE Boundary port : NA Edge delay while expiry count : 0 Rcvd info while expiry count : 0 Interface name : ge-1/0/1.0 Port identifier : 128.626 Designated port ID : 128.626 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/NONEDGE Boundary port : NA Edge delay while expiry count : 0 Rvcd info while expiry count : 0 Interface name : ge-1/0/2.0 Port identifier : 128.627 Designated port ID : 128.627 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/NONEDGE Boundary port : NA Edge delay while expiry count : 0 Rvcd info while expiry count : 0 Interface name : ge-1/0/10.0 Port identifier : 128.635 Designated port ID : 128.635 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/NONEDGE Boundary port : NA Edge delay while expiry count : 0 Rvcd info while expiry count : 0 Interface name : ge-1/0/20.0 Port identifier : 128.645 Designated port ID : 128.645 Port cost : 20000 Port state : Blocking Designated bridge ID : 32768.00:19:e2:50:95:a0 Port role : Disabled Link type : Pt-Pt/NONEDGE Boundary port : NA Edge delay while expiry count : 0 Rvcd info while expiry count : 0 [output truncated]
스패닝 트리 인터페이스 msti 표시
user@host> show spanning-tree interface msti 1 routing-instance vs1 detail Spanning tree interface parameters for instance 1 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost xe-7/0/0 128:1 128:1 32769.0090690b4fd1 2000 FWD DESG ge-5/1/0 128:2 128:2 32769.0090690b4fd1 20000 FWD DESG ge-5/1/1 128:3 128:3 32769.0090690b4fd1 20000 FWD DESG ae1 128:4 128:1 32769.0090690b47d1 10000 BLK ALT ge-5/1/4 128:5 128:3 32769.0090690b47d1 20000 BLK ALT xe-7/2/0 128:6 128:6 32769.0090690b47d1 2000 FWD ROOT
스패닝 트리 인터페이스 vlan-id 표시
user@host> show spanning-tree interface vlan-id 101 routing-instance vs1 detail Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-11/0/5 128:1 128:1 32768.0090690b7fd1 20000 FWD DESG ge-11/0/6 128:2 128:1 32768.0090690b7fd1 20000 BLK BKUP ge-11/1/0 128:3 128:2 32768.0090690b4fd1 20000 BLK ALT ge-11/1/1 128:4 128:3 32768.0090690b4fd1 20000 BLK ALT ge-11/1/4 128:5 128:1 32768.0090690b47d1 20000 BLK ALT xe-10/0/0 128:6 128:5 32768.0090690b4fd1 2000 BLK ALT xe-10/2/0 128:7 128:4 32768.0090690b47d1 2000 FWD ROOT
show spanning-tree interface(VSTP)
user@host> show spanning-tree interface Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Cost State Role port ID bridge ID ge-1/0/1 128:1 128:1 28672.0090690b3fe0 20000 FWD DESG ge-1/0/2 128:2 128:2 28672.0090690b3fe0 20000 FWD DESG Spanning tree interface parameters for VLAN 10 Interface Port ID Designated Designated Cost State Role port ID bridge ID ge-1/0/1 128:1 128:1 28672.0090690b3fe0 20000 FWD DESG ge-1/0/2 128:2 128:2 28672.0090690b3fe0 20000 FWD DESG Spanning tree interface parameters for VLAN 20 Interface Port ID Designated Designated Cost State Role port ID bridge ID ge-1/0/1 128:1 128:1 28672.0090690b3fe0 20000 FWD DESG ge-1/0/2 128:2 128:2 28672.0090690b3fe0 20000 FWD DESG
show spanning-tree interface vlan-id(VSTP)
user@host> show spanning-tree interface vlan-id 10 Spanning tree interface parameters for VLAN 10 Interface Port ID Designated Designated Cost State Role port ID bridge ID ge-1/0/1 128:1 128:1 28672.0090690b3fe0 20000 FWD DESG ge-1/0/2 128:2 128:2 28672.0090690b3fe0 20000 FWD DESG
show spanning-tree interface brief(EX 시리즈)
user@switch> show spanning-tree interface brief Spanning tree interface parameters for instance 0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-1/0/0.0 128:625 128:625 32768.0019e25095a0 20000 BLK DIS ge-1/0/1.0 128:626 128:626 32768.0019e25095a0 20000 BLK DIS ge-1/0/2.0 128:627 128:627 32768.0019e25095a0 20000 BLK DIS ge-1/0/10.0 128:635 128:635 32768.0019e25095a0 20000 BLK DIS ge-1/0/20.0 128:645 128:645 32768.0019e25095a0 20000 BLK DIS ge-1/0/30.0 128:655 128:655 32768.0019e25095a0 20000 BLK DIS
show spanning-tree interface ge-1/0/0(EX 시리즈)
user@switch> show spanning-tree interface ge-1/0/0 Interface Port ID Designated Designated Port State Role port ID bridge ID Cost ge-1/0/0.0 128:625 128:625 32768.0019e25095a0 20000 BLK DIS
릴리스 정보
Junos OS 릴리스 8.4에서 소개된 명령입니다.