Deleting A Primary Address; Adding A Secondary (Multinet) Address; Deleting A Secondary Address; Ip Address Command - Juniper IGP - CONFIGURATION GUIDE V11.1.X Configuration Manual

Software for e series broadband services routers ip, ipv6, and igp configuration guide
Table of Contents

Advertisement

JUNOSe 11.0.x IP, IPv6, and IGP Configuration Guide

Deleting a Primary Address

Adding a Secondary (Multinet) Address

Deleting a Secondary Address

ip address Command

Use the following command to add addresses to or delete addresses from an interface:
ip address
12
IP Addressing
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.
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.
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.
You must delete secondary addresses before deleting the primary 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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IGP - CONFIGURATION GUIDE V11.1.X and is the answer not in the manual?

Questions and answers

Table of Contents