国产探花免费观看_亚洲丰满少妇自慰呻吟_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]

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 北安市| 鹿泉市| 同心县| 绍兴市| 辽源市| 屏东市| 鸡泽县| 麟游县| 博野县| 太仓市| 宁德市| 安远县| 岳阳县| 安阳市| 彭州市| 新建县| 方山县| 库车县| 名山县| 博兴县| 阿克| 九寨沟县| 宜良县| 鄱阳县| 千阳县| 晋州市| 呼和浩特市| 枣阳市| 阿坝| 板桥市| 铁岭市| 常宁市| 建平县| 华蓥市| 隆回县| 临泉县| 格尔木市| 思茅市| 漾濞| 会昌县| 大悟县|