Configuring Routing Information Protocol
Maybe your like
| Sun Netra CP3240 Switch User’s Guide |
| C H A P T E R 15 |
| Configuring Routing Information Protocol |
This chapter describes how to configure the routing information protocol (RIP).
Routing Information Protocol (RIP) is one of the protocols which may be used by routers to exchange network topology information. It is characterized as an “interior” gateway protocol, and is typically used in small to medium-sized networks.
This chapter contains the following topics:
- Section , Understanding Routing Information Protocol
- Section , Configuring RIP via CLI
- Section , Configuring RIP via Web Interface
Understanding Routing Information Protocol
A router running RIP sends the contents of its routing table to each of its adjacent routers every 30 seconds. When a route is removed from the routing table it is flagged as unusable by the receiving routers after 180 seconds, and removed from their tables after an additional 120 seconds.
There are two versions of RIP:
- RIPv1 defined in RFC 1058
- Routes are specified by IP destination network and hop count
- The routing table is broadcast to all stations on the attached network
- RIPv2 defined in RFC 1723
- Route specification is extended to include subnet mask and gateway
- The routing table is sent to a multicast address, reducing network traffic
- An authentication method is used for security
The Netra CP3240 switch supports both versions of RIP. You can configure a given port to:
- receive packets in either or both formats
- transmit packets formatted for RIPv1 or RIPv2 or to send RIPv2 packets to the RIPv1 broadcast address
- prevent any RIP packets from being received
- prevent any RIP packets from being transmitted
Configuring RIP via CLI
The configuration commands used in the following example enable RIP on ports 0/2 and 0/3 as shown in the network illustrated in Port Routing Example Network Diagram
FIGURE 15-1 Port Routing Example Network Diagram
Example 1: Enable Routing for the Switch:
The following sequence enables routing for the switch:
| config ip routing exit |
Example 2: Enable Routing for Ports
The following command sequence enables routing and assigns IP addresses for ports 1/0/2 and 1/0/3.
| config interface 0/2 routing ip address 192.150.2.1 255.255.255.0 exit interface 0/3 routing ip address 192.150.3.1 255.255.255.0 exit exit |
Example 3. Enable RIP for the Switch
The next sequence enables RIP for the switch. The route preference defaults to 15.
| config router rip enable exit exit |
Example 4. Enable RIP for Ports 1/0/2 and 1/0/3
This command sequence enables RIP for ports 0/2 and 0/3. Authentication defaults to none, and no default route entry is created. The commands specify that both ports receive both RIPv1 and RIPv2 frames, but send only RIPv2 formatted frames.
| config interface 0/2 ip rip ip rip receive version both ip rip send version rip2 exit interface 0/3 ip rip ip rip receive version both ip rip send version rip2 exit exit |
Configuring RIP via Web Interface
Use the following screens to perform the same configuration using the Graphical User Interface:
- Routing --> IP --> Interface Configuration--> System Routing Mode. To enable routing for the switch.
- Routing --> IP --> Interface Configuration --> Slot Port IP Address Subnet Mask Routing Mode. For the remaining commands.
- Routing --> RIP --> Config --> RIP Admin Mode. To enable RIP for the switch.
- Routing --> RIP --> Interface Configuration. To enable RIP for the ports and specify the RIP versions.
| Sun Netra CP3240 Switch User’s Guide | 820-3252-11 |
© 2007 Diversified Technology, Inc. All Rights Reserved. © 2009 Sun Microsystems, Inc. All rights reserved.
Tag » What Is Routing Information Protocol
-
Routing Information Protocol (RIP) - GeeksforGeeks
-
Routing Information Protocol - Wikipedia
-
How Routing Information Protocol (RIP) Works - TechTarget
-
Routing Information Protocol - IBM
-
What Is Routing Information Protocol (RIP)? - Metaswitch
-
What Is A Routing Information Protocol (RIP) And How Does It Work ...
-
RIP And RIPng Overview | Junos OS - Juniper Networks
-
RFC 1058 - Routing Information Protocol - IETF Datatracker
-
Routing Information Protocol: Definition, Function & Versions
-
What Is The RIP Protocol? - Definition From Techopedia
-
EOS 4.28.2F - Routing Information Protocol (RIP) - Arista
-
Routing Information Protocol (RIP) - Aruba Networks
-
What Is The Routing Information Protocol? - EasyTechJunkie