DGS-6604
m
network
CLI Reference Guide
459
network
Use the command to specify that the network utilizes Routing Information
Protocol (RIP). To remove an RIP network entry, use the no form of this
command.
network
NETWORK
-
PREFIX
/
MASK
no network
NETWORK-PREFIX
/
MASK
Default
Not configured
Command Mode
Router configuration
Usage Guideline
Use this command to specify networks to which routing updates are sent and
received. If a network is not specified, the interfaces in that network will not be
advertised in any RIP update.
Example
The following example shows how to define RIP as the routing protocol to be
used on all interfaces connected to networks 192.168.70.0/24 and network
10.99.0.0/16
Verify the settings by entering the
show ip protocols rip
command.
Syntax Description
NETWORK-PREFIX /
MASK
The network prefix and the prefix length specify the destination network in the
form of xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/x.
Example: 10.9.18.2 255.0.0.0 or 10.9.18.2/8
Switch# configure terminal
Switch(config)# router rip
Switch(config-router)# network 192.168.70.0/24
Swtich(config-router)# network 10.99.0.0/16
Switch(config-router)# end