Tuesday, August 19, 2014

Juniper RIP

Configuring Rip in Juniper.


Configuring routing protocol in juniper is a three step process.


1. Create a policy to enable rip on the interfaces

2.Create the policy to advertise directly connected or rip learnt routes

3. Apply the step one policy


Configuration.


1.
set protocols rip group RIP-PROTOCOL neighbor em0.0
set protocols rip group RIP-PROTOCOL neighbor em1.0

2.
set policy-options policy-statement RIP-ADVERTISEMENT-CUSTOM from protocol direct
set policy-options policy-statement RIP-ADVERTISEMENT-CUSTOM from protocol rip
set policy-options policy-statement RIP-ADVERTISEMENT-CUSTOM then accept

3.
set protocols rip group RIP-PROTOCOL export RIP-ADVERTISEMENT-CUSTOM


Xml Output

protocols {
    rip {
        group RIP-PROTOCOL {
            export RIP-ADVERTISEMENT-CUSTOM;
            neighbor em0.0;
            neighbor em1.0;
        }
    }
}
policy-options {
        policy-statement RIP-ADVERTISEMENT-CUSTOM {
        from protocol [ direct rip ];
        then accept;
}


1 comment:

  1. The show commands used are

    Show routing protocol rip
    show rip neighbor The neighbor is directly connected interface.

    ReplyDelete