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 시리즈 스위치에서 인터페이스 유형은 gr-/ / fpc pic 입니다. port |
브리핑 | 세부 | 광범위한 | 간결한 | (선택 사항) 인터페이스 정보의 지정된 출력 레벨을 표시합니다. |
설명 | (선택 사항) 인터페이스 설명 문자열을 표시합니다. |
미디어 | (선택 사항) 네트워크 인터페이스에 대한 미디어별 정보를 표시합니다. |
snmp-index snmp-index | (선택 사항) 인터페이스의 지정된 SNMP 인덱스에 대한 정보를 표시합니다. |
통계 | (선택 사항) 정적 인터페이스 통계를 표시합니다. |
GMPLS 제어 채널에만 GRE(Generic Routing Encapsulation) 인터페이스(gre-x/y/z)를 구성할 수 있습니다. GRE 인터페이스는 지원되지 또는 다른 애플리케이션에 대해 구성할 수 없습니다. GMPLS에 대한 자세한 내용은 MPLS 애플리케이션 사용자 가이드 를 참조하십시오.
필수 권한 수준
보기
출력 필드
표 1에는 GRE(Output show interfaces
필드)의 목록이 있습니다. 출력 필드는 대략적인 순서로 나열되어 있습니다.
필드 이름 |
필드 설명 |
출력 수준 |
---|---|---|
물리적 인터페이스 | ||
물리적 인터페이스 |
물리적 인터페이스의 이름. |
모든 레벨 |
활성화 |
인터페이스의 상태. 가능한 값은 Common Output Field Description의 "Enabled Field" 섹션에 설명되어 있습니다. |
모든 레벨 |
인터페이스 인덱스 |
초기화 시퀀스를 반영하는 물리적 인터페이스의 인덱스 번호입니다. |
세부 정보 없음 |
SNMP ifIndex |
물리적 인터페이스를 위한 SNMP 인덱스 번호. |
세부 정보 없음 |
생성 |
기술 지원만 주니퍼 네트웍스 고유의 사용 번호. |
세부적인 세부 사항 |
유형 |
인터페이스 유형. |
모든 레벨 |
링크 수준 유형 |
물리적 인터페이스에서 사용되는 캡슐화 |
모든 레벨 |
최대 전송 단위(MTU) |
최대 전송 단위(MTU) 인터페이스의 규모를 제한합니다. |
모든 레벨 |
속도 |
인터페이스가 실행되는 속도. |
모든 레벨 |
홀드 타임 |
현재 인터페이스는 밀리초의 시간(hold-time up) 및 홀드 타임 다운(hold-time down)을 제공합니다. |
세부적인 세부 사항 |
디바이스 플래그 |
물리적 디바이스에 대한 정보. 가능한 값은 Common Output Fields Description의 "Device Flags" 섹션에 설명되어 있습니다. |
모든 레벨 |
인터페이스 플래그 |
인터페이스에 대한 정보. 가능한 값은 Common Output Fields Description의 "Interface Flags" 섹션에 설명되어 있습니다. |
모든 레벨 |
입력 속도 |
초당 입력 속도(bps) 및 초당 패킷(pps). |
지정된 없음 |
출력 속도 |
bps 및 pps의 출력 속도 |
지정된 없음 |
통계 마지막으로 지우기 |
인터페이스에 대한 통계가 마지막으로 0으로 설정된 시간. |
세부적인 세부 사항 |
트래픽 통계 |
물리적 인터페이스에서 송수신되는 입력 및 출력 bytes 및 패킷의 수와 속도입니다.
|
세부적인 세부 사항 |
논리적 인터페이스 | ||
논리적 인터페이스 |
논리적 인터페이스의 이름. |
모든 레벨 |
인덱스 |
초기화 시퀀스를 반영하는 논리적 인터페이스 인덱스 번호입니다. |
세부 정보 없음 |
SNMP ifIndex |
논리적 인터페이스 SNMP 인터페이스 인덱스 번호. |
세부 정보 없음 |
생성 |
기술 지원 팀에 의해 주니퍼 네트웍스 수 있습니다. |
세부적인 세부 사항 |
플래그 |
논리적 인터페이스에 대한 정보. Common Output Fields Description의 "Logical Interface Flags" 섹션에나열된 가능한 값 논리적 인터페이스에 대한 일반 정보를 설명합니다. 논리적 인터페이스에 대한 GRE 관련 정보는 이 필드에 다음 값이 존재하고 있는 것으로 나타났습니다.
|
모든 레벨 |
IP 헤더 |
논리적 인터페이스의 IP 헤더입니다. 논리적 인터페이스에 대한 GRE 관련 정보는 이 필드에 다음 값이 존재하고 있는 것으로 나타났습니다.
|
모든 레벨 |
캡슐화 |
논리적 인터페이스에 캡슐화합니다. |
모든 레벨 |
|
GRE 인터페이스와 연관된 Layer 2 라우팅 인스턴스의 이름. |
모든 레벨 |
|
GRE 인터페이스와 연관된 Layer 3 라우팅 인스턴스의 이름. |
모든 레벨 |
|
GRE 서비스 유형(ToS) 비트의 상태:
참고:
EX 시리즈 스위치는 캡슐화된 패킷에 ToS 비트 복사를 지원하지 않습니다. 따라서 이 필드의 가치는 항상 스위치 |
|
|
GRE 터널에 대해 GRE의 유지 시간 및 보유 시간이 구성된지 여부를 나타
참고:
EX 시리즈 스위치는 GRE 터널 유지 시간 및 보유 시간을 지원하지 않습니다. 따라서 이 필드의 가치는 항상 |
|
|
GRE 터널의 다른 끝 상태: |
|
입력 패킷 |
논리적 인터페이스에서 수신되는 패킷 수입니다. |
지정된 없음 |
출력 패킷 |
논리적 인터페이스에서 전송되는 패킷 수입니다. |
지정된 없음 |
트래픽 통계 |
논리적 인터페이스에서 송수신되는 총 패킷 수입니다. 이러한 통계는 로컬 및 전송 수치의 합계입니다. 트래픽의 버스트가 수신된 경우 출력 패킷 속도 필드의 값이 간단히 최고 셀 전송률을 초과할 수 있습니다. 이 카운터가 수리하는 데는 보통 1초도 채 걸리지 못합니다.
|
세부적인 세부 사항 |
로컬 통계 |
네트워크에서 송수신되는 트래픽에 대한 라우팅 엔진. 트래픽의 버스트가 수신된 경우 출력 패킷 속도 필드의 값이 간단히 최고 셀 전송률을 초과할 수 있습니다. 이 카운터가 수리하는 데는 보통 1초도 채 걸리지 못합니다. |
세부적인 세부 사항 |
전송 통계 |
라우터를 전송하는 트래픽에 대한 통계 트래픽의 버스트가 수신된 경우 출력 패킷 속도 필드의 값이 간단히 최고 셀 전송률을 초과할 수 있습니다. 이 카운터가 수리하는 데는 보통 1초도 채 걸리지 못합니다. |
세부 정보 없음 |
프로토콜 |
iso, inet6또는 mpls와같은 논리적 인터페이스에서 구성된 프로토콜 패밀리 |
세부 정보 없음 |
protocol-family |
논리적 인터페이스에서 구성된 프로토콜 패밀리 프로토콜이 inet인경우 인터페이스의 IP 주소도 표시됩니다. |
개요 |
최대 전송 단위(MTU) |
최대 전송 단위(MTU) 인터페이스의 크기에 대해 설명합니다. |
세부 정보 없음 |
생성 |
기술 지원만 주니퍼 네트웍스 고유의 사용 번호. |
세부적인 세부 사항 |
경로 테이블 |
논리적 인터페이스 주소가 있는 라우팅 테이블 예를 들어, 0은 routing table inet.0을 참조합니다. |
세부적인 세부 사항 |
플래그 |
프로토콜 패밀리 플래그에 대한 정보. 가능한 값은 Common Output Fields Description의 "Family Flags" 섹션에 설명되어 있습니다. |
세부 정보 없음 |
주소, 플래그 |
주소 플래그에 대한 정보. 가능한 값은 Common Output Fields Description의 "Addresses Flags" 섹션에 설명되어 있습니다. |
세부 정보 없음 |
대상 |
연결 원격측의 IP 주소입니다. |
세부 정보 없음 |
로컬 |
논리적 인터페이스의 IP 주소입니다. |
세부 정보 없음 |
브로드캐스트 |
논리적 인터페이스의 브로드캐스트 주소. |
세부 정보 없음 |
세대 |
기술 지원만 주니퍼 네트웍스 고유의 사용 번호. |
세부적인 세부 사항 |
샘플 출력
- GRE(Show Interfaces)
- GRE(Interfaces Brief) 표시
- GRE(Interfaces Detail)를 표시
- 인터페이스 표시(GRE 인터페이스를 통해 레이어 2 서비스)
- 광범위한 인터페이스 표시(GRE 인터페이스를 통해 레이어 2 서비스)
- 구성원 스위치의 GRE(interfaces detail)EX4200 Virtual Chassis 표시
- GRE(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(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(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
인터페이스 표시(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
구성원 스위치의 GRE(interfaces detail)EX4200 Virtual Chassis 표시
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(Interfaces Extensive) 표시
명령의 show interfaces extensive
출력은 명령의 출력과 show interfaces detail
동일합니다. 샘플 출력은 GRE(Interfaces Detail)를 표시하고 구성원 스위치의 GRE(interfaces detail)EX4200 Virtual Chassis.
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
릴리스 정보
릴리스 7.Junos OS 전에 명령어가 도입되었습니다.
릴리스 날짜 이전의 명령어가 Junos OS 릴리스 17.3R1.