[j-nsp] SNMP polling a logical-system without encoding it asLS/RI at community
Subodh Kumar
subodh at juniper.net
Thu Jan 15 06:44:08 EST 2009
It would depend on which interface is your packet entering the system
(router). Consider an example:
________ _________
| | | |
| | (lr1/ri2) | |
| R1 |--------------------| nms1 |
| |fe-0/0/3 em1 | |
|_______| |_______|
- (lr1/ri2) indicate the routing-instance
- Ip Address:
nms1 (em1): 14.14.14.1
logical-systems lr1 {
routing-instances {
ri2 {
...
interface fe-0/0/3;
...
}
}
interfaces{
fe-0/0/3 {
unit 0 {
family inet {
address 14.14.14.2/24;
}
}
}
lo0 {
unit 1 {
family inet {
address 14.14.14.100/32
}
}
}
}
}
Now if you send a SNMP packet from 'nms1' on ip-addess 14.14.14.100 or
14.14.14.2, that makes sure that packet is entering the system from
inetrafce fe-0/0/3 which is part of logical-systems 'lr1'. In this case
you don't need to specify the prefix 'lr1/default' in the community
string.
In your case, it looks that the SNMP packet is getting into the router
through 'fxp0' or some interface that is part of 'default'
routing-instance. Does the 'ping 10.0.0.5' from the NMS work for you?
Thanks
Subodh
More information about the juniper-nsp
mailing list