H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 233

Advertising
background image

24-15

[AC-rip-1] network 172.17.0.0

[AC-rip-1] quit

# Configure Switch.

<Switch> system-view

[Switch] rip

[Switch-rip-1] network 192.168.1.0

[Switch-rip-1] network 10.0.0.0

[Switch-rip-1] quit

# Display the RIP routing table of AC.

[AC] display rip 1 route

Route Flags: R - RIP, T - TRIP

P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect

-------------------------------------------------------------------------

Peer 192.168.1.2 on Vlan-interface100

Destination/Mask Nexthop Cost Tag Flags Sec

10.0.0.0/8 192.168.1.2 1 0 RA 11

From the routing table, you can find RIPv1 uses natural mask.

3) Configure RIP version

# Configure RIPv2 on AC.

[AC] rip

[AC-rip-1] version 2

[AC-rip-1] undo summary

# Configure RIPv2 on Switch.

[Switch] rip

[Switch-rip-1] version 2

[Switch-rip-1] undo summary

# Display the RIP routing table on AC.

[AC] display rip 1 route

Route Flags: R - RIP, T - TRIP

P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect

--------------------------------------------------------------------------

Peer 192.168.1.2 on Vlan-interface100

Destination/Mask Nexthop Cost Tag Flags Sec

10.2.1.0/24 192.168.1.2 1 0 RA 16

10.1.1.0/24 192.168.1.2 1 0 RA 16

From the routing table, you can see RIPv2 uses classless subnet masks.

Since RIPv1 routing information has a long aging time, it will still exist until aged out after RIPv2 is
configured.

Advertising