
24-47
Related Command:
passive-interface
24.25 network
Command:
network
<A.B.C.C/M
|
ifname>
no network
<A.B.C.C/M
|
ifname>
Function:
Configure the RIP protocol network.
Parameter:
<A.B.C.C/M
|>
is the IP address prefix and its length in the network.
<
ifname>
is the name of a interface.
Default:
Not running RIP protocol
Command Mode:
Router mode and address-family mode
Usage Guide:
Use this command to configure the network for sending or receiving RIP update packets. If the network is not
configured, all interfaces of the network will not be able to send or receive data packets.
Example:
Switch# config terminal
Switch(config)# router rip
Switch(config-router)# network 10.0.0.0/8
Switch(config-router)# network vlan 1
Related Command:
show ip rip, clear ip rip