Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    set distance

    Syntax

    set distance distance

    no set distance

    Release Information

    Command introduced before JunosE Release 7.1.0.

    Description

    Configures an administrative distance to apply to routes that match the route map. The no version removes the set clause from a route map.

    Note: Setting a distance in a route map is useful only when it is set on a route being installed into the routing table. Distance is used to establish preference between routes to the same prefix to identify the best route to that prefix. Setting distance in any other circumstance has no effect.

    Options

    • distance—Administrative distance in the range 0–255

    Mode

    Route Map Configuration

    Published: 2014-08-18