인터페이스 문제 해결
이 주제는 다양한 문제 해결 시나리오에 대해 설명합니다.
문제 해결: 진화한 Junos OS 위해 관리 인터페이스 링크가 중단되었습니다.
문제
설명
Ethernet Link Down
다음 디바이스에서 작동 모드 명령을 실행할 show chassis alarm
때 알람이 발생합니다.
-
ACX 라우터(ACX7100-32C, ACX7100-48L)
-
PTX 라우터(PTX10001-36MR, PTX10003, PTX10004, PTX10008)
-
QFX 스위치(QFX5130-32CD, QFX5220-32CD, QFX5220-128C)
진단
다음 테스트를 수행하여 기본 라우팅 엔진 또는 백업 라우팅 엔진 관리 인터페이스가 중단되었는지 확인합니다.
-
명령을 실행합니다
show chassis alarms
.섀시 알람 표시
user@host0> show chassis alarms 1 alarms currently active Alarm time Class Description 2020-10-19 11:13:02 MYT Major Host 1 re0:mgmt-0.0 : Ethernet Link Down
기본 라우팅 엔진(호스트 0)의 관리 인터페이스에 대해 알람
Ethernet Link Down
이 표시되는가?-
예: 추가 지원이 필요한 경우 주니퍼 네트웍스 기술 지원 센터(JTAC)에 문의하십시오.
-
아니요: 다음 진단 테스트를 계속합니다.
-
-
show interfaces re0:mgmt-0
및show interfaces re0:mgmt-0 terse
작동 모드 명령을 실행합니다.show interfaces re0:mgmt-0
user@host0> show interfaces re0:mgmt-0 Physical interface: re0:mgmt-0, Enabled, Physical link is Up Interface index: 1001, SNMP ifIndex: 193 Type: Ethernet, Link-level type: Ethernet, MTU: 1500, Speed: 1Gbps, Auto-negotiation: Enabled Device flags : Present Running Interface flags: SNMP-Traps ...
show interfaces re0:mgmt-0 terse
user@host0> show interfaces re0:mgmt-0 terse Interface Admin Link Proto Local Remote re0:mgmt-0 up up re0:mgmt-0.0 up up inet 10.100.100.1/30
기본 라우팅 엔진
up
관리 인터페이스인가?-
예: 해결을 계속합니다.
-
아니요: 추가 지원이 필요한 경우 JTAC에 문의하십시오.
-
해상도
이 문제를 해결하려면
섀시 알람은 기본 라우팅 엔진(호스트 0)가 아닌 백업 라우팅 엔진(호스트 1)의 관리 인터페이스에 대해 발생했습니다.
이 문제를 해결하기 위해 백업 라우팅 엔진 다음 솔루션 중 하나를 구현합니다.
백업 라우팅 엔진 관리 인터페이스를 비활성화합니다.
구성 모드에서 계층 수준으로 이동합니다
[edit groups re1]
.user@host1# edit groups re1
-
re1:mgmt-0 인터페이스를 비활성화합니다.
[edit groups re1] user@host1# set interfaces re1:mgmt-0 disable
알람 무시:
구성 모드에서 계층 수준으로 이동합니다
[edit chassis]
.user@host1# edit chassis
Ethernet link down
- 알람 옵션을 로 설정하여 관리 인터페이스의 알람을management-ethernet link-down
무시합니다ignore
.[edit chassis] user@host1# set alarm management-ethernet link-down ignore
더 보기
문제 해결: 진화한 Junos OS 대한 잘못된 포트 속도 구성
문제
설명
Invalid Port Speed Configuration
작동 모드 명령을 실행할 때 알람이 show system alarms
표시됩니다.
예를 들어:
user@host> show system alarms Alarm time Class Description 2021-12-06 23:09:21 UTC Minor FPC-0 PIC-0: Invalid Port Speed Configuration
진단
show picd config
수준에서 명령을 cli-pfe
실행하여 잘못된 포트 속도 구성을 식별합니다. 명령을 실행하면 유효한 포트와 잘못된 PIC 구성의 이유를 포함하여 포트 속도/채널화 구성에 대한 세부 정보가 표시됩니다.
예를 들어:
root@re0:~# cli-pfe root@re0:pfe> show picd config
pic_info_table : default config config config computed pic_or_port speed pic_mode port_speed valid speed supported_speeds hidden_speeds ----------- ------- -------- ---------- ------ -------- -------------------------------------------------------- ------------- pic-0/0 - - - yes - port-0/0/0 1x400G - 1x100G - 1x100G [ 1x400G 1x200G 4x10G 1x40G 4x25G 1x100G 4x100G 2x200G ] [ ] port-0/0/1 1x400G - 1x100G - 1x100G [ 1x400G 1x200G 4x10G 1x40G 4x25G 1x100G 4x100G 2x200G ] [ ] port-0/0/2 1x400G - 1x100G - 1x100G [ 1x400G 1x200G 4x10G 1x40G 4x25G 1x100G 4x100G 2x200G ] [ ] port-0/0/3 1x400G - 1x100G - 1x100G [ 1x400G 1x200G 4x10G 1x40G 4x25G 1x100G 4x100G 2x200G ] [ ] ... port-0/0/11 1x400G - - - 1x400G [ 1x400G 1x200G 4x10G 1x40G 4x25G 1x100G 4x100G 2x200G ] [ ] port-0/0/12 1x400G - - - 1x400G [ 1x400G 1x200G 4x10G 1x40G 4x25G 1x100G 4x100G 2x200G ] [ ] port-0/0/13 1x400G - - - 1x400G [ 1x400G 1x200G 4x10G 1x40G 4x25G 1x100G 4x100G 2x200G ] [ ] port-0/0/14 1x400G - - - 1x400G [ 1x400G 1x200G 4x10G 1x40G 4x25G 1x100G 4x100G 2x200G ] [ ] ... usr_config : pic_usr_config : pic_name : pic-0/0 pic_mode_valid : false pic_mode : num_ports_valid : false num_ports : 0 config_invalid : true invalid_reason : Port 12: Speed 4x40G not supported Port 13: Speed 4x40G not supported ptp_mode : false port_usr_config : port_name : port-0/0/0 port_speed_valid : true port_speed : 1x100G sub_ports_cfg : false port_usr_config : port_name : port-0/0/1 port_speed_valid : true port_speed : 1x100G sub_ports_cfg : false port_usr_config : port_name : port-0/0/10 port_speed_valid : true port_speed : 1x40G sub_ports_cfg : false port_usr_config : port_name : port-0/0/11 port_speed_valid : true port_speed : 1x40G sub_ports_cfg : false port_usr_config : port_name : port-0/0/12 port_speed_valid : true port_speed : 4x40G sub_ports_cfg : true port_usr_config : port_name : port-0/0/13 port_speed_valid : true port_speed : 4x40G sub_ports_cfg : true port_usr_config : port_name : port-0/0/20 port_speed_valid : true port_speed : 1x100G sub_ports_cfg : false
명령의 show picd config
결과가 잘못된 포트 속도 구성을 나타내나요?
-
예: 해결을 계속합니다.
-
아니요: 추가 지원이 필요한 경우 주니퍼 네트웍스 기술 지원 센터(JTAC)에 문의하십시오.
이 예에서 결과는 다음을 나타냅니다.
Port 12: Speed 4x40G not supported Port 13: Speed 4x40G not supported
해상도
이 문제를 해결하려면
지원되지 않는 포트 속도 구성에 대해 시스템 알람이 발생했습니다. 문제를 해결하기 위해 모든 포트를 유효한 포트 속도로 구성합니다. 포트 속도는 PIC 수준에서 구성됩니다.
잘못된 구성이 포트에 적용되면, PIC의 다른 포트에서 현재 구성된 속도/채널화는 디바이스의 다음 재부팅 또는 다음 그림 앱이 다시 시작될 때까지 효력을 유지합니다. 디바이스 재부팅 또는 그림 재시작 후 해당 PIC의 모든 포트가 기본 속도로 돌아갑니다. 유효하지 않은 상태와 기본 속도에 있는 모든 포트의 결과 효과는 잘못된 구성이 수정될 때까지 효력을 유지합니다.
논리적 PIC의 유효한 포트 속도를 결정하려면 명령을 실행합니다 show chassis pic fpc-slot slot-number pic-slot slot-number
.
이 예에는 포트 0/0/12 및 0/0/13에서 지원되지 않는 포트 속도/채널화 구성이 포함되어 있습니다. 예제에 대한 유효한 포트 속도를 결정하려면 을(를) 실행 show chassis pic fpc-slot 0 pic-slot 0
합니다.
root@re0> show chassis pic fpc-slot 0 pic-slot 0 --- Port speed information: Port PFE Capable Port Speeds 0 0 1x40G 1x100G 4x25G 4x10G 1 0 1x40G 1x100G 4x25G 4x10G 4 0 1x40G 1x100G 4x25G 4x10G 5 0 1x40G 1x100G 4x25G 4X10G 8 0 1x40G 1x100G 4x25G 4x10G 9 0 1x40G 1x100G 4x25G 4x10G 12 0 1x40G 1x100G 4x25G 4x10G 13 0 1x40G 1x100G 4x25G 4x10G
잘못된 포트 속도 예는 다음과 같은 유효한 포트 속도 중 하나로 포트 0/0/12 및 0/0/13을 구성하여 해결할 수 있습니다.
12 1x40G 1x100G 4x25G 4x10G 13 1x40G 1x100G 4x25G 4x10G
문제 해결: 진화한 Junos OS 위한 이더넷 물리적 인터페이스 결함
다음 항목에서 설명한 대로 기본 문제 해결 작업을 따라 Evolved가 지원하는 디바이스의 이더넷 물리적 인터페이스 문제를 해결할 Junos OS 있습니다.
케이블 연결 확인
문제
설명
패킷은 이더넷 물리적 인터페이스를 통해 수신되거나 전송되지 않습니다.
진단
올바른 케이블이 올바른 포트에 연결되어 있습니까?
아니오: 케이블 연결 문제 해결을 참조하십시오.
해상도
케이블 연결 문제 해결
케이블 연결 문제를 해결하기 위해 다음 단계 중 하나 이상을 수행합니다.
-
느슨한 연결 없이 로컬 및 원격 엔드에서 케이블을 올바르게 연결합니다.
-
기존 케이블이 손상된 경우 알려진 양수 케이블로 대체하십시오.
단일 모드 광섬유 케이블을 단일 모드 인터페이스에만 연결하고 멀티 모드 파이버 케이블을 다중 모드 인터페이스에만 연결합니다. 광섬유 케이블 무결성을 확인하려면 광섬유 케이블 무결성 확인을 참조하십시오.
케이블 양쪽에 올바른 소형 폼 팩터 플러그형 트랜시버(SFP)를 연결합니다.
광섬유 케이블 무결성 확인
외부 케이블 진단 테스트 도구를 사용하여 광섬유 케이블의 무결성을 확인하려면 다음을 수행합니다.
단일 모드 광섬유 케이블을 단일 모드 인터페이스에 연결해야 합니다.
멀티 모드 광섬유 케이블을 멀티 모드 인터페이스에 연결해야 합니다.
수신기(RX) 포트의 수신 광도를 측정하여 수신 광도가 이더넷 인터페이스의 수신기 사양 내에 있는지 확인합니다.
-
송신기(TX) 포트의 송신광 수준을 측정하여 전송된 광도가 이더넷 인터페이스의 송신기 사양 내에 있는지 확인합니다.
인터페이스의 물리적 링크 상태 확인
문제
설명
케이블 연결이 올바르더라도 이더넷 인터페이스에서 패킷을 송수신할 수 없습니다.
솔루션
인터페이스의 물리적 링크 상태를 표시하려면 운영 모드 명령을 실행 show interface interface-name media
합니다. 예를 들어, et-5/0/1 인터페이스:
user@host> show interfaces et-5/0/1 media Physical interface: et-5/0/1, Enabled, Physical link is Up Interface index: 317, SNMP ifIndex: 1602 Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online, Speed-negotiation: Disabled, Auto-MDIX: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 2c:6b:f5:4c:26:73, Hardware address: 2c:6b:f5:4c:26:73 Last flapped : 2020-11-30 01:25:37 UTC (03:46:55 ago) Input rate : 880 bps (1 pps) Output rate : 312 bps (0 pps) Active alarms : None Active defects : None MAC statistics: Input bytes: 901296, Input packets: 9799, Output bytes: 976587, Output packets: 10451 Filter statistics: Filtered packets: 68, Padded packets: 0, Output packet errors: 0 Autonegotiation information: Negotiation status: Complete Link partner: Link mode: Full-duplex, Flow control: Symmetric/Asymmetric, Remote fault: OK Local resolution: Flow control: Symmetric, Remote fault: Link OK Interface transmit statistics: Disabled
진단
-
필드에 상태가 표시되고 필드가 표시되는 경우에도
Enabled
입력 오류 및 패킷 손실과Active alarms and Active defect
같은 연결 문제가 있습니까None
?Physical link is Up
-
예: 인터페이스 통계를 자세히 확인합니다.
-
아니요: 다음 진단 테스트를 계속합니다.
-
Enabled
필드는 상태를 표시Physical link is Down
하고 필드는 을(를)Active alarms and Active defect
표시Link
합니까?예: 인터페이스가 올바르게 연결되지 않았거나 유효한 신호를 수신하고 있지 않습니다. 케이블 연결 문제 해결로 이동합니다.
아니요: 계속합니다.
인터페이스 통계 상세 확인
문제
설명
필드에 상태가 표시되고 필드는 을(를 Enabled
Physical link is Up
) 표시None
하더라도 물리적 인터페이스가 Active alarms and Active defect
작동하지 않습니다.
솔루션
인터페이스 통계를 상세하게 표시하려면 작동 명령을 실행 show interface interface-name extensive
합니다. 예를 들어, et-5/0/1 인터페이스:
user@host> show interfaces et-5/0/1 extensive Physical interface: et-5/0/1, Enabled, Physical link is Up Interface index: 317, SNMP ifIndex: 1602, Generation: 322 Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online, Speed-negotiation: Disabled, Auto-MDIX: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None CoS queues : 8 supported, 8 maximum usable queues Hold-times : Up 0 ms, Down 0 ms Current address: 2c:6b:f5:4c:26:73, Hardware address: 2c:6b:f5:4c:26:73 Last flapped : 2012-11-30 01:25:37 UTC (04:38:32 ago) Statistics last cleared: Never Traffic statistics: Input bytes : 806283 0 bps Output bytes : 1153215 424 bps Input packets: 10818 0 pps Output packets: 11536 0 pps IPv6 transit statistics: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Label-switched interface (LSI) traffic statistics: Input bytes : 0 0 bps Input packets: 0 0 pps Dropped traffic statistics due to STP State: Input bytes : 0 Output bytes : 0 Input packets: 0 Output packets: 0 Input errors: Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 233060, L3 incompletes: 0, L2 channel errors: 0, L2 mismatch timeouts: 0, FIFO errors: 0, Resource errors: 0 Output errors: Carrier transitions: 11, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0, FIFO errors: 0, HS link CRC errors: 0, MTU errors: 0, Resource errors: 0 Egress queues: 8 supported, 4 in use Queue counters: Queued packets Transmitted packets Dropped packets 0 best-effort 3216 3216 0 1 expedited-fo 0 0 0 2 assured-forw 0 0 0 3 network-cont 8320 8320 0 Queue number: Mapped forwarding classes 0 best-effort 1 expedited-forwarding 2 assured-forwarding 3 network-control Active alarms : None Active defects : None MAC statistics: Receive Transmit Total octets 1007655 1082219 Total packets 10886 11536 Unicast packets 4350 4184 Broadcast packets 32 77 Multicast packets 6504 7275 CRC/Align errors 0 0 FIFO errors 0 0 MAC control frames 0 0 MAC pause frames 0 0 Oversized frames 0 Jabber frames 0 Fragment frames 0 VLAN tagged frames 0 Code violations 0 Filter statistics: Input packet count 10886 Input packet rejects 68 Input DA rejects 68 Input SA rejects 0 Output packet count 11536 Output packet pad count 0 Output packet error count 0 CAM destination filters: 0, CAM source filters: 0 Autonegotiation information: Negotiation status: Complete Link partner: Link mode: Full-duplex, Flow control: Symmetric/Asymmetric, Remote fault: OK Local resolution: Flow control: Symmetric, Remote fault: Link OK Packet Forwarding Engine configuration: Destination slot: 5 CoS information: Direction : Output CoS transmit queue Bandwidth Buffer Priority Limit % bps % usec 0 best-effort 95 950000000 95 0 low none 3 network-control 5 50000000 5 0 low none Interface transmit statistics: Disabled
진단
-
Policed discards
,L2 channel errors
,Input DA rejects
또는Input SA rejects
필드에 오류가 표시됩니까?-
예: 필요에 따라 오류를 해결합니다. 이러한 오류 해결은 이 주제의 범위를 벗어나 있습니다.
-
아니오: 루프백 진단 테스트를 계속 수행합니다.
-
루프백 진단 테스트 수행
문제
설명
인터페이스 케이블이 올바르게 연결되어 있고 이더넷 물리적 인터페이스에 대한 알람이나 오류가 없지만 인터페이스가 작동하지 않습니다.
솔루션
이더넷 포트 또는 PIC에 결함이 있는지 확인하려면 내부 루프백 테스트 및 하드웨어 루프백 테스트를 수행해야 합니다.
이더넷 인터페이스에서 내부 루프백 진단 테스트를 수행하려면(예: et-5/0/1 인터페이스):
-
구성 모드에서 계층 수준으로 이동합니다
[edit interfaces et-5/0/1]
.[edit] user@host# edit interface et-5/0/1
-
ether-options
옵션을 루프백으로 설정하고 구성을 커밋한 다음 구성 모드를 종료합니다.[edit interfaces et-5/0/1 user@host# set ether-options loopback user@host# commit user@host# quit
-
운영 모드에서 명령을 실행합니다
show interfaces et-5/0/1 media
.user@host> show interfaces et-5/0/1 media Physical interface: et-5/0/1, Enabled, Physical link is Up Interface index: 317, SNMP ifIndex: 1602 Link-level type: Ethernet, MTU: 1514, Speed: 1000mbps, BPDU Error: None, MAC-REWRITE Error: None, Loopback: Enabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online, Speed-negotiation: Disabled, Auto-MDIX: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None CoS queues : 8 supported, 8 maximum usable queues Current address: 2c:6b:f5:4c:26:73, Hardware address: 2c:6b:f5:4c:26:73 Last flapped : 2012-11-30 01:25:37 UTC (03:46:55 ago) Input rate : 880 bps (1 pps) Output rate : 312 bps (0 pps) Active alarms : None Active defects : None MAC statistics: Input bytes: 901296, Input packets: 9799, Output bytes: 976587, Output packets: 10451 Filter statistics: Filtered packets: 68, Padded packets: 0, Output packet errors: 0 Autonegotiation information: Negotiation status: Complete Link partner: Link mode: Full-duplex, Flow control: Symmetric/Asymmetric, Remote fault: OK Local resolution: Flow control: Symmetric, Remote fault: Link OK Interface transmit statistics: Disabled
진단 완료 loopback
후 문을 삭제합니다.
필요에 따라 하드웨어 루프백 진단 테스트를 위해 다음 단계 중 하나를 실행합니다.
광섬유 인터페이스가 있는 이더넷 PIC의 경우- TX 및 RX 포트를 물리적으로 루프하고 작동 모드 명령을 사용하여 물리적 링크
show interfaces interface-name media
의 상태를 확인합니다.RJ-45 이더넷 인터페이스가 있는 이더넷 PIC의 경우 - 핀 1(TX +)을 핀 3(RX +)과 핀 2(T X -) 및 핀 6(RX-)으로 교차하여 루프백 플러그를 구축합니다. 그런 다음 운영 모드 명령을 사용하여 물리적 링크
show interfaces interface-name media
의 상태를 확인합니다.
진단
-
Enabled
루프백 테스트 수행 시 필드에 상태가 표시Physical link is Up
되고Active alarms and Active defect
필드가 표시None
됩니까?-
예: 기타 가능성 확인 섹션으로 이동하십시오.
-
아니요: 다음 진단 테스트를 계속합니다.
-
-
이더넷 인터페이스가 여러 패치 패널을 통해 원격 이더넷 디바이스에 연결되어 있는 경우, 루프백 진단 테스트를 수행할 수 있도록 다른 패치 패널에서 연결이 다시 루프될 수 있는지 확인합니다. 루프백 진단 테스트가 성공합니까?
-
예: 기타 가능성 확인 섹션으로 이동하십시오.
-
아니요: 추가 지원이 필요한 경우 주니퍼 네트웍스 기술 지원 센터(JTAC)에 문의하십시오.
-
기타 가능성 확인
문제
설명
루프백 진단 테스트가 성공했지만 이더넷 인터페이스에서 패킷을 송수신할 수 없습니다.
솔루션
et-5/0/1 인터페이스와 같은 이더넷 인터페이스의 문제를 해결하는 데 필요에 따라 다음 명령을 사용합니다.
show interfaces interface-name terse
운영 명령을 실행하여 물리적 인터페이스 및 논리적 인터페이스가 관리적으로 비활성화되었는지 확인합니다. 예를 들어, et-5/0/1 인터페이스:user@host> show interfaces et-5/0/1 terse Interface Admin Link Proto Local Remote et-5/0/1 up up et-5/0/1.0 up up inet 20.1.1.2/24
진단
-
물리적 인터페이스와 해당 논리적 인터페이스가 운영 모드 명령의
show interfaces interface-name terse
출력에 표시down
됩니까?-
예: 물리적 인터페이스 활성화에 표시된 대로 인터페이스를 활성화합니다.
-
아니요: 다음 진단 테스트를 계속합니다.
-
-
speed
운영 모드 명령 출력의show interfaces interface-name extensive
,duplex
및auto-negotiation
필드가 인터페이스에 대해 올바르게 설정되어 있습니까?참고:관련 디바이스가 FPC(Flexible PIC Concentrator)에 대한 속도 및 자동 협상 설정을 지원하는지 확인합니다.
-
예: 더 많은 문제 해결 팁 은 라우팅 디바이스에 대한 이더넷 인터페이스 사용자 가이드 를 참조하십시오.
-
아니요: 추가 지원이 필요한 경우 JTAC에 문의하십시오.
-
물리적 인터페이스 활성화
물리적 인터페이스를 활성화하려면 다음을 수행합니다.