RIP configuration example of the Juniper router

xiaoxiao2021-03-06  31

Root @ rt3 # show version 6.3r3.1; system {host-name {unit 0 {family {address 10.2.2.1/24;}}}}} fxp1 {speed 10m; link-mode half-duplex Unit 0 {Family inet {address 10.3.3.1/24;}}} LO0 {Unit 0 {Family}} 172.16.1.1/32;}}}} routing-options}} routing-options}} routing-options {static {route 10.7.7.0/24 repject; // Equivalent to Cisco's IP Route 10.7.7.0 255.255.255.0 null0}} protocols {rip {group juniper {export send-statics; // Define forwarding policies, Juniper will not declare direct connection network by default, need to define forwarding strategies Here "Send-Statics" is a policy name, which can customize neighbor fxp0.0; neighbor fxp1.0; // Individual understanding: Rip}}} policy-options}}} POLICY-Options {Policy-Statement Send-Statics} Term 1 {from protocol static; Then Accept; // Equivalent to Cisco's Redistribut Static, Release Static Routing} Term 2 { From interface lo0.0; the accept;} Term 3 {from interface [fxp0.0 fxp1.0]; the accept; // will release the route received on these interfaces, including these interfaces}}}}} // Juniper As long as the route is received by default, the route information is not enabled on the interface, it is necessary to define the forwarding policy, and Juniper uses RIPv2 by default, and the automatic summary is turned off.

转载请注明原文地址:https://www.9cbs.com/read-40005.html

New Post(0)