有关LECS等的华为交换机配置口令列举 -电脑资料

电脑资料 时间:2019-01-01 我要投稿
【www.unjs.com - 电脑资料】

  关于LECS等的华为交换机配置口令列举,熟练掌握下面的华为交换机配置口令知识点,你只需花几分钟的时间就能学会将每个LEC配置到一个不同的ATM子接口上,

有关LECS等的华为交换机配置口令列举

。其他命令口令也将在文中提到。

  华为交换机配置口令配置LECS:

  ATM(config)# lane database database-name

  ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address

  ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address

  ATM(lane-config-databade)# name …

  创建完数据库后,必须在主接口上启动LECS.华为交换机配置口令命令如下:

  ATM(config)# interface atm number

  ATM(config-if)# lane config database database-name

  ATM(config-if)# lane config auto-config-atm-address

  将每个LEC华为交换机配置口令到一个不同的ATM子接口上.命令如下:

  ATM(config)# interface atm number.subint multipoint

  ATM(config)# lane client ethernet vlan-num elan-num

  用show lane server显示LES的状态.

  用show lane bus显示bus的状态.

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

  用show lane client显示LEC的状态.

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

  用物理接口建立华为交换机配置口令与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

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

  router(config)# interface module/port.subinterface

  router(config-ig)# encapsulation vlan-number

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

  用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)# …

  为了在路由处理器上进行动态路由华为交换机配置口令,可以用下列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

  华为交换机配置口令默认路由:

  switch(enable) set ip route default gateway

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

  router(config)# interface interface number

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

  在路由处理器启用MLSP:

  router(config)# mls rp ip

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

  router(config)# interface interface number

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

  查看指定的VTP域的信息:

  router# show mls rp vtp-domain vtp domain name

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

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

最新文章