Navigation
Supported Platforms
Verifying That Virtual Routing Instances Are Working
Purpose
After creating a virtual routing instance, make sure it is set up properly.
Action
- Use the show route instance command
to list all of the routing instances and their properties:
user@switch> show route instance
Instance Type Primary RIB Active/holddown/hidden master forwarding inet.0 3/0/0 __juniper_private1__ forwarding __juniper_private1__.inet.0 1/0/3 __juniper_private2__ forwarding instance1 forwarding r1 virtual-router r1.inet.0 1/0/0 r2 virtual-router r2.inet.0 1/0/0
- Use the show route forwarding-table command
to view the forwarding table information for each routing instance:
user@switch> show route forwarding-table
Routing table: r1.inet Internet: Destination Type RtRef Next hop Type Index NhRef Netif default perm 0 rjct 539 2 0.0.0.0/32 perm 0 dscd 537 1 103.1.1.0/24 ifdn 0 rslv 579 1 ge-0/0/3.0 103.1.1.0/32 iddn 0 103.1.1.0 recv 577 1 ge-0/0/3.0 103.1.1.1/32 user 0 rjct 539 2 103.1.1.1/32 intf 0 103.1.1.1 locl 578 2 103.1.1.1/32 iddn 0 103.1.1.1 locl 578 2 103.1.1.255/32 iddn 0 103.1.1.255 bcst 576 1 ge-0/0/3.0 224.0.0.0/4 perm 0 mdsc 538 1 224.0.0.1/32 perm 0 224.0.0.1 mcst 534 1 255.255.255.255/32 perm 0 bcst 535 1
Meaning
The output confirms that the virtual routing instances are created and the links are up and displays the routing table information.