Scope
The Cisco 2960X/CX and 3560X/CX switch families, while belonging to different product lines, use the same configuration methodology when being programmed for Livewire networks.
Although some of the settings and commands described in this document may work on other Cisco switch models, applying them to switches outside of the 2960X/CX and 3560X/CX families may produce unintended results and is not recommended without additional validation.
This document is intended as a configuration guide and should not be considered a comprehensive or step-by-step deployment manual. It assumes a working knowledge of basic networking concepts and Cisco switch administration.
The procedures described herein assume that the reader is comfortable performing tasks such as connecting to a switch via a console cable, assigning IP addresses, navigating a command-line interface (CLI), and making configuration changes. If you are not familiar with these concepts or procedures, please contact your IT department or a qualified network administrator for assistance.
Configuration
If this is the first-time configuration, you will have to connect to the switch via a console cable and serial connection to enter into setup. Once setup is complete, you can connect to the switch either via a Telnet session or through a serial port. During the initial setup, you will assign the switch to an IP address, which will then allow you to connect to the switch via a Telnet session at a later time.
You can connect to this switch using a USB cable and a serial port driver from Cisco. As of the date of this writing, you can obtain the USB driver from the Cisco website. Make sure you install the driver before connecting the switch to your USB ports. Installing the Cisco software will introduce a new COM port on your computer.
PuTTy is a free terminal program you can use for configuration. You can download PuTTy here.
Testing and configuration is based on the following;
Cisco model: WS-C2960X-24TS-L
Version ID: V02
Software: 15.0(2)EX5
Programming
Once connected to the switch using a serial console cable (default console settings are 9600 baud, 8 data bits, no parity, 1 stop bit), you should see status messages displayed as the switch boots. These messages confirm that the console connection is functioning correctly.
If the switch presents a configuration or setup wizard during the boot process, answer "No" to bypass the wizard. This guide assumes that the switch will be configured manually through the command-line interface (CLI).
A Few Helpful Notes
The Cisco command-line interface (CLI) provides several shortcuts that can make configuration easier and faster.
Most commands can be abbreviated as long as the abbreviation remains unambiguous. For example, the
enablecommand can be entered asen, andconfigure terminalcan be entered asconf torconfig t. In general, most Cisco IOS commands support abbreviation.The TAB key can be used to complete commands and verify spelling. For example, typing
enand pressing TAB will automatically complete the command toenable. This can save time and help prevent typing errors.The prompt character indicates your current privilege level. A prompt ending with a greater-than sign (>) indicates user EXEC mode, while a prompt ending with a pound sign (#) indicates privileged EXEC mode.
Example:
Switch>User EXEC mode (limited commands available)
Switch#Privileged EXEC mode
Many configuration commands require privileged EXEC mode. If your prompt displays
Switch>and you attempt to enter a command such asconfigure terminal, the switch will return an error. Enter theenablecommand to move to privileged EXEC mode and obtain theSwitch#prompt.
Throughout this guide, command abbreviations may be used where appropriate. You may enter either the abbreviated or full command unless otherwise noted.
Set Passwords
We suggest using a password of ‘Livewire’ or some other password that is easy to remember.
Switch>enable
Switch#configure terminal
Switch(config)#username AAAA password Livewire
Switch(config)#enable password AxiaSet a descriptive Hostname
We suggest setting the hostname of each switch to something descriptive. Suggestions might be AXIACORE01, or AXIAEDGE01, etc. In this example, we will use AXIA01.
To change the hostname from the default of ‘Switch,' type the following from the prompt;
Switch(config)#hostname AXIA01
AXIA01(config)#Configure the VLAN 1 IP Address
By default, Livewire uses VLAN 1 for management and multicast operations. While it may be possible to use a different VLAN, configuring Livewire on alternate VLANs is outside the scope of this document. If your deployment requires the use of additional or alternate VLANs, please consult your Cisco representative or Cisco documentation for guidance.
Choosing an IP Address
In a standard Livewire network, the IGMP Querier is typically elected based on the lowest IP address present within the subnet. For this reason, it is important that your core switch be assigned an IP address lower than any other switch or device participating in the network.
When planning your IP addressing scheme, remember that this includes not only Cisco switches but also devices such as PowerStation, QoR, and xSwitch units.
Assigning the IP Address
From the switch prompt, enter the following commands, replacing the example IP address with one appropriate for your network:
AXIA01(config)# interface vlan 1
AXIA01(config-if)# ip address 192.168.2.2 255.255.255.0
AXIA01(config-if)# no shutdown
AXIA01(config-if)# end
Save the Configuration
Once the IP address has been assigned, save the running configuration to non-volatile memory:
AXIA01# write memory
Building configuration...
[OK]
AXIA01#
The abbreviated command wr may also be used in place of write memory.
Configure IGMP
To configure IGMP, type the following from the prompt:
AXIA01#config terminal
AXIA01(config)#ip igmp snooping querier
AXIA01(config)#ip igmp snooping vlan 1 immediate-leave
AXIA01(config)#ip igmp snooping querier max-response-time 25
AXIA01(config)#ip igmp snooping querier timer expiry 205Configure Global QOS
AXIA01(config)#mls qos srr-queue output cos-map queue 1 threshold 1 6 7
AXIA01(config)#mls qos srr-queue output cos-map queue 2 threshold 1 5
AXIA01(config)#mls qos srr-queue output cos-map queue 3 threshold 1 0 1
AXIA01(config)#mls qos srr-queue output dscp-map queue 1 threshold 1 48
AXIA01(config)#mls qos srr-queue output dscp-map queue 2 threshold 1 46 34
AXIA01(config)#mls qos srr-queue output dscp-map queue 3 threshold 1 0
AXIA01(config)#mls qos map cos-dscp 0 8 16 24 34 46 48 56
AXIA01(config)#mls qos queue-set output 1 buffers 20 70 5 5
AXIA01(config)#mls qos
AXIA01(config)#end
AXIA01#wr
Building configuration...
[OK]
AXIA01#Configure Access Ports
Use Access ports for connecting “endpoint” devices like Axia nodes, engines, computers, as well as any other devices that are not considered “switches” (see note in trunk port configuration section).
To configure multiple access ports at once, type the following from the prompt:
*Note - Replace GigabitEthernet1/0/1 - 22 with the ports that are appropriate to your configuration. In this example, we are configuring ports 1 thru 24 as access ports.
*Tip - If using CX model without the Stacked Switches use GigabitEthernet0/1 - 22 syntax. Using the ports that are appropriate to your configuration. In this example, we are configuring ports 1 thru 24 as access ports.
AXIA01#config terminal
AXIA01(config)#interface range GigabitEthernet1/0/1 - 22
AXIA01(config-if-range)#switchport mode access
AXIA01(config-if-range)#switchport nonegotiate
AXIA01(config-if-range)#switchport voice vlan dot1p
AXIA01(config-if-range)#priority-queue out
AXIA01(config-if-range)#spanning-tree portfast
AXIA01(config-if-range)#mls qos trust dscp *SEE NOTE BELOW*
AXIA01(config-if-range)#no ip igmp snooping tcn flood
*NOTE* - for Engine, iPort, VX, or Omnia 8x versions older than 2011-06-15 use “mls qos trust cos
”If your switch supports Cisco's new Energy Efficient Ethernet protocol, we want to disable that on all ports now. The following command does this. If you receive an error while entering this command it simply means your switch or software does not support it so the error is okay. For more information on Cisco EEE please refer to this document.
AXIA01(config-if-range)#no power efficient-ethernet auto
AXIA01(config-if-range)#endAlternately, to configure a single access port, type the following from the prompt:
*Note - Replace GigabitEthernet1/0/1 with the port that is appropriate to your configuration.
In this example, we are configuring port 1 as an Access port.
AXIA01#config terminal
AXIA01(config)#interface GigabitEthernet1/0/1
AXIA01(config-if)#switchport mode access
AXIA01(config-if)#switchport nonegotiate
AXIA01(config-if)#switchport voice vlan dot1p
AXIA01(config-if)#priority-queue out
AXIA01(config-if)#spanning-tree portfast
AXIA01(config-if)#mls qos trust dscp *SEE NOTE BELOW*
AXIA01(config-if)#no ip igmp snooping tcn flood
*NOTE* - for Engine, iPort, VX, or Omnia 8x versions older than 2011-06-15 use “mls qos trust cos”
If your switch supports Cisco's new Energy Efficient Ethernet protocol, we want to disable that on all ports now. The following command does this. If you receive an error while entering this command it simply means your switch or software does not support it so the error is okay. For more information on Cisco EEE please refer to this document.
AXIA01(config-if)#no power efficient-ethernet auto
AXIA01(config-if)#endConfigure Trunk Ports
Use Trunk ports for connecting other switches or Axia devices with switches built-in (like a PowerStation Main or QOR or xSwitch). Please note that when connecting to a PowerStation Main, only the GIG ports can be used and they must be properly configured for Trunk operation in the Ethernet Switch configuration of the Element Control Center.

QOR based devices and xSwitch should only be connected to the GIG Ports on the back of their respective units.
To configure multiple trunk ports at once, type the following from the prompt:
*Note - Replace GigabitEthernet1/0/23 - 24 with the ports that are appropriate to your configuration. In this example, we are configuring ports 23 and 24 for Trunk.
*Tip - If using a CX model with the Stacked Feature use GigabitEthernet0/23 - 24 syntax. Using the ports that are appropriate to your configuration. In this example, we are configuring ports 23 and 24 for Trunk.
AXIA01#config t
AXIA01(config)#interface range GigabitEthernet1/0/23 - 24
AXIA01(config-if-range)#switchport mode trunk
AXIA01(config-if-range)#priority-queue out
AXIA01(config-if-range)#mls qos trust dscp
AXIA01(config-if-range)#end
AXIA01#Alternately, to configure a single trunk port, type the following from the prompt:
*Note - Replace GigabitEthernet1/0/23 with the port that is appropriate to your configuration. In this example, we are configuring port 23 for Trunk.
AXIA01#config t
AXIA01(config)#interface GigabitEthernet1/0/23
AXIA01(config-if)#switchport mode trunk
AXIA01(config-if)#priority-queue out
AXIA01(config-if)#mls qos trust dscp
AXIA01(config-if)#end
AXIA01#wr
Building configuration...
[OK]
AXIA01#Confiture Telnet Access
To configure telnet access, type the following from the prompt:
AXIA01#configure terminal
AXIA01(config)#line vty 0 15
AXIA01(config-line)#password Livewire
AXIA01(config-line)#login
AXIA01(config-line)#end
AXIA01#wr
Building configuration...
[OK]
AXIA01#Save and Check Your Work
To save your work type the following;
AXIA01#copy running-config startup-configYou will be prompted for a file name. Just press enter.
Destination filename [startup-config]?
Building configuration...
[OK]
AXIA01#To check your work, from the command prompt, type;
AXIA01#show runUse the spacebar to proceed a page at a time and double check your configuration.CHECK YOUR CONFIGURATION.
Let us know how we can help
If you have further questions on this topic or have ideas about improving this document please contact us.
