Monitoring Virtual Routers
Use the show 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 on 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:
- none - all client requests with no user domain name are associated with the virtual router mapped to the none entry
- default - all 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 system.
- 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 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 defaultcr-ldp!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 Memory - amount of memory free on the line module, in kilobytes
- Virtual Router - name of the virtual routers configured on the line module
- Memory (KB) - amount of memory consumed by the VR, in kilobytes
- Load Errors - counts errors made while loading the routing table on the line module
- Status - indicates 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 virtual routers configured on your system.
- The display shows the name of the virtual router and the status of the supported protocols.
- You can 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
host1-0-6-60#show virtual-routerVirtual Router : defaultIp: PresentBgp: PresentIsis: PresentOspf: Not PresentRip: PresentVirtual Router : twoIp: PresentBgp: Not PresentIsis: Not PresentOspf: Not PresentRip: PresentVirtual Router : threeIp: PresentBgp: Not PresentIsis: Not PresentOspf: Not PresentRip: Present