Using Groups to add OSPF/IS-IS interfaces



  • Does anyone know how to use groups to bulk apply interfaces to OSPF or IS-IS? I have tried with no success. The following configuration for example does not work.

    groups {
    ospf-interfaces {
        protocols {
            ospf {
                area <> {
                    interface <ge-0 0="" 0.
    ="">;
                }
            }
        }
    }
    isis-interfaces {
        protocols {
            isis {
                interface <ge-0 0="" 0.*="">;
            }
        }
    }

    protocols {     
    ospf {
        apply-groups ospf-interfaces;
    }
    isis {
        apply-groups isis-interfaces;
    }

    r1# run show isis interface

    r1# run show ospf interface</ge-0></ge-0>


 

26
Online

38.5k
Users

12.7k
Topics

44.5k
Posts