Rip Configuration Example - IBM RackSwitch G8000 Application Manual

A top-of-rack (tor) switch
Hide thumbs Also See for RackSwitch G8000:
Table of Contents

Advertisement

RIP Configuration Example

214
RackSwitch G8000: Application Guide
The following is an example of RIP configuration.
Note: An interface RIP disabled uses all the default values of the RIP, no matter
how the RIP parameters are configured for that interface. RIP sends out RIP
regular updates to include an UP interface, but not a DOWN interface.
1. Add VLANs for routing interfaces.
>> # vlan 2
>> (config-vlan)# enable
>> (config-vlan)# member 2
Port 2 is an UNTAGGED port and its current PVID is 1.
Confirm changing PVID from 1 to 2 [y/n]: y
>> (config-vlan)# exit
>> # vlan 3
>> (config-vlan)# enable
>> (config-vlan)# member 3
Port 3 is an UNTAGGED port and its current PVID is 1.
Confirm changing PVID from 1 to 3 [y/n]: y
>> (config-vlan)# exit
2. Add IP interfaces with IPv4 addresses to VLANs.
>> # interface ip 2
>> (config-ip-if)# enable
>> (config-ip-if)# address 102.1.1.1
>> (config-ip-if)# vlan 2
>> (config-ip-if)# exit
>> # interface ip 3
>> (config-ip-if)# enable
>> (config-ip-if)# address 103.1.1.1
>> (config-ip-if)# vlan 3
3. Turn on RIP globally and enable RIP for each interface.
>> # router rip
>> (config-router-rip)# enable
>> (config-router-rip)# exit
>> # interface ip 2
>> (config-ip-if)# ip rip enable
>> (config-ip-if)# exit
>> # interface ip 3
>> (config-ip-if)# ip rip enable
>> (config-ip-if)# exit
Use the following command to check the current valid routes in the routing table of
the switch:
>> # show ip route
For those RIP routes learned within the garbage collection period, that are routes
phasing out of the routing table with metric 16, use the following command:
>> # show ip rip
Locally configured static routes do not appear in the RIP Routes table.

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents