Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
Router# show running-config
Router# show startup-config
Router# show platform software mount
Router# show version
Router# show dial-peer voice summary

CUBE SNMP Configuration

There are two options for SNMP monitoring of the CUBE, SNMP Version 2c and SNMP version 3. SNMP Version 3 is more secure and is the preferred method.

SNMP Version 2 option

Configure the SNMP Community using To configure SNMP V2c monitoring of the CUBE you will need the following commands:

...

ParameterDescription
VSM Collector IP AddressIP address of the VSM Collector at the customers site

Configure the SNMP Community using the following commands:

Code Block
languagetext
languagetext
Router        # Conf t
Router(config)# snmp-server community {Enter SNMP Value here} virsae RO
Router(Config)# snmp-server locationhost <location>{VSM #ThisCollector commandIP isAddress} optionalversion and may needed only if you want to specify the location.
Router2c virsae
Router(Config)# snmp-server contact <contact info> #This command is optionalenable traps
Router(Config)#exit

Use the following commands to verify SNMP V2 Configuration 

Code Block
languagetext
Router # snmp-server host {Enter VSM Probe IP Address here} [traps | informs] version  2c  community-string  [udp-port port-number] [notification-type]
Router(Config)#exit

Show snmp community  << This will display configured community string
Router # show snmp host       << This should display the configured SNMP host which should match the configured one

The following example demonstrates a sample configuration of SNMP Version 2 with option to enable all trapsUse the following commands to verify SNMP V2 Configuration 

Code Block
languagetext
Router # Show snmp community  << This will display configured# Conf t
Router(Config)# snmp-server community stringvirsae RO
Router (Config)# show snmp-server host 10.10.10.20 version 2c virsae
Router(Config)# snmp-server enable << This should display the configured SNMP host which should match the configured onetraps
Router (Config) # Exit

Verification output :The following example demonstrates a sample configuration of SNMP Version 2 with option to enable all traps

Code Block
languagetext
Router    # Show snmp Community
Community # Conf t
Router(Config)# snmp-server community VirsaeVSM RO
Router(Config)# snmp-server location BHIVE Auckland
Router(Config)# snmp-server contact Virsae Support Team
Router(Config)# snmp-server hostname: virsae
Community Index: virsae
Community SecurityName: virsae
storage-type: nonvolatile        active

Router # Show snmp host
Notification host: 10.10.10.20 version     2c VirsaeVSM
Router(Config)# snmp-server enable traps
Router (Config) # Exit

Verification output :

Code Block
languagetext
Router    # Show snmp Community
Community name: VirsaeVSM
Community Index: VirsaeVSM
Community SecurityName: VirsaeVSM
storage-type: nonvolatile        active

Router # Show snmp host
Notification host: 10.10.10.20        udp-port: 162   type: trap  user: VirsaeVSM       security model: v2c

The following example demonstrates a sample configuration of SNMP Version 2 with option to enable some traps

Code Block
languagetext
Router        # Conf t
Router(Config)# snmp-server community VirsaeVSM RO
Router(Config)# snmp-server location BHIVE Auckland
Router(Config)# snmp-server contact Virsae Support Team
Router(Config)# snmp-server host 10.10.10.20 version 2c VirsaeVSM
Router(Config)# snmp-server enable traps snmp authentication linkdown linkup coldstart
Router(Config)# snmp-server enable traps cpu threshold
Router(Config)# snmp-server enable traps ipsla
Router(Config)# snmp-server enable traps config-copy
Router(Config)# snmp-server enable traps license
Router(Config)# snmp-server enable traps envmon
Router(Config)# snmp-server enable traps bgp

SNMP Version 3 option

Configure the SNMP V3 using the following commands:

Code Block
languagetext
Router        #  Conf t
Router(config)# snmp-server view {Enter View Name Here}
Router(Config)# snmp-server group <Group Name> v3 [priv|auth|noauth] read <View Name >
Router(Config)# snmp-server user <username> <Group Name> v3 [encrypted] [auth {md5 | sha} auth-password]}
Router(Config)# snmp-server host <Enter VSM Probe IP Address here> version 3 [auth|no auth|priv] <Enter user name here>
Router(Config)# exit

Use the following commands to verify SNMP V3 Configuration 

Code Block
languagetext
Router # Show snmp user  << This will display configured snmp V3 user
Router # show snmp host       << This should display the configured SNMP host which should match the configured one

The following  demonstrates a sample configuration of SNMP Version 3 with Parameters shown in the following table with option to enable all traps with Authentication and Privacy

...

 udp-port: 162   type: trap  user: virsae       security model: v2c

SNMP Version 3 option

To configure SNMP v3 monitoring of the CUBE you will need the following:

ParameterValueDescription
View NameVirsaeviewUse Virsaeview by default
Group NameVirsaegroupUse Virsagroup by default
User Name
The SNMP Trap username administered in your VSM equipment location
Authentication ProtocolSHA or MD5The SNMP Trap Authentication protocol administered in your VSM equipment location
Authentication Password
The SNMP Trap Authentication password administered in your VSM equipment location
Privacy ProtocolAES 128, AES 196, AES 256, DESThe SNMP Trap privacy protocol administered in your VSM equipment location

Privacy Password


The SNMP Trap privacy password administered in your VSM equipment location
VSM Collector IP Address
The IP address of the VSM Collector

The SNMP Trap configuration in VSM is documented here SNMP Configuration


Configure the SNMP V3 using the following commands:

Code Block
languagetext
Router        #  Conf t
Router(config)# snmp-server view <View Name> iso included
Code Block
languagetext
Router(Config)# snmp-server view virsaelab iso included
Router(Config)# snmp-server group VSMMonitor v3 priv read virsaelab
Router(Config)# snmp-server user VSMUser VSMMonitor v3 auth sha P@ssword123 priv aes 256 P@ssword123
Router(Config)# snmp-server host 192.168.5.180 version 3 priv VSMUser
Router(Config)# snmp-server enable traps group <Group Name> v3 priv read <View Name>
Router(Config)# Exit

 Verification output :

Code Block
languagetext
Router    # Show snmp user
User name: VSMUser
Engine ID: 800000090300005056BA6363
storage-type: nonvolatile        active
Authentication Protocol: SHA
Privacy Protocol: AES256
Group-name: VSMMonitor


Router # Show snmp host
Notification host: 192.168.5.180  udp-port: 162   type: trap user: VSMUser     security model: v3 priv

The following  demonstrates a sample configuration of SNMP Version 3 with Parameters shown in the following table with option to enable  traps with Authentication Only

...

 snmp-server user <User Name> <Group Name> v3 auth <Authentication Protocol> <Authentication Password> priv <Privacy Protocol> <Privacy Password>
Router(Config)# snmp-server host <VSM Collector IP Address> version 3 priv <User Name>
Router(Config)# exit

Example (View name=Virsaeview, Groupname = Virsaegroup, Username = Virsaesnmp):

Code Block
languagetext
Router(Config)# snmp-server view Virsaeview iso included
Router(Config)# snmp-server group Virsaegroup v3 priv read Virsaeview
Router(Config)# snmp-server user Virsaesnmp Virsaegroup v3 auth sha P@ssword123 priv aes 256 P@ssword123
Router(Config)# snmp-server host 192.168.5.180 version 3 priv Virsaesnmp
Code Block
languagetext
Router(Config)# snmp-server view virsaelab iso included
Router(Config)# snmp-server group VSMMonitor v3 auth read virsaelabenable traps
Router(Config)# Exit

Use the following commands to verify the SNMP V3 Configuration is correct administered:

Code Block
languagetext
Router # Show snmp-server user  << VSMUserThis VSMMonitorwill v3display authconfigured shasnmp P@ssword123V3 user
Router(Config) # show snmp-server host 192.168.5.180 version 3 auth VSMUser
Router(Config)# snmp-server enable traps
Router(Config)# Exit << This should display the configured SNMP host which should match the configured one

Example Verification output :

Code Block
languagetext
Router    # Show snmp user
User name: VSMUserVirsaesnmp
Engine ID: 800000090300005056BA6363
storage-type: nonvolatile        active
Authentication Protocol: SHA
Privacy Protocol: None
Group-name: VSMMonitorVirsaegroup


Router # Show snmp host
Notification host: 192.168.5.180  udp-port: 162   type: trap user: VSMUserVirsaesnmp     security model: v3 auth

CDR Configuration

...

Code Block
languagetext
Router(Config)# logging host (Enter VSM ProbCollector IP Address) 
Router(Config)# logging traps (i.e 0 1 2 3 4 5 .. according to your requirement)


Once complete you can move onto the VSM Web Portal Configuration

...