trunk、svi和以太通道
阿新 • • 發佈:2017-05-04
trunk、svi、ethernet channel、interface
創建VLAN
#vlan database
#vlan 10
#exit
加入VLAN
conf-if#switchport mode access
conf-if#switchport access vlan 10
封裝TRUNK
SW>
cont-if#switchport trunk encapsulation dot1q
cont-if#switchport mode trunk
單臂路由配置
Route>
conf#int f0/0>no shu
conf#int f0/0.1
conf-if-sub#encapsulation dot1q 10 封裝到VLAN10
conf-if-sub#ip add 0.0.0.0 0.0.0.0 設置VLAN10的網關
VLAN1本征VLAN
switchport trunk native vlan 10 修改本征VLAN
SVI
SVI方式:三層交換機代替單臂路由,在交換機上設置VLAN 10和VLAN 20的網關
Ethernet Channel 以太通道
端口聚合
conft#interface port-channel 1 設置通道1
conft#interface range f0/1-22 進入0-22端口
conft-if#channel-group 1 mode on
本文出自 “勤能補拙” 博客,謝絕轉載!
trunk、svi和以太通道