28.06.2014 Views

Discussion

Discussion

Discussion

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

You can confirm the presence of these PICs with the show chassis hardware command,<br />

but this command does not tell you which slot the PICs are in:<br />

aviva@RouterB> show chassis hardware<br />

Hardware inventory:<br />

Item Version Part number Serial number Description<br />

Chassis JN002447AA J2300<br />

Routing Engine REV 07 750-009992 AA04350171 RE-J.1<br />

FPC 0 REV 04 750-010739 AC04430288 FPC<br />

PIC 0<br />

2x FE, 2x Serial<br />

Some of the interfaces (gr-0/0/0, ip-0/0/0, ls-0/0/0, lt-0/0/0, mt-0/0/0, pd-0/0/0,<br />

and pe-0/0/0) are virtual interfaces that are used for tunneling. They are virtual in<br />

that they are not necessarily tied to a specific network card. gr-0/0/0 and ip-0/0/0<br />

are for unicast tunnels with GRE or IP-IP encapsulation, ls-0/0/0 is a link services<br />

interface, lt-0/0/0 is a logical tunnel interface, mt-0/0/0 is a multicast tunnel, and<br />

pd-0/0/0 and pe-0/0/0 are PIM tunnels. lo is the loopback interface (see Recipe 7.3),<br />

and the remaining are nonconfigurable interfaces used internally by the JUNOS software<br />

(see Recipe 7.23).<br />

See Also<br />

Recipes 7.3 and 7.23<br />

7.13 Configuring Ethernet Interfaces<br />

Problem<br />

Your router has an Ethernet interface and you want to configure it.<br />

Solution<br />

Use the following command to activate a Fast Ethernet interface:<br />

[edit interfaces]<br />

aviva@router1# set fe-0/0/3 unit 0 family inet address 192.168.220.13/24<br />

Use the following commands to activate a Gigabit Ethernet interface:<br />

[edit interfaces]<br />

aviva@M5# set ge-0/2/0 unit 0 family inet6 address 3010::2/64<br />

aviva@M5# set ge-0/2/0 unit 0 family iso<br />

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

The basic configuration for Ethernet interfaces is very straightforward. Just assign the<br />

desired addresses, and the interface is up and running. Here, for the Fast Ethernet<br />

interface, we configure an IPv4 address, and for the Gigabit Ethernet interface, we<br />

configure an IPv6 address and the iso family (for IS-IS). You can also configure other<br />

address families depending on the protocols that the interface needs to support.<br />

Configuring Ethernet Interfaces | 217<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!