/
RIPv2 Routing Protocol Configuration
RIPv2 Routing Protocol Configuration
NOTE:
Enable IP routing function before using this feature, for details please refer to Configuring IP Routing.
In L2/L3, RIPv2 is supported. A policy statement is used to specify which route entry will be distributed. For example, static route or the connected route can be distributed to a neighbor. Also, the distributed route metric can be specified. The RIPv2 interface parameters (accept-default-route, advertise-default-route, deletion-delay, request-interval, update-interval) can be configured.
admin@XorPlus# set vlans vlan-id 2 admin@XorPlus# set interface gigabit-ethernet ge-1/1/1 family ethernet-switching native-vlan-id 2 admin@XorPlus# set vlans vlan-id 2 l3-interface vlan-2 admin@XorPlus# set vlan-interface interface vlan-2 vif vlan-2 address 192.168.1.1 prefix-length 24 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set vlans vlan-id 3 admin@XorPlus# set vlans vlan-id 3 l3-interface vlan-3 admin@XorPlus# set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 3 admin@XorPlus# set vlan-interface interface vlan-3 vif vlan-3 address 192.168.2.1 prefix-length 24 admin@XorPlus# set protocols static route 9.9.9.0/24 next-hop 192.168.2.2 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set policy policy-statement connected-to-rip term export from protocol connected admin@XorPlus# set policy policy-statement connected-to-rip term export then metric 0 admin@XorPlus# set policy policy-statement static-to-rip term export from protocol static admin@XorPlus# set policy policy-statement static-to-rip term export then metric 1 admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus# set protocols rip interface vlan-2 vif vlan-2 address 192.168.1.1 admin@XorPlus# set protocols rip export "connected-to-rip,static-to-rip" admin@XorPlus# commit Waiting for merging configuration. Commit OK. Save done. admin@XorPlus#
You can verify the RIP configuration:
admin@XorPlus# run show rip status all * RIP on vlan-2vlan-2 192.168.1.1 Status: enabled admin@XorPlus# admin@XorPlus# run show rip statistics all * RIP on vlan-2vlan-2 192.168.1.1 Status: enabled Counter Value -------------------------------- ---------------- Requests Sent 7 Updates Sent 6 Triggered Updates Sent 1 Non-RIP Updates Sent 0 Total Packets Received 0 Request Packets Received 0 Update Packets Received 0 Bad Packets Received 0 Authentication Failures 0 Bad Routes Received 0 Non-RIP Requests Received 0
- 0
, multiple selections available,
Related content
RIPv2 Routing Configuration Example
RIPv2 Routing Configuration Example
More like this
Configuring RIP Route Redistribute
Configuring RIP Route Redistribute
More like this
Configuring RIP Route Redistribute
Configuring RIP Route Redistribute
More like this
Configuring RIP Route Redistribute
Configuring RIP Route Redistribute
More like this
Configuring RIP Route Redistribute
Configuring RIP Route Redistribute
More like this
Configuring RIP Route Redistribute
Configuring RIP Route Redistribute
More like this
Copyright © 2025 Pica8 Inc. All Rights Reserved.