新客网WWW.XKER.COM:致力做中国最专业的网络学院!
学院: 操作系统 - 网络应用 - 服务器 - 网络安全 - 工具软件 - 办公软件 - Web开发 - 数据库 - 网页设计 - 图形图像 - 媒体动画 - 硬件学堂 - 存储频道 - QQ专区
您的位置:首页 > 网络学院 > 网络应用 > 交换技术 > 正文:6509为主网络配置实例

6509为主网络配置实例

新客网 XKER.COM 2007-01-31 来源: 收藏本文
   

  Bg-sw-01> (enable) set spantree portfast 2/1-8 enable

  Bg-sw-01> (enable) set spantree uplinkfast enable /设spantree端口快速切换

  Bg-sw-01> (enable) set spantree backbonefast enable /设spantree端口快速定位根

  1.2、配置路由

  Console> (enable) session 15    /进入路由子卡

  Router(config)# hostname c6509-msfc                     /设备名

  c6509-msfc (config)# enable password test /设口令

  c6509-msfc (config)# enable secret test

  C6509-msfc(config)# banner motd % Welcome to the c6509-msfc in the Office % /设提示文本

  c6509-msfc (config)# line vty 0 4 / 进入VTY模式

  c6509-msfc (config-line)#login / 登入提示

  c6509-msfc (config-line)#password test  / 设用户级口令

  c6509-msfc (config-line)# end

  C6509-msfc#configure terminal                          / 进入全局模式

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

  C6509-msfc(config)# interface vlan 1  /进入虚子接口

  C6509-msfc(config-if)# ip address 10.234.180.232 255.255.255.0 /加ip地址

  C6509-msfc(config-if)# no shutdown/开启端口

  C6509-msfc(config-if)# standby 1 ip 10.234.180.234/建HSRP组并设虚IP地址

  C6509-msfc(config-if)# standby 1 priority 110 /设优先级

  C6509-msfc(config-if)# standby 1 preempt/设切换许可

  C6509-msfc(config-if)# interface vlan 31

  C6509-msfc(config-if)# ip address 10.234.181.60 255.255.255.192

  C6509-msfc(config-if)# no shutdown

  C6509-msfc(config-if)# standby 31 ip 10.234.181.62

  C6509-msfc(config-if)# standby 31 priority 110

  C6509-msfc(config-if)# standby 31 preempt

  C6509-msfc(config-if)# interfacevlan 32

  C6509-msfc(config-if)# ip address 10.234.181.124 255.255.255.192

  C6509-msfc(config-if)# no shutdown

  C6509-msfc(config-if)# standby 32 ip 10.234.181.126

  C6509-msfc(config-if)# standby 32 priority 110

  C6509-msfc(config-if)# standby 32 preempt

[责任编辑:editor]

收藏】 【评论】 【推荐】 【投稿】 【打印】 【关闭
发表评论
要记得去论坛讨论,点击注册新会员匿名评论
评论内容:不能超过250字,需审核后才会公布,请自觉遵守互联网相关政策法规。
阅读排行
随机推荐
实用信息推荐