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
- show interfaces diagnostics optics-applications (PTX10001-36MR, PTX10002-36QDD, PTX10004, PTX10008, and PTX10016)
show interfaces diagnostics optics-applications
To display advertised applications, 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: Noneshow interfaces diagnostics optics-applications (PTX10001-36MR, PTX10002-36QDD, PTX10004, PTX10008, and PTX10016)
user@host> show interfaces diagnostics optics-applications et-4/0/35 Physical interface: et-4/0/35 Interface Name : et-4/0/35 Current Speed : 1x800G Ap Sel Host Intf Code Media Intf Code Host Lanes Media Lanes Host Assign Media Assign 1 800GAUI-8 S C2M (Annex 120G)(81) OpenZR+ ZR800-OFEC-16QAM(211) 8 1 1 1 2 800GAUI-8 L C2M (Annex 120G)(82) OpenZR+ ZR800-OFEC-16QAM(211) 8 1 1 1 3 400GAUI-4-S C2M (Annex 120G)(79) OpenZR+ ZR800-OFEC-16QAM(211) 4 1 17 1 4 400GAUI-4-L C2M (Annex 120G)(80) OpenZR+ ZR800-OFEC-16QAM(211) 4 1 17 1 5 200GAUI-2-S C2M (Annex 120G)(77) OpenZR+ ZR800-OFEC-16QAM(211) 2 1 85 1 6 200GAUI-2-L C2M (Annex 120G)(78) OpenZR+ ZR800-OFEC-16QAM(211) 2 1 85 1 7 100GAUI-1-S C2M (Annex 120G)(75) OpenZR+ ZR800-OFEC-16QAM(211) 1 1 255 1 8 100GAUI-1-L C2M (Annex 120G)(76) OpenZR+ ZR800-OFEC-16QAM(211) 1 1 255 1 9 200GAUI-2-S C2M (Annex 120G)(77) OpenZR+ ZR600-OFEC-8QAM(212) 2 1 21 1 10 200GAUI-2-L C2M (Annex 120G)(78) OpenZR+ ZR600-OFEC-8QAM(212) 2 1 21 1 11 100GAUI-1-S C2M (Annex 120G)(75) OpenZR+ ZR600-OFEC-8QAM(212) 1 1 63 1 12 100GAUI-1-L C2M (Annex 120G)(76) OpenZR+ ZR600-OFEC-8QAM(212) 1 1 63 1 13 400GAUI-8 C2M (Annex 120E)(17) OpenZR+ ZR400-OFEC-QPSK(213) 8 1 1 1 14 400GAUI-8 C2M (Annex 120E)(17) ZR400-OFEC-8QAM-HA(55) 8 1 1 1 15 200GAUI-4 C2M (Annex 120E)(15) ZR400-OFEC-8QAM-HA(55) 4 1 17 1
Release Information
Command introduced in Junos OS Evolved Release 23.1R1.