I'm searching the way to know if a cable plugged in the Gi0/1 is crossover or not.
I'm found the command:
show controllers ethernet-controller Gi0/1 phy (witch not really help me in this case)
show interfaces transceiver properties (witch give me only if the option is active or not)
Operational Auto-MDIX: on
I done a "diff" we a crossover cable and a straight one.
The "Aux 1000Base-X Status" specially sound nice but not really human readable.
Someone hnow the right way to do this ?
Or have the table to decode what ?
Best regards
- Code: Select all
vincent@sistemes-vincent:~$ diff /tmp/titi1 /tmp/titi3
11c11
< 0006: 0005 Auto-Negotiation Expansion : 0000 0000 0000 0101
---
> 0006: 0007 Auto-Negotiation Expansion : 0000 0000 0000 0111
18c18
< 0011: 2300 Phy Extended Status : 0010 0011 0000 0000
---
> 0011: 0321 Phy Extended Status : 0000 0011 0010 0001
20c20
< 0013: 0000 False Carrier Sense Counter : 0000 0000 0000 0000
---
> 0013: 0003 False Carrier Sense Counter : 0000 0000 0000 0011
22,23c22,23
< 0019: 8514 Auxiliary Status Summary : 1000 0101 0001 0100
< 001A: 0000 Interrupt Status : 0000 0000 0000 0000
---
> 0019: F514 Auxiliary Status Summary : 1111 0101 0001 0100
> 001A: 240E Interrupt Status : 0010 0100 0000 1110
26c26
< 001D: 07AB Spare Control Register : 0000 0111 1010 1011
---
> 001D: 06EC Spare Control Register : 0000 0110 1110 1100
49c49
< 001C: 68C0 Auto-Negotiation Debug : 0110 1000 1100 0000
---
> 001C: 68FD Auto-Negotiation Debug : 0110 1000 1111 1101
51c51
< 001C: 700C Aux 1000Base-X Status : 0111 0000 0000 1100
---
> 001C: 721C Aux 1000Base-X Status : 0111 0010 0001 1100
