欢迎来到天天文库
浏览记录
ID:57866693
大小:26.42 KB
页数:8页
时间:2020-09-02
《Cisco-5505的具体初始配置实例.docx》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、Cisco5505的具体初始配置实例思科网络技术 2007-11-1200:28:15 阅读71 评论0 字号:大中小 订阅Cisco5505的具体初始配置实例下面就5505的配置步骤作简单描述:1.SupervisorEngineSoftware的配置:首先SupervisorEngineModule需要一个in-band(sc0)接口的IP地址,这是一个可管理的地址,可以通过telnet、SNMP来管理5505。此外还有一个SLIP(sl0)接口,这个接口不常用,这里不作介绍。sc0缺省的IP地址是0.0.0.0,属于VLAN1。(VLAN1是5505缺省的VLAN,所有的端口都属于VL
2、AN1。配置如下,例:Console>(enable)setinterfacesc0ip_addrnetmaskConsole>(enable)setinterfacesc0vlan_num其次是缺省网关的设置:5505可以设置3个网关,其中两个是冗余网关例:Console>(enable)setiproutedefaultgateway[primary]设置静态路由:例:Console>(enable)setiproutedestinationgateway[metric]2.配置FastEtherChannel:FastEtherChannel提供高达800Mbps的带宽,FastEthe
3、rChannel是由两个或四个具有FastEtherChannel功能的快速以太网端口组成的,这些Channel的mode有on、off、auto、desirable四种模式。组成channel的端口应是连续的端口。配置如下:Console>(enable)setportchannelmod_num/ports{on
4、off
5、auto
6、desirable}Console>(enable)showportchannel3.STP配置:在5505上,STP缺省的配置是激活的,并且你只能enable或disable所有的VLANs,而不能针对某一个VLAN。通过对每个端口优先级的设置,可以实现相同链
7、路的负载分担。常用命令如下:Console>(enable)setspantreeenable[vlan]Console>(enable)setspantreeportprimod_num/port_numpriority[vlans]Console>(enable)setspantreeportvlanprimod_num/port_numpriority[vlans]Console>(enable)setspantreedisable[vlan]Console>(enable)showspantree[mod_num/port_num]4.VTP(VLANTrunkProtocol)配置:
8、一个VTP域是由一些具有同一域名的交换机组成的,在配置VLAN应先决定在网络中是否使用VTP。一个VTP域管理第二层信息(即VLAN信息)如VLAN的增加、删除和重命名等,这些信息通过trunklink在域内广播。VTP有三种模式:Server、Client、Transparent,每台交换机只能有一种VTP模式。在Server模式中,你能在交换机上配置VALN的信息如增加、删除VLAN,VTPServer把这些信息通过trunklink广播给域内其它交换机,以同步VLAN信息。交换机上VTP缺省的模式是Server。在Client模式中,交换机只能从VTPServer接收VLAN信息,不修改
9、任何VLAN信息,你只能加入由VTPServer已经创建好的VALN。在Transparent模式中,交换机不参与VTP域中的VLAN信息交换(即它不发送、也不接收VLAN信息),你可以在交换机上设置VALN的任何信息。在VTPVERSION2中交换机可以将它所收到的VTP广播从trunklink上广播出去。VTP配置如下:Console>(enable)setvtpdomainnameConsole>(enable)setvtpmode[server
10、Client
11、Transparent]Console>(enable)showvtpdomainVTPPruning:VTPPruning可以
12、减少广播以达到增加带宽的目的。在网络中有许多广播包、多目广播包、还有非广播包,它们通过trunklink连接广播到域内所有交换机上,占用大量的带宽。VTPPruning可以有效的减少将这些包广播出去。VTPPruning在SupervisorEngineSoftwarerelease2.3和以后的版本中支持。5.配置VLAN:Console>(enable)setvlanvlan_num[name
此文档下载收益归作者所有