信息系统项目管理师_2024年软考学习应考交流_信息系统项目管理师考试

 找回密码
 马上注册

QQ登录

只需一步,快速开始

查看: 2737|回复: 12
打印 上一主题 下一主题

交换机命令全集

[复制链接]

该用户从未签到

升级  30.8%

跳转到指定楼层
楼主
发表于 2006-3-5 07:06:26 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">1.在基于IOS的交换机上设置主机名/系统名: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config)# hostname hostname </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  在基于CLI的交换机上设置主机名/系统名: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set system name name-string </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  2.在基于IOS的交换机上设置登 </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">&nbsp;<br/>&nbsp;<br/>录口令: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config)# enable password level 1 password </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  在基于CLI的交换机上设置登录口令: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set password </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set enalbepass </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  3.在基于IOS的交换机上设置远程访问: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config)# interface vlan 1 </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config-if)# ip address ip-address netmask </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config-if)# ip default-gateway ip-address </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  在基于CLI的交换机上设置远程访问: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set interface sc0 ip-address netmask <br/>  broadcast-address </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set interface sc0 vlan </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set ip route default gateway </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  4.在基于IOS的交换机上启用和浏览CDP信息: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config-if)# cdp enable </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config-if)# no cdp enable </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  为了查看Cisco邻接设备的CDP通告信息: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch# show cdp interface [type modle/port] </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch# show cdp neighbors [type module/port] [detail] </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  在基于CLI的交换机上启用和浏览CDP信息: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set cdp {enable|disable} module/port </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  为了查看Cisco邻接设备的CDP通告信息: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) show cdp neighbors[module/port] <br/>  [vlan|duplex|capabilities|detail] </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  5.基于IOS的交换机的端口描述: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config-if)# description description-string </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  基于CLI的交换机的端口描述: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable)set port name module/number <br/>  description-string </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  6.在基于IOS的交换机上设置端口速度: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config-if)# speed{10|100|auto} </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  在基于CLI的交换机上设置端口速度: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set port speed moudle/number <br/>  {10|100|auto} </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set port speed moudle/number {4|16|auto} </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  7.在基于IOS的交换机上设置以太网的链路模式: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(config-if)# duplex {auto|full|half} </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  在基于CLI的交换机上设置以太网的链路模式: </font></p></span></b></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt;"><b><span lang="EN-US" style="FONT-SIZE: 11pt; COLOR: #0e3e92; FONT-FAMILY: Arial;"><p><font face="宋体" size="4">  switch(enable) set port duplex module/number {full|half}</font></p></span></b></p>
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 转播转播 分享分享 顶 踩

该用户从未签到

升级  30.8%

沙发
 楼主| 发表于 2006-3-5 07:07:04 | 只看该作者
<p><font size="4">8.在基于IOS的交换机上配置静态VLAN: </font></p><p><font size="4">  switch# vlan database </font></p><p><font size="4">  switch(vlan)# vlan vlan-num name vla </font></p><p><font size="4">  switch(vlan)# exit </font></p><p><font size="4">  switch# configure teriminal </font></p><p><font size="4">  switch(config)# interface interface module/number </font></p><p><font size="4">  switch(config-if)# switchport mode access </font></p><p><font size="4">  switch(config-if)# switchport access vlan vlan-num </font></p><p><font size="4">  switch(config-if)# end </font></p><p><font size="4">  在基于CLI的交换机上配置静态VLAN: </font></p><p><font size="4">  switch(enable) set vlan vlan-num [name name] </font></p><p><font size="4">  switch(enable) set vlan vlan-num mod-num/port-list </font></p><p><font size="4">  9. 在基于IOS的交换机上配置VLAN中继线: </font></p><p><font size="4">  switch(config)# interface interface mod/port </font></p><p><font size="4">  switch(config-if)# switchport mode trunk </font></p><p><font size="4">  switch(config-if)# switchport trunk encapsulation <br/>  {isl|dotlq} </font></p><p><font size="4">  switch(config-if)# switchport trunk allowed vlan remove <br/>  vlan-list </font></p><p><font size="4">  switch(config-if)# switchport trunk allowed vlan add <br/>  vlan-list </font></p><p><font size="4">  在基于CLI的交换机上配置VLAN中继线: </font></p><p><font size="4">  switch(enable) set trunk module/port <br/>  [on|off|desirable|auto|nonegotiate] </font></p><p><font size="4">  Vlan-range [isl|dotlq|dotl0|lane|negotiate] </font></p><p><font size="4">  10.在基于IOS的交换机上配置VTP管理域: </font></p><p><font size="4">  switch# vlan database </font></p><p><font size="4">  switch(vlan)# vtp domain domain-name </font></p><p><font size="4">  在基于CLI的交换机上配置VTP管理域: </font></p><p><font size="4">  switch(enable) set vtp [domain domain-name]</font></p>

该用户从未签到

升级  30.8%

藤椅
 楼主| 发表于 2006-3-5 07:07:37 | 只看该作者
<p><font size="4">11.在基于IOS的交换机上配置VTP 模式: </font></p><p><font size="4">  switch# vlan database </font></p><p><font size="4">  switch(vlan)# vtp domain domain-name </font></p><p><font size="4">  switch(vlan)# vtp {sever|cilent|transparent} </font></p><p><font size="4">  switch(vlan)# vtp password password </font></p><p><font size="4">  在基于CLI的交换机上配置VTP 模式: </font></p><p><font size="4">  switch(enable) set vtp [domain domain-name] [mode{ <br/>  sever|cilent|transparent }][password password] </font></p><p><font size="4">  12. 在基于IOS的交换机上配置VTP版本: </font></p><p><font size="4">  switch# vlan database </font></p><p><font size="4">  switch(vlan)# vtp v2-mode </font></p><p><font size="4">  在基于CLI的交换机上配置VTP版本: </font></p><p><font size="4">  switch(enable) set vtp v2 enable </font></p><p><font size="4">  13. 在基于IOS的交换机上启动VTP剪裁: </font></p><p><font size="4">  switch# vlan database </font></p><p><font size="4">  switch(vlan)# vtp pruning </font></p><p><font size="4">  在基于CL I 的交换机上启动VTP剪裁: </font></p><p><font size="4">  switch(enable) set vtp pruning enable </font></p><p><font size="4">  14.在基于IOS的交换机上配置以太信道: </font></p><p><font size="4">  switch(config-if)# port group group-number [distribution <br/>  {source|destination}] </font></p><p><font size="4">  在基于CLI的交换机上配置以太信道: </font></p><p><font size="4">  switch(enable) set port channel moudle/port-range <br/>  mode{on|off|desirable|auto} </font></p><p><font size="4">  15.在基于IOS的交换机上调整根路径成本: </font></p><p><font size="4">  switch(config-if)# spanning-tree [vlan vlan-list] cost <br/>  cost </font></p><p><font size="4">  在基于CLI的交换机上调整根路径成本: </font></p><p><font size="4">  switch(enable) set spantree portcost moudle/port cost </font></p><p><font size="4">  switch(enable) set spantree portvlancost moudle/port <br/>  [cost cost][vlan-list] </font></p><p><font size="4">  16.在基于IOS的交换机上调整端口ID: </font></p><p><font size="4">  switch(config-if)# spanning-tree[vlan <br/>  vlan-list]port-priority port-priority </font></p><p><font size="4">  在基于CLI的交换机上调整端口ID: </font></p><p><font size="4">  switch(enable) set spantree portpri <br/>  {mldule/port}priority </font></p><p><font size="4">  switch(enable) set spantree portvlanpri <br/>  {module/port}priority [vlans] </font></p>

该用户从未签到

升级  30.8%

板凳
 楼主| 发表于 2006-3-5 07:08:03 | 只看该作者
<p><font size="4">17. 在基于IOS的交换机上修改STP时钟: </font></p><p><font size="4">  switch(config)# spanning-tree [vlan vlan-list] <br/>  hello-time seconds </font></p><p><font size="4">  switch(config)# spanning-tree [vlan vlan-list] <br/>  forward-time seconds </font></p><p><font size="4">  ` switch(config)# spanning-tree [vlan vlan-list] max-age <br/>  seconds </font></p><p><font size="4">  在基于CLI的交换机上修改STP时钟: </font></p><p><font size="4">  switch(enable) set spantree hello interval[vlan] </font></p><p><font size="4">  switch(enable) set spantree fwddelay delay [vlan] </font></p><p><font size="4">  switch(enable) set spantree maxage agingtiame[vlan] </font></p><p><font size="4">  18. 在基于IOS的交换机端口上启用或禁用Port Fast 特征: </font></p><p><font size="4">  switch(config-if)#spanning-tree portfast </font></p><p><font size="4">  在基于CLI的交换机端口上启用或禁用Port Fast 特征: </font></p><p><font size="4">  switch(enable) set spantree portfast <br/>  {module/port}{enable|disable} </font></p><p><font size="4">  19. 在基于IOS的交换机端口上启用或禁用UplinkFast 特征: </font></p><p><font size="4">  switch(config)# spanning-tree uplinkfast <br/>  [max-update-rate pkts-per-second] </font></p><p><font size="4">  在基于CLI的交换机端口上启用或禁用UplinkFast 特征: </font></p><p><font size="4">  switch(enable) set spantree uplinkfast <br/>  {enable|disable}[rate update-rate] [all-protocols <br/>  off|on] </font></p><p><font size="4">  20. 为了将交换机配置成一个集群的命令交换机,首先要给管理接口分配一个IP地址,然后使用下列命令: <br/>  switch(config)# cluster enable cluster-name</font></p><p><font size="4">21. 为了从一条中继链路上删除VLAN,可使用下列命令: </font></p><p><font size="4">  switch(enable) clear trunk module/port vlan-range </font></p><p><font size="4">  22. 用show vtp domain 显示管理域的VTP参数. </font></p><p><font size="4">  23. 用show vtp statistics显示管 </font></p><p><br/><font size="4">理域的VTP参数. <br/></font></p>
[此贴子已经被作者于2006-3-5 7:10:09编辑过]

该用户从未签到

升级  30.8%

报纸
 楼主| 发表于 2006-3-5 07:08:39 | 只看该作者
<p><font size="4">24. 在Catalyst交换机上定义TrBRF的命令如下: </font></p><p><font size="4">  switch(enable) set vlan vlan-name [name name] type trbrf <br/>  bridge bridge-num[stp {ieee|ibm}] </font></p><p><font size="4">  25. 在Catalyst交换机上定义TrCRF的命令如下: </font></p><p><font size="4">  switch (enable) set vlan vlan-num [name name] type trcrf </font></p><p><br/><font size="4">  {ring hex-ring-num|decring decimal-ring-num} parent <br/>  vlan-num </font></p><p><font size="4">  26. 在创建好TrBRF <br/>  VLAN之后,就可以给它分配交换机端口.对于以太网交换,可以采用如下命令给VLAN分配端口: </font></p><p><font size="4">  switch(enable) set vlan vlan-num mod-num/port-num </font></p><p><font size="4">  27. 命令show spantree显示一个交换机端口的STP状态. </font></p><p><font size="4">  28. 配置一个ELAN的LES和BUS,可以使用下列命令: </font></p><p><font size="4">  ATM (config)# interface atm number.subint multioint </font></p><p><font size="4">  ATM(config-subif)# lane serber-bus ethernet elan-name </font></p><p><font size="4">  29. 配置LECS: </font></p><p><font size="4">  ATM(config)# lane database database-name </font></p><p><font size="4">  ATM(lane-config-databade)# name elan1-name <br/>  server-atm-address les1-nsap-address </font></p><p><font size="4">  ATM(lane-config-databade)# name elan2-name <br/>  server-atm-address les2-nsap-address </font></p><p><font size="4">  ATM(lane-config-databade)# name … </font></p><p><font size="4">  30. 创建完数据库后,必须在主接口上启动LECS.命令如下: </font></p><p><font size="4">  ATM(config)# interface atm number </font></p><p><font size="4">  ATM(config-if)# lane config database database-name </font></p><p><font size="4">  ATM(config-if)# lane config auto-config-atm-address </font></p><p><font size="4">  31. 将每个LEC配置到一个不同的ATM子接口上.命令如下: </font></p><p><font size="4">  ATM(config)# interface atm number.subint multipoint </font></p><p><font size="4">  ATM(config)# lane client ethernet vlan-num elan-num </font></p><p><font size="4">  32. 用show lane server 显示LES的状态. </font></p><p><font size="4">  33. 用show lane bus显示bus的状态. </font></p><p><font size="4">  34. 用show lane database显示LECS数据库可内容. </font></p><p><font size="4">  35. 用show lane client显示LEC的状态. </font></p><p><font size="4">  36. 用show module显示已安装的模块列表. </font></p><p><font size="4">  37. 用物理接口建立与VLAN的连接: </font></p><p><font size="4">  router# configure terminal </font></p><p><font size="4">  router(config)# interface media module/port </font></p><p><font size="4">  router(config-if)# description description-string </font></p><p><font size="4">  router(config-if)# ip address ip-addr subnet-mask </font></p><p><font size="4">  router(config-if)# no shutdown </font></p>
[此贴子已经被作者于2006-3-5 7:09:10编辑过]

该用户从未签到

升级  30.8%

地板
 楼主| 发表于 2006-3-5 07:09:33 | 只看该作者
<p><font size="4">38. 用中继链路来建立与VLAN的连接: </font></p><p><font size="4">  router(config)# interface module/port.subinterface </font></p><p><font size="4">  router(config-ig)# encapsulation[isl|dotlq] vlan-number </font></p><p><font size="4">  router(config-if)# ip address ip-address subnet-mask </font></p><p><font size="4">  39. 用LANE 来建立与VLAN的连接: </font></p><p><font size="4">  router(config)# interface atm module/port </font></p><p><font size="4">  router(config-if)# no ip address </font></p><p><font size="4">  router(config-if)# atm pvc 1 0 5 qsaal </font></p><p><font size="4">  router(config-if)# atm pvc 2 0 16 ilni </font></p><p><font size="4">  router(config-if)# interface atm <br/>  module/port.subinterface multipoint </font></p><p><font size="4">  router(config-if)# ip address ip-address subnet-mask </font></p><p><font size="4">  router(config-if)# lane client ethernet elan-num </font></p><p><font size="4">  router(config-if)# interface atm <br/>  module/port.subinterface multipoint </font></p><p><font size="4">  router(config-if)# ip address ip-address subnet-name </font></p><p><font size="4">  router(config-if)# lane client ethernet elan-name </font></p><p><font size="4">  router(config-if)# … </font></p><p><font size="4">  40. 为了在路由处理器上进行动态路由配置,可以用下列IOS命令来进行: </font></p><p><font size="4">  router(config)# ip routing </font></p><p><font size="4">  router(config)# router ip-routing-protocol </font></p><p><font size="4">  router(config-router)# network ip-network-number </font></p><p><font size="4">  router(config-router)# network ip-network-number<br/></font></p>

该用户从未签到

升级  30.8%

7
 楼主| 发表于 2006-3-5 07:10:26 | 只看该作者
<p><font size="4">41. 配置默认路由: </font></p><p><font size="4">  switch(enable) set ip route default gateway </font></p><p><font size="4">  42. 为一个路由处理器分配VLANID,可在接口模式下使用下列命令: </font></p><p><font size="4">   </font></p><p><br/><font size="4">router(config)# interface interface number </font></p><p><font size="4">  router(config-if)# mls rp vlan-id vlan-id-num </font></p><p><font size="4">  43. 在路由处理器启用MLSP: </font></p><p><font size="4">  router(config)# mls rp ip </font></p><p><font size="4">  44. 为了把一个外置的路由处理器接口和交换机安置在同一个VTP域中: </font></p><p><font size="4">  router(config)# interface interface number </font></p><p><font size="4">  router(config-if)# mls rp vtp-domain domain-name </font></p><p><font size="4">  45. 查看指定的VTP域的信息: </font></p><p><font size="4">  router# show mls rp vtp-domain vtp domain name </font></p><p><font size="4">  46. 要确定RSM或路由器上的管理接口,可以在接口模式下输入下列命令: </font></p><p><font size="4">  router(config-if)#mls rp management-interface </font></p><p><font size="4">  47. 要检验MLS-RP的配置情况: </font></p><p><font size="4">  router# show mls rp </font></p><p><font size="4">  48. 检验特定接口上的MLS配置: </font></p><p><font size="4">  router# show mls rp interface interface number </font></p><p><font size="4">  49. 为了在MLS-SE上设置流掩码而又不想在任一个路由处理器接口上设置访问列表: </font></p><p><font size="4">  set mls flow [destination|destination-source|full] </font></p><p><font size="4">  50. 为使MLS和输入访问列表可以兼容,可以在全局模式下使用下列命令: </font></p><p><font size="4">  router(config)# mls rp ip input-acl </font></p><p><font size="4">  51. 当某个交换机的第3层交换失效时,可在交换机的特权模式下输入下列命令: </font></p><p><font size="4">  switch(enable) set mls enable </font></p><p><font size="4">  52. 若想改变老化时间的值,可在特权模式下输入以下命令: </font></p><p><font size="4">  switch(enable) set mls agingtime agingtime </font></p><p><font size="4">  53. 设置快速老化: </font></p><p><font size="4">  switch(enable) set mls agingtime fast fastagingtime <br/>  pkt_threshold </font></p>

该用户从未签到

升级  30.8%

8
 楼主| 发表于 2006-3-5 07:10:58 | 只看该作者
<p><font size="4">54. 确定那些MLS-RP和MLS-SE参与了MLS,可先显示交换机引用列表中的内容再确定: </font></p><p><font size="4">  switch(enable) show mls include </font></p><p><font size="4">  55. 显示MLS高速缓存记录: </font></p><p><font size="4">  switch(enable) show mls entry </font></p><p><font size="4">  56. 用命令show in arp显示ARP高速缓存区的内容。 </font></p><p><font size="4">  57. 要把路由器配置为HSRP备份组的成员,可以在接口配置模式下使用下面的命令: </font></p><p><font size="4">  router(config-if)# standby group-number ip ip-address </font></p><p><font size="4">  58. 为了使一个路由器重新恢复转发路由器的角色,在接口配置模式下: </font></p><p><font size="4">  router(config-if)# standy group-number preempt </font></p><p><font size="4">  59. 访问时间和保持时间参数是可配置的: </font></p><p><font size="4">  router(config-if)# standy group-number timers hellotime <br/>  holdtime </font></p><p><font size="4">  60. 配置HSRP跟踪: </font></p><p><font size="4">  router(config-if)# standy group-number track type-number <br/>  interface-priority<br/>61. 要显示HSRP路由器的状态: </font></p><p><font size="4">  router# show standby type-number group brief </font></p><p><font size="4">  62. 用命令show ip igmp确定当选的查询器。 </font></p><p><font size="4">  63. 启动IP组播路由选择: </font></p><p><font size="4">   <br/>&nbsp;<br/>router(config)# ip muticast-routing </font></p><p><font size="4">  64. 启动接口上的PIM: </font></p><p><font size="4">  dalllasr1&gt;(config-if)# ip pim <br/>  {dense-mode|sparse-mode|sparse-dense-mode} </font></p><p><font size="4">  65. 启动稀疏-稠密模式下的PIM: </font></p><p><font size="4">  router# ip multicast-routing </font></p><p><font size="4">  router# interface type number </font></p><p><font size="4">  router# ip pim sparse-dense-mode </font></p><p><font size="4">  66. 核实PIM的配置: </font></p><p><font size="4">  dallasr1&gt;# show ip pim interface[type number] [count] </font></p><p><font size="4">  67. 显綪IM邻居: </font></p><p><font size="4">  dallasr1&gt;# show ip neighbor type number </font></p><p><font size="4">  68. 为了配置RP的地址,命令如下: </font></p><p><font size="4">  dallasr1&gt;# ip pim rp-address ip-address <br/>  [group-access-list-number][override] </font></p>

该用户从未签到

升级  30.8%

9
 楼主| 发表于 2006-3-5 07:11:28 | 只看该作者
<p><font size="4">69. 选择一个默认的RP: </font></p><p><font size="4">  dallasr1&gt;# ip pim rp-address </font></p><p><font size="4">  通告RP和它所服务的组范围: </font></p><p><font size="4">  dallasr1&gt;# ip pim send-rp-announce type number scope ttl <br/>  group-list access-list-number </font></p><p><font size="4">  为管理范围组通告RP的地址: </font></p><p><font size="4">  dallasr1&gt;# ip pim send-rp-announce ethernet0 scope 16 <br/>  group-list1 </font></p><p><font size="4">  dallasr1&gt;# access-list 1 permit 266.0.0.0 0.255.255.255 </font></p><p><font size="4">  设定一个RP映像代理: </font></p><p><font size="4">  dallasr1&gt;# ip pim send-rp-discovery scope ttl </font></p><p><font size="4">  核实组到RP的映像: </font></p><p><font size="4">  dallasr1&gt;# show ip pim rp mapping </font></p><p><font size="4">  dallasr1&gt;# show ip pim rp [group-name|group-address] <br/>  [mapping] </font></p><p><font size="4">  70. 在路由器接口上用命令ip multicast ttl-threshold <br/>  ttl-value设定TTL阀值: </font></p><p><font size="4">  dallasr1&gt;(config-if)# ip multicast ttl-threshold <br/>  ttl-value </font></p><p><font size="4">  71. 用show ip pim neighbor显示PIM邻居表。 </font></p><p><font size="4">  72. 显示组播通信路由表中的各条记录: </font></p><p><font size="4">  dallasr1&gt;show ip mroute <br/>  [group-name|group-address][scoure][summary][count][active <br/>  kbps] </font></p><p><font size="4">  73. 要记录一个路由器接受和发送的全部IP组播包: </font></p><p><font size="4">  dallasr1&gt; #debug ip mpacket [detail] <br/>  [access-list][group] </font></p><p><font size="4">  74. 要在CISCO路由器上配置CGMP: </font></p><p><font size="4">  dallasr1&gt;(config-if)# ip cgmp </font></p><p><font size="4">  75.配置一个组播路由器,使之加入某一个特定的组播组: </font></p><p><font size="4">  dallasr1&gt;(config-if)# ip igmp join-group group-address </font></p><p><font size="4">  76. 关闭 CGMP: </font></p><p><font size="4">  dallasr1&gt;(config-if)# no ip cgmp </font></p><p><font size="4">  77. 启动交换机上的CGMP: </font></p><p><font size="4">  dallasr1&gt;(enable) set cgmp enable </font></p>

该用户从未签到

升级  30.8%

10
 楼主| 发表于 2006-3-5 07:12:04 | 只看该作者
<p><font size="4">78. 核实Catalyst交换机上CGMP的配置情况: </font></p><p><font size="4">  catalystla1&gt;(enable) show config </font></p><p><font size="4">  set prompt catalystla1&gt; </font></p><p><font size="4">  set interface sc0 192.168.1.1 255.255.255.0 </font></p><p><font size="4">  set cgmp enable </font></p><p><font size="4">  79. CGMP离开的设置: </font></p><p><font size="4">  Dallas_SW(enable) set cgmp leave </font></p><p><font size="4">  80. 在Cisco设备上修改控制端口密码: </font></p><p><font size="4">  R1(config)# line console 0 </font></p><p><font size="4">  R1(config-line)# login </font></p><p><font size="4">  R1(config-line)# password Lisbon </font></p><p><font size="4">  R1(config)# enable password Lilbao </font></p><p><font size="4">  R1(config)# login local </font></p><p><font size="4">  R1(config)# username student password cisco<br/>81. 在Cisco设备上设置控制台及vty端口的会话超时: </font></p><p><font size="4">  R1(config)# line console 0 </font></p><p><font size="4">  R1(config-line)# exec-timeout 5 10 </font></p><p><font size="4">  R1(config)# line vty 0 4 </font></p><p><font size="4">   <br/>&nbsp;<br/>R1(config-line)# exec-timeout 5 2 </font></p><p><font size="4">  82. 在Cisco设备上设定特权级: </font></p><p><font size="4">  R1(config)# privilege configure level 3 username </font></p><p><font size="4">  R1(config)# privilege configure level 3 copy run start </font></p><p><font size="4">  R1(config)# privilege configure level 3 ping </font></p><p><font size="4">  R1(config)# privilege configure level 3 show run </font></p><p><font size="4">  R1(config)# enable secret level 3 cisco </font></p><p><font size="4">  83. 使用命令privilege 可定义在该特权级下使用的命令: </font></p><p><font size="4">  router(config)# privilege mode level level command </font></p><p><font size="4">  84. 设定用户特权级: </font></p><p><font size="4">  router(config)# enable secret level 3 dallas </font></p><p><font size="4">  router(config)# enable secret san-fran </font></p><p><font size="4">  router(config)# username student password cisco </font></p><p><font size="4">  85. 标志设置与显示: </font></p><p><font size="4">  R1(config)# banner motd ‘unauthorized access will be <br/>  prosecuted!’ </font></p><p><font size="4">  86. 设置vty访问: </font></p><p><font size="4">  R1(config)# access-list 1 permit 192.168.2.5 </font></p><p><font size="4">  R1(config)# line vty 0 4 </font></p><p><font size="4">  R1(config)# access-class 1 in </font></p><p><font size="4">  87. 配置HTTP访问: </font></p><p><font size="4">  Router3(config)# access-list 1 permit 192.168.10.7 </font></p><p><font size="4">  Router3(config)# ip http sever </font></p><p><font size="4">  Router3(config)# ip http access-class 1 </font></p><p><font size="4">  Router3(config)# ip http authentication local </font></p><p><font size="4">  Router3(config)# username student password cisco </font></p>
您需要登录后才可以回帖 登录 | 马上注册

本版积分规则

小黑屋|手机版|Archiver|信息系统项目管理师_软考交流平台. ( 鄂ICP备11002878号-1  公安备案号:42011102001150

GMT+8, 2025-7-5 17:15

Software by Discuz! X3.2

© 2001-2013 SKIN BY DSVUE

快速回复 返回顶部 返回列表