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:
Configure the VLAN and IP address of each interface to make the network reachable.
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 64Step2 Enable RIPng for the specified network segment.
admin@SwitchA# set protocols ripng network FC00:0:0:1000::0/64Step3 Enable IP routing.
admin@SwitchA# set ip routing enable trueStep4 Commit the configuration.
admin@SwitchA# commitSwitch 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 64Step2 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/64Step3 Enable IP routing.
admin@SwitchB# set ip routing enable trueStep4 Commit the configuration.
admin@SwitchB# commitSwitch 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 64Step2 Enable RIPng for the specified network segment.
admin@SwitchC# set protocols ripng network FC00:0:0:3000::0/64Step3 Enable IP routing.
admin@SwitchC# set ip routing enable trueStep4 Commit the configuration.
admin@SwitchC# commitSwitch 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 64Step2 Enable RIPng for the specified network segment.
admin@SwitchD# set protocols ripng network FC00:0:0:3000::0/64Step3 Enable IP routing.
admin@SwitchD# set ip routing enable trueStep4 Commit the configuration.
admin@SwitchD# commitVerifying 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