show interfaces (GRE)
구문
show interfaces interface-type <brief | detail | extensive | terse> <descriptions> <media> <snmp-index snmp-index> <statistics>
설명
지정된 GRE(Generic Routing Encapsulation) 인터페이스에 대한 상태 정보를 표시합니다.
옵션
interface-type | M Series 및 T Series 라우터 및 EX 시리즈 스위치에서 인터페이스 유형은 gr-fpc//picport입니다. |
brief | detail | extensive | terse | (선택사항) 지정된 출력 수준의 인터페이스 정보를 표시합니다. |
descriptions | (선택사항) 인터페이스 설명 문자열을 표시합니다. |
media | (선택사항) 네트워크 인터페이스에 대한 미디어별 정보를 표시합니다. |
snmp-index snmp-index | (선택사항) 인터페이스의 지정된 SNMP 인덱스 정보를 표시합니다. |
statistics | (선택사항) 정적 인터페이스 통계를 표시합니다. |
GMPLS 제어 채널에 대해서만 GRE(Generic Routing Encapsulation) 인터페이스(gre-x/y/z)를 구성할 수 있습니다. GRE 인터페이스는 다른 애플리케이션에 대해 지원되거나 구성되지 않습니다. GMPLS에 대한 자세한 내용은 MPLS Applications User Guide를 참조하십시오.
필수 권한 수준
보기
출력 필드
표 1 에는 GRE(Output Fields) 명령의 출력 필드가 show interfaces
나와 있습니다. 출력 필드가 나타나는 대략적 순서로 나열됩니다.
필드 이름 |
필드 설명 |
출력 수준 |
---|---|---|
물리적 인터페이스 | ||
물리적 인터페이스 |
물리적 인터페이스의 이름입니다. |
모든 레벨 |
사용 |
인터페이스의 상태. 가능한 값은 Common Output Fields Description의 "Enabled Field" 섹션에 설명되어 있습니다. |
모든 레벨 |
인터페이스 인덱스 |
초기화 시퀀스를 반영하는 물리적 인터페이스의 인덱스 번호 |
detail extensive none |
SNMP ifIndex |
물리적 인터페이스에 대한 SNMP 인덱스 번호입니다. |
detail extensive none |
세대 |
주니퍼 네트웍스 기술 지원에서만 사용할 수 있는 고유 번호입니다. |
세부적인 내용 |
형식 |
인터페이스 유형. |
모든 레벨 |
링크 수준 유형 |
물리적 인터페이스에서 사용되는 캡슐화 |
모든 레벨 |
Mtu |
물리적 인터페이스에서 MTU 크기. |
모든 레벨 |
속도 |
인터페이스 실행 속도. |
모든 레벨 |
대기 시간 |
밀리초 내에 현재 인터페이스 홀드 타임 업 및 홀드 타임 다운( hold-time up) |
세부적인 내용 |
디바이스 플래그 |
물리적 디바이스에 대한 정보. 가능한 값은 Common Output Fields Description의 "Device Flag" 섹션에 설명되어 있습니다. |
모든 레벨 |
인터페이스 플래그 |
인터페이스에 대한 정보. 가능한 값은 Common Output Fields Description의 "Interface Flag" 섹션에 설명되어 있습니다. |
모든 레벨 |
입력 속도 |
초당 비트(bps)와 초당 패킷(pps)의 입력 속도. |
없음 지정됨 |
출력 속도 |
bps 및 pps의 출력 속도. |
없음 지정됨 |
통계가 마지막으로 지워진 경우 |
인터페이스에 대한 통계가 마지막으로 0으로 설정된 시간입니다. |
세부적인 내용 |
트래픽 통계 |
물리적 인터페이스에서 입력 및 출력 바이트 및 패킷을 수신 및 전송하는 속도와 수입니다.
|
세부적인 내용 |
논리적 인터페이스 | ||
논리적 인터페이스 |
논리적 인터페이스의 이름입니다. |
모든 레벨 |
인덱스 |
초기화 시퀀스를 반영하는 논리적 인터페이스 인덱스 번호 |
detail extensive none |
SNMP ifIndex |
논리적 인터페이스 SNMP 인터페이스 인덱스 번호. |
detail extensive none |
세대 |
주니퍼 네트웍스 기술 지원에서 사용할 수 있는 고유 번호입니다. |
세부적인 내용 |
플래그 |
논리적 인터페이스에 대한 정보. Common Output Fields Description의 "논리적 인터페이스 플래그" 섹션에 나열된 가능한 값입니다. 논리적 인터페이스에 대한 일반적인 정보를 설명합니다. 논리적 인터페이스에 대한 GRE별 정보는 이 필드에 다음 값이 존재하거나 없는 것으로 표시됩니다.
|
모든 레벨 |
IP 헤더 |
논리적 인터페이스의 IP 헤더. 명령문이 논리적 인터페이스에 대한 GRE별 정보는 이 필드에 다음 값이 존재하거나 없는 것으로 표시됩니다.
|
모든 레벨 |
캡슐화 |
논리적 인터페이스의 캡슐화 |
모든 레벨 |
|
GRE 인터페이스와 관련된 Layer 2 라우팅 인스턴스의 이름입니다. |
모든 레벨 |
|
GRE 인터페이스와 관련된 레이어 3 라우팅 인스턴스의 이름입니다. |
모든 레벨 |
|
GRE 패킷 헤더의 서비스 유형(ToS) 비트 상태:
참고:
EX 시리즈 스위치는 캡슐화된 패킷에 ToS 비트를 복사하는 것을 지원하지 않기 때문에 이 필드의 가치는 항상 |
|
|
GRE 터널에 대해 GRE 유지 시간 및 대기 시간이 구성되었는지 여부를 나타냅니다.
참고:
EX 시리즈 스위치는 GRE 터널 유지 시간과 유지 시간의 구성을 지원하지 않으므로 이 필드의 가치는 항상 |
|
|
GRE 터널의 다른 쪽 끝 상태: |
|
입력 패킷 |
논리적 인터페이스에서 수신되는 패킷 수입니다. |
없음 지정됨 |
출력 패킷 |
논리적 인터페이스에서 전송되는 패킷 수입니다. |
없음 지정됨 |
트래픽 통계 |
논리적 인터페이스에서 수신 및 전송되는 총 바이트 및 패킷 수입니다. 이러한 통계는 로컬 및 전송 통계의 합계입니다. 트래픽의 버스트가 수신되면 출력 패킷 속도 필드의 값이 최고 셀 속도를 간단히 초과할 수 있습니다. 이 카운터가 안정화되는 데는 잠시(일반적으로 1초 미만) 걸립니다.
|
세부적인 내용 |
로컬 통계 |
RE(Routing Engine)에서 수신 및 전송된 트래픽에 대한 통계 트래픽의 버스트가 수신되면 출력 패킷 속도 필드의 값이 최고 셀 속도를 간단히 초과할 수 있습니다. 이 카운터가 안정화되는 데는 잠시(일반적으로 1초 미만) 걸립니다. |
세부적인 내용 |
전송 통계 |
라우터를 경유하는 트래픽에 대한 통계. 트래픽의 버스트가 수신되면 출력 패킷 속도 필드의 값이 최고 셀 속도를 간단히 초과할 수 있습니다. 이 카운터가 안정화되는 데는 잠시(일반적으로 1초 미만) 걸립니다. |
detail extensive none |
프로토콜 |
iso, inet6 또는 mpls와 같은 논리적 인터페이스에 구성된 프로토콜 제품군 |
detail extensive none |
protocol-family |
논리적 인터페이스에 구성된 프로토콜 제품군입니다. 프로토콜이 inet인 경우 인터페이스의 IP 주소도 표시됩니다. |
간단한 |
Mtu |
논리적 인터페이스에서 MTU 크기. |
detail extensive none |
세대 |
주니퍼 네트웍스 기술 지원에서만 사용할 수 있는 고유 번호입니다. |
세부적인 내용 |
라우팅 테이블 |
논리적 인터페이스 주소가 있는 라우팅 테이블 예를 들어 0 은 라우팅 테이블 inet.0을 말합니다. |
세부적인 내용 |
플래그 |
프로토콜 패밀리 플래그에 대한 정보. 가능한 값은 Common Output Fields Description의 "Family Flag" 섹션에 설명되어 있습니다. |
detail extensive none |
주소, 플래그 |
주소 플래그에 대한 정보. 가능한 값은 Common Output Fields Description의 "주소 플래그" 섹션에 설명되어 있습니다. |
detail extensive none |
대상 |
원격 연결의 IP 주소. |
detail extensive none |
로컬 |
논리적 인터페이스의 IP 주소. |
detail extensive none |
방송 |
논리적 인터페이스의 브로드캐스트 주소. |
detail extensive none |
세대 |
주니퍼 네트웍스 기술 지원에서만 사용할 수 있는 고유 번호입니다. |
세부적인 내용 |
샘플 출력
- GRE(show interfaces)
- GRE(show interfaces brief)
- GRE(show interfaces detail)
- show 인터페이스(GRE 인터페이스를 통한 레이어 2 서비스)
- 광범위한 인터페이스를 보여 줍니다(GRE 인터페이스를 통한 레이어 2 서비스)
- EX4200 Virtual Chassis 구성원 스위치에서 GRE(Interfaces Detail)를 보여 줍니다.
- GRE(Show Interfaces Extensive)
- GRE IPv6 터널에 대한 인터페이스 gr-2/0/10을 보여 줍니다.
GRE(show interfaces)
user@host> show interfaces gr-1/2/0 Physical interface: gr-0/0/0, Enabled, Physical link is Up Interface index: 132, SNMP ifIndex: 26 Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 800mbps Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) Logical interface gr-0/0/0.0 (Index 68) (SNMP ifIndex 47) Flags: Point-To-Point SNMP-Traps 16384 IP-Header 192.0.2.2:192.0.2.1:47:df:64:0000000000000000 Encapsulation: GRE-NULL Input packets : 0 Output packets: 0 Protocol inet, MTU: 1476 Flags: None Addresses, Flags: Is-Primary Local: 198.51.100.1
GRE(show interfaces brief)
user@host> show interfaces gr-1/2/0 brief Physical interface: gr-1/2/0, Enabled, Physical link is Up Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 800mbps Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Logical interface gr-1/2/0.0 Flags: Hardware-Down Point-To-Point SNMP-Traps 0x4000 IP-Header 10.10.0.2:10.10.0.1:47:df:64:0000000000000000 Encapsulation: GRE-NULL inet 10.100.0.1/30 mpls
GRE(show interfaces detail)
user@host> show interfaces gr-1/2/0 detail Physical interface: gr-0/0/0, Enabled, Physical link is Up Interface index: 132, SNMP ifIndex: 26, Generation: 13 Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 800mbps Hold-times : Up 0 ms, Down 0 ms Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Statistics last cleared: Never Traffic statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps Logical interface gr-0/0/0.0 (Index 68) (SNMP ifIndex 47) (Generation 8) Flags: Point-To-Point SNMP-Traps 16384 IP-Header 192.0.2.2:192.0.2.1:47:df:64:0000000000000000 Encapsulation: GRE-NULL Traffic statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Local statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Transit statistics: Input bytes : 0 0 bps Output bytes : 0 0 bps Input packets: 0 0 pps Output packets: 0 0 pps Protocol inet, MTU: 1476, Generation: 12, Route table: 0 Flags: None Addresses, Flags: Is-Primary Destination: Unspecified, Local: 198.51.100.1, Broadcast: Unspecified, Generation: 15
show 인터페이스(GRE 인터페이스를 통한 레이어 2 서비스)
user@host> show interfaces gr-2/2/10 show interfaces gr-2/2/10 Physical interface: gr-2/2/10, Enabled, Physical link is Up Interface index: 214, SNMP ifIndex: 690 Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 1000mbps Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) Logical interface gr-2/2/10.0 (Index 342) (SNMP ifIndex 10834) Flags: Up Point-To-Point SNMP-Traps 0x4000 IP-Header 203.0.113.1:203.0.113.254:47:df:64:0000000000000000 Encapsulation: GRE-NULL L2 Routing Instance: vs1, L3 Routing Instance: default Copy-tos-to-outer-ip-header: Off Gre keepalives configured: Off, Gre keepalives adjacency state: down Input packets : 2 Output packets: 0 Protocol bridge, MTU: 1476 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Preferred Is-Primary Destination: 6/8, Local: 6.0.0.1, Broadcast: 6.255.255.255
광범위한 인터페이스를 보여 줍니다(GRE 인터페이스를 통한 레이어 2 서비스)
user@host> show interfaces gr-2/2/10.0 extensive Flags: SNMP-Traps Encapsulation: ENET2 L2 Routing Instance: vs1, L3 Routing Instance: default Traffic statistics: Input bytes : 58851250 Output bytes : 0 Input packets: 1279375 Output packets: 0 Local statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Transit statistics: Input bytes : 58851250 75136 bps Output bytes : 0 0 bps Input packets: 1279375 204 pps Output packets: 0 0 pps Protocol bridge, MTU: 1476, Generation: 175, Route table: 7 Flags: Access-Mode
EX4200 Virtual Chassis 구성원 스위치에서 GRE(Interfaces Detail)를 보여 줍니다.
user@host> show interfaces gr-2/0/15 detail Physical interface: gr-2/0/15, Enabled, Physical link is Up Interface index: 195, SNMP ifIndex: 846, Generation: 198 Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 1000mbps Hold-times : Up 0 ms, Down 0 ms Current address: 00:00:5e:00:53:d2, Hardware address: 00:00:5e:00:53:d2 Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Statistics last cleared: 2011-09-14 17:43:15 UTC (00:00:18 ago) Traffic statistics: Input bytes : 5600636 0 bps Output bytes : 5600636 0 bps Input packets: 20007 0 pps Output packets: 20007 0 pps IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Logical interface gr-2/0/15.0 (Index 75) (SNMP ifIndex 847) (HW Token 4093) (Generation 140) Flags: Point-To-Point SNMP-Traps 0x0 IP-Header 192.168.30.2:192.168.20.3:47:df:64:0000000000000000 Encapsulation: GRE-NULL Copy-tos-to-outer-ip-header: Off Gre keepalives configured: Off, Gre keepalives adjacency state: down Traffic statistics: Input bytes : 5600886 Output bytes : 2881784 Input packets: 20010 Output packets: 10018 Local statistics: Input bytes : 398 Output bytes : 264 Input packets: 5 Output packets: 3 Transit statistics: Input bytes : 5600488 0 bps Output bytes : 2881520 0 bps Input packets: 20005 0 pps Output packets: 10015 0 pps Protocol inet, Generation: 159, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.10.10/8, Local: 10.10.10.10, Broadcast: 10.10.10.255, Generation: 144 Logical interface gr-2/0/15.1 (Index 80) (SNMP ifIndex 848) (HW Token 4088) (Generation 150) Flags: Point-To-Point SNMP-Traps 0x0 IP-Header 192.168.40.2:192.168.30.1:47:df:64:0000000000000000 Encapsulation: GRE-NULL Copy-tos-to-outer-ip-header: Off Gre keepalives configured: Off, Gre keepalives adjacency state: down Traffic statistics: Input bytes : 260 Output bytes : 2880148 Input packets: 4 Output packets: 10002 Local statistics: Input bytes : 112 Output bytes : 0 Input packets: 2 Output packets: 0 Transit statistics: Input bytes : 148 0 bps Output bytes : 2880148 0 bps Input packets: 2 0 pps Output packets: 10002 0 pps Protocol inet, Generation: 171, Route table: 0 Flags: None Addresses, Flags: Is-Preferred Is-Primary Destination: 10.10.10/8, Local: 10.10.10.10, Broadcast: 10.10.10.255, Generation: 160
GRE(Show Interfaces Extensive)
명령의 show interfaces extensive
출력은 명령의 출력과 show interfaces detail
동일합니다. 샘플 출력은 EX4200 Virtual Chassis 구성원 스위치에서 GRE(Interfaces detail)를 표시하고 GRE(Interfaces Detail)를 표시합니다.
GRE IPv6 터널에 대한 인터페이스 gr-2/0/10을 보여 줍니다.
user@host> show interfaces gr-2/0/10 show interfaces gr-2/0/10 Physical interface: gr-2/0/10, Enabled, Physical link is Up Interface index: 140, SNMP ifIndex: 559 Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: 1000mbps Device flags : Present Running Interface flags: Point-To-Point SNMP-Traps Input rate : 4952 bps (3 pps) Output rate : 200 bps (0 pps) Logical interface gr-2/0/10.0 (Index 355) (SNMP ifIndex 857) Flags: Up Point-To-Point SNMP-Traps 0x4000 IP-Header 1000::11:0:11:1-1000::11:2:13:2-47-64-0-0-0000000000000000 Encapsulation: GRE-NULL Copy-tos-to-outer-ip-header: Off, Copy-tos-to-outer-ip-header-transit: Off Gre keepalives configured: Off, Gre keepalives adjacency state: down Input packets : 60 Output packets: 83 Protocol inet, MTU: 9082 Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0 Flags: Sendbcast-pkt-to-re Addresses, Flags: Is-Preferred Is-Primary Destination: 14.0.13/24, Local: 14.0.13.1, Broadcast: 14.0.13.255 Protocol iso, MTU: 9082 Protocol inet6, MTU: 9082 Max nh cache: 0, New hold nh limit: 0, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0 Addresses, Flags: Is-Preferred Is-Primary Destination: 1400::14:0:13:0/120, Local: 1400::14:0:13:1 Addresses, Flags: Is-Preferred Destination: fe80::/64, Local: fe80::2a0:a520:2875:4992 Protocol mpls, MTU: 9070, Maximum labels: 3 Flags: Is-Primary
릴리스 정보
Junos OS 릴리스 7.4 전에 명령어 도입.
Junos OS 릴리스 17.3R1 이전에 명령이 도입되었습니다.