03-10-2023 01:29 AM
Hello
I am getting crazy configuring SNMP on VDX6740T, it does not seem to have 161 port open on management interface.
This is the configuration I made:
ip access-list standard nostra-mgmt
seq 10 permit A.B.C.24 0.0.0.255
seq 11 permit A.B.C.25 0.0.0.255
seq 12 permit A.B.C.98 0.0.0.255
!
snmp-server contact "Field support"
snmp-server location Padova
snmp-server sys-descr "Brocade VDX Switch"
snmp-server enable trap
snmp-server community nostrapublic groupname ro ipv4-acl abnet-mgmt
snmp-server host A.B.C.24 nostrapublic
version 2c
use-vrf mgmt-vrf
!
snmp-server host A.B.C.25 nostrapublic
version 2c
use-vrf mgmt-vrf
!
snmp-server host A.B.C.98 nostrapublic
version 2c
use-vrf mgmt-vrf
!
snmp-server view All 1 included
snmp-server group ro v2c read All notify All
interface Ve 1
ip proxy-arp
ip address A.B.C.110/24
no shutdown
!
!
!
interface Management 1/0
no tcp burstrate
ip icmp echo-reply
no ip address dhcp
ip address A.B.C.110/24
ipv6 icmpv6 echo-reply
no ipv6 address autoconfig
no ipv6 address dhcp
vrf forwarding mgmt-vrf
no shutdown
I can reach the switch on telnet/ssh but not via SNMP
What am I missing ?
I am running NOS 6.0.2
Thank you
Solved! Go to Solution.
03-10-2023 07:17 AM
ricchieri,
Your View and Group look good, however your Community has an ACL that you did not provide in your config example:
snmp-server community nostrapublic groupname ro ipv4-acl abnet-mgmt
ip access-list standard nostra-mgmt
seq 10 permit A.B.C.24 0.0.0.255
seq 11 permit A.B.C.25 0.0.0.255
seq 12 permit A.B.C.98 0.0.0.255
Can you check this and/or confirm it works without the ACL applied?
03-10-2023 07:17 AM
ricchieri,
Your View and Group look good, however your Community has an ACL that you did not provide in your config example:
snmp-server community nostrapublic groupname ro ipv4-acl abnet-mgmt
ip access-list standard nostra-mgmt
seq 10 permit A.B.C.24 0.0.0.255
seq 11 permit A.B.C.25 0.0.0.255
seq 12 permit A.B.C.98 0.0.0.255
Can you check this and/or confirm it works without the ACL applied?