Secondary – Alcatel-Lucent 7750 SR OS User Manual

Page 103

Advertising
background image

IP Router Configuration

7750 SR OS Router Configuration Guide

Page 103

secondary

Syntax

secondary {[ip-address/mask | ip-address netmask]} [broadcast {all-ones | host-ones}]
[igp-inhibit]
no secondary ip-addr

Context

config>router>interface ip-int-name

Description

Use this command to assign up to 16 secondary IP addresses to the interface. Each address can be
configured in an IP address, IP subnet or broadcast address format.

ip-address — The IP address of the IP interface. The ip-address portion of the address command

specifies the IP host address that will be used by the IP interface within the subnet. This address
must be unique within the subnet and specified in dotted decimal notation.

Values

1.0.0.0 — 223.255.255.255

/ — The forward slash is a parameter delimiter that separates the ip-address portion of the IP address

from the mask that defines the scope of the local subnet. No spaces are allowed between the ip-
addr
, the “/” and the mask-length parameter. If a forward slash does not immediately follow the
ip-addr, a dotted decimal mask must follow the prefix.

mask-length — The subnet mask length when the IP prefix is specified in CIDR notation. When the

IP prefix is specified in CIDR notation, a forward slash (/) separates the ip-address from the
mask-length parameter. The mask length parameter indicates the number of bits used for the
network portion of the IP address; the remainder of the IP address is used to determine the host
portion of the IP address. Allowed values are integers in the range 1— 32. Note that a mask
length of 32 is reserved for system IP addresses.

Values

1 — 32

mask — The subnet mask in dotted decimal notation. When the IP prefix is not specified in CIDR

notation, a space separates the ip-addr from a traditional dotted decimal mask. The mask
parameter indicates the complete mask that will be used in a logical ‘AND’ function to derive the
local subnet of the IP address. Note that a mask of 255.255.255.255 is reserved for system IP
addresses.

Values

128.0.0.0 — 255.255.255.255

broadcast {all-ones | host-ones}The optional broadcast parameter overrides the default

broadcast address used by the IP interface when sourcing IP broadcasts on the IP interface. If no
broadcast format is specified for the IP address, the default value is host-ones, which indicates a
subnet broadcast address. Use this parameter to change the broadcast address to all-ones or
revert back to a broadcast address of host-ones.

The all-ones keyword following the broadcast parameter specifies that the broadcast address
used by the IP interface for this IP address will be 255.255.255.255, also known as the local
broadcast.

The host-ones keyword following the broadcast parameter specifies that the broadcast address
used by the IP interface for this IP address will be the subnet broadcast address. This is an IP
address that corresponds to the local subnet described by the ip-addr and the mask-length or

Advertising