forked from vrnetlab/vrnetlab
-
Notifications
You must be signed in to change notification settings - Fork 169
Open
Description
Hello team,
I encountered a problem with the vJunos router while building the Docker image. As per the docs, the device should come pre-configured with SNMP:
Juniper vJunos-router nodes launched with containerlab come up pre-provisioned with SSH, SNMP, NETCONF, and gNMI services enabled.
But looking at the init.conf file, I see no sign of SNMP:
system {
host-name {HOSTNAME};
root-authentication {
plain-text-password-value "admin@123";
}
login {
user admin {
class super-user;
authentication {
plain-text-password-value "admin@123";
}
}
}
services {
ssh {
root-login allow;
}
netconf {
ssh;
}
}
management-instance;
}
chassis {
fpc 0 {
pic 0 {
number-of-ports 12;
}
}
}
interfaces {
fxp0 {
unit 0 {
family inet {
address {MGMT_IP_IPV4};
}
family inet6 {
address {MGMT_IP_IPV6};
}
}
}
}
routing-instances {
mgmt_junos {
routing-options {
static {
route 0.0.0.0/0 next-hop {MGMT_GW_IPV4};
}
rib mgmt_junos.inet6.0 {
static {
route ::/0 next-hop {MGMT_GW_IPV6};
}
}
}
}
}
I tried to set up SNMP manually after the container launch, but couldn't really get it to work, as I'm not very experienced with Junos. I can also confirm the process is running after running the ss command inside the container and seeing 0.0.0.0/0:161.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels