two virtual routers for a trap receiver

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Photo of Ghost108

Ghost108

  • 230 Points 100 badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Ghost108

Ghost108

  • 230 Points 100 badge 2x thumb
Hello together,

i have this config on a working switch:


Destionation address: <ip>:<port>
Source Adress: <ip> of the switch

now i would like to set the same config on another switch.
this command works for add the config like show above, but only with the virtual router VR-Default.
How get i two virtual routers into this config?

configure snmp add trapreceiver <Destionaion IP>
community public
port <port>
from <Source Address = Switch IP>
vr "VR-Default"
(Edited)
Photo of Patrick Voss

Patrick Voss, Alum

  • 11,714 Points 10k badge 2x thumb
Hello Ghost108,

When I run that command on a lab switch it allows me to select the vr I created

# create vr vr-test
# configure snmp add trapreceiver 10.10.10.1 community public vr "vr-test"

Can you elaborate on your issue?
Photo of Ghost108

Ghost108

  • 230 Points 100 badge 2x thumb
yes this works.
but i would like to set VR-Default AND VR-Mgmt as vr
but i dont know how

short explanation:
i would like to set the same config like the screenshot shows
(Edited)
Photo of Patrick Voss

Patrick Voss, Alum

  • 11,714 Points 10k badge 2x thumb
If you do not specify a vr it does both by default.
(Edited)
Photo of Ghost108

Ghost108

  • 230 Points 100 badge 2x thumb
this was to easy - but i works.
thx !
Photo of Drew C.

Drew C., Community Manager

  • 40,858 Points 20k badge 2x thumb
Welcome to The Hub, Ghost!
It seems this conversation was marked "private" when it was created.  Since there doesn't seem to be any private information here, I've changed it to "public."