日本免费全黄少妇一区二区三区-高清无码一区二区三区四区-欧美中文字幕日韩在线观看-国产福利诱惑在线网站-国产中文字幕一区在线-亚洲欧美精品日韩一区-久久国产精品国产精品国产-国产精久久久久久一区二区三区-欧美亚洲国产精品久久久久

5505交換機(jī)配置


下面就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的帶寬 , Fast 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 {onoffauto
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 , 每臺交換機(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é)商 。

推薦閱讀