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

首頁 > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

5505交換機(jī)配置

2019-11-05 02:09:16
字體:
供稿:網(wǎng)友

  下面就5505的配置步驟作簡單描述:
  1. Supervisor Engine Software 的配置:
  首先Supervisor Engine Module 需要一個(gè)in-band(sc0)接口的ip地址,這是一個(gè)可治理的地址,可以通過telnet、SNMP來治理5505。此外還有一個(gè)SLIP(sl0)接口,這個(gè)接口不常用,這里不作介紹。
  sc0缺省的IP地址是0.0.0.0,屬于VLAN1。(VLAN1 是5505缺省的VLAN ,所有的端口都屬于VLAN1。
  配置如下,例:
  Console> (enable)set interface sc0 ip_addr netmask
  Console> (enable) set interface sc0 vlan_num
  
  其次是缺省網(wǎng)關(guān)的設(shè)置:5505可以設(shè)置3個(gè)網(wǎng)關(guān),其中兩個(gè)是冗余網(wǎng)關(guān)
  例:Console> (enable) set ip route default gateway [PRimary]
  
  設(shè)置靜態(tài)路由:例:Console> (enable) set ip route destination gateway
  [metric]
  
  2. 配置Fast EtherChannel:
  Fast EtherChannel 提供高達(dá)800Mbps的帶寬,F(xiàn)ast EtherChannel是由兩個(gè)或四個(gè)具有Fast EtherChannel功能的快速以太網(wǎng)端口組成的,這些Channel 的mode有on、off、auto、desirable四種模式。組成channel的端口應(yīng)是連續(xù)的端口。配置如下:
  Console> (enable) set port channel mod_num/ports {on off auto
  desirable}
  Console> (enable) show port channel
  3. STP配置:
  在5505上,STP缺省的配置是激活的,并且你只能enable或disable所有的VLANs,而不能針對某一個(gè)VLAN。通過對每個(gè)端口優(yōu)先級的設(shè)置,可以實(shí)現(xiàn)相同鏈路的負(fù)載分擔(dān)。常用命令如下:
  Console> (enable) set spantree enable [vlan]
  Console> (enable) set spantree portpri mod_num/port_num priority [vlans]
  Console> (enable) set spantree portvlanpri mod_num/port_num priority
  [vlans]
  Console> (enable)set spantree disable [vlan]
  Console> (enable) show spantree [mod_num/port_num]
  
  4. VTP(VLAN Trunk Protocol)配置:
  一個(gè)VTP域是由一些具有同一域名的交換機(jī)組成的,在配置VLAN應(yīng)先決定在網(wǎng)絡(luò)中是否使用VTP。一個(gè)VTP域治理第二層信息(即VLAN信息)如VLAN的增加、刪除和重命名等,這些信息通過trunk link在域內(nèi)廣播。VTP有三種模式:Server、Client、Transparent,每臺(tái)交換機(jī)只能有一種VTP模式。
  在Server模式中,你能在交換機(jī)上配置VALN的信息如增加、刪除VLAN,VTP Server把這些信息通過trunk link 廣播給域內(nèi)其它交換機(jī),以同步VLAN信息。交換機(jī)上VTP缺省的模式是Server。
  在Client模式中,交換機(jī)只能從VTP Server接收VLAN信息,不修改任何VLAN信息,你只能加入由VTP Server已經(jīng)創(chuàng)建好的VALN。
  在Transparent模式中,交換機(jī)不參與VTP 域中的VLAN信息交換(即它不發(fā)送、也不接收VLAN信息),你可以在交換機(jī)上設(shè)置VALN的任何信息。在VTP VERSION2中交換機(jī)可以將它所收到的VTP廣播從trunk link 上廣播出去。VTP配置如下:
  Console> (enable) set vtp domain name
  Console> (enable) set vtp mode [serverClientTransparent]
  Console> (enable) show vtp domain
  
  VTP Pruning:
  VTP Pruning 可以減少廣播以達(dá)到增加帶寬的目的。在網(wǎng)絡(luò)中有許多廣播包、多目廣播包、還有非廣播包,它們通過trunk link 連接廣播到域內(nèi)所有交換機(jī)上,占用大量的帶寬。VTP Pruning可以有效的減少將這些包廣播出去。VTP Pruning 在Supervisor Engine Software release 2.3和以后的版本中支持。
  
  
  5.配置VLAN:
  Console> (enable) set vlan vlan_num [name name]
  Console> (enable) show vlan vlan_num
  Console> (enable) set vlan vlan_num mod_num/port_num
  Console> (enable) show vlan vlan_num
  Console> (enable) show port [mod_num/port_num]
  
  
  6. 配置 VLAN Trunks on Fast Ethernet and Gigabit Ethernet Ports:
  VLAN Trunk 用于交換機(jī)間的互連,你可以在Fast Ethernet和Gigabit Ethernet Port或在 Fast or Gigabit EtherChannel bundle上設(shè)置Trunk,作為tr unk的端口用DTP(Dynamic Trunking Protocol)協(xié)議(也可以不用)來協(xié)商。

  VLAN Trunk有五種模式和兩種種封裝:
  五種模式為:on , off , desirable , auto , nonegotiate
  兩種封裝為:ISL,802.1Q
  另外,當(dāng)Trunk 配置后,所有VLAN都被加入到此Trunk中,你可以增加或刪除Trunk中的VALN,但是你不能刪除缺省VLAN(即VLAN1)。
  配置如下:
  Console> (enable) set trunk mod_num/port_num {on
  desirable auto} {isl dot1q negotiate }
  Console> (enable) show trunk
  
  
  7. 配置VMPS(VLAN Management Policy Server):
  用VMPS,交換機(jī)端口可以根據(jù)連接此端口主機(jī)的MAC地址動(dòng)態(tài)的加入VLAN。當(dāng)激活VMPS時(shí),VMPS Server從TFTP Server 上下載一個(gè) MAC address-to-vlan mapping database 同時(shí)開始響應(yīng)VMPS Client 的請求,假如主機(jī)的MAC 地址在數(shù)據(jù)庫中有匹配,則VMPS Server響應(yīng)Client的請求,分配給該端口VLAN NUMBER號(hào),此端口就動(dòng)態(tài)的加入了所屬VALN。若不能找到匹配,則返回 “access denied” 信息。若為了加強(qiáng)安全性,你也可以將VLAN 限制在指定端口組上,只有連到這些端口上的主機(jī)才能動(dòng)態(tài)的加入VLAN,而其它端口上的主機(jī)的MAC 地址即使在數(shù)據(jù)庫中有此MAC 的匹配也不能加入VLAN。
  
  
  8. 配置InterVLAN 路由:
  VLAN間的通訊需要一個(gè)路由器,在5505中是由RSM模塊來完成的,
  因此 ,要配置VLAN間的路由還需要配置RSM模塊。配置如下 :
  Console> (enable) session mod/num //RSM所在槽位
  PassWord:*****
  Router>configure terminal
  Router(config)#ip routing
  Router(config)#router ip_routing_protocol
  Router(config)#interface vlan-id
  Router(config-if)#ip address n.n.n.n mask
  Router(config)# copy running-config startup-config
  
  
  9. MLS(多層交換):
  MLS功能是由插在交換機(jī)機(jī)柜上的RSM模塊來完成的,也可由與交換機(jī)相連的路由器、如7000系列來完成。
  MLS 提供高效的、基于硬件的第三層交換,MLS 使用advanced application-specific integrated circuit (ASIC)在子網(wǎng)間交換非廣播包,使用標(biāo)準(zhǔn)的路由協(xié)議如OSPF、RIP、EIGRP、IS-IS等作出路由選擇,它還提供流量統(tǒng)計(jì)以便于治理。
  
  MLS由三部分組成:
  Multilayer Switching-Switching Engine (MLS-SE):Catalyst 5000 series switch
  with the NFFC or NFFC II。
  Multilayer Switching-Route Processor (MLS-RP):The MLS-RP provides Cisco
  IOS-based multiprotocol routing, network services, and central configuration
  and control for the switches。
  Multilayer Switching Protocol (MLSP)---The protocol running between the MLS-
  SE and MLS-RP to enable MLS。
  
  MLS 操作過程:
  當(dāng)一個(gè)MLS 流(假設(shè)是IP流)產(chǎn)生,它的第一個(gè)IP包到達(dá)MLS-SE,MLS-SE執(zhí)行包重寫,將目的MAC地址該成MLS-RP地址,將其發(fā)送給MLS-RP,MLS-RP檢查Access List以檢查是否答應(yīng)此IP流的建立,若沒有設(shè)置Access List,則根據(jù)路由協(xié)議為此包選擇出口,同時(shí)通過MLSP協(xié)議將IP 流信息傳給MLS-SE,MLS-SE在MLS-SE Cache 中為此IP流建立Entry,后續(xù)同一IP流的IP包將利用剛剛建立的Entry迅速找到出口,而無須再經(jīng)過MLS-RP路由,當(dāng)IP 流結(jié)束時(shí),此Entry 自動(dòng)消失。
  
  1) 路由器配置。
  Router(config)#mls rp ip
  Router(config-if)#mls rp vtp-domain [domain_name]
  Router(config-if)#mls rp vlan-id [vlan_id_num]
  Router(config-if)#mls rp ip
  Router(config-if)#mls rp management-interface
  2) 交換機(jī)配置。
  Console> (enable) set mls enable
  Console> (enable) set mls include ip_address
  Console> (enable)set mls flow {destination destination-source full}
  
  MLS軟硬件要求:
  多層交換技術(shù)要求下面的軟件和硬件版本:
  l Catalyst 5000 系列超級用戶引擎軟件4.1(1)或者更新的版本。

  2 Cisco IOS路由器軟件11.3(2)WA4(4),或者更新的版本。
  3 超級用戶引擎Ⅲ(Supervisor EngineⅢ),帶NFFC
  4 RSM或者Cisco7500、7200、4500或者4700系列路由器
  
  10.NDE(NetFlow Data EXPort)說明:
  NDE能夠監(jiān)視NFFC、NFFCII、RSM以及外接路由器的流量,NDE實(shí)現(xiàn)內(nèi)置的RMON功能以答應(yīng)你監(jiān)視所有的端口流量。
  集成的MLS包括治理,輔助的應(yīng)用(流數(shù)據(jù)的收集、輸出、處理,流收集如:Cisco SwitchProbe and NetFlow FlowCollector,gather and classify flows。處理如:TrafficDirector, NetSys,,or NetFlow Analyzer)。
  Catalyst 5000 series Network Analysis Module (WS-X5380)和Cisco SwitchProbe device能夠完成流信息收集功能,Network Analysis Module提供擴(kuò)展RMON監(jiān)控功能和能夠分析NFFC、NFFCII上輸出的VLAN流信息。
  
  使用NDE過濾:
  可以指定一個(gè)過濾器來輸出你所期望的數(shù)據(jù)流,過濾器的參數(shù)值存儲(chǔ)在NVRAM中,只有NDE激活時(shí)才可以改變。
  
  軟硬件的要求:
  Supervisor engine software---Software release 4.1(1) or later
  Cisco IOS router software---IOS release 11.3(2)WA4(4) or later
  Catalyst 2926G series switch or a Catalyst 5000 series switch with Supervisor Engine III, III FSX, or III FLX modulewith a NetFlow Feature Card (NFFC) or NFFC II
  Route Switch Module (RSM) or Cisco 7500, 7200, 4500, or 4700 series router
  RMON data collector (sUCh as the Catalyst 5000 series Network Analysis Module)
  
  NDE 配置:
  1. 指定NDE地址:
  在收集MLS統(tǒng)計(jì)信息時(shí),應(yīng)先指定MLS-RP和MLS-SE使用的NDE IP地址。
  Router(config)#mls rp nde-address [ip_addr]
  指定地址后,還須在交換機(jī)上用set mls include [ip_addr]命令將MLS-RP的IP地址包含進(jìn)去。
  2. 指定NDE收集器:
  在第一次激活NDE時(shí),你需要指定一個(gè)NDE收集器和UDP端口號(hào),它們被保留在NVRAM中。假如Network Analysis Module (WS-X5380)被安裝則無需指定它們。
  Console> (enable) set mls nde [collector_ip] [udp_port_number]
  3. 激活NDE:
  Console> (enable)set mls nde enable
  4. 指定過濾器:
  Console> (enable)set mls nde flow destination [ip_addr_spec]
  Console> (enable) set mls nde flow destination [ip_addr_spec]
  source [ip_addr_spec]
  Console> (enable)set mls nde flow dst_prt [port_number]
  Console> (enable)set mls nde flow source [ip_addr_spec] dst_prt [port_number]
  Console> (enable)set mls nde flow protocol protocol
  
  
  四5505配置速查:
  1. 基本配置:
  1)進(jìn)入特權(quán)模式。
  Console> enable
  Enter password:******
  Console> (enable)
  2)給交換機(jī)分配IP地址。
  Console> (enable)set interface sc0 ip_addr netmask
  Console> (enable) set interface sc0 vlan_num
  把交換機(jī)sc0接口分配給VLAN,默認(rèn)給VALN1。
  Console> (enable) set ip route default gateway
  Console> (enable) show interface
  Console> (enable) show ip route
  查看配置。
  3)以太網(wǎng)端口配置。
  Console> (enable)set port speed mod_num/port_num {10 100
  auto}
  Console> (enable) set port duplex mod_num/port_num {full half
  auto}
  Console> (enable) set port enable mod_num/port_num
  Console> (enable) set port name mod_num/port_num name_string
  Console> (enable) show port mod_num/port_num
  4)系統(tǒng)設(shè)置
  Console> (enable) set system name name_string
  Console> (enable) set time mm/dd/yy hh:mm:ss
  Console> (enable) set prompt prompt_string
  Console> (enable) set password
  Console> (enable) set enablepass
  2. VLAN配置
  1)VTP配置。

  Console> (enable) set vtp domain name
  Console> (enable) set vtp mode [serverClientTransparent]
  Console> (enable) show vtp domain
  2)設(shè)置VLAN
  Console> (enable) set vlan vlan_num [name name]
  Console> (enable) show vlan vlan_num
  Console> (enable) set vlan vlan_num mod_num/port_num
  Console> (enable) show vlan vlan_num
  Console> (enable) show port [mod_num/port_num]
  3)設(shè)置VLAN TRUNK
  Console> (enable) set trunk mod_num/port_num {on
  desirable auto} {isl dot1q negotiate }
  Console> (enable) show trunk
  4)設(shè)置EtherChannel
  
  Console> (enable) set port channel port_list {on desirable
  auto}
  Console> (enable)show port channel [mod_num[/port_num]]
  Console> (enable)write memory
  3.配置VLAN間路由。
  1) 配置RSM。
  Console> (enable) session mod/num //RSM所在槽位
  Password:*****
  Router>configure terminal
  Router(config)#ip routing
  Router(config)#router ip_routing_protocol
  Router(config)#interface vlan-id
  Router(config-if)#ip address n.n.n.n mask
  Router(config)# copy running-config startup-config
  
  4 .MLS配置。
  3) 路由器配置。
  Router(config)#mls rp ip
  Router(config-if)#mls rp vtp-domain [domain_name]
  Router(config-if)#mls rp vlan-id [vlan_id_num]
  Router(config-if)#mls rp ip
  Router(config-if)#mls rp management-interface
  4) 交換機(jī)配置。
  Console> (enable) set mls enable
  Console> (enable) set mls include ip_address
  Console> (enable)set mls flow {destination destination-source full}

發(fā)表評論 共有條評論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 巍山| 静乐县| 广宁县| 长沙县| 文登市| 崇礼县| 广德县| 额尔古纳市| 北辰区| 瓦房店市| 叙永县| 诏安县| 湟源县| 太和县| 江门市| 彰化县| 商水县| 株洲市| 德惠市| 彭州市| 玉田县| 玛沁县| 金平| 梅河口市| 崇礼县| 万载县| 北川| 湄潭县| 柳州市| 葫芦岛市| 静安区| 齐河县| 都江堰市| 年辖:市辖区| 启东市| 宿州市| 毕节市| 钟山县| 灵石县| 徐闻县| 措勤县|