思科交换机常用的100个命令(转载)

35. 用show lane client 显示LEC 的状态.

36. 用show module 显示已安装的模块列表.

37. 用物理接口建立与VLAN 的连接:

  router# configure terminal

  router(config)# interface media module/port

  router(config-if)# description description-string

  router(config-if)# ip address ip-addr subnet-mask

  router(config-if)# no shutdown

38. 用中继链路来建立与VLAN 的连接:

  router(config)# interface module/port.subinterface

  router(config-ig)# encapsulation[isl|dotlq] vlan-number

  router(config-if)# ip address ip-address subnet-mask

39. 用LANE 来建立与VLAN 的连接:

  router(config)# interface atm module/port

  router(config-if)# no ip address

  router(config-if)# atm pvc 1 0 5 qsaal

  router(config-if)# atm pvc 2 0 16 ilni

  router(config-if)# interface atm module/port.subinterface multipoint

  router(config-if)# ip address ip-address subnet-mask

  router(config-if)# lane client ethernet elan-num

  router(config-if)# interface atm module/port.subinterface multipoint

  router(config-if)# ip address ip-address subnet-name

  router(config-if)# lane client ethernet elan-name

  router(config-if)# …

40. 为了在路由处理器上进行动态路由配置,可以用下列IOS 命令来进行:

  router(config)# ip routing

  router(config)# router ip-routing-protocol

  router(config-router)# network ip-network-number

  router(config-router)# network ip-network-number

41. 配置默认路由:

  switch(enable) set ip route default gateway

42. 为一个路由处理器分配VLANID,可在接口模式下使用下列命令:

  router(config)# interface interface number

  router(config-if)# mls rp vlan-id vlan-id-num

43. 在路由处理器启用MLSP:

  router(config)# mls rp ip

44. 为了把一个外置的路由处理器接口和交换机安置在同一个VTP 域中:

  router(config)# interface interface number

  router(config-if)# mls rp vtp-domain domain-name

45. 查看指定的VTP 域的信息:

  router# show mls rp vtp-domain vtp domain name

46. 要确定RSM 或路由器上的管理接口,可以在接口模式下输入下列命令:

  router(config-if)#mls rp management-interface

47. 要检验MLS-RP 的配置情况:

  router# show mls rp

48. 检验特定接口上的MLS 配置:

  router# show mls rp interface interface number

49. 为了在MLS-SE 上设置流掩码而又不想在任一个路由处理器接口上设置访问列表:

  set mls flow [destination|destination-source|full]

50. 为使MLS 和输入访问列表可以兼容,可以在全局模式下使用下列命令:

  router(config)# mls rp ip input-acl
温馨提示 : 非特殊注明,否则均为©李联华的博客网原创文章,本站文章未经授权禁止任何形式转载;IP地址:18.218.124.127,归属地:俄亥俄州Dublin ,欢迎您的访问!
文章链接:https://www.ooize.com/100-commands-commonly-used-by-cisco-switches-reprint.html
订阅
提醒
guest

0 评论
内联反馈
查看所有评论
Popup Image

通知

本站原则上是免费提供技术支持,但是服务器维护和运营成本高,可以实行自由赞助:赞助

Loading...