close

為了讓自己熟悉L3還有L2基本設定,做了一下lab


L3部份

開啟ip routing
設定routing
設定vlan
binding ip into vlan
設定對外的routing port
no switchport
ip address
設定vtp version
設定vtp domain
設定vtp password
設定為vtp server
設定對下的trunk port
switchport trunk encapsulation dot1q
switchport mode trunk

可啟用一個vlan 且binding ip給予連線管理

L2部份

設定對上的trunk port
switchport trunk encapsulation dot1q
switchport mode trunk
其他port要放入vlan統統設定為switchport
switchport mode access
設定vtp version
設定vtp domain
設定vtp password
設定為vtp server


可啟用一個vlan 且binding ip給予連線管理

description 可使用中文
default-value exec-character-bits 8

確認是否連線
L3
使用
show ip route查看routing
sh ip arp查看是否user以連上
sh vtp status查看vtp狀態以及domain name
sh vtp password檢查是否正確
sh ip arp valn id可檢查是否此vlan有client上來

L2
使用
sh int status 檢查介面狀態


基本上這樣就可以通了~~

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 涼涼 的頭像
    涼涼

    涼涼的隨便寫寫到處逛逛心得

    涼涼 發表在 痞客邦 留言(0) 人氣()