Tags

In this post we will see the Media Stream configuration via CLI. If you want to configure this across multiple controllers it is good idea to learn CLI commands in order to save some time during your lab exam.

Here are the steps of configuring this feature.

1. Enable Multicast direct globally & set the General settings.
2. Define Media stream with RRC parameters.
3. Configure CAC for voice/video (Media) under each radio band.
4. Enable this feature for a WLAN
5. Ensure WLC is configured for Multicast & IGMP
6. Test/Verify the configuration.

First of all you need to enable this feature globally & define general settings and steam specific information. Here are the two GUI screen if you are familiar with it.

VideoStream-CLI-01

Here are the CLI config for this

(WLC3) >config media-stream ?
add            Configure New Media Stream by template or individual parameters
admit          Allow traffic for the media stream
delete         Remove Media Stream Configuration
deny           Block traffic for the media stream
multicast-direct Configure Media Stream Multicast-direct
message        Configure Session Announcement Message

(WLC3) >config media-stream multicast-direct ?               
enable         Enable Global Multicast to Unicast Conversion
disable        Disable Global Multicast to Unicast Conversion

(WLC3) >config media-stream multicast-direct enable 
WARNING: Media Stream Multicast-direct requires Load Based CAC to run,
Voice deployment employing Static CAC needs to convert to Load Based CAC.

(WLC3) >config media-stream message ?               
url            Configure Session Announcement URL
email          Configure Session Announcement e-mail
phone          Configure Session Announcement phone number
note           Configure Session Announcement notes 
state          Configure Session Announcement Message State 

(WLC3) >config media-stream message state ?               
enable         Configure Session Announcement Message State Enable 
disable        Configure Session Announcement Message State Disable

(WLC3) >config media-stream message state enable

(WLC3) >config media-stream message note ?              
denial         Configure Session Announcement notes denial

(WLC3) >config media-stream message note denial CIO-IS-SPEAKING

VideoStream-CLI-02

Here are the CLI config for this.

(WLC3) >config media-stream add ?               
multicast-direct Add Media Stream for Multicast-direct

(WLC3) >config media-stream add multicast-direct ?               
<Media Stream Name> Media Stream Name

(WLC3) >config media-stream add multicast-direct MRN-TV ?               
<Start IP Address> IP Multicast Destination Start Address

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 ?               
<End IP Address> IP Multicast Destination End Address

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 ?
detail         Configure Media Stream with Specific Parameters
template       Configure Media Stream from Templates

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 template ?               
very-coarse    Apply very-coarse template (< 300 Kbps Bandwidth)
coarse         Apply Coarse template (< 500 Kbps Bandwidth)
ordinary       Apply Ordinary template (< 750 Kbps Bandwidth)
low-resolution Apply Low-Resolution template (< 1 Mbps Bandwidth)
med-resolution Apply Medium-Resolution template (< 3 Mbps Bandwidth)
high-resolution Apply High-Resolution template (< 5 Mbps Bandwidth)

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 template high-resolution

Even though you entered above line if you check your WLC configuration you would see something like this in your configuration.That mean in High Resolution template bandwidth is 5000kbps, packet size 1200 bytes, enable periodic update, RRC priority 3 and drop as traffic violation policy.

config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail 5000 1200 periodic video 3 drop

If a given task is not fulfill by these default values you have to configure it in detail method with specific setting you require. Let’s say scenario like this “MRN TV streaming channel use 239.239.239.1. Streaming Video feeds are high quality, but still less than 5Mbps. Ensure flow will get highest priority and the other denied flow will get a message saying “CIO-IS-SPEAKING”.

So we will first delete the media stream created & re-configure it with this new settings.

(WLC3) >config media-stream delete MRN-TV
IGMP snooping will be disabled and enabled again. All clients will observe a glitch on Multicast traffic.
Are you sure you want to continue? (y/n)
media-stream is deleted

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 ?                                       
detail         Configure Media Stream with Specific Parameters
template       Configure Media Stream from Templates

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail ?               
<Max Bandwidth> Maximum Expected Stream Bandwidth, <1-35000> Kbps

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail 5000 ?               
<Average Packet Size> Average Packet Size, <100-1500>

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail 5000 1200 ?               
periodic       Periodic admission evaluation
initial        Initial admission evaluation

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail 5000 1200 periodic ?               
<Qos>          Over the AIR QoS class, <'video'> ONLY

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail 5000 1200 periodic video ?               
<Usage Priority> Media Stream Priotity, <1:Lowest - 8:Highest>

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail 5000 1200 periodic video 8 ?               
drop           Stream will be dropped on periodic re-evaluation
fallback       Stream demoted to BestEffort class on periodic re-evaluation

(WLC3) >config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail 5000 1200 periodic video 8 fallback

Then you need to configure required admission control or CAC in 802.11a/n or 802.11b/g/n band as required. In my example I will only configure 802.11b/g/n. In GUI this is under “Wireless > 802.11b/g/n > Media” section & default settings shown in the screenshot.

VideoStream-CLI-03

Here are the CLI commands to change these settings. You have to makesure radio interface is disabled prior to this configuration & enable it once you finish config. We will customize this to allow max 3 stream session per client.

(WLC3) >config 802.11b disable network
(WLC3) >config 802.11b media-stream multicast-direct enable 
(WLC3) >config 802.11b media-stream multicast-direct radio-maximum ?               
<value>        From 1 to 20 streams               
no-limit       Maximum number of allowed streams on 2.4/5 GHz band

(WLC3) >config 802.11b media-stream multicast-direct radio-maximum no-limit

(WLC3) >config 802.11b media-stream multicast-direct admission-besteffort ?               
enable         Enable/Disable media stream BestEffort queue admission               
disable        Enable/Disable media stream BestEffort queue admission

(WLC3) >config 802.11b media-stream multicast-direct admission-besteffort disable 

(WLC3) >config 802.11b media-stream multicast-direct client-maximum ?                            
<value>        From 1 to 20 streams               
no-limit       Maximum number of allowed streams on individual client

(WLC3) >config 802.11b media-stream multicast-direct client-maximum 3

(WLC3) >config 802.11b cac ?               
defaults       Set Default CAC parameters for 802.11b radio.
media-stream   Configure CAC parameters for media stream access category
multimedia     Configure CAC parameters for media access category, used for voice and video.
video          Configure CAC parameters for video access category, used for voice signalling.
voice          Configure CAC parameters for voice access category.

(WLC3) >config 802.11b cac media-stream ?               
multicast-direct Configure CAC parameters for multicast-direct streams

(WLC3) >config 802.11b cac media-stream multicast-direct ?               
max-retry-percent Configure CAC parameter maximum retry percent for multicast-direct streams
min-client-rate Configure CAC parameter minimun physical rate for multicast-direct streams

(WLC3) >config 802.11b cac media-stream multicast-direct min-client-rate ?               
<dot11-rate>   Kbps: 1000, 2000, 5500, 6000, 9000, 11000, 12000, 18000, 24000, 36000, 48000, 54000 or 11n rates

(WLC3) >config 802.11b cac media-stream multicast-direct max-retry-percent ?               
<retry-percentage> 0 to 100 maximum retry percent for multicast-direct streams

(WLC3) >config 802.11b cac media-stream multicast-direct max-retry-percent 80

(WLC3) >config 802.11b cac multimedia ?               
max-bandwidth  Configure the max bandwidth allocated to WMM clients for media in % (5-85).

(WLC3) >config 802.11b cac multimedia max-bandwidth ?               
<bandwidth>    Configure the max bandwidth allocated to WMM clients for media in % (5-85).

(WLC3) >config 802.11b cac multimedia max-bandwidth 80

When you check the WLC configuration you will not see  default setting config lines (lines highlighted in purple).

config 802.11b media-stream multicast-direct client-maximum 3
config 802.11b media-stream multicast-direct radio-maximum no-limit
config 802.11b media-stream multicast-direct enable
config 802.11b media-stream multicast-direct admission-besteffort disable
config 802.11b cac media-stream multicast-direct min-client-rate 6000
config 802.11b cac media-stream multicast-direct max-retry-percent 80
config 802.11b cac multimedia max-bandwidth 80

Since Media bandwidth settings is for both voice & video, you need to ensure voice and video bandwidth reservation does not exceed 80% configured  under media tab. Also remember that Voice CAC should be “load-based” when you enable Video Stream feature. In this example we will allocate max RF bandwidth 50% for Video & 30% voice. Here is the default setting GUI screenshot.

VideoStream-CLI-04

You can use “config 802.11b cac {voice|video} x ” CLI configuration to do the necessary modification.

(WLC3) >config 802.11b cac ?                       
defaults       Set Default CAC parameters for 802.11b radio.
media-stream   Configure CAC parameters for media stream access category
multimedia     Configure CAC parameters for media access category, used for voice and video.
video          Configure CAC parameters for video access category, used for voice signalling.
voice          Configure CAC parameters for voice access category.

(WLC3) >config 802.11b cac video ?               
acm            Enable/disable admission control on video access category.
max-bandwidth  Configure the max RF bandwidth allocated to WMM clients for video.
tspec-inactivity-timeout Configure TSPEC inactivity timeout processing mode.

(WLC3) >config 802.11b cac video acm ?               
disable        Disable admission control on video AC.
enable         Enable admission control on video AC.

(WLC3) >config 802.11b cac video acm enable 

(WLC3) >config 802.11b cac video ?               
acm            Enable/disable admission control on video access category.
max-bandwidth  Configure the max RF bandwidth allocated to WMM clients for video.
tspec-inactivity-timeout Configure TSPEC inactivity timeout processing mode.

(WLC3) >config 802.11b cac video max-bandwidth ?               
<bandwidth>    Enter the max RF bandwith for Video in % (5-85).

(WLC3) >config 802.11b cac video max-bandwidth 50

Here is the Voice specific settings.

(WLC3) >config 802.11b cac voice ?               
acm            Enable/disable admission control on voice access category.
cac-method     Configure CAC method(static or dynamic) on voice access category.
max-bandwidth  Configure the max RF bandwidth allocated to WMM clients for voice.
roam-bandwidth Configure the % of max RF bandwidth reserved for roaming clients for voice (0-25).
sip            Configure CAC parameters for SIP based Calls.
stream-size    Max data rate of the stream acceptable
tspec-inactivity-timeout Configure TSPEC inactivity timeout processing mode.

(WLC3) >config 802.11b cac voice max-bandwidth ?               
<bandwidth>    Enter the max RF bandwith for Voice in % (5-85).

(WLC3) >config 802.11b cac voice max-bandwidth 30
(WLC3) >config 802.11b cac voice acm enable 

You can configure EDCA parameters to optimize both Voice & Video.

(WLC3) >config advanced 802.11b edca-parameters ?              
custom-voice   Enable Custom Voice EDCA parameters for 802.11b.
optimized-video-voice Enable combined video-voice-optimized parameters for 802.11b.
optimized-voice Enable non-spectralink voice-optimized parameters for 802.11b.
svp-voice      Enable SpectraLink Voice Priority (SVP) parameters for 802.11b.
wmm-default    Enable WMM default parameters for 802.11b. 

(WLC3) >config advanced 802.11b edca-parameters optimized-video-voice 

Once you configure the above you can enable the radio band. It is good idea to enable 802.11n support with this feature.

(WLC3) >config 802.11b 11nSupport ?               
a-mpdu         Configure 802.11n-2.4Ghz A-MPDU mode
a-msdu         Configure 802.11n-2.4Ghz A-MSDU mode
antenna        Configure 802.11n - 2.4 GHz antenna selection
disable        Disable 802.11n-2.4Ghz support
enable         Enable 802.11n-2.4Ghz support
guard_interval Configure 802.11n-2.4Ghz guard interval
mcs            Configure 802.11n-2.4Ghz MCS rates
rifs           Configure 802.11n-2.4Ghz rifs

(WLC3) >config 802.11b 11nSupport enable                
(WLC3) >config 802.11b enable network

You can enable it on a WLAN like below

(WLC3) >config wlan media-stream multicast-direct 17 ?               
enable         Enables Multicast-direct on the WLAN
disable        Disables Multicast-direct on the WLAN.

(WLC3) >config wlan media-stream multicast-direct 17 enable 

In Summary here are the CLI config required in my example. So if you want to configure this feature any other WLC, you can simply paste the below config on them.

config media-stream multicast-direct enable 
config media-stream message state enable
config media-stream message note denial CIO-IS-SPEAKING
config media-stream add multicast-direct MRN-TV 239.239.239.1 239.239.239.1 detail 5000 1200 periodic video 8 fallback

config 802.11b disable network
config 802.11b media-stream multicast-direct enable 
config 802.11b media-stream multicast-direct client-maximum 3
config 802.11b cac multimedia max-bandwidth 80
config 802.11b cac video acm enable
config 802.11b cac video max-bandwidth 50
config 802.11b cac voice max-bandwidth 30
config 802.11b cac voice acm enable 
config advanced 802.11b edca-parameters optimized-video-voice
config 802.11b 11nSupport enable                
config 802.11b enable network

You can use following CLI verification commands to verify your settings.

(4402-a) >show media-stream group summary 
Stream Name   Start IP       End IP         Operation Status
------------- -------------- -------------- ----------------
MRN-TV        239.239.239.1  239.239.239.1  Multicast-direct 

(4402-a) >show media-stream group detail MRN-TV
Media Stream Name................................ MRN-TV
Start IP Address................................. 239.239.239.1
End IP Address................................... 239.239.239.1
 RRC Parmmeters
 Avg Packet Size(Bytes).......................... 1200
 Expected Bandwidth(Kbps)........................ 5000
 Policy.......................................... Admit
 RRC re-evaluation............................... periodic
 QoS............................................. Video
 Status.......................................... Multicast-direct
 Usage Priority.................................. 8
 Violation....................................... fallback

(4402-a) >show 802.11b media-stream rrc   
Multicast-direct................................. Enabled
Best Effort...................................... Disabled
Video Re-Direct.................................. Enabled
Max Allowed Streams Per Radio.................... Auto
Max Allowed Streams Per Client................... 3
Max Video Bandwidth.............................. 50
Max Voice Bandwidth.............................. 30
Max Media Bandwidth.............................. 80
Min PHY Rate..................................... 6000
Max Retry Percentage............................. 80

(4402-a) >show media-stream message details 
URL.............................................. 
E-mail........................................... 
Phone............................................ 
Note............................................. CIO-IS-SPEAKING
State............................................ enable

It is important to note that your infrastructure network should be configured to support Multicast & WLC multicast/IGMP needs to be enabled to get this feature working. Even in the exam if they asked to configure this feature, you need to verify your L3 multicast & WLC multicast properly enabled with IGMP support.

Related Posts

1. Understanding Video Stream Feature
2. Wireless Multicast Not working-Why ?
3. Configuring Multicast on WLC