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.

Solution<br />

Configure the router’s management interface:<br />

[edit interfaces]<br />

aviva@router1# set fxp0 unit 0 family inet address 192.168.70.246/24<br />

Use the following command to configure the J-series management interface:<br />

[edit interfaces]<br />

aviva@RouterA> set fe-0/0/0 unit 0 family inet address 10.0.15.1/24<br />

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

JUNOS routers provide a separate out-of-band management interface for monitoring<br />

the router independently of the network links. This interface is named fxp0 and is<br />

an internal Ethernet interface that is permanently installed in the router. The router<br />

does not route traffic from network and services interfaces over fxp0, and traffic<br />

arriving on this interface is never directed to network interfaces, so you cannot use it<br />

to route traffic.<br />

You can connect to the management interface over the network using SSH and Telnet,<br />

and SNMP NMS systems can connect to the router using this interface to query<br />

for router status and statistics.<br />

This recipe shows how to configure an address for the fxp0 interface. Because it is an<br />

Ethernet interface, you can configure a subnet address. You cannot configure a host<br />

(/32) address.<br />

Use the show interfaces command to get status about the management interface:<br />

aviva@router1> show interfaces fxp0<br />

Physical interface: fxp0, Enabled, Physical link is Up<br />

Interface index: 1, SNMP ifIndex: 1<br />

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

Device flags : Present Running<br />

Interface flags: SNMP-Traps<br />

Link type : Half-Duplex<br />

Link flags : 4<br />

Current address: 00:a0:a5:12:2f:04, Hardware address: 00:a0:a5:12:2f:04<br />

Last flapped : Never<br />

Input packets : 217004<br />

Output packets: 2808<br />

Logical interface fxp0.0 (Index 2) (SNMP ifIndex 13)<br />

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

Protocol inet, MTU: 1500<br />

Flags: Is-Primary<br />

Addresses, Flags: Is-Default Is-Preferred Is-Primary<br />

Destination: 192.168.64/21, Local: 192.168.71.246,<br />

Broadcast: 192.168.71.255<br />

Using the Management Interface | 213<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!