Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Show command output that distinguishes a switch from a router?

Hello

I am working with the BMC Blade Logic Network Automation (BBNA) configuration management tool. I need to create a universal rule to search show command output of all devices to find some parameter that only a switch can have vice a router, ACE, ASA, MLS et cetera. I will then put all these devices into a auto-group called "switches". What command output should I search on?

Thanks!

Matt

1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Silver

I am not positive but I

I am not positive but I believe all switches will have a model number that begins with "WS-C".

#sh ver | i Model number
Model number                    : WS-C3560-48PS-E

I don't know the OID offhand but you could also retrieve that string using an SNMP query.
 

 

1 REPLY
Hall of Fame Super Silver

I am not positive but I

I am not positive but I believe all switches will have a model number that begins with "WS-C".

#sh ver | i Model number
Model number                    : WS-C3560-48PS-E

I don't know the OID offhand but you could also retrieve that string using an SNMP query.
 

 

26
Views
0
Helpful
1
Replies