In Crossbeam XOS appliance, it's possible to configure more than one SNMP trap received target host. This example covers deletion of an existing SNMP trap receiving target host and adding a new one.
Running-configuration need to be copied to startup-configuration for the configuration change to be persistent (survive reboot).
!! Existing SNMP trap receiving target host configuration !!
Crossbeam-XOS9.0.3# show snmp hosts
SNMP Traps Host IP-addr : 10.101.43.20
UDP Port : 162
Community-string : MY-SNMP
SNMP version : SNMPv2c
SNMP Notify Type : traps
Crossbeam-XOS9.0.3#
!! [no] form is used to delete SNMP trap receiving target host !!
Crossbeam-XOS9.0.3# configure snmp-server no host 10.101.43.20 traps version 2c MY-SNMP
Crossbeam-XOS9.0.3#
!! After deleting SNMP trap receiving target host !!
Crossbeam-XOS9.0.3# show snmp hosts
Crossbeam-XOS9.0.3#
!! Adding new SNMP trap receiving target host !!
Crossbeam-XOS9.0.3# configure snmp-server host 10.200.200.200 traps version 2c MY-NEW-SNMP
Crossbeam-XOS9.0.3#
!! After adding new SNMP trap receiving target host !!
Crossbeam-XOS9.0.3# show snmp hosts
SNMP Traps Host IP-addr : 10.200.200.200
UDP Port : 162
Community-string : MY-NEW-SNMP
SNMP version : SNMPv2c
SNMP Notify Type : traps
Crossbeam-XOS9.0.3#
!! Save configuration changes.[*wr="copy running-config startup-config"] !!
Crossbeam-XOS9.0.3# wr
Saving configuration ... Please be patient...
.
Crossbeam-XOS9.0.3#
Running-configuration need to be copied to startup-configuration for the configuration change to be persistent (survive reboot).
Syntax:
configure snmp-server [no] host <xxx.xxx.xxx.xxx> traps version <1c|2c> <community string>Example:
!! Existing SNMP trap receiving target host configuration !!
Crossbeam-XOS9.0.3# show snmp hosts
SNMP Traps Host IP-addr : 10.101.43.20
UDP Port : 162
Community-string : MY-SNMP
SNMP version : SNMPv2c
SNMP Notify Type : traps
Crossbeam-XOS9.0.3#
!! [no] form is used to delete SNMP trap receiving target host !!
Crossbeam-XOS9.0.3# configure snmp-server no host 10.101.43.20 traps version 2c MY-SNMP
Crossbeam-XOS9.0.3#
!! After deleting SNMP trap receiving target host !!
Crossbeam-XOS9.0.3# show snmp hosts
Crossbeam-XOS9.0.3#
!! Adding new SNMP trap receiving target host !!
Crossbeam-XOS9.0.3# configure snmp-server host 10.200.200.200 traps version 2c MY-NEW-SNMP
Crossbeam-XOS9.0.3#
!! After adding new SNMP trap receiving target host !!
Crossbeam-XOS9.0.3# show snmp hosts
SNMP Traps Host IP-addr : 10.200.200.200
UDP Port : 162
Community-string : MY-NEW-SNMP
SNMP version : SNMPv2c
SNMP Notify Type : traps
Crossbeam-XOS9.0.3#
!! Save configuration changes.[*wr="copy running-config startup-config"] !!
Crossbeam-XOS9.0.3# wr
Saving configuration ... Please be patient...
.
Crossbeam-XOS9.0.3#
Crossbeam - XOS - Add/Delete SNMP Trap Receiving Target Host - CLI
Reviewed by Admin
on
16:00:00
Rating: