cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
224
Views
0
Helpful
7
Replies
Beginner

Cisco device interface name

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

 

7 REPLIES 7
VIP Mentor

Re: Cisco device interface name

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

example
https://www.cisco.com/c/en/us/products/collateral/switches/catalyst-2960-series-switches/product_data_sheet0900aecd806b0bd8.html

 

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

Cisco Catalyst 2960-8TC-S

8 Ethernet 10/100 compact size with no fan

1 dual-purpose port (10/100/1000 or SFP)

Beginner

Re: Cisco device interface name

Yes, I saw this option but here I won't know what is the correct port noumber (GigabitEthernet1 or 0/1 or 1/0/1)
Beginner

Re: Cisco device interface name

@Szabo Tomi 

 

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.

 

https://www.cisco.com/c/en/us/products/collateral/switches/nexus-9000-series-switches/datasheet-c78-736651.html

*** Please rate all helpful responses and mark solutions***
Beginner

Re: Cisco device interface name

It is the same problem, I won't know what is the correct port noumber (GigabitEthernet1 or 0/1 or 1/0/1)
VIP Mentor

Re: Cisco device interface name

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

Highlighted
Beginner

Re: Cisco device interface name

I know this command, but it is not a network topology. We have more than 100 model and I have no time that I chack one by one.
VIP Mentor

Re: Cisco device interface name

Thats why when you have large networks you implement management tools like Prime that can do it for you go and collect report info etc , or like George said you use scripting from one central server that collects it off all your switches and pull it back in

There really your options or manually do it
CreatePlease to create content
Content for Community-Ad
July's Community Spotlight Awards