JunosE 11.3.x IP, IPv6, and IGP Configuration Guide
ip address
Indirect Next-Hop Support
12
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:
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
NOTE: You can use this command in Interface Configuration mode,
Subinterface Configuration mode, or Profile Configuration mode.
Use the no version to remove an IP address. If you remove a primary IP address, IP
processing is disabled on the interface.
See ip address
The router uses indirect next hops to promote faster network convergence (for example,
in BGP networks) by decreasing the number of routing table changes required when a
change in the network topology occurs.
Direct next-hops point routes in the routing table toward individual, direct next-hop
connections. (See Figure 6 on page 13.)
Copyright © 2010, Juniper Networks, Inc.
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP-IPV6-IGP CONFIGURATION GUIDE 2010-10-31 and is the answer not in the manual?
Questions and answers