Example for Configuring Basic RIPng

Example for Configuring Basic RIPng


Networking Requirements

Figure 1. RIPng Configuration Example

As shown in Figure 1, there are four switches in a small network. It is required to enable RIPng on all interfaces of SwitchA, SwitchB, SwitchC, and SwitchD to interconnect the network through RIPng.

Follow the configuration roadmap below to complete the configuration:

  1. Configure the VLAN and IP address of each interface to make the network reachable.

  2. Enable RIPng on each switch to basically achieve network interconnection.

Procedure

Switch A

Step1         Configure VLAN interface.

admin@SwitchA# set vlans vlan-id 10 l3-interface vlan10 admin@SwitchA# set interface gigabit-ethernet te-1/1/1 family ethernet-switching vlan members 100 admin@SwitchA# set l3-interface vlan-interface vlan10 address FC00:0:0:1000::1 prefix-length 64

Step2         Enable RIPng for the specified network segment.       

admin@SwitchA# set protocols ripng network FC00:0:0:1000::0/64

Step3         Enable IP routing.

admin@SwitchA# set ip routing enable true

Step4         Commit the configuration.

admin@SwitchA# commit

Switch B

Step1         Configure VLAN interface.

admin@SwitchB# set vlans vlan-id 10 l3-interface vlan10 admin@SwitchB# set vlans vlan-id 20 l3-interface vlan20 admin@SwitchB# set vlans vlan-id 30 l3-interface vlan30 admin@SwitchB# set interface gigabit-ethernet te-1/1/1 family ethernet-switching vlan members 20 admin@SwitchB# set interface gigabit-ethernet te-1/1/3 family ethernet-switching vlan members 10 admin@SwitchB# set interface gigabit-ethernet te-1/1/4 family ethernet-switching vlan members 30 admin@SwitchB# set l3-interface vlan-interface vlan10 address FC00:0:0:1000::2 prefix-length 64 admin@SwitchB# set l3-interface vlan-interface vlan20 address FC00:0:0:2000::1 prefix-length 64 admin@SwitchB# set l3-interface vlan-interface vlan30 address FC00:0:0:3000::1 prefix-length 64

Step2         Enable RIPng for the specified network segment.

admin@SwitchB# set protocols ripng network FC00:0:0:1000::0/64 admin@SwitchB# set protocols ripng network FC00:0:0:2000::0/64 admin@SwitchB# set protocols ripng network FC00:0:0:3000::0/64

Step3         Enable IP routing.

admin@SwitchB# set ip routing enable true

Step4         Commit the configuration.

admin@SwitchB# commit

Switch C

Step1         Configure VLAN interface.

admin@SwitchC# set vlans vlan-id 30 l3-interface vlan30 admin@SwitchC# set interface gigabit-ethernet te-1/1/2 family ethernet-switching vlan members 30 admin@SwitchC# set l3-interface vlan-interface vlan30 address FC00:0:0:3000::2 prefix-length 64

Step2         Enable RIPng for the specified network segment.         

admin@SwitchC# set protocols ripng network FC00:0:0:3000::0/64

Step3         Enable IP routing.

admin@SwitchC# set ip routing enable true

Step4         Commit the configuration.

admin@SwitchC# commit

Switch D

Step1         Configure VLAN interface.

admin@SwitchD# set vlans vlan-id 20 l3-interface vlan20 admin@SwitchD# set interface gigabit-ethernet te-1/1/3 family ethernet-switching vlan members 20 admin@SwitchD# set l3-interface vlan-interface vlan20 address FC00:0:0:2000::2 prefix-length 64

Step2         Enable RIPng for the specified network segment.         

admin@SwitchD# set protocols ripng network FC00:0:0:3000::0/64

Step3         Enable IP routing.

admin@SwitchD# set ip routing enable true

Step4         Commit the configuration.

admin@SwitchD# commit

Verifying the Configuration

  • On Switch A, use command run show ripng to view RIPng route table.

admin@SwitchA# run show ripng Codes: R - RIPng, C - connected, S - Static, O - OSPF, B - BGP Sub-codes: (n) - normal, (s) - static, (d) - default, (r) - redistribute, (i) - interface, (a/S) - aggregated/Suppressed Network Next Hop Via Metric Tag Time C(i) FC00:0:0:1000::0/64 :: self 1 0 R(n) FC00:0:0:3000::0/64                              FC00:0:0:1000::2    vlan10 2 0 02:58 R(n) FC00:0:0:2000::0/64                              FC00:0:0:1000::2    vlan10 2 0 02:58

 

 

 

Copyright © 2026 Pica8 Inc. All Rights Reserved.