Cisco Router and switch 配置命令(九)

来源:互联网 发布:炒股软件定制 编辑:程序博客网 时间:2024/06/05 02:31

15. 用show lane server 显示LES的状态.

16. 用show lane bus显示bus的状态.

17. 用show lane database显示LECS数据库可内容.

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

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

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

  router# configure terminal

  router(config)# interface media module/port

  router(config-if)# de脚本ion de脚本ion-string

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

  router(config-if)# no shutdown

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

  router(config)# interface module/port.subinterface

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

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

22. 用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)# …
23. 为了在路由处理器上进行动态路由配置,可以用下列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 (FengNet.Com)

24. 配置默认路由:

  switch(enable) set ip route default gateway

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

  router(config)# interface interface number

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

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

  router(config)# mls rp ip

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

  router(config)# interface interface number

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

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

  router# show mls rp vtp-domain vtp domain name