Monitoring Virtual Routers
Use the show virtual-router, the show configuration virtual router, and show aaa domain-map commands to display virtual router and user-domain-to-virtual-router mapping information. Use the show ip forwarding table command to display information about memory usage by virtual routers.
show aaa domain-map
- Use to display the mapping between user domains and virtual routers.
- The following keywords have significance when used as user domains:
- noneAll client requests with no user domain name are associated with the virtual router mapped to the none entry
- defaultAll client requests with a domain present that has no map are associated with the virtual router mapped to the default entry
host1#show aaa domain-mapDomain: boston; virtual-router: defaultTunnel Tunnel Tunnel Tunnel Tunnel Tunnel Tunnel TunnelTag Peer Source Type Medium Password Id Hostname------ ------ ------ ------ ------ -------- ------ --------31 <null> <null> l2tp ipv4 <null> <null> <null>TunnelTunnel Server TunnelTag Name Preference------ ------ ----------31 <null> 2000show configuration virtual-router
- Use to display configuration information for the virtual routers configured on your router.
- You can create a configuration script from the output by saving it as a file with the .scr extension.
- You can exclude information about a particular type of interface.
- You can use the output filtering feature of the show command to include or exclude lines of output based on a text string that you specify. See Chapter 2, Command-Line Interface, for details.
- Example
host1#show configuration virtual-router defaultvirtual-router defaultip domain-lookupip name-server 10.2.0.3ip domain-name "junipercom.com"!host f 10.10.0.129 ftp anonymous nullinterface null 0!interface fastEthernet 0/0ip address 192.168.1.155 255.255.255.0!ip route 0.0.0.0 0.0.0.0 192.168.1.1no ip multicast-routing!mpls rsvp profile defaultmpls ldp profile default!rtr 1type echo protocol ipIcmpEcho 10.5.0.200 source fastEthernet0/0frequency 1samples-of-history-kept 5timeout 10000!show ip forwarding-table slot
- Use to display the memory used by each VR configured on a line module and free memory available on the line module.
- Field descriptions
- Free MemoryAmount of memory free on the line module, in kilobytes
- Virtual RouterName of the virtual routers configured on the line module
- Memory (KB)Amount of memory consumed by the VR, in kilobytes
- Load ErrorsCounts errors made while loading the routing table on the line module
- StatusIndicates whether the routing table for the VR is valid
host1#show ip forwarding-table slot 9Free Memory = 14,328KBVirtual Router Memory Load Errors Status(KB)---------------- --------- ------------- --------vr1 4128 0 Validvr2 3136 0 Validvr3 2256 0 Validvr4 1512 0 Validdefault 1024 0 Valid-----------------------------------------------------------show virtual-router
- Use to display the virtual routers and VRFs configured on your router.
- Use the summary keyword to display only the total number of virtual routers and the total number of VRF instances.
- Use the detail keyword to display the status of the routing protocols configured for each virtual router.
- Use the summary keyword with the detail keyword to display the number of VRF instances for each virtual router.
- Use the output filtering feature of the show command to include or exclude lines of output based on a text string you specify. See Chapter 2, Command-Line Interface, for details.
- Example 1
host1#show virtual-routerVirtual Router : defaultVirtual Router : vr1VRF : easternVRF : westernVRF : northernVRF : southernVirtual Router : vr2VRF : easternVRF : westernVRF : northernVRF : southernVirtual Router : vr3VRF : easternVRF : westernVRF : northernVRF : southernExample 2 host1#show virtual-router detailVirtual Router : defaultIp: PresentIpv6: Not PresentMgtm: Not PresentMgtmv6: Not PresentBgp: Not PresentIsis: PresentOspf: Not PresentPim: Not PresentRip: Not PresentIgmp: Not PresentMld: Not PresentDvmrp: Not PresentVirtual Router : vr1Ip: PresentIpv6: Not PresentMgtm: PresentMgtmv6: Not PresentBgp: Not PresentIsis: PresentOspf: PresentPim: PresentRip: Not PresentIgmp: Not PresentMld: Not PresentDvmrp: Not PresentExample 3 host1#show virual-router summary detailVirtual Router default VRF Count: 0Virtual Router vr1 VRF Count: 4Virtual Router vr2 VRF Count: 4Virtual Router vr3 VRF Count: 4Total VR Count: 4VRs with VRFs Count: 3VRs without VRFs Count: 1Total VRF Count: 12Total Count : 16