国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學院 > 網絡通信 > 正文

某公司6509為主網絡配置實例

2019-11-04 20:25:47
字體:
來源:轉載
供稿:網友

  一、 Catalyst 6509交換機配置方案
  1.1、配置6509二層交換
  
  Console> (enable) set system name bg-sw-01 /設備名稱
  Bg-sw-01> (enable) set passWord
  Enter old password:
  Enter new password: test       /設備口令
  Retype new password: test
  
  Bg-sw-01> (enable) set enablepass
  Enter old password:
  Enter new password: test       /設備口令
  Retype new password: test
  
  Bg-sw-01> (enable) set banner motd % Welcome to the c6509 in the Office %  /提示文本
  
  Bg-sw-01> (enable) set interface sc0 10.234.180.21 255.255.255.0  /設置治理接口 #sh int
  Bg-sw-01> (enable) set ip route default 10.234.180.234    /設置默認網關 #sh ip route
  
  Bg-sw-01> (enable) set vtp mode server          /設置VTP模式 #sh vtp domain
  Bg-sw-01> (enable) set vtp domain Core_Net          /設置VTP域名
  Bg-sw-01> (enable) set vlan 31 name ZhongSanLu        /創建VLAN #sh vlan
  Bg-sw-01> (enable) set vlan 32 name YiYang
  Bg-sw-01> (enable) set vlan 33 name JianXiu
  Bg-sw-01> (enable) set vlan 34 name RaoDian
  Bg-sw-01> (enable) set vlan 35 name JinSanLou
  Bg-sw-01> (enable) set vlan 36 name WuZi
  
  Bg-sw-01> (enable) set port channel 1/1-2 on          /設置Channel #sh port channel
  Bg-sw-01> (enable) set trunk 1/1 on dot1q 1-1005
  
  Bg-sw-01> (enable) set trunk 2/2 on dot1q 1-1005 /設置trunk口 #sh trunk #
  Bg-sw-01> (enable) set trunk 2/3 on dot1q 1-1005
  Bg-sw-01> (enable) set trunk 2/4 on dot1q 1-1005
  Bg-sw-01> (enable) set trunk 2/5 on dot1q 1-1005
  Bg-sw-01> (enable) set trunk 2/6 on dot1q 1-1005
  Bg-sw-01> (enable) set trunk 2/7 on dot1q 1-1005
                               
  Bg-sw-01> (enable) set spantree root 1-40 dia 4 /設為spantree的根 #sh spantree
  Bg-sw-01> (enable) set spantree portfast 1/1-2 enable /設spantree端口快速啟用  
  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
  
  C6509-msfc(config-if)# interface vlan 33
  C6509-msfc(config-if)# ip address 10.234.181.188 255.255.255.192
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 33 ip 10.234.181.190
  C6509-msfc(config-if)# standby 33 priority 110
  C6509-msfc(config-if)# standby 33 preempt
  
  C6509-msfc(config-if)# interface vlan 34
  C6509-msfc(config-if)# ip address 10.234.181.220 255.255.255.224
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 34 ip 10.234.181.222
  C6509-msfc(config-if)# standby 34 priority 110
  C6509-msfc(config-if)# standby 34 preempt
  
  C6509-msfc(config-if)# interface vlan 35
  C6509-msfc(config-if)# ip address 10.234.181.254 252.255.255.224
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 35 ip 10.234.181.254
  C6509-msfc(config-if)# standby 35 priority 110
  C6509-msfc(config-if)# standby 35 preempt
  
  C6509-msfc(config-if)# interface vlan 36
  C6509-msfc(config-if)# ip address 10.234.182.28 255.255.255.224
  C6509-msfc(config-if)# no shutdown
  C6509-msfc(config-if)# standby 36 ip 10.234.182.30
  C6509-msfc(config-if)# standby 36 priority 110
  C6509-msfc(config-if)# standby 36 preempt
  
  C6509-msfc(config-if)# exit
  
  C6509-msfc #copy running config
  
  二、Catalyst 4006交換機配置方案
  2.1、配置4006二層交換(三層交換模塊安置在第二個槽)
  
  Console> (enable) set system name bg-sw-02 /設備名稱
  Bg-sw-02> (enable) set password
  Enter old password:
  Enter new password: test       /設備口令
  Retype new password: test
  
  Bg-sw-02> (enable) set enablepass
  Enter old password:
  Enter new password: test       /設備口令
  Retype new password: test
  
  Bg-sw-02> (enable) set banner motd % Welcome to the c4006 in the office % /提示文本
  
  Bg-sw-02> (enable) set interface sc0 10.234.180.22 255.255.255.0 /設置治理接口 #sh int
  Bg-sw-02> (enable) set ip route default 10.234.180.234 /設置默認網關 #sh ip route
  
  Bg-sw-02> (enable) set vtp mode server /設置VTP模式 #sh vtp domain
  Bg-sw-02> (enable) set vtp domain Core_Net /設置VTP域名
  Bg-sw-02> (enable) set vlan 31 name ZhongSanLu /創建VLAN #sh vlan
  Bg-sw-02> (enable) set vlan 32 name YiYang
  Bg-sw-02> (enable) set vlan 33 name JianXiu
  Bg-sw-02> (enable) set vlan 34 name RaoDian
  Bg-sw-02> (enable) set vlan 35 name JinSanLou
  Bg-sw-02> (enable) set vlan 36 name WuZi
  
  Bg-sw-02> (enable) set port channel 1/1-2 on /設置Channel #sh port channel
  Bg-sw-02> (enable) set trunk 1/1 on dot1q 1-1005
  Bg-sw-02> (enable) set port channel 2/1-2 on /設置Channel #sh port channel
  Bg-sw-02> (enable) set trunk 2/1 on dot1q 1-1005
  
  Bg-sw-02> (enable) set trunk 4/1 on dot1q 1-1005 /設置trunk口 #sh trunk #
  Bg-sw-02> (enable) set trunk 4/3 on dot1q 1-1005
  Bg-sw-02> (enable) set trunk 4/4 on dot1q 1-1005
  
  Bg-sw-02> (enable) set spantree root secondary 1-40 dia 4
  Bg-sw-02> (enable) set spantree portfast 1/1-2 enable /設spantree端口快速啟用  
  Bg-sw-02> (enable) set spantree portfast 2/1-34 enable       
  Bg-sw-02> (enable) set spantree portfast 3/1-32 enable       
  Bg-sw-02> (enable) set spantree portfast 4/1-6 enable       
  Bg-sw-02> (enable) set spantree uplinkfast enable /設spantree端口快速切換       
  Bg-sw-02> (enable) set spantree backbonefast enable /設spantree端口


上一篇:DDN配置實例

下一篇:NAT簡介及應用實例

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 徐水县| 民丰县| 宾川县| 桃江县| 井研县| 伊川县| 西和县| 玛沁县| 桐乡市| 南昌市| 寿光市| 昌邑市| 文昌市| 蕲春县| 兴国县| 左权县| 乌恰县| 博白县| 义乌市| 夏河县| 浦东新区| 汾西县| 夹江县| 冕宁县| 永康市| 新邵县| 宜良县| 平利县| 西安市| 阿鲁科尔沁旗| 慈利县| 大安市| 平陆县| 栾城县| 东莞市| 永兴县| 灵石县| 平江县| 平舆县| 科尔| 武清区|