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 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:
- 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-map
Domain: boston; virtual-router: default
Tunnel Tunnel Tunnel Tunnel Tunnel Tunnel Tunnel Tunnel
Tag Peer Source Type Medium Password Id Hostname
------ ------ ------ ------ ------ -------- ------ --------
31 l2tp ipv4
Tunnel
Tunnel Server Tunnel
Tag Name Preference
------ ------ ----------
31 2000
show 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 you specify. See Chapter 2, Command-Line Interface, for details.
- Example
host1#show configuration virtual-router default
virtual-router default
ip domain-lookup
ip name-server 10.2.0.3
ip domain-name "junipercom.com"
!
host f 10.10.0.129 ftp anonymous null
interface null 0
!
interface fastEthernet 0/0
ip address 192.168.1.155 255.255.255.0
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
no ip multicast-routing
!
mpls rsvp profile default
mpls ldp profile default
cr-ldp
!
rtr 1
type echo protocol ipIcmpEcho 10.5.0.200 source fastEthernet0/0
frequency 1
samples-of-history-kept 5
timeout 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 9
Free Memory = 14,328KB
Virtual Router Memory Load Errors Status
(KB)
---------------- --------- ------------- --------
vr1 4128 0 Valid
vr2 3136 0 Valid
vr3 2256 0 Valid
vr4 1512 0 Valid
default 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.
- 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 1
host1#show virtual-router
Virtual Router : default
Virtual Router : vr1
VRF : eastern
VRF : western
VRF : northern
VRF : southern
Virtual Router : vr2
VRF : eastern
VRF : western
VRF : northern
VRF : southern
Virtual Router : vr3
VRF : eastern
VRF : western
VRF : northern
VRF : southern
Example 2host1#show virtual-router detail
Virtual Router : default
Ip: Present
Ipv6: Not Present
Mgtm: Not Present
Mgtmv6: Not Present
Bgp: Not Present
Isis: Present
Ospf: Not Present
Pim: Not Present
Rip: Not Present
Igmp: Not Present
Mld: Not Present
Dvmrp: Not Present
Virtual Router : vr1
Ip: Present
Ipv6: Not Present
Mgtm: Present
Mgtmv6: Not Present
Bgp: Not Present
Isis: Present
Ospf: Present
Pim: Present
Rip: Not Present
Igmp: Not Present
Mld: Not Present
Dvmrp: Not Present
Example 3host1#show virual-router summary detail
Virtual Router default VRF Count: 0
Virtual Router vr1 VRF Count: 4
Virtual Router vr2 VRF Count: 4
Virtual Router vr3 VRF Count: 4
Total VR Count: 4
VRs with VRFs Count: 3
VRs without VRFs Count: 1
Total VRF Count: 12
Total Count : 16