4000系列交换机简明配置手册(中文)(8)
时间:2025-04-20
时间:2025-04-20
4000系列交换机简明配置手册(中文)
配置三层口
Catalyst 4006支持三种类型的三层端口:
SVIs: 即interface vlan
Note 当生成一个interface Vlan时,只有当把某一物理端口分配给它时才
能被激活
三层以太网通道口(EtherChannel)
.路由口:路由口是指某一物理端口在端口配置状态下用no switchport命令生成的端口
所有的三层都需要IP地址以实现路由交换
配置步骤如下:
4000系列交换机简明配置手册(中文)
配置举例如下:
4006# configure terminal
Enter configuration commands, one per line. End with CNTL/Z. 4006(config)# interface gigabitethernet3/2
4006(config-if)# no switchport
4006(config-if)# ip address 192.20.135.21 255.255.255.0
4006(config-if)# no shutdown
4006(config-if)# end
show ip interface命令:
4006# show ip interface gigabitethernet3/2
GigabitEthernet3/2 is up, line protocol is up Internet address is 192.20.135.21/24 Broadcast address is 255.255.255.255 Address determined by setup command MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
<output truncated>
4000系列交换机简明配置手册(中文)
监控及维护端口
监控端口和控制器的状态
主要命令见下表:
举例如下:
Switch#show interfaces status
Port Name Status Vlan Duplex Speed Type Gi1/1 notconnect 1 auto auto No Gbic Gi1/2 notconnect 1 auto auto No Gbic
Gi5/1 notconnect 1 auto auto 10/100/1000-TX Gi5/2 notconnect 1 auto auto 10/100/1000-TX Gi5/3 notconnect 1 auto auto 10/100/1000-TX Gi5/4 notconnect 1 auto auto 10/100/1000-TX
上一篇:一年级上册生命.生态.安全教案
下一篇:区域单店开发流程