network
This command specifies the network interfaces that will be included in the RIP
routing process. Use the
no
form to remove an entry.
Syntax
[
no
]
network
subnet-address
subnet-address – IP address of a network directly connected to this r outer.
Command Mode
Router Configuration
Default Setting
No networks are specified.
Command Usage
RIP only sends updates to interfaces specif ied by this com mand.
Subnet addresses are interpreted as class A, B or C, based on the firs t field
in the specified address. In other words, if a subne t addre ss nnn. xxx.xxx .xxx
is entered, the first field (nnn) determines the class:
0 - 127 is class A, and only the first field in the network address is used.
128 - 191 is class B, and the first two fields in the netwo rk add ress are u sed.
192 - 223 is class C, and the first three fields in the network address are use d .
Example
This example includes network interface 10.1.0.0 in the RIP routing process.
Console(config-router)#network 10.1.0.0
Console(config-router)#
Related Commands
router rip (42-6)
neighbor
This command defines a neighboring router with which this router will exchange
routing information. Use the
no
form to remove an entry.
Syntax
[
no
]
neighbor
ip-address
ip-address - IP address to map to a specified hardware a ddress.
Command Mode
Router Configuration
Default Setting
No neighbors are defined.
42-9
Routing Information Protocol (RIP)
42