IOS XR’da L3 MPLS VPN altındaki BGP sessionları snmp ile monitor edilemiyor. Normal’de BGP-4 MIB’i kullanılarak (IOS ve IOS XE’de) monitor edilebiliyor. Continue reading “IOS XR’da SNMP ile VRF altındaki BGP sessionlarını monitor etmek”
- Script is based on Cisco MPLS-VPN-MIB, this MIB gives route table information for L3 MPLS VPN instances other wise, ipRouteTable OID can be used.
- There may be two approach while checking route table. Get the whole route table with snmp walk and cross check with the ones in the database or check the routes in the database one by one in the route table via snmpget. Second method is used in the script.
- For L3 MPLS VPN, you can get the MPLS VPN name from the database like category, or it can be embedded. Script expects route and MPLS VPN name from the database (although this can be easily change.
- Also MPLS VPN index is used in the OIDs which is get from a snmpwalk, (explained in the script)
Continue reading “Perl script checking route table via snmp against routes in a database”