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.

the physical interface. It allows you to correlate the values in the interface MIBOIDs<br />

with actual interfaces. You can also see this information on the router:<br />

aviva@router1> show snmp mib walk ifTable<br />

ifDescr.29 = fe-0/0/0<br />

The next line gives more information about the physical properties of the interface:<br />

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

This shows the Layer 2 (link-level) encapsulation type and Maximum Transmission<br />

Unit (MTU) of the interface. Both are using the default encapsulations for their interface<br />

types. For the IPv4 address family, Ethernet is the only allowed link-level type. If<br />

you look in the logical interface section of the output, you see the encapsulation that<br />

is being used on the logical interface. The physical encapsulation applies to all protocols<br />

running on the interface, and logical interface encapsulation applies only to that<br />

address family. You can use the encapsulation statement in both portions of the configuration<br />

to modify the defaults:<br />

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

aviva@router1# set encapsulation vlan-ccc<br />

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

aviva@router1# set encapsulation ppp-over-ether<br />

The MTU is 1,514 bytes. This is the default media (Layer 2) MTU size, which is the<br />

size of the largest packet that the router can transmit through this interface. It applies<br />

to all protocols that use this interface. The protocol MTU size is in the logical interfaces<br />

portion of the output. Both logical interfaces are running IPv4 (Protocol inet),<br />

and the IPv4 MTU size is the standard 1,500 bytes for both interfaces. The media<br />

MTU is the sum of the IP MTU and the encapsulation overhead, which is 14 bytes<br />

for Ethernet interfaces. All devices on the Ethernet LAN must support the same<br />

MTU size. If you notice that a device is dropping traffic, check its MTU.<br />

The speed for the Ethernet shows that this is Fast Ethernet, running at 100 Mbps.<br />

The next line of output shows whether source filter and flow control are configured<br />

on the interface:<br />

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

Source address filtering blocks traffic from specific Ethernet MAC addresses. This is<br />

off by default. Flow control, which is on by default on Fast Ethernet interfaces, regulates<br />

the amount of traffic sent out on a full-duplex interface. (Flow control, also<br />

called pause frames, is an optional clause on the specification for full-duplex Ethernet,<br />

defined by the IEEE 802.3x Task Force in Annex 31B.) Source filtering and flow<br />

control are explained more in Recipe 7.13.<br />

The device flags list information about the physical device. You see this line for all<br />

router interfaces:<br />

Device flags<br />

: Present Running<br />

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

Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.<br />

Viewing Interface Status | 197

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

Saved successfully!

Ooh no, something went wrong!