network
Use network to enable RIP on an interface attached to a specified network.
Use undo network to disable RIP on an interface attached to a specified network.
Syntax
network network-address [ wildcard-mask ]
undo network network-address
Default
RIP is disabled on an interface.
Views
RIP view
Predefined user roles
network-admin
mdc-admin
Parameters
network-address: Specifies a subnet address where an interface resides.
wildcard-mask: Specifies an IP address wildcard mask. A wildcard mask can be thought of as a subnet mask, with 1s and 0s inverted. For example, a wildcard mask of 255.255.255.0 corresponds to a subnet mask of 0.0.0.255.
Usage guidelines
RIP runs only on an interface attached to the specified network, which can be configured with a wildcard mask. An interface not on the specified network does not receive or send RIP routes, or advertise its direct routes.
For a single RIP process, the network 0.0.0.0 command can enable RIP on all interfaces. If multiple RIP processes exist, the command is not applicable.
If a physical interface is attached to multiple networks, you cannot advertise these networks in different RIP processes.
Examples
# Enable RIP process 100 on the interface attached to the network 129.102.0.0.
<Sysname> system-view [Sysname] rip 100 [Sysname-rip-100] network 129.102.0.0
Related commands
rip enable