28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Discussion</strong><br />

For MPLS traffic to transit an interface, you must create an MPLS protocol family on<br />

the logical interface. You don’t need to configure an address. Here’s how to check<br />

the configuration:<br />

aviva@router1# show interfaces fe-0/0/0.0 brief<br />

Logical interface fe-0/0/0.0<br />

Flags: SNMP-Traps Encapsulation: ENET2<br />

inet 192.168.220.1/30<br />

mpls<br />

See Also<br />

Recipes 7.12, 14.1, 14.6<br />

7.9 Configuring an Interface Description<br />

Problem<br />

You want to include a description of an interface in the configuration.<br />

Solution<br />

Use the following command to configure a description of the interface:<br />

[edit interfaces fe-0/0/0]<br />

aviva@router1# set interfaces fe-0/0/0 description "to router2 fe-0/0/0"<br />

<strong>Discussion</strong><br />

It’s often convenient to include a short description of the interface to make a note of<br />

any administrative information that is useful to you or your staff, such as the remote<br />

interface. This recipe sets a description of the interface that describes the remote<br />

router and interface that is at the other end of this link.<br />

The configured interface description script shows up in the show interfaces command<br />

output:<br />

aviva@router1> show interfaces fe-0/0/0<br />

Physical interface: fe-0/0/0, Enabled, Physical link is Up<br />

Interface index: 128, SNMP ifIndex: 79<br />

Description: to router2 fe-0/0/0<br />

Link-level type: Ethernet, MTU: 1514, Speed: 100mbps, Loopback: Disabled,<br />

Source filtering: Disabled, Flow control: Enabled<br />

Device flags : Present Running<br />

Interface flags: SNMP-Traps 16384<br />

...<br />

Configuring an Interface Description | 209<br />

This is the Title of the Book, eMatter Edition<br />

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!