Skip to content

Commit 6abe28c

Browse files
authored
Update nxos sh int trans for FC and 400Gb (#2184)
* Fix n5k Fibre Channel sh int trans * Support n9k 400Gb ports
1 parent 9953d4f commit 6abe28c

File tree

5 files changed

+142
-10
lines changed

5 files changed

+142
-10
lines changed

ntc_templates/templates/cisco_nxos_show_interface_transceiver.textfsm

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,27 +11,43 @@ Start
1111
^${INTERFACE}
1212
^\s+transceiver\s+is\s+${STATUS}
1313
^\s+type\s+is(\s+${TYPE})?
14-
^\s+name\s+is(\s+${MANUFACTURER})?
15-
^\s+part\s+number\s+is(\s+${PART_NUMBER})?
16-
^\s+serial\s+number\s+is(\s+${SERIAL})?
14+
^\s+[nN]ame\s+is(\s+${MANUFACTURER})?
15+
^\s+(Manufacturer's\s+)?part\s+number\s+is(\s+${PART_NUMBER})?
16+
^\s+[sS]erial\s+number\s+is(\s+${SERIAL})?
1717
^\s+transceiver\s+
18-
^\s+nominal\s+
19-
^\s+revision\s+
18+
^\s+[nN]ominal\s+
19+
^\s+[rR]evision\s+
2020
^\s+Link\s+
2121
^\s+cable\s+type\s+is
2222
^\s+cisco\s+id
23-
^\s+cisco\s+extended
24-
^\s+cisco\s+part\s+number
23+
^\s+[cC]isco\s+extended
24+
^\s+[cC]isco\s+part\s+number
2525
^\s+cisco\s+product\s+id\s+is(\s+${PRODUCT_ID})?
2626
^\s+cisco\s+version\s+id
2727
^\s+cisco\s+vendor\s+id
2828
^\s*DOM\s+is\s+(Enabled|Disabled)
2929
^\s*Lane\s+Number
30-
^\s*SFP\s+Detail\s+Diagnostics\s+Information
30+
^\s*SFP(\s+Detail)?\s+Diagnostics\s+Information
3131
^\s*-+
3232
^\s*(Alarms|Warnings)
3333
^\s*(High|Low)
34-
^\s*(Temperature|Voltage|Current|[TR]x\s+Power)
35-
^\s*Transmit\s+Fault\s+Count
34+
^\s*(Temperature|Voltage|Current|(Optical\s+)?[TR]x\s+Power)
35+
^\s*T(x|ransmit)\s+Fault\s+[cC]ount
36+
^\s+FC\s+Transmitter
37+
^\s+Transmission\s+medium
38+
^\s+Supported\s+speeds
39+
^\s+.*\s+diagnostic\s+monitoring\s+type
40+
^\s+Note:
41+
^\s+firmware\s+version
42+
^\s+Wavelength\s+tolerance
43+
^\s+(host|media)\s+lane\s+count
44+
^\s+\S+\s+module\s+temperature
45+
^\s+\S+\s+operational\s+voltage
46+
^\s+vendor\s+OUI
47+
^\s+(date|clei|Advertising)\s+code
48+
^\s+power\s+class
49+
^\s+max\s+power
50+
^\s+(near|far)-end\s+lane
51+
^\s+(media|Host\s+electrical)\s+interface
3652
^\s*$$
3753
^. -> Error
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
Ethernet1/35
2+
transceiver is present
3+
type is QSFP-DD-400G-FR4
4+
name is CISCO-INNOLIGHT
5+
part number is T-DQ4CNT-NC2
6+
revision is 3C
7+
serial number is IND282502DJ
8+
nominal bitrate is 425000 MBit/sec per channel
9+
cisco id is 24
10+
cisco extended id number is 6
11+
cisco part number is 10-3321-01
12+
cisco product id is QDD-400G-FR4-S
13+
cisco version id is V01
14+
firmware version is 234.6
15+
Link length SMF is 2 km
16+
Nominal transmitter wavelength is 1301.00 nm
17+
Wavelength tolerance is 6.500 nm
18+
host lane count is 8
19+
media lane count is 4
20+
max module temperature is 75 deg C
21+
min module temperature is 0 deg C
22+
min operational voltage is 3.14 V
23+
vendor OUI is 0x447c7f
24+
date code is 240619
25+
clei code is CMUIAUNCAA
26+
power class is 6 (12.0 W maximum)
27+
max power is 12.00 W
28+
near-end lanes used none
29+
far-end lane code for 8 lanes Undefined
30+
media interface is 1310 nm EML
31+
Advertising code is Optical Interfaces: SMF
32+
Host electrical interface code is 400GAUI-8 C2M (Annex 120E)
33+
media interface advertising code is 400G-FR4
34+
35+
Ethernet1/36
36+
transceiver is present
37+
type is QSFP-DD-400G-FR4
38+
name is CISCO-INNOLIGHT
39+
part number is T-DQ4CNT-NC2
40+
revision is 3C
41+
serial number is IND282501TU
42+
nominal bitrate is 425000 MBit/sec per channel
43+
cisco id is 24
44+
cisco extended id number is 6
45+
cisco part number is 10-3321-01
46+
cisco product id is QDD-400G-FR4-S
47+
cisco version id is V01
48+
firmware version is 234.6
49+
Link length SMF is 2 km
50+
Nominal transmitter wavelength is 1301.00 nm
51+
Wavelength tolerance is 6.500 nm
52+
host lane count is 8
53+
media lane count is 4
54+
max module temperature is 75 deg C
55+
min module temperature is 0 deg C
56+
min operational voltage is 3.14 V
57+
vendor OUI is 0x447c7f
58+
date code is 240619
59+
clei code is CMUIAUNCAA
60+
power class is 6 (12.0 W maximum)
61+
max power is 12.00 W
62+
near-end lanes used none
63+
far-end lane code for 8 lanes Undefined
64+
media interface is 1310 nm EML
65+
Advertising code is Optical Interfaces: SMF
66+
Host electrical interface code is 400GAUI-8 C2M (Annex 120E)
67+
media interface advertising code is 400G-FR4
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
parsed_sample:
3+
- interface: "Ethernet1/35"
4+
manufacturer: "CISCO-INNOLIGHT"
5+
part_number: "T-DQ4CNT-NC2"
6+
product_id: "QDD-400G-FR4-S"
7+
serial: "IND282502DJ"
8+
status: "present"
9+
type: "QSFP-DD-400G-FR4"
10+
- interface: "Ethernet1/36"
11+
manufacturer: "CISCO-INNOLIGHT"
12+
part_number: "T-DQ4CNT-NC2"
13+
product_id: "QDD-400G-FR4-S"
14+
serial: "IND282501TU"
15+
status: "present"
16+
type: "QSFP-DD-400G-FR4"
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
fc1/48 sfp is present
2+
Name is CISCO-FINISAR
3+
Manufacturer's part number is FTLF8528P2BCV-CS
4+
Revision is D
5+
Serial number is FNS1547168F
6+
Cisco part number is
7+
FC Transmitter type is short wave laser w/o OFC (SN)
8+
FC Transmitter supports short distance link length
9+
Transmission medium is multimode laser with 62.5 um aperture (M6)
10+
Supported speeds are - Min speed: 2000 Mb/s, Max speed: 8000 Mb/s
11+
Nominal bit rate is 8500 Mb/s
12+
Link length supported for 50/125mm fiber is 50 m
13+
Link length supported for 62.5/125mm fiber is 20 m
14+
Cisco extended id is unknown (0x0)
15+
16+
No tx fault, rx loss, no sync exists, diagnostic monitoring type is 0x68
17+
SFP Diagnostics Information:
18+
Temperature : 34.63 C +
19+
Voltage : 3.29 V
20+
Current : 0.00 mA --
21+
Optical Tx Power : -14.95 dBm --
22+
Optical Rx Power : N/A dBm --
23+
Tx Fault count : 0
24+
Note: ++ high-alarm; + high-warning; -- low-alarm; -low-warning
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
parsed_sample:
3+
- interface: "fc1/48"
4+
manufacturer: "CISCO-FINISAR"
5+
part_number: "FTLF8528P2BCV-CS"
6+
product_id: ""
7+
serial: "FNS1547168F"
8+
status: ""
9+
type: ""

0 commit comments

Comments
 (0)