Cisco Systems OL-4580-01 Switch User Manual


 
5-3
Cisco Content Services Switch Routing and Bridging Configuration Guide
OL-4580-01
Chapter 5 Configuring Routing Information Protocol
Configuring RIP Advertise
Configuring RIP Advertise
To advertise a route through RIP on the CSS, use the rip advertise command. The
syntax for this command is:
rip advertise ip_address subnet_mask {metric}
The variables for this command are as follows:
ip_address - The IP address for the route prefix. Enter an IP address in
dotted-decimal notation (for example, 192.168.1.0).
subnet_mask - The IP prefix length in CIDR bitcount notation (for example,
/24) or in dotted-decimal notation (for example, 255.255.255.0).
metric - (Optional) Metric to use when advertising this route. Enter a number
from 1 to 15. The default is 1.
For example:
(config)# rip advertise 192.168.1.0/24 9
Note The network does not have to be present in the routing table to be advertised. The
SNTP ip advertise command is intended for advertising VIP addresses.
To stop advertising a route through RIP on the CSS, enter:
(config)# no rip advertise 192.168.1.0/24
Configuring RIP Redistribute
By default, RIP advertises RIP routes and local routes for interfaces running RIP.
Use the rip redistribute command to advertise routes from other protocols
through RIP. This command instructs RIP to advertise other routes, such as
firewall routes, OSPF routes, and so on.
The syntax for this command is
rip redistribute [firewall|local|ospf|static] {metric}