Documentation

nodeaddindex

Name

net add subnet -  add a subnet (model of a LAN)

Synopsis

subnet <prefix> <transit|stub> 

Arguments

prefix
subnet identifier (an IP prefix)
transit|stub
conditions traversal by IGP computed paths

Description

This command adds a new subnet to the simulation. A subnet is a simplified model of a LAN where multiple nodes can connect. The subnet is identified by an IP prefix.

A subnet can have two different behaviours: "transit" or "stub", as specified with the transit|stub argument. If the subnet is in transit mode, that means that the IGP model can compute shortest-paths that traverse this subnet. Otherwise, if the subnet is in stub mode, no shortest-path can traverse the subnet (it will only be a leaf in shortest-paths trees).

See also

See command net domain X compute for more information about IGP computed paths.