Router "snmp-server contact" command for catalyst switches??
From the router you can configure the "snmp-server contact <text>" command
to set the system contact for SNMP. Is there any equivalent command for
Catalyst switches? I know that there's a "set system contact" command for
CatOS but i'm sure if it has something to do with SNMP.
Thanks in advance.
Yes, set system contact on switch is the same that on the router for the above command. Once you use this this command to enter the contact info, it can be polled via the SNMP MIB Object sysContact (.1.3.6.1.2.1.1.4) from RFC1213-MIB. Example, if I use 'set system contact foo', I see the following using the 'show system' output:
System Name System Location System Contact CC
foo
Polling the above via the above MIB object on the switch:
% snmpwalk .1.3.6.1.2.1.1.4
system.sysContact.0 = foo
Similarly, if you set the 'System Name' on the switch using the command 'set system name ', can be polled via sysName (.1.3.6.1.2.1.1.5) from RFC1213-MIB
Lastly, 'set system location ', once set can be polled via sysLocation (.1.3.6.1.2.1.1.6) from RFC1213-MIB
Similar Messages
-
What's "SAVE" configuration command for Cisco switch/ router?
What's "SAVE" configuration command for Cisco switch / router? I know Switch#copy running-config startup-config works well,
but so long, any other command that easy to remenber?What's "SAVE" configuration command for Cisco switch / router? I know Switch#copy running-config startup-config works well, but so long,
any other command that easy to remenber?
yes, here: Switch#write,and want to know more about the Cisco switch, please visit:http://www.3anetwork.com/cisco-switches-price_c1 -
"ARP time-out" command on Catalyst Switches
Hopefully this would help to all of you that have packet loss or TCP retransmissions, due to the fact that the ARP timeout is an absolute timer and not an activity timer like the MAC Address Table Aging Time.
This is an expected behavior in this type of switches (3750X). When we generate an ARP entry in software, that entry gets programmed into hardware and is not touched again until it is time for a refresh. The refresh happens 1 minute prior to expiration
Therefore, when trying to apply the "ARP timeout" command, be sure to use a timer higher than 1 minute, in order to have, as told before, the 1-minute timer to refresh the ARP table.
Sadly, this is not a bug behavior or something like that, basically, that is how the protocol works.
Anyway, Thanks all for the attention given.Hi,
I am currently using 12.2(58)SE2 on the 3560.
Cisco IOS Software, C3560 Software (C3560-IPSERVICESK9-M), Version 12.2(58)SE2, RELEASE SOFTWARE (fc1)
I downgraded my IOS to check if it's still supported for the 3560 on 12.2(55)SE1 and it's not.
XXX uptime is 1 minute
System returned to ROM by power-on
System restarted at 14:38:50 GMT Tue Jul 29 2014
System image file is "flash:/c3560-ipservicesk9-mz.122-55.SE1.bin"
XXX(config)#ip ssh ?
authentication-retries Specify number of authentication retries
dscp IP DSCP value for SSH traffic
logging Configure logging for SSH
precedence IP Precedence value for SSH traffic
source-interface Specify interface for source address in SSH
connections
time-out Specify SSH time-out interval
version Specify protocol version supported
XXX(config)#ip ssh
I then upgraded to 12.2(55)SE9 and it's still not supported.
XXX uptime is 1 minute
System returned to ROM by power-on
System restarted at 14:47:49 GMT Tue Jul 29 2014
System image file is "flash:/c3560-ipservicesk9-mz.122-55.SE9.bin"
XXX(config)#ip ssh ?
authentication-retries Specify number of authentication retries
dscp IP DSCP value for SSH traffic
logging Configure logging for SSH
precedence IP Precedence value for SSH traffic
source-interface Specify interface for source address in SSH
connections
time-out Specify SSH time-out interval
version Specify protocol version supported
XXX(config)#ip ssh
I would recommend that you upgrade but I don't see any point unfortunately.
Thanks,
Nehmaan -
Product Lifecycle for Catalyst Switches
Hi there,
I have a customer who is looking to find out what the life expectancy is for the following switching product series:
C3750
C3750-E
C4500-E
C6500-E
I particular they want to know if there are plan(s) for any of the above to be phase out in the near future. If yes--what is the projected timeframe for each? If no--how many more years can they expect the product to be viable? Likewise, are there plan(s) to expand the product line for the C3750 and C3750-E series given the "limited" model available today?
I couldn't find another other sub community to post this question. Hopefully you can forward this inquiry to the appropriate BU to address.
Thanks in advance for your assistance.
KeithKeith,
Thank you for your question. This community is for Cisco Small Business products and your question is in reference to a Cisco Elite/Classic product. Please post your question in the Cisco NetPro forums located here: http://forums.cisco.com/eforum/servlet/NetProf?page=main This forum has subject matter experts on Cisco Elite/Classic products that may be able to answer your question.
SB Support Community Support Area ----> NetPro Forum
- Voice and Conferencing ----> Unified Communications and Video Forum http://forum.cisco.com/eforum/servlet/NetProf;jsessionid=E0EEC3D9CB4E5165ED16933737822748.SJ3A?page=Unified_Communications_and_Video_discussion
- Security and Surveillance ----> Security Forum http://forum.cisco.com/eforum/servlet/NetProf;jsessionid=E0EEC3D9CB4E5165ED16933737822748.SJ3A?page=Security_discussion
- Wireless ----> Wireless - Mobility http://forum.cisco.com/eforum/servlet/NetProf;jsessionid=E0EEC3D9CB4E5165ED16933737822748.SJ3A?page=Wireless_-_Mobility_discussion
- Network Storage ----> Data Center Forum http://forum.cisco.com/eforum/servlet/NetProf;jsessionid=E0EEC3D9CB4E5165ED16933737822748.SJ3A?page=Data_Center_discussion
- Routers ----> Network Infrastructure Forum http://forum.cisco.com/eforum/servlet/NetProf;jsessionid=E0EEC3D9CB4E5165ED16933737822748.SJ3A?page=Network_Infrastructure_discussion
- Switches ----> Network Infrastructure Forum http://forum.cisco.com/eforum/servlet/NetProf;jsessionid=E0EEC3D9CB4E5165ED16933737822748.SJ3A?page=Network_Infrastructure_discussion -
Prime Infrastructure 2.2 snmp-server location
We have implemented Cisco Prime Infrastructure 2.2 in our facility. We have each switch loaded in with an "snmp-server location" set for the switches for easier identification and quicker troubleshooting. We would like that location to show in the network topology map as well as in the email alerts it sends if one of those switches goes down. Is this something I am overlooking, and if so, can someone please explain to me how to make this happen?
Hi William,
snmp-server location is synced from the devices & also the info available in various report.
But, if i'm not wrong you want to customize the e-mail body of notifications sent out from the prime.
This functionality is no where discussed in PI user guide & i'm afraid not possible as of now.
Also, there's bug related to snmp-server location even retrieving it from the reports
CSCuj09556 : PI 2.0 corrupts device config by doing snmp set for location after sync
https://tools.cisco.com/bugsearch/bug/CSCuj09556
CSCuo16889 : PI 2.0 - Does not poll sysLocation for 3750 device
https://tools.cisco.com/bugsearch/bug/CSCuo16889
- Ashok
Please rate the post or mark as correct answer as it will help others looking for similar information -
SNMP server on PIX IOS 7.2 over VPN
Hi Team,
I have a simple query for the issues I m facing currently.
I have @ remote site remote site PIX firewall which is configurd to get the Snmp poll on the server locate outside via site to site VPN.
There is another snmp server located also in inside which I’m not managing it .
========================================================================
below are the command for the snmp configured on PIX.
snmp-server host inside x.x.x.x community XXXXX ---This is not managed by us
snmp-server host inside x.x.x.x community XXXXX
snmp-server host outside y.y.y.y (private IP tunneled though VPN) poll community YYYYY ---Managed by us
snmp-server host outside y.y.y.y poll community YYYYY
snmp-server community XXXXX
snmp-server enable traps snmp authentication linkup linkdown coldstart
snmp-server enable traps syslog
access-list acl-VPN-tunnel line 2 extended permit ip host z.z.z.z (outside interface of PIX firewall) host Y.Y.Y.Y (server located outside)
==============================================================================
there are 2 snmp community & server defined in snmp-server host command for 2 different IP address belongs to snmp server and we can only define one global snmp-server community for any one of them .Question is how the snmp community take a precedence .
Currently I am able to ping from my snmp server from outside to the PIX firewall outside interface over L2L VPN but somehow the snmp server is not listening when i do port query on 161 por!.
Appreciate you inputs for the same and let me know if any more details are neededWhat was the resolution? I am having the same issue.
Thanks! -
Standard Catalyst switch vs. Enhanced routing version
I have question regarding the Cisco catalyst switches with the enhanced routing option.
As I understand it to do layer 3 routing between vlans on a standard catalyst switch IOS requires me to configure a port on the switch with 802.1Q, plug that port into a seprate router and configure the router's port (also configured with 802.1Q) as a 'router on a stick' for each vlan i need to route. Then any additional switches I want to add to the network I would simply trunk them back to the switch that has the router plugged in so i could have inter-vlan routing. Does this sound correct?
Now if I used a switch with the enhanced layer-3 IOS (A WS-C3560G-24TS-E for example) would i be able to remove the extra router from the design? would the packet routing go at the speed of the back-pane of the enhanced switch, rather than the wire-speed of the connection to a external router? I would also be able to get a gigabit SFP for each of my additional switches (3500XL's) and plug them into a trunked port on the 3560 thus giving a full gigabit trunk to each access layer switch.
Or would a router on a stick be a fine solution for inter-vlan routing? There will be a need for a integrated services router in the future to act as our CME for this site, so we will be purchasing a router anyways.Hi Friend,
If you have layer 3 switch with standard image then also you will be able to configure intervlan routing on layer 3 switch.
Enhance image on layer 3 switch will let you configure routing protocols like ospf, bgp and enhance qos features whih is not possible with standard images.
But just for intervlan routing any layer 3 switch like 3550,3560 will let you achieve inter vlan routing without using external router.
Have a look at this link for intervlan routing on layer 3 switch like 350/3560 switches
http://www.cisco.com/en/US/tech/tk389/tk815/technologies_configuration_example09186a008015f17a.shtml
HTH, if yes please rate the post.
Ankur -
We have all of our network equipment configured SNMP and syslog.
There is also Ciscoworks configured.
Is Cisco works considered the SNMP server?
If so, is this also where all of the traps age going?
There are a ton of traps configured and I don't see how they are all viable in Ciscoworks.
Ther are even more than this, but here is a sample:
y
snmp-server enable traps syslog
snmp-server enable traps flex-links status
snmp-server enable traps sonet
snmp-server enable traps dial
snmp-server enable traps fru-ctrl
snmp-server enable traps entity
snmp-server enable traps rsvp
snmp-server enable traps csg agent quota database
snmp-server enable traps srp
snmp-server enable traps vtp
snmp-server enable traps vlancreate
snmp-server enable traps vlandelete
snmp-server enable traps flash insertion removal
snmp-server enable traps c6kxbar intbus-crcexcd intbus-crcrcvrd swbus
snmp-server enable traps envmon fan shutdown supply temperature status
snmp-server enable traps port-security
snmp-server enable traps mpls traffic-eng
snmp-server enable traps mpls ldp
snmp-server enable traps isakmp policy add
snmp-server enable traps isakmp policy delete
snmp-server enable traps isakmp tunnel start
snmp-server enable traps isakmp tunnel stop
snmp-server enable traps ipsec cryptomap add
snmp-server enable traps ipsec cryptomap delete
snmp-server enable traps ipsec cryptomap attach
snmp-server enable traps ipsec cryptomap detach
snmp-server enable traps ipsec tunnel start
snmp-server enable traps ipsec tunnel stop
snmp-server enable traps ipsec too-many-sas
snmp-server enable traps alarms
snmp-server enable traps vlan-mac-limit
snmp-server enable traps voice poor-qov
snmp-server enable traps mpls vpnIf you're talking about the Ciscoworks server....
When you add the device to the network, two things can happen...
1. If Ciscoworks is configured to discover the network through the CM application, the new device will be automatically discovered.
or
2. The device will can be manually added into Ciscoworks via the RME application, and then syncronized to DFM.
You still should point the traps to the LMS server through the config on the device (as mentioned earlier).
Now if you're not talking about Ciscoworks, but some generic NMS, you will definitely have to have a trap receiver on the server, and still on the device have the "snmp-server host" command set to point the traps there.
Hope this helps,
-Joe -
Migrating IOS to NX-OS equivalent command snmp-server enable traps config
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin:0cm;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
Hello,
I am trying to figure out what is the equivalent command to configure the IOS "snmp-server enable traps config" on a Nexus 5020 running NX-OS version 4.2.1.N2.1 ,can someone please help me with this problem.
Also I would like to know if there is a cisco howto document or tool to migrate from IOS to NX-OS ?
Any help is greatly appreciated
Thanks
FrankHello,
both Nexus 5k are not generating a trap after a config change, because on both Nexus running same NX-OS version show up the snmp-server enable traps config command. This is really strange behavior, because we are using the same software version for the Nexus 5k devices it doesn't make sense to me. In the meantime I checked the command line guide for this software version but the command wasnt showing up.
nx5k-mt-2# show snmp trap | grep config
nx5k-mt-2#
nx5k-mt-2# show snmp trap
Trap type Enabled
entity : entity_mib_change Yes
entity : entity_module_status_change Yes
entity : entity_power_status_change Yes
entity : entity_module_inserted Yes
entity : entity_module_removed Yes
entity : entity_unrecognised_module Yes
entity : entity_fan_status_change Yes
link : linkDown Yes
link : linkUp Yes
link : extended-linkDown Yes
link : extended-linkUp Yes
link : cieLinkDown Yes
link : cieLinkUp Yes
link : connUnitPortStatusChange Yes
link : fcTrunkIfUpNotify Yes
link : fcTrunkIfDownNotify Yes
link : delayed-link-state-change Yes
link : fcot-inserted Yes
link : fcot-removed Yes
callhome : event-notify Yes
callhome : smtp-send-fail Yes
cfs : state-change-notif Yes
cfs : merge-failure Yes
fcdomain : dmNewPrincipalSwitchNotify Yes
fcdomain : dmDomainIdNotAssignedNotify Yes
fcdomain : dmFabricChangeNotify Yes
rf : redundancy_framework Yes
aaa : server-state-change Yes
license : notify-license-expiry Yes
license : notify-no-license-for-feature Yes
license : notify-licensefile-missing Yes
license : notify-license-expiry-warning Yes
scsi : scsi-disc-complete Yes
fcns : reject-reg-req Yes
fcns : local-entry-change Yes
fcns : db-full Yes
fcns : remote-entry-change Yes
rscn : rscnElsRejectReqNotify Yes
rscn : rscnIlsRejectReqNotify Yes
rscn : rscnElsRxRejectReqNotify Yes
rscn : rscnIlsRxRejectReqNotify Yes
fcs : request-reject Yes
fcs : discovery-complete Yes
fctrace : route Yes
zone : request-reject1 Yes
zone : merge-success Yes
zone : merge-failure Yes
zone : default-zone-behavior-change Yes
zone : unsupp-mem Yes
vsan : vsanStatusChange Yes
vsan : vsanPortMembershipChange Yes
fspf : fspfNbrStateChangeNotify Yes
upgrade : UpgradeOpNotifyOnCompletion Yes
upgrade : UpgradeJobStatusNotify Yes
feature-control : FeatureOpStatusChange Yes
snmp : authentication Yes
nx5k-mt-2#
nx5k-mt-2# -
Cannot Establish Gigabit Link Between Catalyst Switches and GSR Router
The GSR Gigabit interface is configured for no negotiation auto and the line protocol goes up when connected to the Catalyst switch.
The Catalyst switch port remains unconnected even when it is physically attached to the GSR router.The flow control settings must match on both sides for the link to come up. It is highly recommended that you configure auto-negotiation to on for both devices. (Auto-negotiation is enabled by default on all Catalyst switches.) Otherwise, if you have a layer 1 problem, the link remains up and a unidirectional link will result.
The initial software releases that support Gigabit Ethernet on the GSR router do not support gigabit auto-negotiation.
The following command configures gigabit auto-negotiation on the Catalyst 6000/6500:
set port negotiation module/port disable|enable -
X-Server Crashes on Boot After Switch From Catalyst to Open Source ATI
Seems like there's a lot of similar stuff to this, but I've searched and googled and I haven't found anything that seems to apply directly to me. Please forgive me if there's a thread I've overlooked.
I recently wanted to give Catalyst a try, because I wanted to play a few old games in wine, and they didn't seem to work with the xf86 driver. It worked, the games played, but the instability wasn't worth it, so today I tried to go back. I followed the instructions for switching on the ATI wiki page, and now I have an xserver crash on boot, and somehow it's also wrecked my wifi.
I've tried everything in the "preparing for catalyst users" section on the wiki, and I've come up empty.
Obviously, as I can't get into X and there's no internet on that machine, I can't post my log file. If there's any info you people would find helpful, please ask.
Thanks.The only way to get real help is to find a way around that. Arrange to use someone else's computer for a short time and copy your log file to that one. Also, why not rename your log and then post it by switching back to Catalyst to get back to your last "working state"?
As for the wireless problem, what happens when you run iwconfig? Common commands are:
Listing networks -- iwlist wlan0 scan
Connecting to one -- iwconfig wlan0 essid NAME && dhcpcd wlan0 -
Disable SNMP mac-notification only for one snmp-server host
Hi,
we use NAC in our network and because of that I need the MAC-notification trap.
My problem is, the NAC needs that trap, but my network monitoring system doesn't.
Is it possible to disable only that trap for my monitoring?
For the NAC I use the following command to filter all other traps:
snmp-server host 192.168.1.1 version 2c public mac-notification
That works!
Is there something like
snmp-server host 192.168.1.20 version 2c public no mac-notification
to disable that mac-notification?
Thanks!
SvenHi Sven,
try using the syslog discriminator - I think it should be possible with this feature but I have not had the chance to play with it:
http://www.cisco.com/en/US/partner/docs/ios/12_4t/12_4t11/htnmsylg.html
and some interesting threads:
https://supportforums.cisco.com/message/3446512#3446512
https://supportforums.cisco.com/message/3340796#3340796
and others (search for "syslog discriminator")
Martin -
ASR1000 missing " snmp-server hc poll " command
Hi, customer wants to poll some interface-counter more or less in realtime for some reasons, IOS does not update the Mib-vRiables in real-time.
So the was a hidden command in "normal" IOS to change this behaviour , to force IOS to update the counters quicker.
It was
snmp-server hc poll value
unfortunately this command is not present in IOS XE.
I s there any equivalent command in IOS XE?
Thx
HubertI suppose this command is also supported in IOS-XE. When you apply this command does it gives you any error?
I am not sure if it is practical to poll devices via SNMP in real time or in very shorter duration.
This may be mostly interfaces details your customer is after, that's not how SNMP counters are designed to respond back. IfTable counters will get updated every 10 seconds on most platforms. So it doesn't even make any sense to poll them faster than once every 10 seconds. There are other SNMP objects (like gauges) which are real time and will give you updated information on each poll. There are reasons why this was designed that way, and not abiding by this can cause other much more critical problems like high CPU and each platform will have different impacts.
You can check some other performance enhancing commands (may be platform specific):
service counters max age 10
snmp-server ifmib internal cache max-duration
-Thanks
Vinod
** Encourage Contributors. RATE them ** -
Is it possible to configure catalyst 500G ports using SNMP? (How ?)
Or SNMP for this switch can be used only for monitoring purpose?SNMP would be used only for monitoring.
Cisco Network Assitance tool is used which uses port 80 http. -
Hi,
I have two 3750 switch stack together with one ip address mange the stack.
Can I monitor the memory and cpu for each individual switch? what is the oid then?
Thanks.
C.K.Hello CK,
On the Catalyst 3750, the stack master handles the SNMP requests and traps for the whole switch stack.
The stack master transparently manages any requests or traps that are related to all stack members. When a new stack master is elected, the new master continues to handle SNMP requests and traps as configured on the previous stack master, assuming that IP connectivity to the SNMP management stations is still in place after the new master has taken control.
So to answer your question, with the OID for CPU and Mempory usage the switch will return only values for the active master. The other stack members are hot standby and do not produce SNMP information for CPU and/or Memory.
HTH
--Leon
Maybe you are looking for
-
How can I update an existing .dot file (created long ago in Word)?
I send contracts out for my vacation rental with a lot of information and only need part of the info to be specific to each person. But now I need to update some of the static info and want to continue using as a .dot. (So saving each updated contrac
-
I must communicate with my instrument, but I must change its value, for example temperature, every loop. See the Figure to understand: I think that it is better if I open communication with my instrument out of while loop so I many operation: if I pu
-
I have a website based on a template. (Dreamweaver CS6). Just recently, the "code view" in the template is grayed out, and I am unable to edit it. I can edit the template in design view. I would appreciate suggestions of how the code got grayed out-
-
Microsoft AD, JNDI and LDAP
Hello, I working to move an application off of Novell eDirectory onto Microsoft AD. The program successfully binds to AD, the search filter executes correctly and the attributes are returned as expected. However, the final call to searchResults.hasMo
-
Files losing "Tape Name" Metadata
I add metadata to the "tape name" schema in Premiere Pro and make sure the link is checked in the metadata display so that the info is added to the media, which works fine for all other schema except the Tape Name schema. When I import the media int