search
尋找貓咪~QQ 地點 桃園市桃園區 Taoyuan , Taoyuan

[Juniper] Junos網路介面(interface)基本介紹(一) – KerKer 的模組世界

邊做邊學,順便留個筆記,若有錯誤請不吝指教。

Junos基本操作及root密碼設定可參考我之前的文章:Juniper Junos基本操作、root密碼設定

所有Juniper相關文章列表:Juniper JunOS 系列文章列表

Juniper設備的介面(interface)命名格式為:type-fpc/pic/port

type為該介面之型態,fpc為用來容納pic的集中器,pic是介面卡,port則為介面卡上的介面編號。編號規則一般從0開始。

例如在第一個集中器上的第一張介面卡的第一個Gigabit Ethernet介面的編號為:ge-0/0/0

通常實體介面會依據速率區分,ge、xe、et分別代表1G、10G、40G。

還有特殊用途的介面如管理介面(management Ethernet interface)的type為me。

如果想看到設備上的介面列表可以使用以下指令:

        root> show interfaces terse 
        Interface               Admin Link Proto    Local     Remote
        ge-0/0/0                up    down
        ge-0/0/0.0              up    down eth-switch   
        ge-0/0/1                up    down
        ge-0/0/1.0              up    down eth-switch
        … … …

可以使用指令查看各介面的設定:

    root> show configuration interfaces ge-0/0/0  
    unit 0 {
        family ethernet-switching {
            storm-control default;
        }
    }

其中unit 0為該實體介面的邏輯分割,我們在前面用show interface terse指令看到的ge-0/0/0.0即是指該邏輯分割。

family ethernet-switching 則對應到show interface terse中Proto欄位上的eth-switch,代表這個介面僅作第二層交換。

除了ethernet-switching外常用的family還有支援第三層IP協定的Inet及支援IPv6的Inet6。

Juniper常用的介面指令可以繼續閱讀這篇:Juniper Junos網路介面(interface)基本介紹(二)



熱門推薦

本文由 KerKerwebsite 提供 原文連結

寵物協尋 相信 終究能找到回家的路
寫了7763篇文章,獲得2次喜歡
留言回覆
回覆
精彩推薦