4.2.2. network

Syntax

network A.B.C.D/M

nonetwork A.B.C.D/M

Parameter

A.B.C.D/M

ip prefix, Network/length, for example, 10.0.0.0/8

Default

Mode

Rip mode

Usage

Use the command network to enable routing on the IP network.

Example

Enable IP network routing.

Switch(config)# rip
Switch(config-rip) network 12.0.0.0/8