Purpose
Before you can run MPLS on your network, you must have an IP address configured on all interfaces. Repeat this procedure as appropriate on other router interfaces in your network until all interfaces have an IP address.
Action
To configure an IP address, follow these steps:
Sample Output
user@R1> edit
Entering configuration mode
[edit]
user@R1# edit interfaces so-0/0/2 unit 0
[edit interfaces so-0/0/2 unit 0]
user@R1# set family inet address 10.1.13.1/30
[edit interfaces so-0/0/2 unit 0]
user@R1# show
family inet {
address 10.1.13.1/30 ;
}
[edit interfaces so-0/0/2 unit 0]
user@R1# commit
commit complete
Meaning
The sample output shows an interface configured with an IP address. The IP address is assigned when you configure the protocol family. In this instance, the IP address is included in the inet family. The family statement identifies which protocol packets are accepted into the interfaces. For example, valid IP packets are dropped if the interface is not configured with the family inet statement.