<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          CISCO交Q機(jī)配置命令大全

          作者: 時(shí)間:2012-09-14 來源:網(wǎng)絡(luò) 收藏

          在交換機(jī)上設(shè)置主機(jī)名/系統(tǒng)名:

          本文引用地址:http://www.ex-cimer.com/article/153931.htm

          1.switch(config)#hostnamehostname

          switch(enable)setsystemnamename-string

          2.在基于IOS的交換機(jī)上設(shè)置登錄口令:

          switch(config)#enablepasswordlevel1password

          在基于CLI的交換機(jī)上設(shè)置登錄口令:

          switch(enable)setpassword

          switch(enable)setenalbepass

          3.在基于IOS的交換機(jī)上設(shè)置管理IP:

          switch(config)#interfacevlan1

          switch(config-if)#ipaddressip-addressnetmask

          switch(config-if)#ipdefault-gatewayip-address

          在基于CLI的交換機(jī)上設(shè)置管理IP:

          switch(enable)setinterfacesc0ip-addressnetmaskbroadcast-address

          switch(enable)setinterfacesc0vlan

          switch(enable)setiproutedefaultgateway

          4.在基于IOS的交換機(jī)上啟用和瀏覽CDP信息:

          switch(config)#cdprun

          switch(config-if)#nocdpenable

          為了查看Cisco鄰接設(shè)備的CDP通告信息:

          switch#showcdpinterface[typemodle/port]

          switch#showcdpneighbors[typemodule/port][detail]

          在基于CLI的交換機(jī)上啟用和瀏覽CDP信息:

          switch(enable)setcdp{enable|disable}module/port

          為了查看Cisco鄰接設(shè)備的CDP通告信息:

          switch(enable)showcdpneighbors[module/port][vlan|duplex|capabilities|detail]

          5.基于IOS的交換機(jī)的端口描述:

          switch(config-if)#descriptiondescription-string

          基于CLI的交換機(jī)的端口描述:

          switch(enable)setportnamemodule/numberdescription-string

          6.在基于IOS的交換機(jī)上設(shè)置端口速度:

          switch(config-if)#speed{10|100|auto}

          在基于CLI的交換機(jī)上設(shè)置端口速度:

          switch(enable)setportspeedmoudle/number{10|100|auto}

          switch(enable)setportspeedmoudle/number{4|16|auto}

          7.在基于IOS的交換機(jī)上設(shè)置以太網(wǎng)的鏈路模式:

          switch(config-if)#duplex{auto|full|half}

          在基于CLI的交換機(jī)上設(shè)置以太網(wǎng)的鏈路模式:

          switch(enable)setportduplexmodule/number{full|half}

          8.在基于IOS的交換機(jī)上靜態(tài)VLAN:

          switch#vlandatabase

          switch(vlan)#vlanvlan-numnamevla

          switch(vlan)#exit

          在基于CLI的交換機(jī)上靜態(tài)VLAN:

          switch(enable)setvlanvlan-num[namename]

          switch(enable)setvlanvlan-nummod-num/port-list

          9.在基于IOS的交換機(jī)上VLAN中繼線:

          switch(config)#interfaceinterfacemod/port

          switch(config-if)#switchportmodetrunk

          switch(config-if)#switchporttrunkencapsulation{isl|dotlq}

          switch(config-if)#switchporttrunkallowedvlanremovevlan-list

          switch(config-if)#switchporttrunkallowedvlanaddvlan-list

          在基于CLI的交換機(jī)上配置trunk:

          switch(enable)settrunkmodule/port[on|off|desirable|auto|nonegotiate]

          Vlan-range[isl|dotlq|dotl0|lane|negotiate]

          10.在基于IOS的交換機(jī)上配置VTP管理域:

          switch#vlandatabase

          switch(vlan)#vtpdomaindomain-name

          在基于CLI的交換機(jī)上配置VTP管理域:

          switch(enable)setvtp[domaindomain-name]

          11.在基于IOS的交換機(jī)上配置VTP模式:

          switch#vlandatabase

          switch(vlan)#vtpdomaindomain-name

          switch(vlan)#vtp{sever|cilent|transparent}

          在基于CLI的交換機(jī)上配置VTP模式:

          switch(enable)setvtp[domaindomain-name][mode{sever|cilent|transparent}][passwordpassword]

          12.在基于IOS的交換機(jī)上配置VTP版本:

          switch#vlandatabase

          switch(vlan)#vtpv2-mode

          在基于CLI的交換機(jī)上配置VTP版本:

          switch(enable)setvtpv2enable

          13.在基于IOS的交換機(jī)上啟動(dòng)VTP剪裁:

          switch#vlandatabase

          switch(vlan)#vtppruning

          在基于CLI的交換機(jī)上啟動(dòng)VTP剪裁:

          switch(enable)setvtppruningenable

          14.在基于IOS的交換機(jī)上配置以太信道:

          switch(config-if)#port-channelgroup-number[distribution{source|destination}]

          在基于CLI的交換機(jī)上配置以太信道:

          switch(enable)setportchannelmoudle/port-rangemode{on|off|desirable|auto}

          15.在基于IOS的交換機(jī)上調(diào)整根路徑成本:

          switch(config-if)#spanning-tree[vlanvlan-list]costcost

          在基于CLI的交換機(jī)上調(diào)整根路徑成本:

          switch(enable)setspantreeportcostmoudle/portcost

          switch(enable)setspantreeportvlancostmoudle/port[costcost][vlan-list]

          16.在基于IOS的交換機(jī)上調(diào)整端口ID:

          switch(config-if)#spanning-tree[vlanvlan-list]port-priorityport-priority

          在基于CLI的交換機(jī)上調(diào)整端口ID:

          switch(enable)setspantreeportpri{mldule/port}priority

          switch(enable)setspantreeportvlanpri{module/port}priority[vlans]

          17.在基于IOS的交換機(jī)上修改STP時(shí)鐘:

          switch(config)#spanning-tree[vlanvlan-list]hello-timeseconds

          switch(config)#spanning-tree[vlanvlan-list]forward-timeseconds

          switch(config)#spanning-tree[vlanvlan-list]max-ageseconds

          在基于CLI的交換機(jī)上修改STP時(shí)鐘:

          switch(enable)setspantreehellointerval[vlan]

          switch(enable)setspantreefwddelaydelay[vlan]

          switch(enable)setspantreemaxageagingtiame[vlan]

          18.在基于IOS的交換機(jī)端口上啟用或禁用PortFast特征:

          switch(config-if)#spanning-treeportfast

          在基于CLI的交換機(jī)端口上啟用或禁用PortFast特征:


          上一頁(yè) 1 2 3 4 5 6 7 8 9 10 11 12 下一頁(yè)

          關(guān)鍵詞: 大全 命令 配置 CISCO

          評(píng)論


          相關(guān)推薦

          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();