Correcting SNMP configuration in templates
This commit is contained in:
parent
d9ff111d3a
commit
6a4adab6af
@ -155,6 +155,11 @@ no ip http secure-server
|
||||
!
|
||||
snmp-server group neteng-snmp v3 priv read ViewDefault
|
||||
snmp-server view ViewDefault iso included
|
||||
snmp-server user snmp-user neteng-snmp v3 auth sha Juniper1 priv aes 128 Juniper1
|
||||
snmp-server ifindex persist
|
||||
snmp-server trap-source GigabitEthernet8
|
||||
snmp-server source-interface informs GigabitEthernet8
|
||||
snmp-server ip precedence 7
|
||||
!
|
||||
!
|
||||
!
|
||||
|
@ -95,42 +95,44 @@ routing-options {
|
||||
route 192.168.0.0/24 next-hop 10.0.0.0;
|
||||
}
|
||||
}
|
||||
v3 {
|
||||
usm {
|
||||
local-engine {
|
||||
user snmp-user {
|
||||
authentication-sha {
|
||||
authentication-key "$9$qf5Fp0BSlKpudb2gJZp0O1RSM8X7Nbrl4aUjq.5QFnp0B1hSlKhcwYoaUD9At0RhM8X7NbXxUjiHmP0B1ISrWLxN-wLXDiHkPfRhcSKM8LNdVYIE-V"; ## SECRET-DATA
|
||||
}
|
||||
privacy-aes128 {
|
||||
privacy-key "$9$i.mTCtuESrCA7-ws4oCtp0BEevWLX-cSYgJGiHmfTzCtu0IESrIRdb2gJZn/9tBIevWLX-W8JGUDkqtu0OEcKM8XxdMW"; ## SECRET-DATA
|
||||
snmp {
|
||||
v3 {
|
||||
usm {
|
||||
local-engine {
|
||||
user snmp-user {
|
||||
authentication-sha {
|
||||
authentication-key "$9$qf5Fp0BSlKpudb2gJZp0O1RSM8X7Nbrl4aUjq.5QFnp0B1hSlKhcwYoaUD9At0RhM8X7NbXxUjiHmP0B1ISrWLxN-wLXDiHkPfRhcSKM8LNdVYIE-V"; ## SECRET-DATA
|
||||
}
|
||||
privacy-aes128 {
|
||||
privacy-key "$9$i.mTCtuESrCA7-ws4oCtp0BEevWLX-cSYgJGiHmfTzCtu0IESrIRdb2gJZn/9tBIevWLX-W8JGUDkqtu0OEcKM8XxdMW"; ## SECRET-DATA
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
vacm {
|
||||
security-to-group {
|
||||
security-model usm {
|
||||
security-name snmp-user {
|
||||
group view-all;
|
||||
vacm {
|
||||
security-to-group {
|
||||
security-model usm {
|
||||
security-name snmp-user {
|
||||
group view-all;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
access {
|
||||
group view-all {
|
||||
default-context-prefix {
|
||||
security-model usm {
|
||||
security-level privacy {
|
||||
read-view view-all;
|
||||
notify-view view-all;
|
||||
access {
|
||||
group view-all {
|
||||
default-context-prefix {
|
||||
security-model usm {
|
||||
security-level privacy {
|
||||
read-view view-all;
|
||||
notify-view view-all;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
view view-all {
|
||||
oid .1 include;
|
||||
}
|
||||
trap-options;
|
||||
}
|
||||
view view-all {
|
||||
oid .1 include;
|
||||
}
|
||||
trap-options;
|
Loading…
x
Reference in New Issue
Block a user