■
You can change a secondary address to be the primary address on an interface
only via SNMP.
■
An unnumbered address is always the primary address; adding an unnumbered
address, therefore, overwrites any other numbered address.
Deleting a Primary Address
■
You must always remove the primary address from an interface last.
■
You cannot delete the primary address if the interface still has assigned secondary
addresses.
Adding a Secondary (Multinet) Address
■
You cannot add a secondary address until you add the primary address.
■
You cannot add a secondary address to bridged Ethernet interfaces.
■
You cannot change a primary address to a secondary address.
■
An interface can have multiple secondary addresses.
Deleting a Secondary Address
■
You must delete secondary addresses before deleting the primary address.
ip address Command
Use the following command to add addresses to or delete addresses from an interface:
ip address
■
Use to add a primary address or to add secondary addresses to an interface.
■
To add multiple addresses to a single IP interface, use the
secondary
keyword.
(Remember, if you add an address using the
ip address
command and do not
include the
secondary
keyword, the new address becomes the primary address.)
■
You can specify the subnetwork mask value in either dotted decimal or prefix
length notation.
■
Example—Adds a primary address (192.168.2.77) and two secondary addresses
(172.31.7.22 and 10.8.7.22); the Fast Ethernet interface now has addresses in
three networks.
host1(config)#
interface fastEthernet 0/0
host1(config-if)#
ip address 192.168.2.77 255.255.255.0
host1(config-if)#
ip address 172.31.7.22 255.255.255.0 secondary
host1(config-if)#
ip address 10.8.7.22 255.255.255.0 secondary
12
■
IP Addressing
JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide
Summary of Contents for IGP - CONFIGURATION GUIDE V11.1.X
Page 6: ...vi...
Page 8: ...viii JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 18: ...xviii List of Figures JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 20: ...xx List of Tables JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 26: ...2 Internet Protocol JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 228: ...204 Internet Protocol Routing JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 264: ...240 Monitoring RIP JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 438: ...414 Monitoring IS IS JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 439: ...Part 3 Index Index on page 417 Index 415...
Page 440: ...416 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...
Page 454: ...430 Index JUNOSe 11 0 x IP IPv6 and IGP Configuration Guide...