PrepAway - Latest Free Exam Questions & Answers

Which command will display only direct routes?

Which command will display only direct routes?

PrepAway - Latest Free Exam Questions & Answers

A.
show route

B.
show route inet 0 direct

C.
show ip route direct

D.
show ip route protocol direct

7 Comments on “Which command will display only direct routes?

  1. amatod says:

    The site says Answer is D.

    Well…Here is output from an SRX running version 11 of Junos

    S2SAdmin@SRXBranch> show i
    ^
    ‘i’ is ambiguous.
    Possible completions:
    iccp Show Inter Chassis Control Protocol information
    igmp Show Internet Group Management Protocol information
    ingress-replication Show Ingress-Replication tunnel information
    interfaces Show interface information
    ipv6 Show IP version 6 information
    isdn Show Integrated Services Digital Network information
    isis Show Intermediate System-to-Intermediate System information
    S2SAdmin@SRXBranch> edit
    Entering configuration mode
    The configuration has been changed but not committed

    [edit]
    S2SAdmin@SRXBranch# show i?
    Possible completions:
    > interfaces Interface configuration
    [edit]

    S2SAdmin@SRXBranch> show route i?
    Possible completions:
    IP address and optional prefix length of destination
    inactive-path Show inactive paths
    inactive-prefix Show inactive route destinations
    instance Show routing instances information

    And you cannot use the show route command in Config mode so That pretty much narrows it down to Show Route being the correct answer.

    So I assume that A is more than likely correct.




    0



    0
    1. amatod says:

      Correct, So now that the answer is properly typed…The correct answer is D.

      Thank you for that comment.

      Proof below

      SRXBranch> show route protocol direct

      inet.0: 3 destinations, 3 routes (3 active, 0 holddown, 0 hidden)
      + = Active Route, – = Last Active, * = Both

      192.168.15.0/24 *[Direct/0] 4w1d 23:20:29
      > via fe-0/0/0.0

      trust-vr.inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden)
      + = Active Route, – = Last Active, * = Both

      172.20.202.113/32 *[Direct/0] 4w1d 23:21:05
      > via lo0.0
      192.168.96.0/24 *[Direct/0] 4w1d 23:20:35
      > via vlan.0




      0



      0

Leave a Reply