Configure a Cisco Small Business Series Switch for Swisscom TV

Task description:

Using Swisscom TV in small environments is rather easy, just connect all Swisscom TV boxes into the Swisscom router and you are ready to go.
Looking to larger installs, specially in the residential area, this setup structure is often not an option as the complete in-house network is managed by a IT company or it has a network structure which does not follow the Swisscom guidelines.

The Cisco Small Business line of switches works usually very well for residential installations, for Swisscom TV they need a special configuration.

As specifications can change, this howto may only be a guideline, is has no intention to be absolutely correct.

Environment:

  • Swisscom router which connects to port 6 of the switch
  • Swisscom TV box on port 7  and 8 of the switch
  • VLAN 20 is used for all Swisscom TV data
  • Cisco SG300-10, firmware 1.4.0.88 (or higher)
  • IPv4 is used

Setup:

  1. Log in to the switch and go to VLAN Management -> VLAN Settings, create a VLAN for the Swisscom devices
    croppercapture1138 
  2. Assign the ports to the VLAN
    croppercapture1139
  3. Under Multicast -> Properties  activate and select the VLAN in the drop down. Activate for IPV4 the forwarding method IP Group Address
    croppercapture1140
  4. In Multicast -> IPv4 Multicast Configuration ->IGMP Snooping activate IGMP Snooping Status and IGMP Querier Status
    croppercapture1141
     
  5. Select VLAN 20 and hit Edit for additional settings
    croppercapture1142
  6. Multicast -> IPv4 Multicast Configuration -> IGMP VLAN Settings.
    Select the VLAN 20 and set accordingly
    croppercapture1143
     
  7.  If the switch still is flooded an additional setting can be done under Multicast – Unregistered Multicast.
    croppercapture1144
    Activate filtering of all unregistered multicast.

Symetrix triggers ADA PTM-1645 and Lexicon DD-8

Have you ever heard a Symetrix Radius or Edge combined with a ADA PTM-1645VC or a Lexicon DD-8?

Even though that combination  sounds good, its a breeze to combine them technically. No need to trigger over control systems, doing whatever programming.

ADA PTM-1645
Using this prebuild super-module for Symetrix Composer all PTM’s can be controlled from one serial port of a Symetrix unit. Setup instructions are inside the supermodule
Daisy Chain of PTM’s is supported.
Cabling: Symetrix RX goes to ADA ring, TX to tip, ground to ground

Download here (login needed)
PTM-1645VC Trigger

CropperCapture[573]

Lexicon DD-8
The DD-8 needs to be controlled over a single trigger, using one control output of a Symetrix unit.  All 4 zones of the DD-8 are supported, merged.
Setup instructions are inside the supermodule

Download here (login needed)
DD-8 Trigger

CropperCapture[572]

Setup a Cisco SG300 / 500 switch for Dante

Disclaimer: Genesis Technologies cannot test every firmware from Cisco, so the following settings may or may not work. We do not recommend using SG350 and SG550 series switches as firmware quality varies widely. Take the Netgear 4300 series instead, they’re at least made for SDVoE, which has the same requirements as Dante. Again we cannot take over responsibility for products not made by us

  1. Update the Switch to the latest firmware and boot code
    1. Before you start make sure you have a TFTP client installed on your PC, if not you can use Solarwinds TFTP Server. Once installed download the latest Firmware from the Cisco website.Open Solarwinds TFTP server go to File -> Configure and set the TFTP Root Server Directory to the folder you have placed the Firmware files.
      CropperCapture[509]
    2. Start the Service and close this window. The bottom bar of the main window should now confirm that the server runsCropperCapture[510]
    3. Make sure all firewalls are disabled or correct configured.
      Log in to your switch and go to Administration -> File management – >Upgrade… and select to upgrade the firmware.CropperCapture[512]
    4. Follow the procedure displayed by the firmware upgrade process. Once done upgrade the boot codeCropperCapture[513]
    5. Again follow the procedure displayed by the firmware upgrade process.Then select to use the new loaded firmware on the next start
      CropperCapture[514]
    6. Do a reboot, Administration -> File management – >Reboot.
      Let your switch reboot, it takes some minutes. It will look like dead for a while, do not do anything, don’t unplug the mains, it will boot fine.Its important that all switches have the same firmware version, do this procedure on every switch in your network, or at least on the ones that are used for Dante
  2. Set the switch to a static IP settings
    In Administration ->Management Interface -> IPv4 Interface set the switch to a free static IP
    CropperCapture[518]
  3. Define DNS settings
    Enable the use of DNS in IP Configuration -> Domain Name System -> DNS Settings and add at least 2 known good DNS servers to the list
    CropperCapture[519]
  4. adjust system time
    A very important thing is that the switches are synchronized in time. Not only that the logs are more clear if time is right, the complete network management traffic between the switches is taking advantages of a correct time.

    1. Administration -> Time settings -> System Time enable the Main Clock Source (SNTP Servers) and set also the correct time zone
      CropperCapture[520]
    2. Enable afterwards the SNTP Client Unicast in Administration -> Time settings -> SNTP Unicast and add at lest two time sources
      CropperCapture[521]
      If the config is correct the status is up and the Last Response is accurate
  5. Create a VLAN for Dante
    We assume here that you are already logged in in the Switch..

    1. To create a new VLAN go to Vlan Management -> Vlan Setings an add a new one
      CropperCapture[515]
    2. Next we have to define which port that contains traffic for that virtual lan. But before we have to define the capabilities of each port in therms of VLAN. 3 different port settings can be set in Vlan Management -> Interface Se tings. From Cisco manual:
      1. General—The interface can support all functions as defined in the IEEE 802.1q specification. The interface can be a tagged or untagged member of one or more VLANs.
      2. Access—The interface is an untagged member of a single VLAN. A port configured in this mode is known as an access port.
      3. Trunk—The interface is an untagged member of one VLAN at most, and is a tagged member of zero or more VLANs. A port configured in this mode is known as a trunk port.
    3. So for us that means that all Dante devices must be connected to a port that is set to access, all ports that are connected to other switches must be Trunk or General
      CropperCapture[516]
    4. After we have set our port settings right we do assign which VLAN goes over which port.
      A trunk usually transports all VLAN’s to the next switch, therefore we can set the uplink port to transport all VLAN’s
      CropperCapture[517]
      The picture above show that port 1-5 are uplinks to other switches 6-8 are access ports for simple Dante devices. UP means that this VLAN (usually 1) is the default non tagged Lan which is assigned on the port (If you connect your PC without VLAN config on the network card you end up in this network).
      T means that this VLAN is tagged only available on this port. The pages VLAN Management -> Port VLAN Membership and VLAN Management -> Ports to VLAN do show and set the same settings.
  6. Disable Energy Efficient Ethernet EEE
    Anyhow the Cisco switches are very good in saving energy and disabling partially the ports Dante can be affected by such events. Therefore this service should be disabled. (Not every switch does support EEE, if not available its not built in)
    CropperCapture[522]
    In ports overview it should look like that
    CropperCapture[523]
  7. Multicast settings
    Dante supports IGMP, a communication protocol to manage multicast. Using that protocol the switch can manage multicast’s and decide which port should be included in the multicast, save CPU and port capacity for ports that are not involved.

    1. First we have to enable the Bridge Multicast Filtering Status in Multicast -> Properties for the VLAN we use for Dante. As Forwarding Method select IP Group Address
      CropperCapture[524]
    2. Each VLAN needs to be enabled with IGMP. In Multicast -> IGMP Snooping select all vlans which contains Dante traffic and enable the IGMP snooping status
      CropperCapture[526]
    3. Select each IGMP enabled VLAN and press edit. Do the following settings
      CropperCapture[527]
      Important: If there are multiple switches in the setup only activate the IGMP Querier on one switch and configure the Multicast Router Port accordingly.
      IGMP querier does only work if the switch has a IP  address in the same network segment it should query (Querier Source IP Address). Take care if you have VLANS on different network segments, the switch must have a matching IP to send the query’s. Maybe Layer 3 must be activated to achieve this…More info on multi- switch IGMP config: https://confluence.avt.tech/pages/viewpage.action?pageId=51381181. From this step on our switch auto-detects multicast ‘s and forward them to the ports needed. This auto-detect needs to be tuned a little for Dante.
    4.  (STEPS d->g ARE USUALLY NOT NEEDED AS THE SWITCH LOOKUP THE CORRECT SETTINGS BY ITSELF: SO DO NOT PERFORM THESE STEPS!)The table in Multicast ->IP Multicast Group Address shows the already detected multicast IP addresses, as well custom addresses can be inserted. So we make sure the two addresses 224.0.1.129 (PTP) and 224.0.0.251 (MDNS) are in this list and assigned to the ports needed (Ports that are included in the Dante VLAN) as static
      CropperCapture[528]
    5. Looking at Multicast -> Multicast Router
      CropperCapture[531]
      The different settings static, Forbidden, None are explained in the help of the switch. Dynamic means that the switch has detected the port already, so change this to static. Once changed, the switch knows already the correct settings, so after a power loss the right settings are immediately applied, the auto detect delay is gone.
    6. For uplink connections from switch to switch also activate in Multicast -> Multicast Router Port the port to static forward all traffic.
      CropperCapture[531]
      The picture above shows that port 10 is an uplink, port 1 is not disturbed in any case with Dante multicast’s. For devices which are maybe in the same VLAN but are not Dante devices the setting forbidden should be chosen. The two multicast addresses we added are now registered multicast’s, means the switch knows exactly what to do with the traffic.
    7. For Dante audio multicast’s and other devices multicast’s we need to make sure that the unregistered multicast’s are  forwarded and auto-detected. Multicast -> Unregistered Multicast let us define exactly this settings. Port 1 does not need any multicast, therefore we define Filtering for this port. All other are in Forwarding mode.
      CropperCapture[532]
  8. Setup QoS to prioritize PTP (Dante clock messages)
    1. Quality of Service -> General -> QoS Properties set the QoS mode to Advanced
      CropperCapture[533]
    2. Then we have to correct the queue settings
      CropperCapture[534]
    3. Quality of Service -> QoS Advanced Mode-> Global Settings we need finally to set the Trust mode to DSCP and the Default Mode Status to Trusted
      CropperCapture[535]

References:

Yamaha Proaudio setup pages for Dante http://www.yamahaproaudio.com/global/en/training_support/selftraining/dante_guide/index.jsp

Symetrix knowledge-base http://www.symetrix.co/support/knowledge-base/

Technet article Dante networking: Ports and protocols

Audinate website FAQ: https://www.audinate.com/index.php?option=com_content&view=article&id=187

Allen&Heath Understanding Dante http://www.allen-heath.com/media/Understanding+M-DANTE+-+rev+18dec12.pdf

Wikipedia IGMP article http://en.wikipedia.org/wiki/Internet_Group_Management_Protocol

Wikipedia Qos article http://en.wikipedia.org/wiki/Quality_of_service

Cisco integrated help in the switch interface (top right corner)

AVT Tech: https://confluence.avt.tech/pages/viewpage.action?pageId=51381181 or direct link to a PDF of the site TKB-51381181-301018-1616-70

Dante networking: Ports and protocols

A few facts and figures about Dante packets on the Network

Protocol and ports used by Dante, all UDP

ProtocolSrc. IPSrc. PortDest. IPDest. PortDescription
PTP (v1)All Dante
devices
all224.0.1.129319, 320Clock, Synchronization
of Dante network
MDNSAll Dante
devices
all224.0.0.2515353Device info for Dante
Controller Software
unknown multicastAll Dante
devices
all224.0.0.2318700-8704, 8800Dante Control and
Monitoring
unknown unicastAll Dante
devices
allUnit Receiving stream 4440,4444, 4455Dante Routing
unknown multicastAll Dante
devices
all239.255.x.x4321Audio Broadcast
unknown unicastAll Dante
devices
allUnit Receiving stream 14336-14600Audio Unicast

Multi and unicasts

  • Be aware that multicast’s are always sent, even when there is no “subscriber”. So the network components can be overloaded even if nowhere sound play’s
  • Unicast’s are only sent  if there is a valid routing and the receiving Dante unit is alive. Maximum 2 concurrent Dante Unicast can be sent per unit/stream. A third assigned unit will play nothing until one of the two unicast’s are free

 

Control4 driver for Cisco SBS series switches and network monitoring tools

This driver set is the Swiss army knife, it combines network monitoring tools with the ability to automatic reset power lines and/or ports of a switch. So first we need to make sure to have s Cisco Small Business Series switch in the project, a SG300-28 or whatever, 500 series also should work. It does not matter in which configuration the switches are running.

So for simple port control of the switch we just need the switch driver, setup as follows:

  1. Setup the Switch to allow Telnet access
    Login with your credentials and find the point to activate telnet. Usually Security->TCP/UDP Services
    CropperCapture[485]
  2. Setup the driver in Control4
    Find the driver by tipping “cisco” into the search field
    CropperCapture[476]
    And insert the properties
    CropperCapture[479]
    If the driver starts correctly under Programming all ports are listed
    CropperCapture[486]
    Each port can be switched on/off/toggled using this variables.

But wait, what about my ADSL that hangs every 2 days? No need for expensive power relays (that hang by itself…), we use C4 combined with the Cisco switch to do the job!

How to restart my ADSL modem if its not responding anymore

  1. Add the ping check driver
    CropperCapture[477]
    Insert the IP of the router or in case of a modem a IP from the internet/from your provider
    CropperCapture[480]
    Careful set the properties, in the drivers Documentation tab is explained what they do.
  2. Set the actions to take on ping loss
    To get something happen if the ping is lost, we have a variable named device_power_control, it goes to false if the ping times out, true if it the device answers correct. Furthermore a direct relay connection can be done
    CropperCapture[482]
    The relay connection can be connected to a low voltage relay (to break 12V or such) like the  one from the Controller, also possible to connect to a high voltage relay from a DIN-8REL module to break the power. The down time is 10 seconds, after that the relay closes again
  3. Switch a POE port of the switch on ping  loss
    Jump to programming and set the ports variable to the device_power_control variable
    CropperCapture[484]

Ping is ok but can I test also a telnet port, like the one from Director? Hang on!

Restart devices that should be checked on a telnet/TCP port

  1. Add the telnet check driver
    CropperCapture[481]
    And set the properties, again read the Documentation tab of the driver..
  2. Set the actions to take if port is not available
    The telnet driver has the same variables and relay outputs as the telnet driver, see above how to set up

The drivers for all this you find here (login needed)
ping_check_network_diagnostic_driverworks
telnet_check_network_diagnostic_driverworks

Latest switch driver version 1.00.005. Does expose a relay binding for each port
Download here (login needed)
switch_300-500_Series_Managed_IP_driverworks_cisco

Latest version switch driver 1.00.009

  • For each POE port and each link port a separate Relay connections is available in Connections
  • Only ports that are physically available are listed
  • Divers improvements

Download here (login needed) switch_300-500_Series_Managed_IP_driverworks_cisco_1_00_009

 

Control4 multi dwelling intercom with Koch

Control4’s doorstation solution has a big lack, it does not support multi dwelling houses which are very regular in Europe.
Koch provides the multi dwelling door intercom system TC-Bus which can support up to 115 members.

For each to TC-Bus connected C4 system a SIP gateway is needed, if the TC-Bus has less than 10 members the FBI6101 module should be used. Above the FBI6100 is suitable. To open the door a BRE2/SG module needs to be purchased, it connects from a C4 relay to the TC-Bus and sends the DTMF 7 when the relay is closed, the door opens. (Mention on order that is should send DTMF 7)

Limitations:

  • There is no way to call out, from panel to the doorstation
  • Only audio is supported, video can be inserted via webcam (which is mounted in the TC_Bus doorstation anyway) and a pageflip on the C4 touchpanel

Setup:
Login to the Koch SIP gateway default ip 192.168.1.200, password 1234
Setup the phone-book that  it rings to the intercom group 123:
CropperCapture[464]

Save it!

On C4, create a intercom group 123, assign all panels to the group.
Insert a “3rd party SIP phone” driver and set username and password (numbers only), insert the same credentials in the SIP gateway:
CropperCapture[467]
Save everything and try!
Opening the door can be done via “Custom Button”.

The driver for the dorstation webcam can be found in my other post about Koch:
https://technet.genesis-technologies.ch/koch-doorstation-compatible-with-control4/
Create a bookmark on your touchpanel for the webcam and have it called when the intercom session is accepted. Then you can speak and see the person outside.

International dealers may please contact Koch for sales directly:
http://www.kochag.ch/de/home.html

How to find a Kaleidescape server with unknown IP address

There are 3 ways.:

First and easiest:  Using local link (Kaleidescape KB article [K000037])

In the rare case that the Kaleidescape server has an unknown static IP address and the server is on a different subnet than the computer, it is possible to access the browser interface using an alternate address, known as the link local address.

Follow the procedure below to access the browser interface of the Kaleidescape server using the link local address. You should understand networking in the Windows operating system to safely make the changes. Before you attempt this procedure, try the other methods described in www.kaleidescape.com/go/browser-interface.

  1. Use a computer with a Windows operating system. (The following steps are for Windows XP.)
  2. Connect the computer by an Ethernet patch cable to the same switch as the Kaleidescape server. A wireless connection will not work.
  3. Disable any firewall.
  4. Check that NetBIOS name resolution is enabled. If not, install Bonjour Print Services for Windows according to the instructions at http://support.apple.com/kb/DL999.
  5. On the computer, select Start > Settings > Network Connections > LAN. The LAN Status window appears.
  6. Click Properties. The LAN Properties window appears.
  7. In the LAN Properties window, scroll down the list of items and select Internet Protocol (TCP/IP). Click Properties. The Internet Protocol (TCP/IP) Properties window appears.
  8. Take note of the settings in the Internet Protocol (TCP/IP) Properties window. You will change these settings, and then undo the changes.
  9. Click Use the following IP address and type 169.254.101.101 for IP address and 255.255.0.0 for Subnet mask. Do not change any other fields.
  10. Click OK. The Internet Protocol (TCP/IP) Properties window closes.
  11. Click Close in the LAN Properties window.
  12. Click Close in the LAN Status window, if still open.
  13. Check that the Kaleidescape server is powered on and connected to the network switch; the server front panel should glow blue.
  14. Find the serial number of the server.
  15. The link local address of the server is ll- followed by the 12-character serial number of the server. Here “ll” is two instances of the letter l. For example, if the server serial number is 0000 0001A2B3, then the link local address is ll-00000001A2B3. Enter http://ll-00000001A2B3 in a web browser. The browser interface should appear.
  16. In the browser interface, select the SETTINGS tab, then select Components in the second row of tab. Click the Settings button for the server. The Network Settings window appears. Configure the network.
  17. After the Kaleidescape System has been configured, undo the link local address. The link local address is not suitable for normal operation. To undo the link local address, select Start > Settings > Network Connections > LAN on the computer. In the LAN Status window, click Properties. In the LAN Properties window, select Internet Protocol (TCP/IP) and click Properties. Reset the settings in the Internet Protocol (TCP/IP) Properties window to the original settings previously noted. Click OK, then click Close in the LAN Properties window.

The procedure for Mac users is similar, but append “.local” to link local address, for example, http://ll-00000001A2B3.local.

Second way: Take a serial capture (Kaleidescape KB article [K000074])

Don’t do this if a hard disk is amber! Requires a restart which may is dangerous if a disc already is amber/failed. First replace the disc and let rebuild the filesystem
See this PDF: Kaleidescape-Quick-Reference-Retrieving-Diagnostic-Information
The output contains all network information

Third: Connect via serial and set back to DHCP (Kaleidescape KB article [K000027])

If the IP address of a Kaleidescape component cannot be determined, you can reset the IP address by connecting the RS-232 port of the component to a standard DB-9 serial port of a computer with a DB-9 serial cable. Use a straight-through cable for players and a crossover cable for servers. Then configure a serial-capable terminal emulator (e.g. HyperTerm or PuTTY) to 8 data bits, no parity, 1 stop bit (8N1), and no flow control. For a player or disc vault, set it to 19,200 bps and, for a server, set it to 115,200 bps.

Now execute the following commands (followed by [ENTER]) in the terminal emulator to view or set the network settings: (Always  copy and past the complete string!)
To get the device’s current network settings: 01/1/GET_NETWORK_SETTINGS:
To set a device to DHCP:  01/1/SET_NETWORK_SETTINGS:0::::::

To set a device to a static address, in this case IP address 192.168.1.222, Subnet Mask of 255.255.255.0, Gateway of 192.168.1.1 and primary and secondary DNS of 4.2.2.2 and 192.168.1.2 respectively:  01/1/SET_NETWORK_SETTINGS:1:192.168.1.222:255.255.255.0:192.168.1.1:4.2.2.2:192.168.1.2:

Once you have changed a component’s IP address, reboot it for the changes to take effect.

 

 

Control4 Zigbee: The definitive magic button press guide (..)

ProductIdentifyRebootChannel
Blink
Reset
Defaults
Leave Zigbee
Mesh & Reset
Factory Defaults
In-wall Lighting4 x top 15 x Top 7 x top,
4 x bottom,
7 x top
9 x top,
4 x bottom,
9 x top
(or 9, 9, 9)
13 x top,
4 x bottom,
13 x top
Inwall 2-3
button keypads
4 x top 15 x top 7 x top,
4 x bottom,
7 x top
9 x top,
4 x bottom,
9 x top
(or 9, 9, 9)
13 x top,
4 x bottom,
13 x top
Inwall 6
button keypads
4 x top left 15 x top left 7 x top left,
4 x bottom left,
7 x top left
9 x top left,
4 x bottom left,
9 x top left
(or 9, 9, 9)
13 x top left,
4 x bottom left,
13 x top left
Light devices,
2-3 button
keypads in
Mini-App Mode
Press and
hold bottom
button
N/AN/AN/APress and hold
bottom button
for 13 seconds

6 button
keypad in
Mini-App Mode
Press and
hold bottom
left button
N/AN/AN/APress and hold
left bottom button
for 13 seconds
1-Button
Products
4157913
Thermostats4 x center 15 x center 7 x first left
4 x center
7 x first left

9 x first left
4 x center
9 x first left
(or 9, 9, 9)
13 x first left
4 x center
13 x first left
System Remote
SR-150
4 x red
C4 button
Room off, #,
*, 1, 5, 4, 1, 5
Room Off, #, *, 7, 4, 7N/ARoom Off, #, *, 1, 3, 4, 1, 3
System Remote
SR-250
4 x red
C4 button
Room Off, #,
*, 1, 5, 4, 1, 5
List, Info, Config, 2, 4,
8, 6, #, *
List, Info, Config,
Factory Defaults
Room Off, #, *, 1, 3, 4, 1, 3
Puck
(Button on puck)
4x15x7x9x13x
Puck
(Aux Contact 1)
(with momentary
switch connected)
4x15x7x22x30x
Puck
(Aux Contact 1)
(with latch
switch connected)
8x30x14x44x60x
Puck
(Aux Contact 1&2)
(with momentary
switch connected)
N/AN/AN/A9 x aux1,
4 x aux2,
9 x aux1
13 x aux1,
4 x aux2,
13 x aux1
Puck
(Aux Contact 1&2)
(with latch
switch connected)
N/AN/AN/A18 x aux1,
8 x aux2,
18 x aux1
26 x aux1,
8 x aux2,
26 x aux1
Cardaccess
relay and
contact sensor
4 x id buttonN/AN/AN/AHold id button, apply
power, keep holding until
LED is amber
Cardaccess
motion sensor
4 x id buttonN/AN/AN/AHold id button, apply
power, keep holding until
LED is amber
Cardaccess
mini remote
4 x bottom
button
Pull batteriesN/AN/AHold top left,
insert batteries
LED goes from
green to blue,
release top left,
press bottom right
Axxess
Wireless consact sensor
4 x N/AN/A15 x13 x
Axxess
Doorbell button
4 x internal
button
N/AN/A15 x internal
button
13 x internal
button
Axxess
Relay & contact sensor
4 xN/AN/A15 x13 x