cisco3560中文配置手册内容摘要:

r0/1 3, gigabitether0/1 2 Switch(configifrange) no shutdown Switch(configifrange) *Oct 6 08:29:28: %LINK3UPDOWN: Interface FastEther0/1, changed state to up *Oct 6 08:29:28: %LINK3UPDOWN: Interface FastEther0/2, changed state to up *Oct 6 08:29:28: %LINK3UPDOWN: Interface FastEther0/3, changed state to up *Oct 6 08:29:28: %LINK3UPDOWN: Interface GigabitEther0/1, changed state to up *Oct 6 08:29:28: %LINK3UPDOWN: Interface GigabitEther0/2, changed state to up *Oct 6 08:29:29: %LINEPROTO5UPDOWN: Line protocol on Interface GigabitEther0/ 1, changed state to up *Oct 6 08:29:29: %LINEPROTO5UPDOWN: Line protocol on Interface FastEther0/ 2, changed state to up *Oct 6 08:29:29: %LINEPROTO5UPDOWN: Line protocol on Interface FastEther0/ 3, changed state to up 配置三层口 Catalyst 3560 支持三种类型的三层端口 : SVIs: 即 interface vlan Note 当生成一个 interface Vlan 时,只有当把某一物理端口分配给它时才能被激活 三层以太网通道口( EtherChannel) : :以太通道由被路由端口组成。 以太通道端口接口在 “配置以太通道 ”中被描述。 .路由口:路由口是指某一物理端口在端口配置状态下用 no switchport 命令生成的端口 所有的三层都需要 IP 地址以实现路由交换 配置步骤如下: 命令目的 Step 1 configure terminal 进入配置状态 Step 2 interface {{fastether | gigabitether} interfaceid} | {vlan vlanid} | {portchannel portchannelnumber} 进入端口配置状态 Step 3 no switchport 把物理端口变成三层口 Step 4 ip address ip_address sub_mask 配置 IP 地址和掩码 Step 5 no shutdown 激活端口 Step 6 End 退出 Step 7 show interfaces [interfaceid]show ip interface [interfaceid]show runningconfig interface [interfaceid] 验证配置 Step 8 copy runningconfig startupconfig 保存配置 配置举例如下: Switch configure terminal Enter configuration mands, one per line. End with CNTL/Z. Switch(config) interface gigabitether0/2 Switch(configif) no switchport Switch(configif) ip address Switch(configif) no shutdown Switch(configif) end 监控及维护端口 监控端口和控制器的状态 主要命令见下表: Show Commands for Interfaces Command 目的 show interfaces [interfaceid] 显示所有端口或某一端口的状态和配置 . show interfaces interfaceid status [errdisabled] 显示一系列端口的状态或错误-关闭的状态 show interfaces [interfaceid] switchport 显示二层端口的状态,可以用来决定此口是否为二层或三层口。 show interfaces [interfaceid] description 显示端口描述 show ip interface [interfaceid] 显示所有或某一端口的 IP 可用性状态 show runningconfig interface [interfaceid] 显示当前配置中的端口配置情况 show version 显示软硬件等情况 举例如下 : Switch show interfaces status Port Name Status Vlan Duplex Speed Type Gi0/1 connected routed afull a100 10/100/1000Base TX Gi0/2 wce server disabled routed auto auto 10/100/1000Base TX Gi0/3 ip wccp webcache notconnect routed auto auto 10/100/1000Base TX Gi0/4 notconnect routed auto auto 10/100/1000Base TX Gi0/5 notconnect routed auto auto 10/100/1000Base TX Gi0/6 disabled routed auto auto 10/100/1000Base TX Gi0/7 disabled routed auto auto 10/100/1000Base TX Gi0/8 disabled routed auto 100 10/100/1000Base TX Gi0/9 notconnect routed auto auto 10/100/1000Base TX Gi0/10。
阅读剩余 0%
本站所有文章资讯、展示的图片素材等内容均为注册用户上传(部分报媒/平媒内容转载自网络合作媒体),仅供学习参考。 用户通过本站上传、发布的任何内容的知识产权归属用户或原始著作权人所有。如有侵犯您的版权,请联系我们反馈本站将在三个工作日内改正。