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

首頁 > 網管 > 路由交換 > 正文

Cisco交換機功能性命令簡介

2020-05-13 14:01:05
字體:
來源:轉載
供稿:網友

  1.在基于IOS的交換機上設置主機名/系統名:switch(config)# hostname hostname在基于CLI的交換機上設置主機名/系統名:switch(enable) set system name name-string2.在基于IOS的交換機上設置登錄口令:switch(config)# enable password level 1 password在基于CLI的交換機上設置登錄口令:switch(enable) set passwordswitch(enable) set enalbepass3.在基于IOS的交換機上設置遠程訪問:switch(config)# interface vlan 1switch(config-if)# ip address ip-address netmaskswitch(config-if)# ip default-gateway ip-address在基于CLI的交換機上設置遠程訪問:switch(enable) set interface sc0 ip-address netmask broadcast-addressswitch(enable) set interface sc0 vlanswitch(enable) set ip route default gateway4.在基于IOS的交換機上啟用和瀏覽CDP信息:switch(config-if)# cdp enableswitch(config-if)# no cdp enable為了查看Cisco鄰接設備的CDP通告信息:switch# show cdp interface [type modle/port]switch# show cdp neighbors [type module/port] [detail]在基于CLI的交換機上啟用和瀏覽CDP信息:switch(enable) set cdp module/port為了查看Cisco鄰接設備的CDP通告信息:switch(enable) show cdp neighbors[module/port] [vlan duplex capabilities detail]5.基于IOS的交換機的端口描述:switch(config-if)# description description-string基于CLI的交換機的端口描述:switch(enable)set port name module/number description-string6.在基于IOS的交換機上設置端口速度:switch(config-if)# speed在基于CLI的交換機上設置端口速度:switch(enable) set port speed moudle/numberswitch(enable) set port speed moudle/number7.在基于IOS的交換機上設置以太網的鏈路模式:switch(config-if)# duplex在基于CLI的交換機上設置以太網的鏈路模式:switch(enable) set port duplex module/number8.在基于IOS的交換機上配置靜態VLAN:switch# vlan databaseswitch(vlan)# vlan vlan-num name vlaswitch(vlan)# exitswitch# configure teriminalswitch(config)# interface interface module/numberswitch(config-if)# switchport mode accessswitch(config-if)# switchport access vlan vlan-numswitch(config-if)# end在基于CLI的交換機上配置靜態VLAN:switch(enable) set vlan vlan-num [name name]switch(enable) set vlan vlan-num mod-num/port-list9. 在基于IOS的交換機上配置VLAN中繼線:switch(config)# interface interface mod/portswitch(config-if)# switchport mode trunkswitch(config-if)# switchport trunk encapsulationswitch(config-if)# switchport trunk allowed vlan remove vlan-listswitch(config-if)# switchport trunk allowed vlan add vlan-list在基于CLI的交換機上配置VLAN中繼線:switch(enable) set trunk module/port [on off desirable auto nonegotiate]Vlan-range [isl dotlq dotl0 lane negotiate]10.在基于IOS的交換機上配置VTP管理域:switch# vlan databaseswitch(vlan)# vtp domain domain-name在基于CLI的交換機上配置VTP管理域:switch(enable) set vtp [domain domain-name] 11.在基于IOS的交換機上配置VTP 模式:switch# vlan databaseswitch(vlan)# vtp domain domain-nameswitch(vlan)# vtpswitch(vlan)# vtp password password在基于CLI的交換機上配置VTP 模式:switch(enable) set vtp [domain domain-name] [mode{ sever cilent transparent }][password password]

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 田阳县| 晋城| 平阳县| 阳原县| 黄冈市| 长兴县| 项城市| 永城市| 栾城县| 靖远县| 郴州市| 纳雍县| 沂源县| 巴马| 盘山县| 绿春县| 武汉市| 垣曲县| 竹溪县| 贵港市| 漾濞| 余姚市| 扎兰屯市| 河南省| 忻城县| 博爱县| 哈密市| 桦川县| 绥棱县| 镇安县| 德江县| 梅州市| 泗洪县| 大化| 应城市| 高雄市| 内黄县| 孟津县| 泌阳县| 合江县| 邵东县|