9.3.3配置主干道 SwitchA# configure terminal Enter configuration commands, one per line. End with cntl/Z SwitchA(config)#interface fastethernet0/24 SwitchA( config-if)#switchport mode access Set trunking mode to ACCESS unconditionally dynamic set trunking mode to dynamically negotiate access or tr mode trunk Set trunking mode to tRunK unconditionally 图9-3-4配置主干道模式 SwitchA( config-if)#switchport mode dynamic auto Set trunking mode dynamic negotiation parameter to Auto desirable Set trunking mode dynamic negotiation parameter to DESIRABLE 图9-3-5配置动态主干道模式
9.3.3 配置主干道 图9-3-4 配置主干道模式 图9-3-5 配置动态主干道模式
表9-3-1主千道模式组合 对方端口模式 普通千道自动期望 本交换机端口模式 普通 无干道无干道无干道无干道 干道 无干道干道干道干道 自动 无干道干道无干道干道 期望 无干道干道千道干道
表9-3-1 主干道模式组合 对方端口模式 本交换机端口模式 普通 干道 自动 期望 普通 无干道 无干道 无干道 无干道 干道 无干道 干道 干道 干道 自动 无干道 干道 无干道 干道 期望 无干道 干道 干道 干道
show interfaces int trunk 端口干道模式 封装模式 干道状态本征ⅤLAN 1. SwiltchAHshow interfaces fastEthernet 0/24 trunk Mode Encapsulation Status tive vlan 4.a/24[on [8021q trunking① 6. Port Vlans allowed on trunk 7.Fa0/24 4094 9. Port Vlans allowed and active in management domain 10.[a0/24 10,2039,4 12 Vlans in spanning tree forwarding state and not pruned 3.Fa0/24/1,10,20,30,40 干道可以承载的LAN本管理域活动ⅤLAN处于STP转发状态同时没有被剪裁的ⅤLAN 命令 show interfaces interface fastethernet0/24 trunk的输出
show interfaces int trunk 命令show interfaces interface fastethernet 0/24 trunk的输出 端口 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 本征VLAN 干道可以承载的VLAN 本管理域活动VLAN 处于STP转发状态同时没有被剪裁的VLAN 干道模式 封装模式 干道状态
9.4 VTP 94.1VTP概述 1.VTP域
9.4 VTP 9.4.1 VTP概述 1.VTP域