Cisco 交換機 快速生成樹配置

2021-05-23 09:42:40 字數 1196 閱讀 5009

ubuntu qq

ubuntu輸入法

第一台交換機

配置 :

switch

>en

switch#conf t

switch(config

)#spanning-tree mode rapid-pvst / / 啟用快速生成樹協議

switch(config)#vlan 10

switch(config-vlan)#name vlan10

switch(config-vlan)#exit

switch(config)#int f0/10

switch(config-if)#switchport mode access

switch(config-if)#switchport access vlan 10

switch(config)#int range f0/1-2

switch(config-if-range)#switchport mode trunk

switch(config-if-range)#exit

switch(config)#spanning-tree vlan 1 root primary / / 設定根交換機

switch(config)#

第二台交換機配置:

switch>en

switch#conf t

switch(config)#spanning-tree mode rapid-pvst

switch(config)#vlan 10

switch(config-vlan)#name vlan10

switch(config-vlan)#exit

switch(config)#int f0/10

switch(config-if)#switchport mode access

switch(config-if)#switchport access vlan 10

switch(config-if)#exit

switch(config)#int range f0/1-2

switch(config-if-range)#switchport mode trunk

switch(config-if-range)#exit

ununtn網路管理

ccnp

ccie認證

無憂網客聯盟主站

cisco交換機配置

cisco交換機配置的幾個常用命令 switch enable 進入特權模式 switch conf t 進入配置模式 switch config int fa0 0 進入fa0 0介面 switch config if swichport mode trunk trunk介面配置 switch c...

Cisco交換機 配置zone

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 配置zone switch conf t switch config zone name zonename1 vsan 10 建立zone switch config zone member inte ce...

Cisco 交換機基本配置命令

交換機基本狀態 switch rom狀態,路由器是 rommon hostname 使用者模式 hostname 特權模式 hostname config 全域性配置模式 hostname config if 介面狀態 交換機口令設定 switch enable 進入特權模式 switch conf...