NFX 设备上的接口故障排除
监控 NFX 系列设备上的接口状态和流量
目的
查看接口状态以监控接口的带宽利用率和流量统计信息。
行动
要查看接口的状态:
user@host> show interfaces interface-name
例如:
要查看 NFX350 设备的接口状态:
user@host> show interfaces ge-0/0/0 | no-more Physical interface: ge-0/0/0, Enabled, Physical link is Down Interface index: 150, SNMP ifIndex: 514 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Link-mode: Unknown, Speed: 1000mbps, Duplex: Full-Duplex, BPDU Error: None, Loop Detect PDU Error: None, Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online, IEEE 802.3az Energy Efficient Ethernet: Disabled, Auto-MDIX: Enabled Device flags : Present Running Down Interface flags: Hardware-Down SNMP-Traps Internal: 0x4000 Link flags : None CoS queues : 12 supported, 12 maximum usable queues Current address: d0:dd:49:e8:6e:7d, Hardware address: d0:dd:49:e8:6e:7d Last flapped : 2020-02-19 06:17:42 UTC (00:25:17 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) Active alarms : LINK Active defects : LINK PCS statistics Seconds Bit errors 0 Errored blocks 0 Ethernet FEC statistics Errors FEC Corrected Errors 0 FEC Uncorrected Errors 0 FEC Corrected Errors Rate 0 FEC Uncorrected Errors Rate 0 PRBS Statistics : Disabled Interface transmit statistics: Disabled Logical interface ge-0/0/0.0 (Index 74) (SNMP ifIndex 523) Flags: Device-Down SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge Input packets : 0 Output packets: 0 Protocol eth-switch, MTU: 1514
user@host> show interfaces xe-0/0/15 | no-more Physical interface: xe-0/0/15, Enabled, Physical link is Up Interface index: 145, SNMP ifIndex: 557 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None, Loop Detect PDU Error: None, Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None CoS queues : 12 supported, 12 maximum usable queues Current address: d0:dd:49:e8:6e:8c, Hardware address: d0:dd:49:e8:6e:8c Last flapped : 2020-02-19 06:17:43 UTC (00:25:32 ago) Input rate : 0 bps (0 pps) Output rate : 232 bps (0 pps) Active alarms : None Active defects : None PCS statistics Seconds Bit errors 0 Errored blocks 0 Ethernet FEC statistics Errors FEC Corrected Errors 0 FEC Uncorrected Errors 0 FEC Corrected Errors Rate 0 FEC Uncorrected Errors Rate 0 PRBS Statistics : Disabled Interface transmit statistics: Disabled Logical interface xe-0/0/15.0 (Index 72) (SNMP ifIndex 558) Flags: Up SNMP-Traps 0x24024000 Encapsulation: Ethernet-Bridge Input packets : 0 Output packets: 57 Protocol eth-switch, MTU: 1514 Flags: Is-Primary
user@host> show interfaces ge-1/0/1 | no-more Physical interface: ge-1/0/1, Enabled, Physical link is Up Interface index: 168, SNMP ifIndex: 538 Link-level type: Ethernet, MTU: 1518, LAN-PHY mode, Link-mode: Half-duplex, Speed: 1000mbps, BPDU Error: None, Loop Detect PDU Error: None, Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled, Auto-negotiation: Enabled, Remote fault: Online Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 CoS queues : 8 supported, 8 maximum usable queues Current address: d0:dd:49:e8:6e:96, Hardware address: d0:dd:49:e8:6e:96 Last flapped : 2020-02-19 06:18:30 UTC (00:24:55 ago) Input rate : 0 bps (0 pps) Output rate : 208 bps (0 pps) Active alarms : None Active defects : None PCS statistics Seconds Bit errors 0 Errored blocks 0 Ethernet FEC statistics Errors FEC Corrected Errors 0 FEC Uncorrected Errors 0 FEC Corrected Errors Rate 0 FEC Uncorrected Errors Rate 0 PRBS Statistics : Disabled Interface transmit statistics: Disabled Logical interface ge-1/0/1.2 (Index 85) (SNMP ifIndex 544) Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.2 ] Encapsulation: ENET2 Input packets : 0 Output packets: 19 Security: Zone: Null Protocol inet, MTU: 1500 Max nh cache: 75000, New hold nh limit: 75000, Curr nh cnt: 0, Curr new hold cnt: 0, NH drop cnt: 0 Flags: Sendbcast-pkt-to-re Protocol inet6, MTU: 1500 Max nh c
要查看 NFX150 设备的接口状态:
user@host> show interfaces heth-0-1 Physical interface: heth-0-1, Enabled, Physical link is Up Link-level type: Ethernet, Media type: Copper, MTU: 9192, Speed: 1Gbps, Duplex: Full-duplex, Auto-negotiation: Enabled Device flags : Present Running Current address: 00:00:5e:00:53:8e, Hardware address: 00:00:5e:00:53:8e
要查看 NFX250 设备的接口状态:
user@host> show interfaces xe-0/0/12 Physical interface: xe-0/0/12, Enabled, Physical link is Up Interface index: 145, SNMP ifIndex: 509 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 10Gbps, BPDU Error: None, Loop Detect PDU Error: None, Ethernet-Switching Error: None, MAC-REWRITE Error: None, Loopback: Disabled, Source filtering: Disabled, Flow control: Enabled Device flags : Present Running Interface flags: SNMP-Traps Internal: 0x4000 Link flags : None CoS queues : 12 supported, 12 maximum usable queues Current address: 30:7c:5e:4c:78:0f, Hardware address: 30:7c:5e:4c:78:0f Last flapped : 2018-12-10 19:53:35 UTC (2d 03:08 ago) Input rate : 0 bps (0 pps) Output rate : 0 bps (0 pps) Active alarms : None Active defects : None PCS statistics Seconds Bit errors 0 Errored blocks 0 Ethernet FEC statistics Errors FEC Corrected Errors 0 FEC Uncorrected Errors 0 FEC Corrected Errors Rate 0 FEC Uncorrected Errors Rate 0 PRBS Statistics : Disabled Interface transmit statistics: Disabled