Alcatel-Lucent 6850-48 Guida Di Rete

Pagina di 1162
RIP Routing
Configuring RIP
page 28-8
OmniSwitch AOS Release 6 Network Configuration Guide
September 2009
• v2. Only RIPv2 packets will be sent by the switch.
• v1compatible. Only RIPv2 broadcast packets (not multicast) will be sent by the switch.
• none. Interface will not forward RIP packets.
The default RIP send option is v2.
Use the show ip rip interface command to display the current interface send option.
Configuring the RIP Interface Receive Option
The RIP Receive option defines the type(s) of RIP packets that the interface will accept. Using this 
command will override RIP default behavior. Other devices must be able to interpret the information 
provided by this command or routing information will not be properly exchanged between the switch and 
other devices on the network. 
Use th
 command to configure an individual RIP interface Receive option. 
Enter the IP address of the RIP interface, and then enter a Receive option. For example, to configure RIP 
interface rip-1 to receive only RIPv1 packets you would enter:
-> ip rip interface rip-1 recv-version v1
The Receive options are:
• v1. Only RIPv1 packets will be received by the switch.
• v2. Only RIPv2 packets will be received by the switch.
• both. Both RIPv1 and RIPv2 packets will be received by the switch.
• none. Interface ignores any RIP packets received.
The default RIP receive option is both
Configuring the RIP Interface Metric
You can set priorities for routes generated by a switch by assigning a metric value to routes generated by 
that switch’s RIP interface. For example, routes generated by a neighboring switch may have a hop count 
of 1. However, you can lower the priority of routes generated by that switch by increasing the metric value 
for routes generated by the RIP interface.
Note. When you configure a metric for a RIP interface, this metric cost is added to the metric of the 
incoming route.
Use th
 
command to configure the RIP metric or cost for routes generated by a 
RIP interface. Enter the IP address of the RIP interface as well as a metric value. For example, to set a 
metric value of 2 for the RIP interface rip-1 you would enter:
-> ip rip interface rip-1 metric 2
The valid metric range is 1 to 15. The default is 1.
Use the show ip rip interface command to display the current interface metric.