ntc-templates
ntc-templates copied to clipboard
Suggestion on making (arista_eos_interfaces_transceiver_hardware)
Command: show interfaces transceiver hardware
Test Data: Switch 1: Arista DCS-7010T-48-R Software image version: 4.28.9M
Switch 2: Arista DCS-7050SX3-48YC8-F Software image version: 4.32.5.1M
Switch 3 Arista CCS-720XP-96ZC2-F Software image version: 4.32.5.1M
Switch 1 output:
Name: Et1
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et2
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et3
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et4
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et5
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et6
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et7
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et8
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et9
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et10
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et11
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et12
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et13
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et14
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et15
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et16
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et17
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et18
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et19
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et20
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et21
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et22
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et23
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et24
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et25
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et26
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et27
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et28
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et29
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et30
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et31
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et32
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et33
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et34
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et35
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et36
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et37
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et38
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et39
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et40
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et41
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et42
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et43
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et44
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et45
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et46
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et47
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et48
Media type: 1000BASE-T
Maximum module power (W): 0.0
Maximum slot power (W): N/A
Name: Et49
Media type: 10GBASE-CR
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Name: Et50
Media type: 10GBASE-CR
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Name: Et51
Media type: 1000BASE-LX
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 1310
Switch 2 output:
Name: Ethernet1
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet2
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet3
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet4
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet5
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet6
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet7
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet8
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet9
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet10
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet11
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet12
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet13
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet14
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet15
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet16
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet17
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet18
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet19
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet20
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet21
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet22
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet23
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet24
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet25
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet26
Media type: 1000BASE-SX
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet27
Media type: 1000BASE-SX
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet28
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet29
Media type: 1000BASE-SX
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet30
Media type: 1000BASE-SX
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet31
Media type: 1000BASE-SX
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet32
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet33
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet34
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet35
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet36
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet37
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet38
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet39
Media type: 1000BASE-SX
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet40
Media type: 1000BASE-SX
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet41
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet42
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet43
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet44
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet45
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet46
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet47
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet48
Media type: 10GBASE-CR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Name: Ethernet49/1
Media type: 100GBASE-CR4
Module presence: detected
Maximum module power (W): 1.5
Maximum slot power (W): 5.0
Cable type: CA-L
Name: Ethernet49/2
Media type: 100GBASE-CR4
Module presence: detected
Maximum module power (W): 1.5
Maximum slot power (W): 5.0
Cable type: CA-L
Name: Ethernet49/3
Media type: 100GBASE-CR4
Module presence: detected
Maximum module power (W): 1.5
Maximum slot power (W): 5.0
Cable type: CA-L
Name: Ethernet49/4
Media type: 100GBASE-CR4
Module presence: detected
Maximum module power (W): 1.5
Maximum slot power (W): 5.0
Cable type: CA-L
Name: Ethernet50/1
Media type: 100GBASE-LR
Module presence: detected
Maximum module power (W): 4.5
Maximum slot power (W): 5.0
Wavelength (nm): 1311.0
Name: Ethernet51/1
Media type: 100GBASE-LR
Module presence: detected
Maximum module power (W): 4.5
Maximum slot power (W): 4.5
Wavelength (nm): 1311.0
Name: Ethernet52/1
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet52/2
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet52/3
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet52/4
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet53/1
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet53/2
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet53/3
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet53/4
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet54/1
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet54/2
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet54/3
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet54/4
Module presence: not detected
Maximum slot power (W): 4.5
Name: Ethernet55/1
Media type: 100GBASE-LR
Module presence: detected
Maximum module power (W): 4.5
Maximum slot power (W): 4.5
Wavelength (nm): 1311.0
Name: Ethernet56/1
Media type: 100GBASE-LR
Module presence: detected
Maximum module power (W): 4.5
Maximum slot power (W): 4.5
Wavelength (nm): 1311.0
Switch 3 output:
Name: Ethernet1
Media type: 2.5GBASE-T
Name: Ethernet2
Media type: 2.5GBASE-T
Name: Ethernet3
Media type: 2.5GBASE-T
Name: Ethernet4
Media type: 2.5GBASE-T
Name: Ethernet5
Media type: 2.5GBASE-T
Name: Ethernet6
Media type: 2.5GBASE-T
Name: Ethernet7
Media type: 2.5GBASE-T
Name: Ethernet8
Media type: 2.5GBASE-T
Name: Ethernet9
Media type: 2.5GBASE-T
Name: Ethernet10
Media type: 2.5GBASE-T
Name: Ethernet11
Media type: 2.5GBASE-T
Name: Ethernet12
Media type: 2.5GBASE-T
Name: Ethernet13
Media type: 2.5GBASE-T
Name: Ethernet14
Media type: 2.5GBASE-T
Name: Ethernet15
Media type: 2.5GBASE-T
Name: Ethernet16
Media type: 2.5GBASE-T
Name: Ethernet17
Media type: 2.5GBASE-T
Name: Ethernet18
Media type: 2.5GBASE-T
Name: Ethernet19
Media type: 2.5GBASE-T
Name: Ethernet20
Media type: 2.5GBASE-T
Name: Ethernet21
Media type: 2.5GBASE-T
Name: Ethernet22
Media type: 2.5GBASE-T
Name: Ethernet23
Media type: 2.5GBASE-T
Name: Ethernet24
Media type: 2.5GBASE-T
Name: Ethernet25
Media type: 2.5GBASE-T
Name: Ethernet26
Media type: 2.5GBASE-T
Name: Ethernet27
Media type: 2.5GBASE-T
Name: Ethernet28
Media type: 2.5GBASE-T
Name: Ethernet29
Media type: 2.5GBASE-T
Name: Ethernet30
Media type: 2.5GBASE-T
Name: Ethernet31
Media type: 2.5GBASE-T
Name: Ethernet32
Media type: 2.5GBASE-T
Name: Ethernet33
Media type: 2.5GBASE-T
Name: Ethernet34
Media type: 2.5GBASE-T
Name: Ethernet35
Media type: 2.5GBASE-T
Name: Ethernet36
Media type: 2.5GBASE-T
Name: Ethernet37
Media type: 2.5GBASE-T
Name: Ethernet38
Media type: 2.5GBASE-T
Name: Ethernet39
Media type: 2.5GBASE-T
Name: Ethernet40
Media type: 2.5GBASE-T
Name: Ethernet41
Media type: 5GBASE-T
Name: Ethernet42
Media type: 5GBASE-T
Name: Ethernet43
Media type: 5GBASE-T
Name: Ethernet44
Media type: 5GBASE-T
Name: Ethernet45
Media type: 5GBASE-T
Name: Ethernet46
Media type: 5GBASE-T
Name: Ethernet47
Media type: 5GBASE-T
Name: Ethernet48
Media type: 5GBASE-T
Name: Ethernet49
Media type: 2.5GBASE-T
Name: Ethernet50
Media type: 2.5GBASE-T
Name: Ethernet51
Media type: 2.5GBASE-T
Name: Ethernet52
Media type: 2.5GBASE-T
Name: Ethernet53
Media type: 2.5GBASE-T
Name: Ethernet54
Media type: 2.5GBASE-T
Name: Ethernet55
Media type: 2.5GBASE-T
Name: Ethernet56
Media type: 2.5GBASE-T
Name: Ethernet57
Media type: 2.5GBASE-T
Name: Ethernet58
Media type: 2.5GBASE-T
Name: Ethernet59
Media type: 2.5GBASE-T
Name: Ethernet60
Media type: 2.5GBASE-T
Name: Ethernet61
Media type: 2.5GBASE-T
Name: Ethernet62
Media type: 2.5GBASE-T
Name: Ethernet63
Media type: 2.5GBASE-T
Name: Ethernet64
Media type: 2.5GBASE-T
Name: Ethernet65
Media type: 2.5GBASE-T
Name: Ethernet66
Media type: 2.5GBASE-T
Name: Ethernet67
Media type: 2.5GBASE-T
Name: Ethernet68
Media type: 2.5GBASE-T
Name: Ethernet69
Media type: 2.5GBASE-T
Name: Ethernet70
Media type: 2.5GBASE-T
Name: Ethernet71
Media type: 2.5GBASE-T
Name: Ethernet72
Media type: 2.5GBASE-T
Name: Ethernet73
Media type: 2.5GBASE-T
Name: Ethernet74
Media type: 2.5GBASE-T
Name: Ethernet75
Media type: 2.5GBASE-T
Name: Ethernet76
Media type: 2.5GBASE-T
Name: Ethernet77
Media type: 2.5GBASE-T
Name: Ethernet78
Media type: 2.5GBASE-T
Name: Ethernet79
Media type: 2.5GBASE-T
Name: Ethernet80
Media type: 2.5GBASE-T
Name: Ethernet81
Media type: 2.5GBASE-T
Name: Ethernet82
Media type: 2.5GBASE-T
Name: Ethernet83
Media type: 2.5GBASE-T
Name: Ethernet84
Media type: 2.5GBASE-T
Name: Ethernet85
Media type: 2.5GBASE-T
Name: Ethernet86
Media type: 2.5GBASE-T
Name: Ethernet87
Media type: 2.5GBASE-T
Name: Ethernet88
Media type: 2.5GBASE-T
Name: Ethernet89
Media type: 5GBASE-T
Name: Ethernet90
Media type: 5GBASE-T
Name: Ethernet91
Media type: 5GBASE-T
Name: Ethernet92
Media type: 5GBASE-T
Name: Ethernet93
Media type: 5GBASE-T
Name: Ethernet94
Media type: 5GBASE-T
Name: Ethernet95
Media type: 5GBASE-T
Name: Ethernet96
Media type: 5GBASE-T
Name: Ethernet97/1
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet97/2
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet97/3
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet97/4
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet98/1
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet98/2
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet98/3
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet98/4
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet99
Media type: 10GBASE-SR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
Wavelength (nm): 850
Name: Ethernet100
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet101
Module presence: not detected
Maximum slot power (W): N/A
Name: Ethernet102
Media type: 10GBASE-CR
Module presence: detected
Maximum module power (W): 1.0
Maximum slot power (W): N/A
TextFSM File
Value Required NAME (\S+)
Value MEDIA_TYPE (.*)
Value MODULE_PRESENCE (.*)
Value MAX_MODULE_POWER_W (\S+)
Value MAX_SLOT_POWER_W (\S+)
Value WAVELENGTH_NM (\S+)
Value CABLE_TYPE (\S+)
Start
^Name:\s+${NAME} -> Record Start
^Media type:\s+${MEDIA_TYPE}
^Module presence:\s+${MODULE_PRESENCE}
^Maximum module power \(W\):\s+${MAX_MODULE_POWER_W}
^Maximum slot power \(W\):\s+${MAX_SLOT_POWER_W}
^Wavelength \(nm\):\s+${WAVELENGTH_NM}
^Cable type:\s+${CABLE_TYPE}
^. -> Error
@Mikeg2881 If the information isn't included in another template and this is useful to you, it might be to others. :relaxed:
If you want the template included please go ahead and work up a PR where we can collaborate.
Ok did i do it correct this time? https://github.com/networktocode/ntc-templates/pull/2230