08-13-2020 10:04 AM
Hi,
Is there is way to use pipe command with "show module" to display only the first table?
Or is there is other command can display only the first table?
The target switches are 7k and 6k.
Thank you.
switch# show module Mod Ports Module-Type Model Status --- ----- ----------------------------------- ------------------ ---------- 1 0 Supervisor module-1X N7K-SUP1 active * 2 0 Supervisor module-1X N7K-SUP1 ha-standby 3 32 1/10 Gbps Ethernet Module N7K-D132XP-15 ok 4 48 1/10 Gbps Ethernet Module N7K-F248XP-24 ok 5 48 10/100/1000 Mbps Ethernet XL Module N7K-M148GT-11L ok 6 32 1/10 Gbps Ethernet Module N7K-F132XP-15 ok 9 32 1/10 Gbps Ethernet Module N7K-F132XP-15 ok Mod Sw Hw --- -------------- ------ 1 6.0(1) 1.8 2 6.0(1) 1.1 3 6.0(1) 0.405 4 6.0(1) 0.500 5 6.0(1) 1.0 6 6.0(1) 0.617 9 6.0(1) 0.616 Mod MAC-Address(es) Serial-Num --- -------------------------------------- ---------- 1 f0-25-72-ab-a3-f8 to f0-25-72-ab-a4-00 JAF1446BMRR 2 00-22-55-77-bc-48 to 00-22-55-77-bc-50 JAB122901WK 3 00-24-f7-1b-69-70 to 00-24-f7-1b-69-b4 JAF1321ARLQ 4 40-55-39-25-c8-00 to 40-55-39-25-c8-34 JAF1530AAAF 5 e8-b7-48-00-03-60 to e8-b7-48-00-03-94 JAF1513BPCH 6 f8-66-f2-02-a1-f8 to f8-66-f2-02-a2-3c JAF1427DETN 9 a8-b1-d4-57-bc-bc to a8-b1-d4-57-bd-00 JAF1424CFMH Mod Online Diag Status --- ------------------ 1 Pass 2 Pass 3 Pass 4 Pass 5 Pass 6 Pass 9 Pass Xbar Ports Module-Type Model Status --- ----- ----------------------------------- ------------------ ---------- 2 0 Fabric Module 2 N7K-C7009-FAB-2 ok 4 0 Fabric Module 2 N7K-C7009-FAB-2 ok 5 0 Fabric Module 2 N7K-C7009-FAB-2 ok Xbar Sw Hw --- -------------- ------ 2 NA 0.201 4 NA 0.203 5 NA 0.201 Xbar MAC-Address(es) Serial-Num --- -------------------------------------- ---------- 2 NA JAF1406ATRH 4 NA JAF1422AHCP 5 NA JAF1406ATRQ * this terminal session switch#
08-13-2020 10:29 AM
try below command :
# show module | head
08-13-2020 10:31 AM
Thanks!
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide