Skip to content

Commit

Permalink
Merge pull request #1416 from srl-labs/srl-snmp
Browse files Browse the repository at this point in the history
added snmp for srlinux
  • Loading branch information
hellt committed Jun 1, 2023
2 parents 36472e8 + 42d9a6e commit c565a18
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/manual/kinds/srl.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ There are many ways to manage SR Linux nodes, ranging from classic CLI managemen
}
EOF
```
=== "SNMP"
SR Linux nodes come up with SNMP server enabled and running on port 161. The default SNMP community is `public`.

```shell
docker run --init -ti goatatwork/snmpwalk:latest -v 2c -c public $address
```

!!!info
Default credentials[^4]: `admin:NokiaSrl1!`
Expand Down
3 changes: 3 additions & 0 deletions nodes/srl/srl.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ set / system gnmi-server trace-options [ request response common ]
set / system gnmi-server unix-socket admin-state enable
set / system json-rpc-server admin-state enable network-instance mgmt http admin-state enable
set / system json-rpc-server admin-state enable network-instance mgmt https admin-state enable tls-profile clab-profile
set / system snmp community public
set / system snmp network-instance mgmt
set / system snmp network-instance mgmt admin-state enable
set / system lldp admin-state enable
set / system aaa authentication idle-timeout 7200
{{/* enabling interfaces referenced as endpoints for a node (both e1-2 and e1-3-1 notations) */}}
Expand Down

0 comments on commit c565a18

Please sign in to comment.