IP Router Configuration
7750 SR OS Router Configuration Guide
Page 151
address
Syntax
address
{
ip-address
/
mask
|
ip-address
netmask
} [
broadcast
{
all-ones
|
host-ones
}]
no address
Context
config>router>interface
Description
This command assigns an IP address, IP subnet, and broadcast address format to an IP interface. Only
one IP address can be associated with an IP interface.
An IP address must be assigned to each IP interface. An IP address and a mask combine to create a
local IP prefix. The defined IP prefix must be unique within the context of the routing instance. It
cannot overlap with other existing IP prefixes defined as local subnets on other IP interfaces in the
same routing context within the router.
The local subnet that the
address
command defines must not be part of the services address space
within the routing context by use of the
config router service-prefix
command. Once a portion of the
address space is allocated as a service prefix, that portion is not available to IP interfaces for network
core connectivity.
The IP address for the interface can be entered in either CIDR (Classless Inter-Domain Routing) or
traditional dotted decimal notation.
Show
commands display CIDR notation and are stored in
configuration files.
By default, no IP address or subnet association exists on an IP interface until it is explicitly created.
The
no
form of the command removes the IP address assignment from the IP interface. Interface
specificconfigurations for MPLS/RSVP are also removed. This will operationally stop any MPLS
LSPs that explicitly reference that IP address. When a new IP address is defined, interface specific
configurations for MPLS/RSVP will need to be re-added. If the
no
form of the command is executed
then
ptp-hw-assist
is disabled. If a new address is entered while another address is still active, the
new address will be rejected.
Default
No IP address is assigned to the IP interface.
Parameters
ip-address —
The IP address of the IP interface. The
ip-addr
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-addr
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 ediately 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-addr
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
Содержание 7750 SR-OS
Страница 10: ...Page 10 7750 SR OS Router Configuration Guide List of Tables...
Страница 12: ...Page 12 7750 SR OS Router Configuration Guide List of Figures...
Страница 18: ...Getting Started Page 18 7750 SR OS Router Configuration Guide...
Страница 108: ...IP Router Command Reference Page 108 7750 SR OS Router Configuration Guide...
Страница 200: ...Router Advertisement Commands Page 200 7750 SR OS Router Configuration Guide...
Страница 269: ...IP Router Configuration 7750 SR OS Router Configuration Guide Page 269 LDP 1 1 SDP 1 1 A ALA A config service...
Страница 299: ...IP Router Configuration 7750 SR OS Router Configuration Guide Page 299...
Страница 300: ...Debug Commands Page 300 7750 SR OS Router Configuration Guide...
Страница 348: ...Page 348 7750 SR OS Router Configuration Guide...
Страница 388: ...Page 388 7750 SR OS Router Configuration Guide...
Страница 442: ...Configuration Notes Page 442 7750 SR OS Router Configuration Guide...
Страница 470: ...Filter Management Tasks Page 470 7750 SR OS Router Configuration Guide...
Страница 586: ...Configuration Notes Page 586 7750 SR OS Router Configuration Guide...
Страница 588: ...OpenFlow Command Reference Page 588 7750 SR OS Router Configuration Guide...
Страница 598: ...Show Commands Page 598 7750 SR OS Router Configuration Guide...
Страница 608: ...Page 608 7750 SR OS Router Configuration Guide...
Страница 646: ...Page 646 7750 SR OS Router Configuration Guide...
Страница 660: ...Page 660 7750 SR OS Router Configuration Guide...
Страница 666: ...Common CLI Command Descriptions Page 666 7750 SR OS Router Configuration Guide...