Vswitch configuration command Classification summary

Source: Internet
Author: User

Vswitch configuration command-VTP

To configure a switch as a command switch for a cluster, you must first assign an IP address to the management interface, and then use the following command: switch (config) # cluster enable cluster-name

To delete a VLAN from a relay link, run the following command:

Switch (enable) clear trunk module/port vlan-range

Use show vtp domain to display the VTP Parameters of the management domain.

Use show vtp statistics to display the VTP Parameters of the management domain.

Switch configuration command-TrBRF

The command to define TrBRF on a Catalyst Switch is as follows:

Switch (enable) set vlan-name [name] type trbrf bridge-num [stp {ieee | ibm}]

The command to define TrCRF on a Catalyst Switch is as follows:

Switch (enable) set vlan-num [name] type trcrf {ring hex-ring-num | decring decimal-ring-num} parent vlan-num

After creating a TrBRF VLAN, you can assign it a switch port. For Ethernet Switching, you can use the following command to allocate a port to the VLAN:

Switch (enable) set vlan-num mod-num/port-num

Command show spantree to display the STP status of a switch port.

Switch configuration command-LES and BUS

To configure an elan les and BUS, run the following command:

 
 
  1. ATM (config)# interface atm number.subint multioint
  2. ATM(config-subif)# lane serber-bus ethernet elan-name

Configure LECS:

 
 
  1. ATM(config)# lane database database-name
  2. ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address
  3. ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address
  4. ATM(lane-config-databade)# name …

After creating a database, you must start LECS on the main interface. The command is as follows:

 
 
  1. ATM(config)# interface atm number
  2. ATM(config-if)# lane config database database-name
  3. ATM(config-if)# lane config auto-config-atm-address

Configure each LEC to a different ATM Sub-interface. The command is as follows:

 
 
  1. ATM(config)# interface atm number.subint multipoint
  2. ATM(config)# lane client ethernet vlan-num elan-num

Use show lane server to display the LES status.

Use show lane bus to display the status of the bus.

Use show lane database to display the content of the LECS database.

Use show lane client to display the LEC status.

Use show module to display the list of installed modules.

Switch configuration command-VLAN

Establish a connection with a VLAN using a physical interface:

 
 
  1. router# configure terminal
  2. router(config)# interface media module/port
  3. router(config-if)# description description-string
  4. router(config-if)# ip address ip-addr subnet-mask
  5. router(config-if)# no shutdown

Use a relay link to establish a connection with a VLAN:

 
 
  1. router(config)# interface module/port.subinterface
  2. router(config-ig)# encapsulation[isl|dotlq] vlan-number
  3. router(config-if)# ip address ip-address subnet-mask

Use LANE to establish a connection to a VLAN:

 
 
  1. router(config)# interface atm module/port
  2. router(config-if)# no ip address
  3. router(config-if)# atm pvc 1 0 5 qsaal
  4. router(config-if)# atm pvc 2 0 16 ilni
  5. router(config-if)# interface atm module/port.subinterface multipoint
  6. router(config-if)# ip address ip-address subnet-mask
  7. router(config-if)# lane client ethernet elan-num
  8. router(config-if)# interface atm module/port.subinterface multipoint
  9. router(config-if)# ip address ip-address subnet-name
  10. router(config-if)# lane client ethernet elan-name
  11. router(config-if)# …

To learn about Switch configuration commands, we need to be careful and careful. At the same time, we need to focus on methods. The above basic things hope that we can have a deeper understanding through classification.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.