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

how to configure snmp ver 1 or 2.1 in cisco n540 router

poojaryp1974
Level 1
Level 1

Hi ,

how to configure snmp ver 1 or 2c in cisco n540 router.Please provide me command please.

Thanks,

Prashanth

2 Replies 2

Gopinath_Pigili
Spotlight
Spotlight

Hello poojaryp1974,

According to your router series...it is recommended to configure SNMPv3....

Please go through the following link....that helps you to enable snmpv3:

https://www.cisco.com/c/en/us/td/docs/iosxr/ncs5xx/system-management/75x/b-system-management-cg-75x-ncs540/implementing-snmp.html

However, if you want to specifically enable SNMPv2 ..please perform the following steps:

Enable SNMP Community Strings
This procedure is the same for both routers and Cisco IOS® software-based XL Catalyst Switches.

1. Telnet to the router:

prompt# telnet 172.16.99.20
2. Enter the enable password at the prompt in order to enter the enable mode:

Router>enable
Password:
Router#
3. Display the running configuration and look for the SNMP information:

Router#show running-config
Building configuration...
....
....
Note: If no SNMP information is present, continue with these steps. If any SNMP commands are listed, you can modify or disable them.

4. Go into the configuration mode:

Router#configure terminal
Enter configuration commands, one per line. End
with CNTL/Z.
Router(config)#
5. Use this command in order to enable the read-only (RO) community string:

Router(config)#snmp-server community public RO
where "public" is the read-only community string.

6. Use this command in order to enable the read-write (RW) community string:

Router(config)#snmp-server community private RW
where "private" is the read-write community string.

7. Exit out of the configuration mode and return to the main prompt:

Router(config)#exit
Router#
8. Write the modified configuration to nonvolatile RAM (NVRAM) to save the settings:

Router#write memory
Building configuration...
[OK]
Router#

Best regards
******* If This Helps, Please Rate *******

Hello,

I am not sure about the specifics of the N540, but in general, the command below can be used:

snmp-server host <trap-host> <community-string> [version {1 | 2c}]

Review Cisco Networking for a $25 gift card