How to: Configure the ByteBlower switch
Posted by Admin Kayako, Last modified by Admin Kayako on 13 January 2014 05:24 PM
|
||||
A ByteBlower server comes with one or more ByteBlower switches. These switches are configured in a specific way to work seamlessly with the server. Normally, this configuration should never by changed. However, the new VLAN functionality of ByteBlower requires a modification of this configuration. This document will explain exactly how to do this on the (newer) 24 and 48 port SMC switches. This are switches looking like the one in the picture. If you have another (older) type of ByteBlower switch, like a Transtec or Linksys switch, and you want to use VLAN functionality on your trunk interfaces, please contact us at support.byteblower@excentis.com. Connecting to the switchThe switch is configured using its serialinterface called Console. For every switch that was shipped with your ByteBlower Server, a serial-to-RJ45 cable has been provided. Connect the switch to a desktop system using this cable. Next, configure the serial port connection using a program of your choice (such as minicom for Linux or HyperTerminal or Putty for Windows). The serial connection settings are:
Once the serial terminal is synchronized to the connection (pressing random keys may speed up this process), a login prompt should appear. Login using admin/admin as credentials. Configuring the switchOnce you are connected and logged in, you can start configuring the ByteBlower switch. To update the ByteBlower configuration, execute the commands below. The manual input is described in bold. Make sure you execute the commands exactly as described and in the correct order. The tab key can be used for auto-completion. If you have a 24-port switch, execute the following commands: Console#configure Console(config)#dot1q-tunnel system-tunnel-control Console(config)#interface ethernet 1/1-24 Console(config-if)#switchport dot1q-tunnel mode access Console(config-if)#exit Console(config)#interface ethernet 1/25 Console(config-if)#switchport dot1q-tunnel mode uplink Console(config-if)#exit Console(config)#exit Console# If you have a 48-port switch, execute the following commands: Console#configure Console(config)#dot1q-tunnel system-tunnel-control Console(config)#interface ethernet 1/1-48 Console(config-if)#switchport dot1q-tunnel mode access Console(config-if)#exit Console(config)#interface ethernet 1/49 Console(config-if)#switchport dot1q-tunnel mode uplink Console(config-if)#exit Console(config)#exit Console# On both the 24- and 48 port switches, execute the following commands to save the new configuration: Console#copy running-config startup-config Startup configuration file name [startup1.cfg]: <press enter> Write to FLASH Programming. Write to FLASH finish. Success. Console# Finally, reboot the switch by executing the following command. Console#reload System will be restarted. Continue <y/n>? After reboot, verify the running configuration is correct. Execute the following command and compare the output with the printed configuration file in the next section. Console#show running-config Your switch is now successfully configured! Updated configuration filesThe output of the show running-config command should look like the files below. Make sure the bold items are present. 24-port switch!<stackingDB>00</stackingDB> !<stackingMac>01_00-26-f3-39-04-2e_01</stackingMac> ! ! phymap 00-26-f3-39-04-2e ! hostname ByteBlower-24 SNTP server 0.0.0.0 0.0.0.0 0.0.0.0 ! snmp-server location "ByteBlower Server" snmp-server contact byteblower@excentis.com ! jumbo frame ! clock timezone-predefined GMT-Greenwich-Mean-Time:Dublin,Edinburgh,Lisbon,London ! dot1q-tunnel system-tunnel-control ! snmp-server community public ro snmp-server community private rw ! username admin access-level 15 username admin password 7 21232f297a57a5a743894a0e4a801fc3 username guest access-level 0 username guest password 7 084e0343a0486ff05530df6c705c8bb4 enable password level 15 7 21232f297a57a5a743894a0e4a801fc3 ! VLAN database VLAN 1 name DefaultVlan media ethernet state active VLAN 2 name "ByteBlower Port 1" media ethernet state active ... VLAN 24 name "ByteBlower Port 23" media ethernet state active VLAN 25 name "ByteBlower Port 24" media ethernet state active VLAN 4093 media ethernet state active VLAN 4094 name MGT media ethernet state active ! spanning-tree MST configuration ! no lldp ! interface ethernet 1/1 switchport dot1q-tunnel mode access no switchport broadcast switchport allowed vlan add 2 untagged switchport native vlan 2 switchport allowed vlan remove 1 switchport allowed vlan add 4093 tagged ! interface ethernet 1/2 switchport dot1q-tunnel mode access no switchport broadcast switchport allowed vlan add 3 untagged switchport native vlan 3 switchport allowed vlan remove 1 switchport allowed vlan add 4093 tagged ! ... ! interface ethernet 1/24 switchport dot1q-tunnel mode access no switchport broadcast switchport allowed vlan add 25 untagged switchport native vlan 25 switchport allowed vlan remove 1 switchport allowed vlan add 4093 tagged ! interface ethernet 1/25 switchport dot1q-tunnel mode uplink no switchport broadcast switchport allowed vlan add 1 untagged switchport native vlan 1 switchport mode trunk switchport allowed vlan add 1-25,4093 tagged ! interface ethernet 1/26 switchport allowed vlan add 4094 untagged switchport native vlan 4094 switchport allowed vlan remove 1 switchport allowed vlan add 4093 tagged ! interface VLAN 4094 IP address DHCP ! no spanning-tree ! line console silent-time 0 ! line VTY ! end ! 48-port switch!<stackingDB>00</stackingDB> !<stackingMac>01_78-cd-8e-a9-56-2c_00</stackingMac> ! ! phymap 78-cd-8e-a9-56-2c ! hostname ByteBlower-48 SNTP server 0.0.0.0 0.0.0.0 0.0.0.0 ! snmp-server location "ByteBlower Server" snmp-server contact byteblower@excentis.com ! jumbo frame ! dot1q-tunnel system-tunnel-control ! snmp-server community public ro snmp-server community private rw ! username admin access-level 15 username admin password 7 21232f297a57a5a743894a0e4a801fc3 username guest access-level 0 username guest password 7 084e0343a0486ff05530df6c705c8bb4 enable password level 15 7 1b3231655cebb7a1f783eddf27d254ca ! VLAN database VLAN 1 name DefaultVlan media ethernet state active VLAN 2 name "ByteBlower Port 1" media ethernet state active ... VLAN 48 name "ByteBlower Port 47" media ethernet state active VLAN 49 name "ByteBlower Port 48" media ethernet state active VLAN 4093 media ethernet state active VLAN 4094 name MGT media ethernet state active ! spanning-tree MST configuration ! no lldp ! interface ethernet 1/1 switchport dot1q-tunnel mode access no switchport broadcast switchport allowed vlan add 2 untagged switchport native vlan 2 switchport allowed vlan remove 1 switchport mode access switchport allowed vlan add 4093 tagged ! interface ethernet 1/2 switchport dot1q-tunnel mode access no switchport broadcast switchport allowed vlan add 3 untagged switchport native vlan 3 switchport allowed vlan remove 1 switchport mode access switchport allowed vlan add 4093 tagged ! ... ! interface ethernet 1/48 switchport dot1q-tunnel mode access no switchport broadcast switchport allowed vlan add 49 untagged switchport native vlan 49 switchport allowed vlan remove 1 switchport mode access switchport allowed vlan add 4093 tagged ! interface ethernet 1/49 switchport dot1q-tunnel mode uplink no switchport broadcast switchport allowed vlan add 1 untagged switchport native vlan 1 switchport mode trunk switchport allowed vlan add 1-49,4093 tagged ! interface ethernet 1/50 switchport allowed vlan add 4094 untagged switchport native vlan 4094 switchport allowed vlan remove 1 switchport allowed vlan add 4093 tagged ! interface VLAN 4094 IP address DHCP ! no spanning-tree ! no IP IGMP snooping ! line console silent-time 0 ! line VTY ! end ! Download the configuration files.Attached you will find the configuration files for both the 24 and 48-ports ByteBlower switch. | ||||
|