Juniper Networks
Log in
|
How to Buy
|
Contact Us
|
United States (Change)
Choose Country
Close

Choose Country

North America

  • United States

Europe

  • Deutschland - Germany
  • España - Spain
  • France
  • Italia - Italy
  • Россия - Russia
  • United Kingdom

Asia Pacific

  • Asean Region (Vietnam, Indonesia, Singapore, Malaysia)
  • Australia
  • 中国 - China
  • India
  • 日本 - Japan
  • 대한민국 - Korea
  • 台灣 - Taiwan
Solutions
Products & Services
Company
Partners
Support
Education
Community
Security Intelligence Center

Technical Documentation

Support
Technical Documentation
Content Explorer New
 
Enterprise MIBs
 
EOL Documentation
 
Feature Explorer Login required New
 
File Format Help
 
Glossary
 
Portable Libraries
 
 
Home > Support > Technical Documentation > JunosE Software > Example: Video-on-Demand Service Definition
Print
Rate and give feedback:  Feedback Received. Thank You!
Rate and give feedback: 
Close
This document helped resolve my issue.  Yes No

Additional Comments

800 characters remaining

May we contact you if necessary?

Name:  
E-mail: 
Submitting...
 

Related Documentation

  • Service Definitions Overview
  • Creating Service Definitions
  • Managing Your Service Definitions
  • Understanding Service Manager RADIUS Attributes
  • Understanding RADIUS Accounting for Service Manager
  • service-management subscriber-session service-session
 

Example: Video-on-Demand Service Definition

The following example shows a sample service definition macro file that creates a video-on-demand service—the service provides bandwidth that meets the needs of video streams.

  • Requirements
  • Overview
  • Creating a Video-on-Demand Service

Requirements

This example uses the following software and hardware components:

  • JunosE Release 7.1.0 or higher-numbered releases
  • E Series router (ERX7xx models, ERX14xx models, the ERX310 router, the E120 router, or the E320 router)
  • ASIC-based line modules that support Fast Ethernet or Gigabit Ethernet

Overview

The video-on-demand service definition creates the bandwidth towards the subscriber and parameterizes the source of the video feed.

Creating a Video-on-Demand Service

Step-by-Step Procedure

This example illustrates how to create a video-on-demand service:

Note: Commented text explains the parameterized values in the example of the service definition macro file. Each example is followed by examples of RADIUS information and the CLI command that you can use to activate a subscriber service session.

!parameterizes download bandwidth and server address
<# videoMin(downloadBW, serverAddress) #>

<# uid := app.servicemanager.getUniqueId #>
<# name := "SM-video-" $ uid #>

classifier-list <# name #> ip any <# serverAddress #> 0.0.0.0

policy-list <# name; '\n' #>
	  classifier-group <# name #> precedence 5000
		  traffic-class video

profile <# name; '\n' #> 
	  ip policy output <# name #> statistics enabled merge
	  qos-parameter maxVideoBW add <# downloadBW; '\n' #>
	  exit

<# env.setResult("activate-profile", name) #>
<# env.setResult("output-stat-clacl", name) #>

<# endtmpl #>

Sample Owner ID

Step-by-Step Procedure

Table 1 provides the sample RADIUS attributes that you can use to activate the video-on-demand service

Table 1: Sample RADIUS Attributes

Owner

Owner ID

Value

AAA (RADIUS)

Acct-Session-ID (RADIUS attribute 44)

573498

Sample CLI Command

Step-by-Step Procedure

To activate a subscriber session with the configured video-on-demand service:

host1(config)#service-management owner-session aaa 573498 service-session “ videoMin(4500000, 192.168.23.58)”
 

Related Documentation

  • Service Definitions Overview
  • Creating Service Definitions
  • Managing Your Service Definitions
  • Understanding Service Manager RADIUS Attributes
  • Understanding RADIUS Accounting for Service Manager
  • service-management subscriber-session service-session
 

Published: 2012-06-27

 
  • About Juniper
  • Investor Relations
  • Press Releases
  • Newsletters
  • Juniper Offices
  • Green Networking
  • Resources
  • How to Buy
  • Partner Locator
  • Image Library
  • Visio Templates
  • Security Center
  • Community
  • Forums
  • Blogs
  • Junos Central
  • Social Media
  • Developers
  • Support
  • Technical Documentation
  • Knowledge Base (KB)
  • Software Downloads
  • Product Licensing
  • Contact Support
Site Map / RSS Feeds / Careers / Accessibility / Feedback / Privacy & Policy / Legal Notices
Copyright© 1999-2012 Juniper Networks, Inc. All rights reserved.
Help
|
My Account
|
Log Out