Chinaunix首页 | 论坛 | 博客
  • 博客访问: 545478
  • 博文数量: 122
  • 博客积分: 2131
  • 博客等级: 大尉
  • 技术积分: 1652
  • 用 户 组: 普通用户
  • 注册时间: 2009-07-03 18:38
个人简介

别人能,你为什么不能,请记住这4点:1、想干总有办法,不想干总有理由2、只有想不到事的人,没有做不到的事3、不是井里没有水,而是挖的不够深 4、不是成功来的慢,而是放弃的太快。

文章分类

全部博文(122)

文章存档

2015年(1)

2014年(9)

2013年(48)

2011年(2)

2010年(8)

2009年(54)

我的朋友

分类:

2010-01-16 09:35:18

1.在基于IOS的交换机上配置VTP 模式:

  switch# vlan database

  switch(vlan)# vtp domain domain-name

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

  switch(vlan)# vtp password password

  在基于CLI的交换机上配置VTP 模式:

  switch(enable) set vtp [domain domain-name] [mode{ sever|cilent|transparent }][password password]

  2. 在基于IOS的交换机上配置VTP版本:

  switch# vlan database

  switch(vlan)# vtp v2-mode

  在基于CLI的交换机上配置VTP版本:

  switch(enable) set vtp v2 enable

  3. 在基于IOS的交换机上启动VTP剪裁:

  switch# vlan database

  switch(vlan)# vtp pruning

  在基于CL I 的交换机上启动VTP剪裁:

  switch(enable) set vtp pruning enable

  4.在基于IOS的交换机上配置以太信道:

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

  在基于CLI的交换机上配置以太信道:

  switch(enable) set port channel moudle/port-range mode{on|off|desirable|auto}

  5.在基于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]

  6.在基于IOS的交换机上调整端口ID:

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

  在基于CLI的交换机上调整端口ID:

  switch(enable) set spantree portpri {mldule/port}priority

  switch(enable) set spantree portvlanpri {module/port}priority [vlans]

  7. 在基于IOS的交换机上修改STP时钟:

  switch(config)# spanning-tree [vlan vlan-list] hello-time seconds

  switch(config)# spanning-tree [vlan vlan-list] forward-time seconds

  switch(config)# spanning-tree [vlan vlan-list] max-age seconds

  在基于CLI的交换机上修改STP时钟:

  switch(enable) set spantree hello interval[vlan]

  switch(enable) set spantree fwddelay delay [vlan]

  switch(enable) set spantree maxage agingtiame[vlan]

  8. 在基于IOS的交换机端口上启用或禁用Port Fast 特征:

  switch(config-if)#spanning-tree portfast

  在基于CLI的交换机端口上启用或禁用Port Fast 特征:

  switch(enable) set spantree portfast {module/port}{enable|disable}

  9. 在基于IOS的交换机端口上启用或禁用UplinkFast 特征:

  switch(config)# spanning-tree uplinkfast [max-update-rate pkts-per-second]

  在基于CLI的交换机端口上启用或禁用UplinkFast 特征:

  switch(enable) set spantree uplinkfast {enable|disable}[rate update-rate] [all-protocols off|on]

  10. 为了将交换机配置成一个集群的命令交换机,首先要给管理接口分配一个IP地址,然后使用下列命令: switch(config)# cluster enable cluster-name cv

阅读(1367) | 评论(0) | 转发(0) |
0

上一篇:Cisco交换机的密码恢复

下一篇:DOS命令

给主人留下些什么吧!~~