subnet

Specifies the local IP address with the subnet mask of the routing device.

Syntax

subnet subnet_addr
no subnet subnet_addr

Command Default

The command is disabled by default.

Parameters

subnet_addr
Specifies the subnet mask of the IP address.

Modes

MPLS CSPF-group configuration mode

Usage Guidelines

When the command is configured, every link in the subnet is penalized.

The no form of the command disables the command.

MPLS is supported on the Extreme 8820, SLX 9740, SLX 9640, and SLX 9540 devices only.

Examples

The following example configures subnet 10.1.2.0 with a mask length of 24.

device# configure
device(config)# router mpls
device(config-router-mpls)# cspf-group group3
device(config-router-mpls-cspf-group-group3)# subnet 10.1.2.0/24