show interfaces diagnostics optics-applications
Syntax
show interfaces diagnostics optics-applications
Hierarchy Level
[edit interfaces diagnostics]
Description
Displays application selection, host interface code, media interface code, host lanes, media lanes, host assign, and media assign. The output shows the switchable modes.
Required Privilege Level
view
Output Fields
Table 1 lists the output fields for the show
interfaces diagnostics optics-applications
command.
Field Name | Field Description |
---|---|
Physical interface | Name of the physical interface. |
Interface index | Index number of the physical interface, which reflects its initialization sequence. |
Wavelength | Wavelength of the optics in nm. |
Media Code | Describes the line side configuration. |
Host Code | Describes the system side configuration. |
Device Flags | Provides information about the physical interface. |
Interface Flags | Provides information about the physical interface. |
CoS queues | Number of CoS queues configured. |
Current address | Configured MAC address. |
Last Flapped |
Date, time, and how long ago the interface went from down to up. The format is Last flapped: year-month-day hour :minute :second :timezone (hour :minute :second ago). |
Input rate |
Input rate in bits per second (bps) and packets per second (pps). Thevalue in this field also includes the Layer 2 overhead bytes for ingress traffic on Ethernet interfaces if you enable accounting of Layer 2 overhead at the PIC level or the logical interface level. |
Output Rate |
Output rate in bps and pps. The value in this field also includes the Layer 2 overhead bytes for egress traffic on Ethernet interfaces if you enable accounting of Layer 2 overhead at the PIC level or the logical interface level. |
Active alarms and Active defects |
Ethernet-specific defects that can prevent the interface from passing packets. When a defect persists for a certain amount of time, it is promoted to an alarm. Based on the routing device configuration, an alarm can ring the red or yellow alarm bell on the routing device, or turn on the red or yellow alarm LED on the craft interface. These fields can contain the value None or Link. None—There are no active defects or alarms. Link—Interface has lost its link state, which usually means that the cable is unplugged, the far-end system has been turned off, or the PIC is malfunctioning. |
PCS statistics |
Displays Physical Coding Sublayer (PCS) fault conditions from the WAN PHY or the LAN PHY device. |
Last Flapped |
Date, time, and how long ago the interface went from down to up. The format is Last flapped: year-month-day hour :minute :second :timezone (hour :minute :second ago). |
Sample Output
show interfaces diagnostics optics-applications
To display the 3 different modes for 1x400G speed, use the following command:
user@router> show interfaces diagnostics optics-applications et-0/0/10
root@ardbeg-01# ...gnostics optics-applications et-0/0/10 Physical interface: et-0/0/10 Interface Name : et-0/0/10 Current Speed : 1x400G Ap Sel Host Intf Code Media Intf Code Host Lanes Media Lanes Host Assign Media Assign 1 400GAUI-8 C2M (Annex 120E)(17) 400ZR, DWDM, amplified(62) 8 1 1 1 2 400GAUI-8 C2M (Annex 120E)(17) 400ZR, Single Wavelength,Unamplified(63) 8 1 1 1 3 100GAUI-2 C2M (Annex 135G)(13) 400ZR, DWDM, amplified(62) 2 1 85 1
To display the media code and host code, use the following command:
root@router> show interfaces et-0/0/10 Physical interface: et-0/0/10, Enabled, Physical link is Up Interface index: 1045, SNMP ifIndex: 561 Link-level type: Ethernet, MTU: 1514, LAN-PHY mode, Speed: 400Gbps, 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: Disabled, Media type: Fiber Wavelength : 1550.12 nm, Frequency: 193.40 THz Optic-loopback : Enabled , Optic-loopbacktype : media-side-output Media Code : ZR-400-OFEC-16QAM Host Code : 400GAUI-8 C2M (Annex 120E) Device flags : Present Running Interface flags: SNMP-Traps CoS queues : 8 supported, 8 maximum usable queues Current address: 88:d9:8f:0d:b1:54, Hardware address: 88:d9:8f:0d:b1:54 Last flapped : 2023-02-09 01:40:32 PST (04:06:07 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 Mode : FEC119 Ethernet FEC statistics Errors FEC Corrected Errors 376995 FEC Uncorrected Errors 2408 FEC Corrected Errors Rate 9 FEC Uncorrected Errors Rate 0 Optic FEC Mode : OFEC Optic FEC statistics: Corrected Errors 678954129269 Uncorrected Words 443 Corrected Error rate 23813914 Uncorrected Error rate 0 Corrected Error Ratio ( 26857 seconds average) 5.73e-05 PRBS Mode : Disabled Interface transmit statistics: Disabled Link Degrade : Link Monitoring : Disable Logical interface et-0/0/10.16386 (Index 1038) (SNMP ifIndex 578) Flags: Up SNMP-Traps Encapsulation: ENET2 DF Input packets : 0 Output packets: 0 Protocol multiservice, MTU: Unlimited Flags: None
Release Information
Command introduced in Junos OS Evolved Release 23.1R1.