Routing

last person joined: 3 days ago 

Ask questions and share experiences about ACX Series, CTP Series, MX Series, PTX Series, SSR Series, JRR Series, and all things routing, including portfolios and protocols.
  • 1.  VRF interfaces

    Posted 09-02-2019 00:13

    Hi,

     

    Is it possible to create an interface list for local interfaces that the routing-instance (vrf) would call on, rather than a long list of interfaces within the body of the vrf config:

    description ACME;
    instance-type vrf;
    interface ge-0/0/0.0;
    interface ge-0/0/0.1;
    interface ge-0/0/0.2;
    <lots more>
    interface ge-0/0/0.50;
    interface ge-0/0/0.51;
    interface lo0.0;
    route-distinguisher 64550:001;
    vrf-import ACME_IMPORT;
    vrf-export ACME_EXPORT;
    vrf-table-label;
    routing-options {
    maximum-prefixes 5000 threshold 70;
    router-id 192.168.0.1;
    autonomous-system 64550;
    }

     



  • 2.  RE: VRF interfaces
    Best Answer

    Posted 09-02-2019 00:55

    Yes you can do it by using wildcard in configuration group. 

    https://www.juniper.net/documentation/en_US/junos/topics/topic-map/configuration-groups-usage.html

    e.g. 

     

    set groups <GROUP_NAME> interfaces <*> mtu 9014
    set groups <GROUP_NAME> interfaces <*> unit <*> family inet filter input GROUP-OUT-V4
    set groups <GROUP_NAME> interfaces <*> unit <*> family inet filter output GROUP-IN-V4
    set groups <GROUP_NAME> interfaces <*> unit <*> family inet6 filter input GROUP-IN-V6
    set groups <GROUP_NAME> interfaces <*> unit <*> family inet6 filter output GROUP-OUT-V6

    Please confirm if that helps. 



  • 3.  RE: VRF interfaces

    Posted 09-02-2019 01:32

    hank you very much for the quick response, looks good use 🙂