[Contents] [Prev] [Next] [Index] [Report an Error]


Configure Logical Router Interface Properties

With JUNOS software, you can partition a single physical router into multiple logical devices that perform independent routing tasks. Because logical routers perform a subset of the tasks once handled by the physical router, logical routers offer an effective way to maximize the use of a single router platform.

You can configure the following logical router statements:

[edit logical-routers logical-router-name]
interfaces interface-name {
    unit logical-unit-number {
        logical-interface-statements;
    }
}
policy-options {
    policy-options-statements;
}
protocols {
    protocols-statements;
}
routing-instances {
    routing-instances-statements;
}
routing-options {
    routing-options-statements;
}

For an overview of logical routers, see the JUNOS Internet Software Feature Guide. For detailed information about logical router configuration, see the JUNOS Internet Software Configuration Guide: Routing and Routing Protocols. For information about configuring peer relationships between logical routers, see Configure a Logical Tunnel.

To configure interface properties of a logical router, you must include the following statements at the [edit logical-routers logical-router-name] hierarchy level:

[edit logical-routers logical-router-name]
interfaces interface-name {
    unit logical-unit-number {
        logical-interface-statements;
    }
}

Example: Configure Logical Router Interface Properties

Configure a logical router's interface properties:

[edit interfaces t3-0/0/1]
description "Physical interface to be partitioned into multiple logical routers";

[edit logical-routers 1-on-t3-0/0/1]
interfaces t3-0/0/1 {
    unit 1 {
        family inet {
            address 10.0.0.1/32 {
                destination 10.0.0.2;
            }
        }
    }
}

[Contents] [Prev] [Next] [Index] [Report an Error]