iT邦幫忙

0

[SNMP] Alcatel-lucent os6850設定

  • 分享至 

  • xImage

各位大大好

辦公室有台 router OS6850 (192.168.166.254),想要設定他的snmp,設定後

進入監控的linux server 輸入
snmpwalk -v 2c -c communityee 140.117.166.254 但也是產生沒有回應

應該不是防火牆的問題,想請問是哪邊還需要設定嗎?

謝謝

-> show snmp station
ipAddress/udpPort status protocol user
---------------------------+---------+--------+-------------------------------
x.x.166.206/162 enable v2 snmpv2usr
x.x.166.146/161 enable v2 snmpuser

-> show user

User name = snmpuser,
Password expiration = None,
Read Only for domains = All ,
Read/Write for domains = None,
Snmp allowed = YES,
Snmp authentication = NONE,
Snmp encryption = NONE

-> show snmp security
snmp security = no security

-> show configuration snapshot

! Chassis :
system name vxTarget
system timezone +08:00
! Configuration:
! VLAN SL:
! IP :
ip dos trap disable
ip service ftp
ip service ssh
ip service telnet
no ip service udp-relay
ip service http
ip service network-time
ip service snmp
no ip service avlan-telnet
no ip service avlan-http
no ip service avlan-secure-http
ip service secure-http
no ip service avlan-http-proxy
icmp unreachable net-unreachable disable
ip interface "1" address 10.1.156.253 mask 255.255.255.252 vlan 156 ifindex 1
ip interface "156" address 192.168.156.254 mask 255.255.255.0 vlan 156 ifindex 2
ip interface "164" address 192.168.164.254 mask 255.255.255.0 vlan 156 ifindex 3
ip interface "165" address 192.168.165.254 mask 255.255.255.0 vlan 156 ifindex 4
ip interface "166" address 192.168.166.254 mask 255.255.255.0 vlan 156 ifindex 5
ip interface "167" address 192.168.167.254 mask 255.255.255.0 vlan 156 ifindex 6
ip interface "157" address 192.168.157.254 mask 255.255.255.0 vlan 156 ifindex 7
ip interface "Loopback0" address 192.168.100.1 admin disable
! IPX :
! IPMS :
! AAA :
aaa authentication console "local"
aaa authentication telnet "local"
aaa authentication ftp "local"
aaa authentication http "local"
aaa authentication snmp "local"
aaa authentication ssh "local"
! PARTM :
end-user profile "ReadOnlyProfile" read-only physical vlan-table basic-ip-routing ip-routes-table mac-filtering-table spantree
! AVLAN :
! 802.1x :
! Policy manager :
! Session manager :
session timeout cli 10
session timeout http 10
! SNMP :
snmp security no security
snmp community map "communityee" user "snmpuser" on
snmp station 192.168.166.206 162 "snmpv2usr" v2 enable
snmp station 192.168.166.146 161 "snmpuser" v2 enable
snmp trap filter 192.168.166.206 0 1 2 3 4 5
snmp trap filter 192.168.166.206 6 7 8 9 10 11
snmp trap filter 192.168.166.206 12 13 14 15 16 17
snmp trap filter 192.168.166.206 18 19 41
snmp trap filter 192.168.166.146 0 1 2 3 4 5
snmp trap filter 192.168.166.146 6 7 8 9 10 11
snmp trap filter 192.168.166.146 12 13 14 15 16 17
snmp trap filter 192.168.166.146 18 19 41
! RIP :
! OSPF :
ip load ospf
ip ospf area 0.0.0.156
ip ospf area 0.0.0.156        type nssa
ip ospf interface "1"
ip ospf interface "1" area 0.0.0.156
ip ospf interface "1" type point-to-point
ip ospf interface "1" status enable
ip ospf neighbor 10.1.156.254     eligible
ip ospf status enable
! ISIS :
! BGP :
! IP multicast :
! IPv6 :
ip router router-id 10.1.156.253
ip route-map ospf1 sequence-number 10 action permit
ip route-map ospf1 sequence-number 10 match ip-address 0.0.0.0/0 redist-control all-subnets permit
ip route-map ospf1 sequence-number 50 action permit
ip redist local into ospf route-map ospf1 status enable
ip redist static into ospf route-map ospf1 status enable
! RIPng :
! OSPF3 :
! Health monitor :
! Interface :
interfaces 1/11 flood rate 496
! Port Mapping :
! Link Aggregate :
! VLAN AGG:
! 802.1Q :
vlan 156 802.1q 1/25 "TAG PORT 1/25 VLAN 156"
vlan 156 802.1q 1/26 "TAG PORT 1/26 VLAN 156"
! Spanning tree :
bridge mode 1x1
! Bridging :
! Bridging :
! Port mirroring :
! UDP Relay :
! Server load balance :
! System service :
swlog appid WEB level warning
swlog appid FTP level warning
swlog output socket 192.168.166.146
swlog output socket 192.168.166.187
no swlog output flash
no swlog output console
! SSH :
! VRRP :
! Web :
! AMAP :
! Lan  Power :
! NTP :
ntp server 220.130.158.71 key 0 version 4 minpoll 6
ntp client enable
! RDP :
! Ethernet-OAM :
! VLAN STACKING:
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

1 個回答

0
hungmo
iT邦見習生 ‧ 2021-04-15 12:34:19

Read/Write for domains = 不可以是None, 可修改為Read-Only or Read-Write

我要發表回答

立即登入回答