日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

二层及三层MTU浅析

發(fā)布時間:2024/4/14 编程问答 45 豆豆
生活随笔 收集整理的這篇文章主要介紹了 二层及三层MTU浅析 小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.

?很多人知道MTU,也知道它全稱是最大傳輸單元,但是不知道MTU其實可以分成二層MTU三層MTU

二層MTU不能改變,三層MTU可以改!

Router#sh ip int f0/0?

FastEthernet0/0 is up, line protocol is up

??Internet address is 10.1.1.1/24

??Broadcast address is 255.255.255.255

??Address determined by setup command

??MTU is 1500 bytes

??Helper address is not set

??Directed broadcast forwarding is disabled

??Outgoing access list is not set

??Inbound ?access list is not set

??Proxy ARP is enabled

??Security level is default

??Split horizon is enabled

??ICMP redirects are always sent

??ICMP unreachables are always sent

??ICMP mask replies are never sent

??IP fast switching is enabled

??IP fast switching on the same interface is disabled

??IP Flow switching is disabled

??IP Fast switching turbo vector

??IP multicast fast switching is enabled

??IP multicast distributed fast switching is disabled

??IP route-cache flags are Fast

??Router Discovery is disabled

以上這個是三層MTU!

?

?

Router#sh int f0/0?

FastEthernet0/0 is administratively down, line protocol is down?

??Hardware is AmdFE, address is c800.17d4.0000 (bia c800.17d4.0000)

??MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,?

?? ? reliability 255/255, txload 1/255, rxload 1/255

??Encapsulation ARPA, loopback not set

??Keepalive set (10 sec)

??Half-duplex, 100Mb/s, 100BaseTX/FX

??ARP type: ARPA, ARP Timeout 04:00:00

??Last input never, output never, output hang never

??Last clearing of "show interface" counters never

??Queueing strategy: fifo

??Output queue 0/40, 0 drops; input queue 0/75, 0 drops

??5 minute input rate 0 bits/sec, 0 packets/sec

??5 minute output rate 0 bits/sec, 0 packets/sec

?? ? 0 packets input, 0 bytes

?? ? Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

?? ? 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

?? ? 0 watchdog

?? ? 0 input packets with dribble condition detected

?? ? 0 packets output, 0 bytes, 0 underruns(0/0/0)

?? ? 0 output errors, 0 collisions, 0 interface resets

?? ? 0 babbles, 0 late collision, 0 deferred

?? ? 0 lost carrier, 0 no carrier

?? ? 0 output buffer failures, 0 output buffers swapped out

以上這個是二層MTU!

?

Router(config-if)#mtu 666?

% Interface FastEthernet0/0 does not support user settable mtu.

二層MTU不能被改變!

Router(config-if)#ip mtu ?

??<68-1000000> ?MTU (bytes)

?

Router(config-if)#ip mtu 666

Router(config-if)#end

?

Router#sh ip int f0/0?

FastEthernet0/0 is up, line protocol is up

??Internet address is 10.1.1.1/24

??Broadcast address is 255.255.255.255

??Address determined by setup command

??MTU is 666 bytes

??Helper address is not set

??Directed broadcast forwarding is disabled

??Outgoing access list is not set

??Inbound ?access list is not set

??Proxy ARP is enabled

??Security level is default

??Split horizon is enabled

??ICMP redirects are always sent

??ICMP unreachables are always sent

??ICMP mask replies are never sent

??IP fast switching is enabled

??IP fast switching on the same interface is disabled

??IP Flow switching is disabled

??IP Fast switching turbo vector

??IP multicast fast switching is enabled

??IP multicast distributed fast switching is disabled

??IP route-cache flags are Fast

??Router Discovery is disabled

??IP output packet accounting is disabled

??IP access violation accounting is disabled

??TCP/IP header compression is disabled

??RTP/IP header compression is disabled

??Probe proxy name replies are disabled

??Policy routing is disabled

??Network address translation is disabled

??WCCP Redirect outbound is disabled

??WCCP Redirect inbound is disabled

??WCCP Redirect exclude is disabled

??BGP Policy Mapping is disabled

?

?

Router#sh int f0/0?

FastEthernet0/0 is up, line protocol is up?

??Hardware is AmdFE, address is c800.17d4.0000 (bia c800.17d4.0000)

??Internet address is 10.1.1.1/24

??MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,?

?? ? reliability 255/255, txload 1/255, rxload 1/255

??Encapsulation ARPA, loopback not set

??Keepalive set (10 sec)

??Half-duplex, 100Mb/s, 100BaseTX/FX

??ARP type: ARPA, ARP Timeout 04:00:00

??Last input never, output 00:00:09, output hang never

??Last clearing of "show interface" counters never

??Queueing strategy: fifo

??Output queue 0/40, 0 drops; input queue 0/75, 0 drops

??5 minute input rate 0 bits/sec, 0 packets/sec

??5 minute output rate 0 bits/sec, 0 packets/sec

?? ? 0 packets input, 0 bytes

?? ? Received 0 broadcasts, 0 runts, 0 giants, 0 throttles

?? ? 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored

?? ? 0 watchdog

?? ? 0 input packets with dribble condition detected

?? ? 9 packets output, 2075 bytes, 0 underruns(0/0/0)

?? ? 0 output errors, 0 collisions, 1 interface resets

?? ? 0 babbles, 0 late collision, 0 deferred

?? ? 0 lost carrier, 0 no carrier

?? ? 0 output buffer failures, 0 output buffers swapped out

?

結(jié)論:有時候你覺得自己很了解一個東西,例如MTU,但是深入以后卻發(fā)覺這個東西不是你理解的這么淺,故,學習學習再學習,深入學習!

轉(zhuǎn)載于:https://blog.51cto.com/nocedric/515817

超強干貨來襲 云風專訪:近40年碼齡,通宵達旦的技術(shù)人生

總結(jié)

以上是生活随笔為你收集整理的二层及三层MTU浅析的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯,歡迎將生活随笔推薦給好友。