教学文库网 - 权威文档分享云平台
您的当前位置:首页 > 文库大全 > 资格考试 >

思科3750交换机配置维护手册(2)

来源:网络收集 时间:2026-02-21
导读: 6 希望能够帮助大家 配置端口速率及双工模式 可以配置快速以太口的速率为10/100Mbps及千兆以太口的速率为 10/100/1000-Mbps; 但对于GBIC端口则不能配置速率及双工模式,有时可以配置nonegotiate,当需要联接不支持自

6

希望能够帮助大家

配置端口速率及双工模式

可以配置快速以太口的速率为10/100Mbps及千兆以太口的速率为

10/100/1000-Mbps; 但对于GBIC端口则不能配置速率及双工模式,有时可以配置nonegotiate,当需要联接不支持自适应的其它千兆端口时

Switch# configure terminal

Switch(config)# interface fastethernet0/3

7

希望能够帮助大家

Switch(config-if)# speed 10

Switch(config-if)# duplex half

端口描述

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:

Switch# config terminal

8

希望能够帮助大家

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)# interface fastethernet0/4

Switch(config-if)# description Connects to Marketing

Switch(config-if)# end

Switch# show interfaces fastethernet0/4 description

Interface Status Protocol Description

Fa0/4 up down Connects to Marketing

3.3 配置三层口

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

SVIs: 即interface vlan

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

能被激活

三层以太网通道口(EtherChannel) .路由口:路由口是指某一物理端口在端口配置状态下用no switchport命令生成的

端口

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

9

希望能够帮助大家

配置步骤如下:

配置举例如下:

Switch# configure terminal

10

希望能够帮助大家

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)# interface gigabitethernet0/2

Switch(config-if)# no switchport

Switch(config-if)# ip address 192.20.135.21 255.255.255.0

Switch(config-if)# no shutdown

Switch(config-if)# end

show ip interface命令:

Switch# show ip interface gigabitethernet0/2

GigabitEthernet0/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

11

希望能够帮助大家

<output truncated>

3.4 监控及维护端口

监控端口和控制器的状态

主要命令见下表:

举例如下:

Switch# show interfaces status

12

希望能够帮助大家

Port Name Status Vlan Duplex Speed Type

Gi0/1 connected routed a-full a-100 10/100/1000Base TX

Gi0/2 wce server 20.20.2 disabled routed auto auto 10/100/1000Base TX Gi0/3 ip wccp web-cache notconnect routed

TX

Gi0/4 notconnect routed

TX

Gi0/5 notconnect routed

TX

Gi0/6 disabled routed

TX

Gi0/7 disabled routed

TX

Gi0/8 disabled routed

TX

Gi0/9 notconnect routed

TX

Gi0/10 notconnect routed

TX

Gi0/11 disabled routed

auto auto 10/100/1000Base auto auto 10/100/1000Base auto auto 10/100/1000Base auto auto 10/100/1000Base auto auto 10/100/1000Base auto 100 10/100/1000Base auto auto 10/100/1000Base auto auto 10/100/1000Base auto auto unknown 13

希望能够帮助大家

Gi0/12 notconnect routed auto auto unknown

Switch# show interfaces fastethernet 0/1 switchport

Name: Fa0/1

Switchport: Enabled

Administrative Mode: static access

Operational Mode: down

Administrative Trunking Encapsulation: dot1q

Negotiation of Trunking: Off

Access Mode VLAN: 1 (default)

Trunking Native Mode VLAN: 1 (default)

Trunking VLANs Enabled: ALL

Pruning VLANs Enabled: 2-1001

Protected: false

Unknown unicast blocked: disabled

Unknown multicast blocked: disabled

Voice VLAN: dot1p (Inactive)

Appliance trust: 5

14

希望能够帮助大家

Switch# show running-config interface fastethernet0/2

Building configuration...

Current configuration : 131 bytes

!

interface FastEthernet0/2

switchport mode access

switchport protected

no ip address

mls qos cos 7

mls qos cos override

end

刷新、重置端口及计数器

15

希望能够帮助大家

Note clear counters 命令只清除用show interface所显示的计数,不影响用snmp得到

的计数

举例如下:

Switch# clear counters fastethernet0/5

Clear "show interface" counters on this interface [confirm] y

Switch#

*Sep 30 08:42:55: %CLEAR-5-COUNTERS: Clear counter on interface FastEthernet0/5 by vty1 (171.69.115.10)

可使用clear interface 或 clear line 命令来清除或重置某一端口或串口,在大部分情况下并不需要这样做:

Switch# clear interface fastethernet0/5

关闭和打开端口

16

希望能够帮助大家

使用 no shutdown 命令重新打开端口.

举例如下:

Switch# configure terminal

Switch(config)# interface fastethernet0/5

Switch(config-if)# shutdown

Switch(config-if)#

*Sep 30 08:33:47: %LINK-5-CHANGED: Interface FastEthernet0/5, changed state to a administratively down

Switch# configure terminal

Switch(config)# interface fastethernet0/5

Switch(config-if)# no shutdown

Switch(config-if)#

*Sep 30 08:36:00: …… 此处隐藏:2180字,全部文档内容请下载后查看。喜欢就下载吧 ……

思科3750交换机配置维护手册(2).doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.jiaowen.net/wenku/106967.html(转载请注明文章来源)
Copyright © 2020-2025 教文网 版权所有
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:78024566 邮箱:78024566@qq.com
苏ICP备19068818号-2
Top
× 游客快捷下载通道(下载后可以自由复制和排版)
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
VIP包月下载
特价:29 元/月 原价:99元
低至 0.3 元/份 每月下载150
全站内容免费自由复制
注:下载文档有可能出现无法下载或内容有问题,请联系客服协助您处理。
× 常见问题(客服时间:周一到周五 9:30-18:00)