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:
- ATM (config)# interface atm number.subint multioint
- ATM(config-subif)# lane serber-bus ethernet elan-name
Configure 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 …
After creating a database, you must start LECS on the main interface. The command is as follows:
- ATM(config)# interface atm number
- ATM(config-if)# lane config database database-name
- ATM(config-if)# lane config auto-config-atm-address
Configure each LEC to a different ATM Sub-interface. The command is as follows:
- ATM(config)# interface atm number.subint multipoint
- 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:
- 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
Use a relay link to establish a connection with a VLAN:
- router(config)# interface module/port.subinterface
- router(config-ig)# encapsulation[isl|dotlq] vlan-number
- router(config-if)# ip address ip-address subnet-mask
Use LANE to establish a connection to a 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)# …
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.