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

Deepseek提供支持

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
广告
广告图片
温馨提示 : 非特殊注明,否则均为©李联华的博客网原创文章,本站文章未经授权禁止任何形式转载;来自:俄亥俄州·哥伦布 ,欢迎您的访问!
文章链接:https://www.lilianhua.com/100-commands-commonly-used-by-cisco-switches-reprint.html
请先登录才能参与答题
距本场结束剩 00 00 00 00
轻量应用服务器 2核2G
200M峰值带宽,适用于网站搭建、Web应用、容器环境、电商独立站等
立即前往
扫码进入
扫描二维码购买
文澜千文

文澜千文

请登录以使用此功能。

雀巢(Nestle)脆脆鲨【虞书欣推荐】威化饼干巧克力味24条446.4g抗饿解馋小零食 雀巢(Nestle)脆脆鲨【虞书欣推荐】威化饼干巧克力味24条446.4g抗饿解馋小零食
Loading...