network
Use this command to specify a network as one that runs RIP. This command specifies the networks to which routing updates will be sent and received. If a network is not specified, the interfaces in that network will not be advertised in any RIP update.
Use the no parameter with this command to remove the specified network as one that runs RIP.
Command Syntax
network A.B.C.D/M
network IFNAME
no network A.B.C.D/M
no network IFNAME
Parameters
A.B.C.D/M
The IP address prefix and length of this IP network.
IFNAME
Alphanumeric string that defines the interface name.
Default
Disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router rip
(config-router)#network 10.0.0.0/8
(config-router)#network eth0
Last modified date: 08/28/2023