02-28-2019 02:28 AM
Hi All,
I would like to create a database. We work with a lot of Cisco model (Asa, switch, router, ap, etc..) I collect the switches and its interface's name.
Forexample: WS-C2960X-48LPS-L
!
interface FastEthernet0
!
interface GigabitEthernet1/0/1 - 52
!
Has Somebody a database with Cisco model and interface name? The most important are the interface name (GigabitEthernet or TenGigabitEthernet ...) and the noumber (FastEthernet 1 or GigabitEthernet1/0/1)
Thank you very much!
Tamas
02-28-2019 02:51 AM
Hi
The data sheets for each model contain that information , you would need to check each one
All NX-OS switches come a Ethernet only
There is no 1 for all DB with that info
Switch Configurations
Table 1 shows the configuration information for the Cisco Catalyst 2960-S and 2960 Series Switches with LAN Lite Software.
Table 1. Configurations of Cisco Catalyst 2960-S and 2960 Series Switches with LAN Lite Software
Switch Model |
Description |
Uplinks |
Catalyst 2960-S Switches with 1 Gigabit Uplinks and 10/100/1000 Ethernet Connectivity |
||
Cisco Catalyst 2960S-48TS-S |
48 Ethernet 10/100/1000 |
2 1 GbE ports |
Cisco Catalyst 2960S-24TS-S |
24 Ethernet 10/100/1000 |
2 1 GbE SFP ports |
Catalyst 2960 Switches with 1 Gigabit Uplinks and 10/100 Ethernet Connectivity |
||
Cisco Catalyst 2960-48PST-S |
48 Ethernet 10/100 PoE ports (370W capacity) |
2 fixed 10/100/1000 ports and 2 SFP ports |
Cisco Catalyst 2960-24PC-S |
24 Ethernet 10/100 PoE ports (370W capacity) |
2 dual-purpose ports (10/100/1000 or SFP) |
Cisco Catalyst 2960-24LC-S |
24 Ethernet 10/100 and 8 10/100 PoE ports (123W capacity) |
2 dual-purpose ports (10/100/1000 or SFP) |
Cisco Catalyst 2960-48TC-S |
48 Ethernet 10/100 |
2 dual-purpose ports (10/100/1000 or SFP) |
Cisco Catalyst 2960-48TT-S |
48 Ethernet 10/100 |
2 fixed 10/100/1000 ports |
Cisco Catalyst 2960-24TC-S |
24 Ethernet 10/100 |
2 dual-purpose ports (10/100/1000 or SFP) |
Cisco Catalyst 2960-24-S |
24 Ethernet 10/100 |
None |
Compact Switches |
||
8 Ethernet 10/100 compact size with no fan |
1 dual-purpose port (10/100/1000 or SFP) |
02-28-2019 04:02 AM
02-28-2019 03:15 AM
You have to go through all the model's datasheet in order to get the interfaces details, Mostly catalyst switches using interface gig and nexus using ethernet.
02-28-2019 04:06 AM
02-28-2019 03:15 AM
Hello,
looking at your question, is what Mark mentions what you are referring to ? Or do you want to BUILD a database yourself, based on the devices in your network ? If so, you could send the output of the 'show' command below as a text file to a TFTP server, and then run a script that pulls the data from the text file and puts it into a database. What script that is depends of the database format you are looking for...
Switch#sh run | include ^interface|hostname
hostname Switch
interface GigabitEthernet0/0
interface GigabitEthernet0/1
interface GigabitEthernet0/2
interface GigabitEthernet0/3
interface GigabitEthernet1/0
interface GigabitEthernet1/1
interface GigabitEthernet1/2
interface GigabitEthernet1/3
interface GigabitEthernet2/0
interface GigabitEthernet2/1
interface GigabitEthernet2/2
interface GigabitEthernet2/3
interface GigabitEthernet3/0
interface GigabitEthernet3/1
interface GigabitEthernet3/2
interface GigabitEthernet3/3
02-28-2019 04:05 AM
02-28-2019 05:23 AM
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