Contents
- SNMP Support for MTR
- Finding Feature Information
- Prerequisites for SNMP Support for MTR
- Information About SNMP Support for MTR
- Network Management Support for MTR
- How to Configure SNMP Support for MTR
- Associating an SNMP Context with a VRF for MTR
- Associating an SNMP Context with a Data Topology for MTR
- Associating an SNMP Context with a Routing Protocol for MTR
- Configuration Examples for SNMP Support for MTR
- Examples: SNMP Support for MTR
- Additional References
- Feature Information for SNMP Support for MTR
SNMP Support for MTR
The SNMP Support for MTR feature uses context-based the Simple Network Management Protocol (SNMP) to extend support for existing MIBs from representing the management information for just the base topology to representing the same information for multiple topologies. This module describes how to configure SNMP support for Multitopology Routing (MTR).
- Finding Feature Information
- Prerequisites for SNMP Support for MTR
- Information About SNMP Support for MTR
- How to Configure SNMP Support for MTR
- Configuration Examples for SNMP Support for MTR
- Additional References
- Feature Information for SNMP Support for MTR
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Prerequisites for SNMP Support for MTR
Enable Simple Network Management Protocol (SNMP).
Information About SNMP Support for MTR
Network Management Support for MTR
Context-based Simple Network Management Protocol (SNMP) support is integrated into Cisco software. SNMP support for Multitopology Routing (MTR) uses context-based SNMP to extend support for existing MIBs from representing the management information for just the base topology to representing the same information for multiple topologies.
You can configure the SNMP agent software component on the device to pass a context string to existing MIB access functions. Network management applications can provide these context strings in SNMP transactions to direct those transactions to a specific VPN routing and forwarding (VRF) instance, a specific topology, or a routing protocol instance. The SNMP infrastructure on the receiving device verifies that a context string is defined for the device, and that the accompanying internal identifier is defined for that context string, before passing the context string and the internal identifier to the MIB access function.
Standard network management utilities, such as ping and traceroute, are enhanced to support MTR. You can configure a standard or extended ping using the topology name in place of a hostname or IP address. Traceroute is similarly enhanced.
How to Configure SNMP Support for MTR
Associating an SNMP Context with a VRF for MTR
1.
enable
2.
configure terminal
3.
ip vrf
vrf-name
4.
snmp context
context-name
5.
end
6.
show snmp context mapping
DETAILED STEPS
Associating an SNMP Context with a Data Topology for MTR
1.
enable
2.
configure terminal
3.
global-address-family ipv4 [multicast |
unicast]
4.
topology {base |
topology-name}
5.
snmp context
context-name
6.
end
7.
show snmp context mapping
DETAILED STEPS
Associating an SNMP Context with a Routing Protocol for MTR
1.
enable
2.
configure terminal
3.
router ospf
process-id [vrf
vrf-name]
4.
snmp context
context-name
5.
address-family ipv4 [multicast |
unicast]
6.
topology {base |
topology-name
tid
number}
7.
snmp context
context-name
8.
end
9.
show snmp context mapping
DETAILED STEPS
Configuration Examples for SNMP Support for MTR
Examples: SNMP Support for MTR
In the following example, the context string context-vrfA is configured to be associated with vrfA and will be passed on to the MIB access function during Simple Network Management Protocol (SNMP) transactions:
snmp-server community public ip vrf vrfA snmp context context-vrfA end
In the following example, the context string context-voice is configured to be associated with the data topology named voice and will be passed on to the MIB access function during SNMP transactions:
global-address-family ipv4 topology voice snmp context context-voice end
In the following example, the context strings context-ospf and context-voice are configured to be associated with the Open Shortest Path First (OSPF) process and topology named voice and will be passed on to the MIB access function during SNMP transactions:
router ospf 3 snmp context context-ospf address-family ipv4 topology voice tid 10 snmp context ospf-voice end
The following example shows how the context strings are mapped to the specified virtual routing and forwarding (VRF), address family, topology, or protocol instance:
Device# show snmp context mapping Context: ospf-voice VRF Name: Address Family Name: ipv4 Topology Name: voice Protocol Instance: OSPF-3 Router Context: context-ospf VRF Name: Address Family Name: Topology Name: Protocol Instance: OSPF-3 Router Context: context-vrfA VRF Name: vrfA Address Family Name: Topology Name: Protocol Instance: Context: context-voice VRF Name: Address Family Name: ipv4 Topology Name: voice Protocol Instance:
Additional References
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Multitopology Routing (MTR) commands |
Technical Assistance
Description |
Link |
---|---|
The Cisco Support and Documentation website provides online resources to download documentation, software, and tools. Use these resources to install and configure the software and to troubleshoot and resolve technical issues with Cisco products and technologies. Access to most tools on the Cisco Support and Documentation website requires a Cisco.com user ID and password. |
Feature Information for SNMP Support for MTR
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
SNMP Support for MTR |
12.2(33)SB 12.2(33)SRB 15.0(1)S |
Context-based SNMP functionality is integrated into Cisco software and can be used to support Multitopology Routing (MTR). SNMP support for MTR uses context-based Simple Network Management Protocol (SNMP) to extend support for existing MIBs from representing the management information for just the base topology to representing the same information for multiple topologies. The following commands were introduced or modified: show snmp context mapping, snmp context. |