4500系列交换机简要配置手册(中文).pdf





《4500系列交换机简要配置手册(中文).pdf》由会员分享,可在线阅读,更多相关《4500系列交换机简要配置手册(中文).pdf(5页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、 思科 4500 系列交换机简明配置维护手册 1、配置机器名、telnet、密码 在全局模式下,用 conf t,进入配置模式,进行以下配置:#conf t#clock timezone GMT 8;配置时区#clock set 13:30:21 31 JAN 2004;配置交换机时间#clock calendar-valid;使能硬件时钟同步#service timestamps debug datetime localtime;配置系统 debug 记录时间格式#service timestamps log datetime localtime;配置系统日志记录时间格式#service p
2、assword-encryption;配置使用加密服务,主要针对口令加密#hostname xxxx;配置交换机名称#enable secret 0 xxxxx;配置 enable 口令#copy run start;将配置信息保存到 NVRAM 中,重启动不会丢失#line vty 0 4;配置 telnet#exec-timeout 30 0#password 0 xxxx#login 2、配置 snmp#conf t#snmp-server community cisco ro(只读);配置只读通信字符串#snmp-server community secret rw(读写);配置读写通
3、信字符串#snmp-server enable traps ;配置网关 SNMP TRAP#snmp-server host rw;配置网关工作站地址 3、启动三层功能#ip routing;启动路由功能 4、端口设置 .端口基本设置 Cisco 65xx 系列交换机的端口缺省都是路由模式,一般都会配置为交换端口使用,进入端口配置模式:对于单一端口,在配置模式下输入:interface Ethernet,Fast Ethernet,Gigabit Ethernet x/y,x 为槽位号,y 为端口号。对于一组端口,可以使用以下的命令进入,例如:Switch(config)#interface
4、range fastethernet 5/1-5 或:Switch(config-if)#interface range gigabitethernet 2/1-2,gigabitethernet 3/1-2 进行端口配置模式后,可以 shutdown,或 no shutdown 端口,并可以对端口进行配置,快速以太端口有全双工、半双工和自动协商模式,如果知道对端连接的设备是采用何种方式,最好采用手工设置方式固定端口的模式和速率。缺省是自动协商模式。快速以太端口的速率可以设置为 100M,也可以设置为 10M 和自动协商。缺省是自动协商方式。如:Switch(config-if)#speed
5、10|100|auto(速度)Switch(config-if)#duplex auto|full|half(双工)或添加注释,如:Switch(config-if)#description Channel-group to Marketing .配置二层交换接口 (以 fastethernet 为例,gigabitethernet 一样)Switch(config)#interface fastethernet x/y Switch(config-if)#shutdown Switch(config-if)#switchport ;6500 上缺省端口为路由端口,需要写 switchport
6、 将端口设置为交换端口 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan x Switch(config-if)#no shutdown Switch(config-if)#end 清除二层接口配置 (以 fastethernet 为例,gigabitethernet 一样)Switch(config)#interface fastethernet x/y Switch(config-if)#no switchport Switch(config-if)#end 注:使用 defa
7、ult interface ethernet|fastethernet|gigabitethernet slot/port,使端口回到原来的缺省配置。.配置三层路由端口 6500 的端口缺省就是具有三层交换的端口,用来跟其他设备的连接,当将一个端口配 置成三层端口之后,就可以在此端口上分配 IP 地址了。Switch(config)#interface fastethernet x/y Switch(config)#ip add Switch(config)#no shutdown .配置端口 Trunk 将一个二层端口配置为 Trunk 模式:Switch(config)#interface
8、 fastethernet x/y(以 fastethernet 为例,gigabitethernet 一样)Switch(config-if)#shutdown Switch(config-if)#switchport Switch(config-if)#switchport trunk encapsulation dot1q Switch(config-if)#switchport mode trunk Switch(config-if)#no shutdown Switch(config-if)#end Switch#exit .Ethernaet Channel Switch(conf
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 4500 系列 交换机 简要 配置 手册 中文

限制150内