Port-checker is indeed a good tool, and I really want to believe that 🙂
However, the following does work as well:
root# show chassis
fpc 0 {
pic 0 {
pic-mode 10G;
}
}
root# run show interfaces xe-0/0/1:2 extensive
Physical interface: xe-0/0/1:2, Enabled, Physical link is Up
Interface index: 146, SNMP ifIndex: 518, Generation: 374
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps,
BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None,
Loopback: None, Source filtering: Disabled, Flow control: Enabled,
Speed Configuration: 1G
root# run show interfaces xe-0/1/0
Physical interface: xe-0/1/0, Enabled, Physical link is Up
Interface index: 156, SNMP ifIndex: 530
Link-level type: Ethernet, MTU: 1514, MRU: 1522, LAN-PHY mode, Speed: 10Gbps,
BPDU Error: None, Loop Detect PDU Error: None, MAC-REWRITE Error: None,
Loopback: None, Source filtering: Disabled, Flow control: Enabled,
Speed Configuration: 1G
oot# run ping 10.0.0.2
PING 10.0.0.2 (10.0.0.2): 56 data bytes
64 bytes from 10.0.0.2: icmp_seq=0 ttl=64 time=0.629 ms
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.534 ms
64 bytes from 10.0.0.2: icmp_seq=2 ttl=64 time=0.569 ms
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.593 ms
^C
--- 10.0.0.2 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.534/0.581/0.629/0.035 ms
No invalid port profile configuration alarms:
root> show chassis alarms
3 alarms currently active
Alarm time Class Description
2019-06-28 14:26:07 UTC Major Host 0 fxp0 : Ethernet Link Down
2019-06-28 14:25:08 UTC Major PEM 1 Not Powered
2019-06-28 14:25:06 UTC Major Management Ethernet Links Down
Can anyone confirm that this works ( I can 😛 ) and that it is valid and stable and safe to use?
Software the MX204 is running on is 18.1R3-S3.
"NOTE Starting in Junos OS Release 18.1R1, the 10-Gbps port can operate in 1-Gbps mode also using the speed (Gigabit Ethernet interface) configuration statement at Gigabit Ethernet interface level."
But I thought it only applied to port mode, I guess not.