當前位置:歷史故事大全網 - 範文作文 - 銳捷三層交換機怎麽創建SVI虛擬接口?

銳捷三層交換機怎麽創建SVI虛擬接口?

 \x0d\  銳捷三層交換機:[技術原理:三層交換機具備網絡層的功能,實現VLAN相互訪問的原理是:利用三層交換機的路由功能,通過識別數據包的IP地址,查找路由表進行選路轉發。三層交換機利用直連路由可以實現不同VLAN之間的互相訪問。三層交換機給接口配置IP地址,采用SVI(交換虛擬接口)的方式實現VLAN間互連。SVI是指為交換機中的VLAN創建虛擬接口,並且配置IP地址。]\x0d\ \x0d\ 創建過程:\x0d\  \x0d\  (1)在二層交換機上配置VLAN2、VLAN3,分別將端口2、端口3劃到VLAN2、VLAN3;\x0d\  Switch# configure terminal\x0d\  Switch(config)# vlan 2 (創建VLAN2)\x0d\  Switch(config-vlan)#end\x0d\  Switch# configure terminal\x0d\  Switch(config)# interface fastethernet 0/2 (進入交換機接口0/2)\x0d\  Switch(config-if)# switchport access vlan 2 (將端口劃到VLAN 2)\x0d\  Switch(config-if)# end\x0d\  VLAN3的配置,端口的劃分方法同上;\x0d\  (2) 兩主機互ping,不通;\x0d\  (3) 定義二層交換機與三層交換機相連的端口F0/1為tag vlan 模式;\x0d\  Switch# configure terminal\x0d\  Switch(config)# interface fastethernet 0/1 (進入交換機接口0/1)\x0d\  Switch(config-if)# switchport mode trunk (將端口設置為trunk)\x0d\  Switch(config-if)# switchport trunk allowed vlan all //允許所有vlan通過,設置trunk模式就已經允許所有通過,因此可以省略不寫。\x0d\  Switch(config-if)# end\x0d\  三層交換機S3760上F0/1配置如上。\x0d\  (4) 設置三層交換機VLAN間通信,創建VLAN2、3的虛擬接口,並配置虛擬接口VLAN2、3的IP地址;\x0d\  #先創建VLAN2、VLAN3\x0d\  Switch(config)#VLan 2\x0d\  Switch(config)#VLan 3\x0d\  Switch(config-vlan)#end\x0d\  Switch(config)#interface fa 0/2\x0d\  Switch(config-if)#switchport access vlan 2\x0d\  Switch(config)#interface vlan 2(進入虛擬的VLAN 接口)\x0d\  Switch(config-if)#ip address 192.168.2.1 255.255.255.0\x0d\  Switch(config-if)#no shutdown\x0d\  VLAN3的虛擬接口配置同上(ip address 192.168.3.1 255.255.255.0);\x0d\  (5) 查看交換機路由表 show ip route\x0d\  (6) 將二層、三層交換機VLAN2、VLAN3下的主機默認網關分別設置為相應虛擬接口的IP地址;\x0d\  

  • 上一篇:好久不見的問候語及關心話
  • 下一篇:法學專業畢業論文題目選題參考
  • copyright 2024歷史故事大全網