Step 4: Verify Protocol Families
Purpose
If a logical interface does not have MPLS enabled, it cannot perform MPLS switching. This step allows you to quickly determine which interfaces are configured with MPLS and other protocol families.
Action
To verify the protocol families configured on the routers in your network, enter the following JUNOS CLI operational mode command:
user@host>show interfaces terseSample Output 1
user@R1>show interfaces terseInterface Admin Link Proto Local Remoteso-0/0/0 up upso-0/0/0.0 up up inet10.1.12.1/30isomplsso-0/0/1 up upso-0/0/1.0 up up inet 10.1.15.1/30isomplsso-0/0/2 up upso-0/0/2.0 up up inet 10.1.13.1/30isomplsso-0/0/3 up downuser@R2>show interfaces terseInterface Admin Link Proto Local Remoteso-0/0/0 up upso-0/0/0.0 up up inet 10.1.12.2/30isomplsso-0/0/1 up upso-0/0/1.0 up up inet 10.1.23.1/30isomplsso-0/0/2 up upso-0/0/2.0 up up inet 10.1.26.1/30isomplsso-0/0/3 up upso-0/0/3.0 up up inet 10.1.24.1/30isomplsuser@R3>show interfaces terseInterface Admin Link Proto Local Remoteso-0/0/0 up upso-0/0/0.0 up up inet 10.1.34.1/30isomplsso-0/0/1 up upso-0/0/1.0 up up inet 10.1.23.2/30isomplsso-0/0/2 up upso-0/0/2.0 up up inet 10.1.13.2/30isomplsso-0/0/3 up upso-0/0/3.0 up up inet 10.1.36.1/30isomplsuser@R4>show interfaces terseInterface Admin Link Proto Local Remoteso-0/0/0 up upso-0/0/0.0 up up inet 10.1.34.2/30isomplsso-0/0/1 up upso-0/0/1.0 up up inet 10.1.46.1/30isomplsso-0/0/2 up upso-0/0/2.0 up up inet 10.1.45.1/30isomplsso-0/0/3 up upso-0/0/3.0 up up inet 10.1.24.2/30isomplsuser@R5>show interfaces terseInterface Admin Link Proto Local Remoteso-0/0/0 up upso-0/0/0.0 up up inet 10.1.56.1/30isomplsso-0/0/1 up upso-0/0/1.0 up up inet 10.1.15.2/30isomplsso-0/0/2 up upso-0/0/2.0 up up inet 10.1.45.2/30isomplsso-0/0/3 up downuser@R6>show interfaces terseInterface Admin Link Proto Local Remoteso-0/0/0 up upso-0/0/0.0 up up inet 10.1.56.2/30isomplsso-0/0/1 up upso-0/0/1.0 up up inet 10.1.46.2/30isomplsso-0/0/2 up upso-0/0/2.0 up up inet 10.1.26.2/30isomplsso-0/0/3 up upso-0/0/3.0 up up inet 10.1.36.2/30isomplsSample Output 2
user@R6>show interfaces terseInterface Admin Link Proto Local Remoteso-0/0/0 up upso-0/0/0.0 up up inet 10.1.56.2/30isomplsso-0/0/1 up upso-0/0/1.0 up up inet 10.1.46.2/30isomplsso-0/0/2 up upso-0/0/2.0 up up inet 10.1.26.2/30iso#The mpls statement is missing.so-0/0/3 up upso-0/0/3.0 up up inet 10.1.36.2/30isomplsWhat It Means
Sample Output 1 shows the interface, the administrative status of the link (
Admin), the data link layer status of the link (Link), the protocol families configured on the interface (Proto), and the local and remote addresses on the interface.All interfaces on all routes in the network shown in Figure 5 are administratively enabled and functioning at the data link layer with MPLS and IS-IS, and have an
inetaddress. All are configured with an IPv4 protocol family (inet), and have the IS-IS (iso) and MPLS (mpls) protocol families configured at the [edit interfacestype-fpc/pic/portunitnumber] hierarchy level.Sample Output 2 shows that interface
so-0/0/2.0onR6does not have themplsstatement included at the [edit interfacestype-fpc/pic/portunitnumber] hierarchy level. For information on how to configure MPLS on an interface, see Configuring MPLS on a Network.