C
HAPTER
45
| IP Routing Commands
Routing Information Protocol (RIP)
– 1029 –
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 of a neighboring router.
DEFAULT SETTING
No neighbors are defined.
COMMAND MODE
Router Configuration
COMMAND USAGE
◆ This command can be used to configure a static neighbor (specifically
for point-to-point links) with which this router will exchange routing
information, rather than relying on broadcast or multicast messages
generated by the RIP protocol.
◆ Use this command in conjunction with the passive-interface command
to control the routing updates sent to specific neighbors.
EXAMPLE
Console(config-router)#neighbor 10.2.0.254
Console(config-router)#
RELATED COMMANDS
passive-interface (1030)
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 {ip-address netmask | vlan vlan-id}
ip-address – IP address of a network directly connected to this
router.
netmask - Network mask for the route. This mask identifies the
network address bits used for the associated routing entries.
vlan-id - VLAN ID. (Range: 1-4093)
DEFAULT SETTING
No networks are specified.
COMMAND MODE
Router Configuration