第一范文网 - 专业文章范例文档资料分享平台

Cisco 4006交换机(IOS版)简明配置维护手册

来源:用户分享 时间:2025/7/30 7:15:00 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

命令 目的 Step 1 configure terminal Step 2 interface interface-id Step 3 description string 进入配置模式 进入要加入描述的端口 加入描述 (最多240个字符). 退回. 验证. Step 4 end Step 5 show interfaces interface-id description or show running-config Step 6 copy running-config startup-config

保存 Use the no description interface configuration command to delete the description.

This example shows how to add a description on Fast Ethernet interface 0/4 and to verify the description:

4006# config terminal

Enter configuration commands, one per line. End with CNTL/Z. 4006(config)# interface fastethernet2/4

4006(config-if)# description Connects to Marketing

4006(config-if)# end

4006# show interfaces fastethernet2/4 description

Interface Status Protocol Description

Fa2/4 up down Connects to Marketing

配置三层口

Catalyst 4006支持三种类型的三层端口:

?

SVIs: 即interface vlan

Note 当生成一个interface Vlan时,只有当把某一物理端口分配给它时才

能被激活

? ?

三层以太网通道口(EtherChannel)

.路由口:路由口是指某一物理端口在端口配置状态下用no switchport命令生成的端口

所有的三层都需要IP地址以实现路由交换

配置步骤如下: 命令 目的 Step 1 configure terminal 进入配置状态 进入端口配置状态 把物理端口变成三层口 配置IP地址和掩码 激活端口 Step 2 interface {{fastethernet | gigabitethernet} interface-id} | {vlan vlan-id} | {port-channel port-channel-number} Step 3 no switchport Step 4 ip address ip_address subnet_mask Step 5 no shutdown Step 6 end Step 7 show interfaces [interface-id] show ip interface [interface-id] show running-config interface [interface-id] Step 8 copy running-config startup-config 退出 验证配置 保存配置

配置举例如下:

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

监控及维护端口

监控端口和控制器的状态

主要命令见下表:

Show Commands for Interfaces Command show interfaces [type slot/interface] 目的 显示所有端口或某一端口的状态和配置. 显示一系列端口的状态或错误-关闭的状态 显示二层端口的状态,可以用来决定此口是否为二层或三层口。 显示端口描述 show interfaces interface-id status [err-disabled] show interfaces [interface-id] switchport show interfaces [interface-id] description show protocols [type slot/interface] 显示在任何已配置协议下全局和接口的状态 显示当前配置中的端口配置情况 show running-config interface [interface-id] show version

举例如下:

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

Cisco 4006交换机(IOS版)简明配置维护手册.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c0k6325j6ea7d82u9y9bq_3.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top