IP Subnet-Zero Command on CISCO Router/Switch

Command

IP Subnet-Zero

Use

This command allows you to use the zero subnet for your IP addressing. This command is enabled by default on all devices.

Syntax

Router(config)#ip subnet-zero

Example

In the below example, we will display the configured DHCP information on R3.

R3(config)#no ip subnet-zero
R3(config)#int fa0/0
R3(config-if)#ip add 10.0.0.1 255.255.255.0
Bad mask /24 for address 10.0.0.1
R3(config-if)#ip subnet-zero
R3(config)#int fa0/0
R3(config-if)#ip add 10.0.0.1 255.255.255.0
R3(config-if)#

Related Articles

Leave a Reply

avatar