交换机命令---华为路由器配置
日期:2007年6月10日 作者: 查看:[大字体 中字体 小字体]-
1.在基于IOS的交换机上设置主机名/系统名:
switch(config)# hostname hostname
在基于CLI的交换机上设置主机名/系统名:
switch(enable) set system name name-string
2.在基于IOS的交换机上设置登录口令:
switch(config)# enable passWord level 1 password
在基于CLI的交换机上设置登录口令:
switch(enable) set password
switch(enable) set enalbepass
3.在基于IOS的交换机上设置远程访问:
switch(config)# interface vlan 1
switch(config-if)# ip address ip-address netmask
switch(config-if)# ip default-gateway ip-address
在基于CLI的交换机上设置远程访问:
switch(enable) set interface sc0 ip-address netmask broadcast-address
switch(enable) set interface sc0 vlan
switch(enable) set ip route default gateway
4.在基于IOS的交换机上启用和浏览CDP信息:
switch(config-if)# cdp enable
switch(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 {enabledisable} module/port
为了查看Cisco邻接设备的CDP通告信息:
switch(enable) show cdp neighbors[module/port] [vlanduplexcapabilitiesdetail]
5.基于IOS的交换机的端口描述:
switch(config-if)# description description-string
基于CLI的交换机的端口描述:
switch(enable)set port name module/number description-string
6.在基于IOS的交换机上设置端口速度:
switch(config-if)# speed{10100auto}
在基于CLI的交换机上设置端口速度:
switch(enable) set port speed moudle/number {10100auto}
switch(enable) set port speed moudle/number {416auto}
7.在基于IOS的交换机上设置以太网的链路模式:
switch(config-if)# duplex {autofullhalf}
在基于CLI的交换机上设置以太网的链路模式:
switch(enable) set port duplex module/number {fullhalf}
8.在基于IOS的交换机上配置静态VLAN:
switch# vlan database
switch(vlan)# vlan vlan-num name vla
switch(vlan)# exit
switch# configure teriminal
switch(config)# interface interface module/number
switch(config-if)# switchport mode Access
switch(config-if)# switchport access vlan vlan-num
switch(config-if)# end
在基于CLI的交换机上配置静态VLAN:
switch(enable) set vlan vlan-num [name name]
switch(enable) set vlan vlan-num mod-num/port-list
9. 在基于IOS的交换机上配置VLAN中继线:
switch(config)# interface interface mod/port
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk encapsulation {isldotlq}
switch(config-if)# switchport trunk allowed vlan remove vlan-list
switch(config-if)# switchport trunk allowed vlan add vlan-list
在基于CLI的交换机上配置VLAN中继线:
switch(enable) set trunk module/port [onoffdesirableautononegotiate]
Vlan-range [isldotlqdotl0lanenegotiate]
10.在基于IOS的交换机上配置VTP管理域:
switch# vlan database
switch(vlan)# vtp domain domain-name
在基于CLI的交换机上配置VTP管理域:
switch(enable) set vtp [domain domain-name]
11.在基于IOS的交换机上配置VTP 模式:
switch# vlan database
switch(vlan)# vtp domain domain-name
switch(vlan)# vtp {severcilenttransparent}
switch(vlan)# vtp password password
在基于CLI的交换机上配置VTP 模式:
switch(enable) set vtp [domain domain-name] [mode{ severcilenttransparent }][password password]
12. 在基于IOS的交换机上配置VTP版本:
switch# vlan database
switch(vlan)# vtp v2-mode
在基于CLI的交换机上配置VTP版本:
switch(enable) set vtp v2 enable
13. 在基于IOS的交换机上启动VTP剪裁:
switch# vlan database
switch(vlan)# vtp pruning
在基于CL I 的交换机上启动VTP剪裁:
switch(enable) set vtp pruning enable
14.在基于IOS的交换机上配置以太信道:
switch(config-if)# port group group-number [distribution {sourcedestination}]
在基于CLI的交换机上配置以太信道:
switch(enable) set port channel moudle/port-range mode{onoffdesirableauto}
15.在基于IOS的交换机上调整根路径成本:
switch(config-if)# spanning-tree [vlan vlan-list] cost cost
在基于CLI的交换机上调整根路径成本:
switch(enable) set spantree portcost moudle/port cost
switch(enable) set spantree portvlancost moudle/port [cost cost][vlan-list] - [1] [2] [3] [4] [5] [6] 下一页
-
- 交换机命令---华为路由器配置 相关文章:
- ·交换机命令---华为路由器配置
- 交换机命令---华为路由器配置 相关软件
- 特别声明:本站除部分特别声明禁止转载的专稿外的其他文章可以自由转载,但请务必注明出处和原始作
- 者.文章版权归文章原始作者所有.对于被本站转载文章的个人和网站,我们表示深深的谢意。如果本站转
- 载的文章有版权问题请联系编辑人员,我们尽快予以更正. 转载请注明来源:http://www.hackhome.com
上一篇:华为路由器配置详解
下一篇:上海贝尔阿尔卡特 SpeedTouch HomePlus 511 ADSL路由器
精品推荐
热点TOP10
- ·路由器安全设置详解
- ·ADSL猫 路由设置方法
- ·ZXDSL 531B 无线ADSL路由器
- ·宽带共享该怎样设置无线路由器
- ·静态路由的设置及相关命令
- ·上海贝尔阿尔卡特Home Plus Plus 500 ADSL路由器
- ·20款最流行猫ADSL MODEM路由设置方法
- ·路由原理介绍
- ·教你如何调试CISCO路由器(上)
- ·路由器调试大全
- ·IP 路由命令
- ·Quidway 路由器系统基本命令
- ·Cisco路由器配置教程
- ·教你如何在虚拟机安装IPCOP软路由
- ·教你如何配置CISCO路由器(中)
- ·华为路由器配置详解
- ·实达ADSL modem路由设置方法
- ·路由器限制与禁止BT下载的设置
- ·经典:图解交换机与路由器组网
- ·Cisco路由器安装向导
特别推荐
- ·路由器导致无法上网解决方案
- ·用路由器防范小区宽带网恶意攻击
- ·校园网静态与动态内部路由组建
- ·不用正常命令退出路由器的故障
- ·正确配置路由 合理使用路由器资源
- ·思科路由设备安全配置建议(手册)
- ·静态路由的设置及相关命令
- ·Quidway? S6500系列高端路由交换机
- ·要如何远程管理路由器
- ·Quidway 路由器系统基本命令
- ·Cisco路由器安装向导
- ·NETGEAR美国网件 54M无线设备评测(1)
- ·路由器安全设置详解
- ·全球路由表应用举例
- ·cisco路由器安全防护
- ·教你如何配置CISCO路由器(中)
- ·思科电信级路由系统多种服务。一个网络。无限的可能性。
- ·ADSL猫 路由设置方法
- ·ZXDSL 531B 无线ADSL路由器
- ·路由器备份配置---Backup
