Vous êtes sur la page 1sur 80

112-0115-02 Rev A

REFERENCE GUIDE Command Line Interface iPlex Software Version 5.0

iPlex

www.tandbergtv.com

May, 2009
Published By TANDBERG 455 DeGuigne Drive Sunnyvale, CA 94085-3890 Copyright 1998-2007 by TANDBERG Television. All rights reserved. No part of the contents of this book may be reproduced or transmitted in any form or by any means without the written permission of the publisher. Technical Publications: Lena Jacobson TANDBERG Television Engineering Department Restricted Rights This document contains proprietary and confidential information of TANDBERG Television. The contents of this document may not be disclosed to third parties, copied or duplicated in any form, in whole or in part, without the prior written permission of TANDBERG Television. Use, duplication, or disclosure of the technical data contained in this document is subject to restrictions as set forth in subdivision (c)(1)(ii) of the Rights in Technical Data and Computer Software clause at DFARS 52.227-7013 and/or in similar or successor clauses in the FAR, or in the DOD or NASA FAR Supplement. Unpublished rights reserved under the Copyright Laws of the United States. Contractor/manufacturer is TANDBERG Television, 455 DeGuigne Drive, Sunnyvale, CA 94085-3890, USA. TANDBERG is a registered trademark of TANDBERG Television. All other names are trademarks of their respective owners. TANDBERG Television owns the following patents: U.S. Patent No. 6351474, 6351471, 6292490, 6246701, 6195368, 6148082, 6111896, 6064676 and has additional U.S. patents pending. GoAhead Software Licence Dolby Digital Trademark License Copyright 2001 GoAhead Software, Inc. All Rights Reser ved. Unless GoAhead otherwise instructs, the year 2001 is to be replaced with the year during which the release of the Original Code containing the notice is issued by GoAhead. If this year is not supplied with Documentation, GoAhead will supply it upon request. Dolby Laboratories encourages use of the Dolby Digital trademark to identify soundtracks that are encoded in Dolby Digital. This is an effective way to inform listeners of the soundtrack format, and the use of a standard logo promotes easy recognition in the market place. However, like any trademark, the Dolby Digital logo may not be used without permission. Dolby Laboratories therefore provides a standard trademark license agreement for companies who wish to use Dolby trademarks. This agreement should be signed by the company that owns the program material being produced. Recording studios or production facilities which provide audio production or encoding services for outside clients generally do not require a trademark license. If you would like more information on obtaining a Dolby trademark license, please contact Dolby Laboratories Licensing Corporation. Information on trademark licensing plus instructions for using the Dolby Digital trademark and marking audio formats can also be found on-line at http://www.dolby.com. Dolby Laboratories Licensing Corporation, 100 Potrero Ave., San Francisco, CA 94520 USA. Phone: 415-558-0200, Fax: 415-863-1373, E-mail: tsa@dolby.com, http://www.dolby.com Technical Support For technical support, contact TANDBERG Television Customer Support through the World Wide Web (www.tandbergtv.com/services/skysupport_request.asp), via e-mail (fieldservice_americas@tandbergtv.com) or the Hot Line 1-877-475-9787. Document Number: 112-0115-02 Rev A

Contributors

Agency Compliance and Cautions

Safety: UL 60950 Third Edition, CSA-C22.2 No. 950-95, EN60950, IEC 950, CB Certificate, AS/NZ 3260, TS 001, Laser Safety: 21CRF1040 Emissions: FCC Part 15 Class A, CISPR 22 Class A, EN55022 Class A, AS/NZ 3548 Immunity: EN61000-4-2, EN61000-4-3, EN61000-4-4, EN61000-4-5, EN61000-4-6, EN61000-4-11, EN61000-3-2, EN61000-3-3, EN300-386-2 Telcordia: GR-63-CORE, GR-1089-CORE, SR-3580 NEBS Level 3 ETSI: EN300-019-1-1, EN300-019-1-2, EN300-019-1-3, EN300-132, EN300-386-2 TANDBERG Television iPlex equipment has been tested and found to comply with the limits for a Class A digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference when the equipment is operated in a commercial environment. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instruction manual, may cause harmful interference to radio communications. Operation of this equipment in a residential area is likely to cause harmful interference, in which case the user will be required to correct the interference at personal expense. Please note the following: 1 The TANDBERG Television iPlex is intended for indoor use only. 2 In case of emergency, disconnect the power cords. 3 If power cords are not provided: - In the United States, use standard computer power cords (as specified below). - In Europe, for 230 volt operation, use a cord set marked HAR and consisting of a min 3 core H05VVF3G075 cord that has a minimum 0.75 square mm diameter conductors, provided with an IEC 320 receptacle and a male plug for the country of installation, rated 6A, 250V. 4 Do not block the equipment vents. Read the following safety information thoroughly before installing this TANDBERG Television product. Failure to follow this safety information may lead to personal injury or damage to the equipment. Power Supply This unit must be grounded. The unit must be connected to a grounded outlet to comply with product safety standards. Do not connect the power supply unit to an AC outlet without a ground connection. All power cords must be disconnected before servicing.

FCC Class A Compliance

Important Safety Information!

Power Cords The plug on the power supply cords are considered to be the equipment disconnect device and must be approved for the country where it is used. For USA and Canada: The cord set must be UL-approved and CSA-certified. The attachment plug must be an earth-grounding type with a NEMA 5-15P (15A 125V) plug and a EN60320/IEC320 receptacle.

System Specifications

Dimensions (H x W x D): 23.50 X 17.40 X 1.75 in (59.69 x 44.20 x 4.45 cm) Rack Mount: 1 Rack Unit: Standard 19 inch EIA rack Weight: 24.5 lbs (11.14 kg) fully-configured Shipping Weight: 39 lbs. (17.69 kg) Airflow: 86 CFM normal operation 126 CFM maximum Operating Temperature Range: 0 C to +40 C (+32 F to +104 F) Short-term Operating Temperature Range: -5 C to +55 C (+23 F to 131 F) Non-operating Temperature Range: -40 C to +70 C (-40 F to +158 F) Operating Humidity: 7% to 95% Non-condensing Non-Operating Humidity: 5% to 95% Non-condensing Operating Altitude: to 13,123 ft (4000 meters) Input Power Requirement: 100-240 V AC 47/63 Hz @ 3/6 Amps

Contents
Cover, Notices, and Disclaimers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Chapter 1: Introducing TANDBERG Television iPlex . . . . . . . . . . . . . . . . . . . . . 9

Introduction to the Command Line Interface Guide . . . . . . . . . . . . . . . . 10 Other iPlex Guides . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Contacting TANDBERG Television Customer Support . . . . . . . . . . . . . 11 Support Check List . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Chapter 2: CLI Commands and Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

Command Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 CLI Basics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 Additional Connection Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Interface Naming Convention . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 UnitNumber and NumberUsed . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 CLI Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Backing Up the Configuration File . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 Command Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 ? (root) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 show . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 copy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 delete . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 upload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 clear . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 reboot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 shell . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 syncfs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 Show Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 show . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
5

iPlex Command Line Interface Reference Guide

show running-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show chassis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show iproute . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show interface TCPIn1/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show media-routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show media-routes all all . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show stats gei1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show stats blade1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show stats ASIOut1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show stats ENC1/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show program ASIIn1/4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show program ENC1/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show stream . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show stream ASIIn1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show element . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show element ASIIn1/5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show log . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show tech-support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show serial . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . show ntpstatus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

25 28 30 30 31 31 32 33 33 34 34 34 35 35 36 36 36 37 37 37 39 39 39

Config Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Navigation in config-mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Deleting by using no . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Configuration Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 Key Values . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 [config] system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 [config] userLogging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 [config] redundancy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 [config] snmp-server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 [config] security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 [config] interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 [config] interface ASIIn1/5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 [config] interface ASIOut1/6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51

iPlex Command Line Interface Reference Guide

[config] interface ENC1/4 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface ENC1/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Teletext Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface ATM1/5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface ATMIn1/0 ATM1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface ATMOut1/0 ATM1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface FILEIn1/1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface RTPIn1/0 ATM1/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface TCPIn1/3 ATM1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface UDPIn1/0 ATM1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface UDP Backhaul . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface smd1/6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface sme1/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface RTPOut1/2 ASIIn1/4 . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface UDPOut1/1 ASIIn1/2 . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface XrtrIn1/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] interface XrtrOut3/0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] ipRoutes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] blade-alarms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] licenses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] media-routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] custom-program-services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] custom-element-services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] program-details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [config] element-details . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

52 53 54 55 55 55 56 56 57 57 57 58 58 59 59 60 60 61 61 62 62 63 63 64 64 65

Chapter 3: Configuration Scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67

Configuration Scenarios Using CLI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68 Single Program Route from ASI In to UDP Out using CLI . . . . . . . . . . . . 68 Custom Program Route from ASI In to UDP Out Using CLI . . . . . . . . . . 71 Configuration Questions and Answers . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Topic 1: UDPOut Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74 Topic 2: iPlex IP Settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77

iPlex Command Line Interface Reference Guide

Chapter 1
Introducing TANDBERG Television iPlex

iPlex Command Line Interface Reference Guide

Introduction to the Command Line Interface Guide


Use this guide to help you understand features and tasks that can be performed with iPlex using the command line interface. Topics discussed in this guide include:

How to contact technical support. CLI basics. CLI conventions. CLI connection methods. Command definitions. Show commands. Config commands.

Other iPlex Guides


In addition to this guide, you can also refer to the following guides:

Installation & Hardware Specifications Guide, for information on


Hardware specifications. Hardware installation and configuration. Software installation and configuration. SNMP formats, messages, and conceptual row creation MIBs HP Openview information Hardware specifications. Basic concepts. Configuration scenarios. Web interface features and functions. Port configuration and statistics. Redundancy.

Network Management & Monitoring Reference Guide, for information on


Web Interface User Guide, for information on


10

iPlex Command Line Interface Reference Guide

Contacting TANDBERG Television Customer Support


For information on TANDBERG Television support hours and how to contact TANDBERG Television support, please refer to the literature that came with your support contract. To contact TANDBERG Television about the purchase a support contract, please refer to the contact information below. Basic support is available to TANDBERG Television customers either by e-mail or on the Web (refer to contact information, below). Please send a detailed message and you will be contacted during regular business hours (see the Support Check List).

Contact Information
fieldservice_americas@tandbergtv.com http://www.tandbergtv.com/contactingsupport.ink

E-mail: Web:

Support Check List


When contacting Customer Support, please provide the following information:

Your name, company name, e-mail address, and phone number. TANDBERG Television product name and version number. A complete network diagram with IP addresses. The name and version of the network software. If set-top boxes are involved, please brand and software version. Syslog entries for the period over which the problem occurred. iPlex Tech Support Dump. A full description of the problem

Did this problem occur just after making a network change? Did this problem occur just after adding or removing hardware or software?

11

iPlex Command Line Interface Reference Guide

12

Chapter 2
CLI Commands and Operation

13

iPlex Command Line Interface Reference Guide

Command Line Interface


CLI Basics
This chapter covers the basic operation and commands of the Command Line Interface (CLI). After reading this chapter, you will be able use the CLI to configure and manage the iPlex. However, this chapter only gives the basic commands as examples of syntax; for information on parameters, you need to reference Chapter 3: Using the Web GUI. You can access the TANDBERG Television iPlexs command line interface through a telnet, SSH, or console (serial port) connection. Accessing the command line interface is referred to as a CLI session.
SSH (Secure SHell) A protocol that runs over TCP to cryptographically secure login sessions.

When you establish a CLI session, commands within the iPlexs CLI are in a tree structure. To configure the iPlex, you need to understand how to navigate the CLI tree structure. The following section walks you through navigating within the CLI tree. With the help of the question mark (?) and Show functions, you will learn how to determine where you are in the tree, and what functions and subcommands are available. Depending on the position within the tree structure, you will have access to different command options. Once in a given configuration branch, you may enter the system level configuration commands that apply to that particular level. In addition, the command prompt changes to reflect the position within the tree structure to assists with navigation. This allows for easy reference within the tree structure when in configuration mode.

To start Telnet from Windows: 1 Click the Windows Start button.


TIP It is recommended that only users familiar with the CLI format use the Command Line Interface.

2 Click Run. 3 In the Open box, type: telnet xxx.xxx.xxx.xxx (the IP address of the iPlex Management Port you are connecting to) 4 Click OK. 5 At the login prompt enter the user name, at the next prompt enter the password.
iPlex will respond Welcome to TANDBERG Television iPlex. It will also include the software version and date. The next prompt will display [root@iplex] or <username@host name>. To list the available commands, at the prompt type a question mark (?) and press Enter. Typing ? at the prompt displays the following top-level commands: show, reset, config, copy, delete, upload, clear, reboot, set, shell, syncfs, and upgrade. Typing exit at a prompt returns you to next higher level in the command tree.

14

iPlex Command Line Interface Reference Guide

NOTE The root user has full access to all commands. The user groups administrator and operator have limited access. If access is denied after entering a command, make sure the login was for root user and try again.

Additional Connection Method


In case of failure of the management network, it may be desirable to connect a modem to the iPlex console port on the SCM blade to dial into the console port of a remote iPlex. For example, one could use a iPlex to provide video-over-IP services to a small community installed on an unmanned local head end connected to the Network Operations Center (NOC) through a T1 line for management. If the T1 line fails, the NOC will lose connectivity to the iPlex and could use the modem to reach its control console.
AT command set A series of machine instructions used to activate features on an intelligent modem. Developed by Hayes Microcomputer Products and officially known as the Hayes Standard AT Command Set, it is used entirely or partially by most every modem manufacturer. AT is a mnemonic code for ATtention, which is the prefix that initiates each command to the modem.

As part of its boot process, the iPlex sends modem configuration commands to set up an external modem connected to its control console port. These configuration commands will work with most common external modems that support the AT command set. It is also possible to connect a modem after booting the iPlex. However, in this case you must pre-configure the modem prior to connection, as follows:

Baud rate 9600 No command echo No online echo No result codes (quiet mode) Fixed DTE speed Disable transmit and receive flow control Ignore RTS and DTR Auto-answer in the first ring

The sequence of commands sent by the iPlex to the modem on boot time is as follows: ATZ AT E0 F1 M1 Q1 X0 AT &B1 &H0 &I0 &R1 AT &C1 &D0 &S0 AT S0=1

15

iPlex Command Line Interface Reference Guide

Interface Naming Convention


There are two port types in iPlex: physical and logical. The discovery of physical ports occurs as part of initial submodule discovery; the user creates logical ports. The naming convention for physical ports (submodules) is as follows: PortTypeSlotNumber/UnitNumber. The logical ports naming convention is: PortTypeSlotNumber/NumberUsed.

UnitNumber and NumberUsed


In physical ports, the unit number starts with 0. Each submodule slot on an MCM contains two unit numbers with a range from 0 to 15. In logical ports, the user assigns the number and has no range.

MCM Example

You may, for instance, have one ASI input, an Encoder, an ATM, and ASI output. Since each ASI submodule has two ports, you have two available interfaces; however, encoders and ATM submodules have only one interface per submodule. The following names for this blade would be as follows: ASIIn1/0 and ASIIn1/1, ENC1/2, ATM1/4, ASIOut1/6 and ASIOut1/7. The ASI input port creates a SMD (TANDBERG Television MPE Decapsulation) interface. The SMD interface associated with ASIIn1/0 will be smd1/0 and the ASIIn1/1 will be smd1/1. The ASI output creates a SME (TANDBERG Television MPE Encapsulation) interface. The SME interface attached to ASIOut1/6 will be sme1/6 and the ASIOut1/7 will be sme1/7. If you are looking directly at the rear view of an iPlex, the port assignment starting from lowest port number to highest goes as illustrated below: 1 7,6 1 15,14 2 5,4 2 13,12 3 3,2 3 11,10 4 1,0 4 9,8

While the cards locations (slots) for both rows are numbered from left to right 1, 2, 3, and 4, the port numbers in the top row run from 7 and 6 on the left down to 1 and 0 on the right. Then in the bottom row, they go from 15 and 14 on the left down to 9 and 8 on the right. Additionally, the user can create UDP logical output port with unit number 0, and receive the name UDPOut1/0. Logical ports include: UDPIn/Out, RTPIn/Out, FileIn, and TCPIn.

SCM Example

Each iPlex has two Gigabit Ethernet interfaces: GE1 and GE2.

16

iPlex Command Line Interface Reference Guide

CLI Tree
The diagram below is a visual representation of the CLI command levels. For the two main commands show and config. For detailed information, see Show Commands on page 25 and Config Commands on page 40.

Backing Up the Configuration File


NOTE Before making any changes to your system, TANDBERG Television recommends that you save the current state of your system by copying the currently running configuration file to a backup file (you choose the name of the file) in order to be able to go back to the current configuration should you ever need to do so. See copy on page 21 for the procedure on how to do this. After you change your system and are confident everything is working correctly, TANDBERG Television recommends that you copy the configuration file at that point to the startup file in order to have a known starting point should the system ever have to reboot. See copy on page 21 for the procedure on how to do this.

17

iPlex Command Line Interface Reference Guide

Command Definitions
The following section defines all the commands provided by the CLI. Command ? show reset config copy delete upload clear reboot set shell syncfs upgrade Description Shows all top-level root nodes Show commands to display information reset commands Enter the config mode Copy configuration files Delete command Upload command Clear command reboot blade or chassis Set commands Start a shell process Synchronize file systems on SCMs Set system in upgrade mode Page page 18 page 19 page 19 page 20 page 21 page 21 page 22 page 22 page 23 page 23 page 24 page 24 page 24

? (root)
Command Description Example
Type: ? Shows all top-level root nodes
show reset config copy delete upload clear reboot set shell syncfs upgrade Show commands to display information reset commands Enter the config mode Copy configuration files Delete command Upload command Clear command reboot blade or chassis Set commands Start a shell process Synchronize file systems on SCMs Set system in upgrade mode

18

iPlex Command Line Interface Reference Guide

show
Command Description Example
Type: show ? Shows all show nodes
running-config chassis blade iproute interface media-routes stats program stream element vlan log tech-support serial ntpstatus Display the current configuration Show chassis information Show blade information Show all Network routes--IP, MPE and ATM Show interface information Show media-route information Show stats information Show program information Show stream information Show element information for a program Show vlan information Show log Show technical support information Show serial output log Show NTP status

reset
Command Description Example Command 2 Example
Type: reset ? Shows reset commands
stats Reset stats information

Type: reset stats ? [root@iPlex] reset stats ?


gei1 gei2 blade1 ASIIn1/2 ASIIn1/3 ASIIn1/4 ASIIn1/5 ASIIn1/10 ASIIn1/11 ASIIn1/12 ASIIn1/13 ENC1/0 ATMIn1/0 ATMIn1/1 UDPOut1/0 UDPOut1/1 Reset Reset Reset Reset Reset Reset Reset Reset Reset Reset Reset Reset Reset Reset Reset Reset GE port statistics GE port statistics blade statistics statistics for ASIIn1/2 statistics for ASIIn1/3 statistics for ASIIn1/4 statistics for ASIIn1/5 statistics for ASIIn1/10 statistics for ASIIn1/11 statistics for ASIIn1/12 statistics for ASIIn1/13 statistics for ENC1/0 statistics for ATMIn1/0 statistics for ATMIn1/1 statistics for UDPOut1/0 statistics for UDPOut1/1

19

iPlex Command Line Interface Reference Guide

ATMOut1/0 ATMOut1/1

Reset statistics for ATMOut1/0 Reset statistics for ATMOut1/1

Command 3 Example

Type: reset stats ENC1/4


Counters for ENC1/4 are reset

config
Command Description Command 2 Description
Type: config Changes prompt to config-mode At config# Type: ? Shows all [config#] subcommands NOTE Type exit to get out of config mode.

Example

system redundancy snmp-server interface ipRoutes alarms blade-alarms licenses logging blade-alarms security ncompass cas media-routes custom-program-services custom-element-services program-details element-details

- Configure system wide configuration - Configure redundancy parameters - Configure SNMP agent - Configure interfaces - Configure IP Route - Configure redundancy alarms - Configure blade alarms - Configure Licenses - Configure Logging - Configure Blade Alarms - Configure Security - Configure nCompass - Configure CAS - Configure media routes - Create custom programs - Create custom elements - Configure parameters for custom programs - Configure parameters for custom elements

To configure system parameters enter system configuration mode by entering system { To configure snmp-server parameters enter snmp-server configuration mode by entering snmp-server { To configure redundancy parameters enter redundancy configuration mode by entering redundancy {

20

iPlex Command Line Interface Reference Guide

copy
Command Description Example
Type: copy ? Shows copy commands
copy running-config startup-config [save_default_values] or copy running-config ascii-filename [save_default_values] or copy startup-config running-config

Command 2 Description Command 3 Description Command 4 Description

Type: copy running-config <filename> [save_default_values] Creates an ascii file of current running configuration as the specified name. save_defaults is an optional argument with a value of true (default) or false. Type: copy running-config startup-config [save_default_values] Copies the current running configuration to the startup configuration. save_defaults is an optional argument with a value of true or false (default). Type: copy startup-config running-config Applies the startup configuration manually (i.e., not at boot time).

delete
Command Description Example
Type: delete ? Shows delete commands
port program element stream Delete Remove Remove Remove specific port program from specific interface element from specific interface stream from specific interface

Command 2 Description

Type: delete port ? Shows existing ports

21

iPlex Command Line Interface Reference Guide

Example Command 3

UDPOut1/2 UDPOut1/0 UDPOut1/1

Delete interface UDPOut1/2 Delete interface UDPOut1/0 Delete interface UDPOut1/1

Type: delete port UDPOut1/2 NOTE Follow the same procedure and syntax for program, element, and stream.

upload
Command Description Example Command 2 Description
Type: upload ? Shows upload commands
log Upload log file

Type: upload log <filename> Uploads the specified file.

clear
Command Description Example Command 2 Description Command 3 Description Command 4 Description
Type: clear ? Shows clear commands
log all ndc Clear log file Clear full Configuration Remove from nDC

Type: clear log <filename> Clears the specified file. Type: clear all Clears full configuration. Type: clear ndc Removes from nDC.

22

iPlex Command Line Interface Reference Guide

reboot
Command Description Example Command 2 Description
Type: reboot ? Shows reboot commands
blade chassis Reboot specific blade Reboot Chassis

Type: reboot blade <slot-num> Reboots the specified blade.

set
Command Description Example
Type: set ? Shows set commands
date config blade-primary ndc Set Set Set Add system date and time (Format MMDDhhmmCCYY) configuration from a file specific blade as primary to nDC

Command 2 Description Command 3 Description Command 4 Description Command 5 Description

Type: set blade-primary ? Shows the primary blades Type: set blade-primary <blade number> Sets specified blade as primary. Type: set config <filename> Sets specified configuration file. Type: set ndc Adds to nDC.

23

iPlex Command Line Interface Reference Guide

shell
Command Description
Type: shell This command allows access to an interactive shell. It is intended for TANDBERG Television Support personnel. Do not use this command unless directed by TANDBERG Television Support. If you enter the shell, you can return to the CLI by typing "exit".

syncfs
Command Description Example
Type: syncfs Synchronizes files, for use with redundant SCMs.
syncfs

upgrade
Command Description
Type: upgrade Sets system in upgrade mode

24

iPlex Command Line Interface Reference Guide

Show Commands
show
Command Description Example
Type: show ? Shows all show nodes
running-config chassis blade iproute interface media-routes stats program stream element vlan log tech-support serial ntpstatus Display the current configuration Show chassis information Show blade information Show IP routes--IP, MPE and ATM Show interface information Show media-route information Show stats information Show program information Show stream information Show element information for a program Show vlan information Show log Show technical support information Show serial output log Show NTP status

show running-config
Command
Type: show running-config NOTE The following message will appear: This command may take long time to complete, are you sure [Y/N]?

Description

Shows current iPlex configuration. NOTE The example below is a shortened sample configuration, extensively edited for practical length in this document. The particular nodes shown will be a function of the iPlex chassis configuration.

Example

system { (NOTE: THIS EXAMPLE IS TRUNCATED FOR BREVITY) hostName "iPlex" dnsDomainName "TANDBERGTV.COM" chassisIpAddress 192.168.21.102 vlanSetup { vlanId 2 ipAddress 172.30.1.1 subnetMask 255.255.255.0

25

iPlex Command Line Interface Reference Guide

ge1 'Untagged' ge2 'No' } automaticMulticastSetup { vlanName 'vlan_2' ge1 true ge2 false ipAddress 224.1.1.1 } automaticMulticastSetup { vlanName 'vlan_2' ge1 true ge2 false ipAddress 224.1.1.2 } automaticMulticastSetup { vlanName 'vlan_2' ge1 true ge2 false ipAddress 224.2.127.254 } automaticMulticastSetup { vlanName 'vlan_2' ge1 true ge2 false ipAddress 224.10.10.30 } automaticMulticastSetup { vlanName 'vlan_2' ge1 true ge2 false ipAddress 224.12.12.45 } enableRip false sessionTimeout 240 timeZone 'GMT-8' } snmp-server { snmpCommunityStrings { snmpReadCommunity "public" snmpReadWriteCommunity "private" } snmpLocation "Lab " snmpContact "LabAdmin" snmpTrapCommunity "private" displayBackupPorts false displayBackupInterfaces false } redundancy { redundancyMode 'Automatic' } ipRoutes { } licenses { } userLogging { enableUserLogging true

26

iPlex Command Line Interface Reference Guide

userLoggingInterface { enableWeb true enableCli true enableSnmp true } userLoggingOperation { enableAdd true enableModify true enableRemove true enableInfo true } } interface ASIIn1/6 { channelActive 'Input A' description "ASIIn DVB" inputStreamType 'DVB' enableCatParsing true enableNitParsing true enableSdtParsing true enableTableForwarding true } interface ASIIn1/7 { channelActive 'Input A' description "" inputStreamType 'MPEG' enableCatParsing false enableTableForwarding true } interface ASIOut1/0 { autoSelectPidRange { minimumPidValue 256 maximumPidValue 8185 } autoSelectPmtRange { minimumPidValue 48 maximumPidValue 8185 } autoSelectProgramRange { minimumProgramId 1 maximumProgramId 65535 } description "" outputStreamType 'MPEG' transportStreamId 1 enableCatGeneration false outputBitRate 30000000 asiOutputPacketSize '188' } interface TCPIn1/1 gei1/0 Section { description "Section Port" inputStreamType 'MPEG' enableCatParsing false enableTableForwarding true sectionPortPidValue 0x100

27

iPlex Command Line Interface Reference Guide

sectionPacking true portNumber 2048 tcpFlowControl true tcpBitRate 160000000 }

show chassis
Command Description Example
NOTE This is an shortened sample configuration. The particular nodes shown will be a function of the iPlex chassis configuration.
[root@iPlex] show chassis Chassis Serial Number: 0x00301D023E8D Slot 1 MCM online OS 2.8(17) Version: ~?+~?+? DOM present yes Booted from DOM no Tray #1 present Tray #2 present 8 PMC sites PMC slot #1 Encoder #channels 1, channel 1 PROCESSING PMC slot #2 Encoder #channels 1, channel 1 PROCESSING PMC slot #3 Encoder #channels 1, channel 1 PROCESSING PMC slot #4 Encoder #channels 1, channel 1 PROCESSING PMC slot #5 empty PMC slot #6 empty PMC slot #7 empty PMC slot #8 empty CPU: 0 Current CPU Utilization 1% Started on: Thu Jul 28 15:49:50 2005 Total memory 977099(kb) Free memory 146026(kb) Allocated memory 831073(kb) ASI Buffer Manager Number of Buffer Ref 640000 Number of Buffers 320000 Available Buffers 639992 No Buffer Ref Count 0 No Buffers Count 0 Buffer Highwater mark 8 UDP Buffer Manager Number of Buffer Ref 16000 Number of Buffers 8000 Available Buffers 16000 No Buffer Ref Count 0 No Buffers Count 0 Buffer Highwater mark 0 Section Buffer Manager Number of Buffer Ref 64000 Number of Buffers 32000 Available Buffers 64000 No Buffer Ref Count 0 No Buffers Count 0 Buffer Highwater mark 0 4K_Pool Buffer Manager Number of Buffer Ref 672000 Number of Buffers 64000

Type: show chassis Shows chassis run-time operational statistics.

28

iPlex Command Line Interface Reference Guide

Available Buffers 672000 No Buffer Ref Count 0 No Buffers Count 0 Buffer Highwater mark 0 Slot 10 SCM online OS 2.8(17) Version: ~?+-n? Revision ID Board: ?L~?+~?++??g CPLD: ?L~?+~?++??g Temperature Sensors Xeon: 0.0 C E7501 MCH: 0.0 C E7501 ICH: 0.0 C PCI Hub: 0.0 C GE Mac: 0.0 C GE Switch: 0.0 C PPC 8250: 0.0 C Serdes: 0.0 C Upper Carrier Bottom: 0.0 C Upper Carrier Top: 0.0 C Lower Carrier Bottom: 0.0 C Lower Carrier Top: 0.0 C Voltage Sensors 3.3 V Stby: 0.00 V 3.3 V Main: 0.00 V 5 V: 0.00 V VCCP: 0.00 V 12 V: 0.00 V -12 V: 0.00 V VBAT: 0.00 V 2.0 V: 0.00 V 1.3 V CPU 12: 0.00 V 2.5 V: 0.00 V 1.8 V Stby: 0.00 V 1.8 V Main: 0.00 V 1.8 V Rambus: 0.00 V 1.5 V: 0.00 V 1.25 V DDR: 0.00 V 1.2 V: 0.00 V 2.5 V GE: 0.00 V Fan Sensors Fan 1 Status: OK Fan 2 Status: OK Fan 3 Status: OK Fan 4 Status: OK Fan 5 Status: OK Fan 6 Status: OK Fan 7 Status: OK Fan 8 Status: OK Fan 1 Speed: 7200 rpm Fan 2 Speed: 7200 rpm Fan 3 Speed: 7200 rpm Fan 4 Speed: 7200 rpm Fan 5 Speed: 7200 rpm Fan 6 Speed: 7200 rpm Fan 7 Speed: 7200 rpm Fan 8 Speed: 7200 rpm [root@iPlex]

29

iPlex Command Line Interface Reference Guide

show iproute
Command Description Example
ROUTING TABLE MPE Routes Destination Manual 172.16.5.0 172.16.5.16 172.16.17.32 172.16.17.48 IP Routes Destination 172.30.1.0 192.168.19.0 10.2.3.0 127.0.0.0 0.0.0.0 172.16.5.96 172.16.5.112 172.16.17.64 172.16.17.80 172.16.17.96 172.16.17.112 Mask 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 Mask 255.255.255.0 255.255.255.0 255.255.255.0 255.0.0.0 0.0.0.0 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 255.255.255.240 Gateway 172.16.5.1 172.16.5.17 172.16.17.33 172.16.17.49 Gateway 172.30.1.1 192.168.19.182 10.2.3.1 127.0.0.1 192.168.19.1 172.16.5.97 172.16.5.113 172.16.17.65 172.16.17.81 172.16.17.97 172.16.17.113 Interface PID sme1/0 sme1/1 sme1/2 sme1/3 MAC Address Discipline

Type: show iproute Shows routes present in the chassis.

0x1FFF 00:00:00:00:00:00 0x1FFF 00:00:00:00:00:00 0x1FFF 00:00:00:00:00:00 0x1FFF 00:00:00:00:00:00

Interface Manual vlan_2 eth2 vlan_3 lo eth2 smd1/1 smd1/2 smd1/4 smd1/5 smd1/6 smd1/7

show interface
Command Description Example
Type: show interface ? Shows interfaces present in the chassis.
TCPIn1/0 TCPIn1/1 UDPOut1/0 UDPOut1/2 UDPOut1/1 RTPOut1/0 UDPIn1/0 UDPIn1/1 UDPIn1/2 UDPIn1/4 UDPIn1/5 Display interface information for TCPIn1/0 Display interface information for TCPIn1/1 Display interface information for UDPOut1/0 Display interface information for UDPOut1/2 Display interface information for UDPOut1/1 Display interface information for RTPOut1/0 Display interface information for UDPIn1/0 Display interface information for UDPIn1/1 Display interface information for UDPIn1/2 Display interface information for UDPIn1/4 Display interface information for UDPIn1/5

30

iPlex Command Line Interface Reference Guide

--More-- (35% of 3950 bytes)

NOTE This is an shortened sample configuration. The particular nodes shown will be a function of the iPlex chassis configuration.

show interface TCPIn1/0


NOTE This is just an example of the show interface command. Follow the same syntax for all interfaces.

Command

Type: show interface TCPIn1/0 NOTE CLI is case sensitive; therefore, upper and lower case characters must be entered correctly.

Description Example

Shows configuration of specified interface


Information of interface TCPIn1/0: Port Type: TCP Input Port State: Processing Port Packetizer: MPEG-2 Transport Unapplied Config: no -- Description -Description:

show media-routes
Command Description Example
[root@iPlex] show media-routes ? all UDPIn1/0 Show media-routes from <UDPIn1/0> to <ATMOut1/0> [root@iPlex]

Type: show media-routes ? Shows a list of media-routes

31

iPlex Command Line Interface Reference Guide

show media-routes all all


Command Description Example
[root@iPlex] show media-routes all all Type Input Output Interface Interface PROGRAM (public) ASIIn1/2 ATMOut1/0 PROGRAM (public) ASIIn1/2 ATMOut1/1 PROGRAM (public) ATMIn1/0 UDPOut1/0 PROGRAM (public) ATMIn1/1 UDPOut1/1 [root@iPlex] Source Pgm 160 202 1 1 Dest Pgm 160 202 1 1 Source PID N/A N/A N/A N/A Dest PID N/A N/A N/A N/A

Type: show media-routes all all Shows a list of media-routes

Example Command Description Example

show stats
Type: show stats ? Shows a list of interfaces statistics available to view
[root@iPlex] show stats ? gei1 Show GE port statistics gei2 Show GE port statistics blade1 Show blade statistics multicast Show Multicast config igmp Show igmp config backplane Show backplane config cache-list Show Egress, Ingress and Filter list ASIIn1/2 Show statistics for ASIIn1/2 ASIIn1/3 Show statistics for ASIIn1/3 ASIIn1/4 Show statistics for ASIIn1/4 ASIIn1/5 Show statistics for ASIIn1/5 ASIIn1/10 Show statistics for ASIIn1/10 ASIIn1/11 Show statistics for ASIIn1/11 ASIIn1/12 Show statistics for ASIIn1/12 ASIIn1/13 Show statistics for ASIIn1/13 ENC1/0 Show statistics for ENC1/0 ATM1/6 Show statistics for ATM1/6 ATM1/8 Show statistics for ATM1/8 smd1/2 Show statistics for smd1/2 smd1/3 Show statistics for smd1/3 smd1/4 Show statistics for smd1/4 smd1/5 Show statistics for smd1/5 smd1/10 Show statistics for smd1/10 smd1/11 Show statistics for smd1/11 smd1/12 Show statistics for smd1/12 smd1/13 Show statistics for smd1/13 ATMIn1/0 Show statistics for ATMIn1/0 ATMIn1/1 Show statistics for ATMIn1/1

32

iPlex Command Line Interface Reference Guide

UDPOut1/0 UDPOut1/1 ATMOut1/0 ATMOut1/1 UDPIn1/0 [root@iPlex]

Show Show Show Show Show

statistics statistics statistics statistics statistics

for for for for for

UDPOut1/0 UDPOut1/1 ATMOut1/0 ATMOut1/1 UDPIn1/0

show stats gei1


NOTE CLI is case sensitive; therefore, upper and lower case characters must be entered correctly.

NOTE You can also show stats for gei2.

Command Description Example

Type: show stats gei1 Shows GE statistics for a particular port.


[root@iPlex] show stats gei1 GE fiber port 1 Link UP Sync OK Type: Copper Vendor: FINISAR CORP. Part Number: FCMJ-8521-3 Revision: 4 Bytes Tx 32359811904 Bad Bytes Tx 0 Unicast Packets Tx 0 Multicast Packets Tx 24077241 Broadcast Packets Tx 0 Collision Packets Tx 0 Bytes Rx 210312 Bad Bytes Rx 0 Unicast Packets Rx 0 Multicast Packets Rx 4572 Broadcast Packets Rx 0 CRC & Align Errors 0 [root@iPlex]

show stats blade1


Command Description
Type: show stats blade1 Shows statistics for a particular blade.

33

iPlex Command Line Interface Reference Guide

Example

Statistics for blade blade1 Bytes Tx Bad Bytes Tx Unicast Packets Tx Multicast Packets Tx Broadcast Packets Tx Collision Packets Tx Bytes Rx Bad Bytes Rx Unicast Packets Rx Multicast Packets Rx Broadcast Packets Rx CRC & Align Errors

96538556318 0 20050 70877141 2580 0 38741330256 0 36533 28440634 11 0

show stats ASIOut1/2


Command Description Example
Type: show stats ASIOut1/2 Shows ASI Out statistics for a particular port.
Stream PID 0x0 0x1 0x20 0x1FFF Total: statistics for port ASIOut1/2 # packets # duplicates 24572 0 1 15066 29459 0 1 18237 2457 0 0 1585 0 0 0 9074581

# errors bitrate (b/s)

30.50 Mb/s

show stats ENC1/0


Command Description Example
Type: show stats ENC1/0 Shows encoder statistics
Stream statistics for port ENC1/0 PID # packets # duplicates 0 33625 0 60 33625 0 101 76217 0 8191 2441930 0 Total:

# errors bitrate (b/s) 0 21441 0 21441 0 49236 0 1561269 2.22 Mb/s

show program
Command Description
Type: show program ? Shows programs

34

iPlex Command Line Interface Reference Guide

Example

This is an abbreviated sample of the Show Program ? command.


[root@iPlex] Show Program ? UDPIn1/0 Display program UDPIn1/1 Display program UDPIn1/2 Display program TCPIn1/0 Display program RTPIn1/0 Display program ENC1/4 Display program UDPOut1/0 Display program Backhaul1/0 Display program [root@iPlex] information information information information information information information information for for for for for for for for UDPIn1/0 UDPIn1/1 UDPIn1/2 TCPIn1/0 RTPIn1/0 ENC1/4 UDPOut1/0 Backhaul1/0

show program ASIIn1/4


NOTE CLI is case sensitive; therefore, upper and lower case characters must be entered correctly.

Command Description Example

Type: show program ASIIn1/4 Shows ASI In programs

Total 10 programs on interface ASIIn1/4 ProgramPMT PCR Service Service Number PID PID Name Provider 150 0xFBC 0xFBC Euronews 151 0xFBC 0xFBC Euronews (additional audio) 152 0xFBB 0xFBB Al Manar 153 0xFB5 0xFB5 SSC 154 0x99C 0x99C SBC TV 155 0x938 0x938 Jordan TV 156 0x67C 0x67C German TV 157 0x852 0x852 German TV Radio 158 0x8D4 0x8D4 TV Polonia 159 0x8D4 0x8D4 Polskie Radio 3

Service Original Type Network Id DIGITAL TELEVISON 1 DIGITAL TELEVISON DIGITAL TELEVISON 1 DIGITAL TELEVISON 1 DIGITAL TELEVISON 1 DIGITAL TELEVISON 1 DIGITAL TELEVISON 1 DIGITAL RADIO 1 DIGITAL TELEVISON 1 DIGITAL RADIO 1

show program ENC1/0


Command Description Example
Total 1 programs on interface ENC1/0

Type: show program ENC1/0 Shows encoder programs

35

iPlex Command Line Interface Reference Guide

ProgramPMT Number PID 1 0x65

PCR PID 0x65

Service Name

Service Provider

Service Type USER DEFINED

Original Network Id 0

show stream
Command Description Example
Type: show stream ? Shows what streams are running This is an abbreviated example of the Show Stream ? command.
[root@iPlex] Show Stream ? UDPIn1/0 Display stream UDPIn1/1 Display stream UDPIn1/2 Display stream TCPIn1/0 Display stream RTPIn1/0 Display stream ENC1/4 Display stream UDPOut1/0 Display stream Backhaul1/0 Display stream [root@iPlex] information information information information information information information information for for for for for for for for UDPIn1/0 UDPIn1/1 UDPIn1/2 TCPIn10 RTPIn1/0 ENC1/4 UDPOut1/0 Backhaul1/0

show stream ASIIn1/2


Command Description Example
Type: show stream ASIIn1/2 Shows configuration of a specified ASI In stream.
Total 29 streams on interface ASIIn1/2 Pid Stream Program (hex) Type Number 0x0 PAT 0 0x1 CAT 0 0x10 NIT 0 0x11 SDT 0 0x21 PMT 0 0x1001 Audio 222

show element
Command Description
Type: show element ? Shows what elements are running

36

iPlex Command Line Interface Reference Guide

Example
ASIIn1/2 ASIIn1/3 ASIIn1/4 ASIIn1/5 Display Display Display Display element element element element information information information information for for for for a a a a program program program program on on on on ASIIn1/2 ASIIn1/3 ASIIn1/4 ASIIn1/5

show element ASIIn1/5


Command Description Example Command 2 Example
Information Pid PCR Pid 0x12C no 0x12D no for program #17 on interface ASIIn1/5: Stream Type MPEG2 Video MPEG1 Audio Cur/ Next yes yes Element Flags 0 0 Ver Tag # 1 0 1 0

Type: show element ASIIn1/5 Shows configuration of specified elements


show element <interface> <program-num>

Type: show element ASIIn1/5 17

show vlan
Command Description Example
Type: show vlan Shows all defined vlans
VLAN ID 2 3 IP Address 172.30.1.1 10.2.3.1 Subnet Mask 255.255.255.0 255.255.255.0 GE1 U T GE2 -

show log
Command Description Example
Type: show log ? Shows log usage This is an abbreviated example of the Show Log command.
[root@iPlex] Show log ?

37

iPlex Command Line Interface Reference Guide

Usage: show log <all;slot num> <all!warning!error!info!critical!notice!user> Example: show log 1 warning Will displaly all warning messages from blade 1 show log 1 error Will display all error messages from blade 1 show log 1 all Will display all messages from blade 1 show log all all Will display all messages from all blades show log all user Will display all user log messages [root@iPlex]

Command 2 Example

Type: show log all all

NOTE This is an abbreviated example of just a portion of what you may see, depending upon your configuration.
[root@iPlex] Show log all all ? Warning Messages Jan 06 21:06:14blade1 ENCODER DEVICE-4-RETSTART: ENC1/2: Encoder is restarting Jan 06 20:10:42 blade1 Table Parser 4-RESET: ASIIn1/3: Input table information is being reset Jan 07 06:08:20 blade1 BLADE_MGR-4-LOSS_OF_FEED: Loss of feed on port ASIIn1/4 Critical Messages Jan 06 19:15:22 blade1 CFG_WDOG-2-ASI_SYNC: Loss of ASI input for ASIIn1/4 Jan 06 18:58:10blade1 CFG_WDOG-2-ASI_SYNC: Loss of ASI input for ASIIn1/4 Error Messages Jan 03 stream Jan 03 stream 08:38:17 blade1 ASI_OUT_DEV-3-STOP_STREAM: ASIOut1/1:Stop stream command sent for, id 0x00001105 08:33:44 blade1 ASI_OUT_DEV-3-STOP_STREAM: ASIOut1/1:Stop stream command sent for, id 0x00001105

Info Messages Jan 08 01:40:44 blade1 DEMUX-6-PID_DISAPPEAR: ASIIn1/4: PID 0x0827 Disappear, time out Jan 08 01:40:44 blade1 DEMUX-6-PID_DISAPPEAR: ASIIn1/4: PID 0x0800 Disappear, time out Jan 07 09:28:04 blade1 DEMUX-6-PID_DISAPPEAR: ASIIn1/4: PID 0x0811 Disappear, time out

Command 3 Example

Type: show log 3 info This is a screenshot of show log 3 info

[root@iPlex] Show log 3 info Jan 08 02:42:24 blade1 DEMUX-6-PID_DISAPPEAR: ASIIn1/4: PID 0x0827 Disappear, time out Jan 08 01:10:11 blade1 DEMUX-6-PID_DISAPPEAR: ASIIn1/4: PID 0x0800 Disappear, time out [root@iPlex]

38

iPlex Command Line Interface Reference Guide

show tech-support
Command Description Example
Type: show tech-support Shows entire configuration
This command may take long time to complete, are you sure [Y/ N]?

show serial
Command Description Example
Type: show serial Shows usage
Usage: show serial MCM slot-num/cpu-num Example: show serial MCM 1/0 Will display the MCM log from blade1 cpu 0

Command 2 Description

Type: show serial MCM 1/0 Shows blade log of cpu 0

show ntpstatus
Command Description Example
remote refid st t when poll reach delay offset jitter ====================================================================================== *192.168.1.18 132.239.1.6 3 u 32 64 377 2.207 -3.922 0.001 172.17.255.255 0.0.0.0 16 u 64 0 0.000 0.000 16000.0

Type: show ntpstatus Shows status of NTP

39

iPlex Command Line Interface Reference Guide

Config Commands
Navigation in config-mode
The CLI has a special configuration mode that allows you to configure individual subsystems. By typing config at the prompt, you will enter configuration mode. The prompt will then change to: [config#] To review what functions are available, enter a question mark (?). The following functions will display: system, redundancy, snmp-server, interface, ipRoutes, licenses, media-routes, custom-program-services, custom-element-services, program-details, and element-details. At the [config#] prompt, enter the next node you wish to access; for example, enter interface followed by a question mark to get a list of interfaces. Then enter interface and the <name of the interface> exactly as it appears in the list, (interface ASIIn1/4) followed by an opening brace ({), and at the prompt enter a question mark (?). This will display the parameters available to configure for that interface, the example below has already selected DVB as the input stream type therefore the two DVB tables are listed in the parameters available to configure.
[config#] interface ASIIn1/4 { [ASIIn1/4 config#] ? channelActive Identifier of active plug on particular a physical input description Extended Description of the Object inputStreamType Input transport stream format enableCatParsing Enable the parsing of MPEG-CAT table enableNitParsing Enable the parsing of DVB-NIT tables enableSdtParsing Enable the parsing of DVB-SDT tables

Deleting by using no
The product of certain commands and parameters can be deleted after configuration is completed by appending no to the command or parameter and running it again. This applies to several different parameters and commands where there is a key value or values to differentiate the item to be deleted.
[config#] no interface ASIIn1/4 Will delete interface ASIIn1/4

[system config#] no vlanSetup { [system config#] vlan Id 3 [system config#] } These three steps will delete VLAN ID 3

Configuration Values
Each configuration option has a command followed by a value. Following the above example, to select the input stream type for ASI In, at the prompt [ASIIn1/ 4 config#] you must enter the value in single quotes inputStreamType DVB to set the stream type value to DVB.

40

iPlex Command Line Interface Reference Guide

NOTE Enumerated values must be entered using single quotes. Integer values do not require single quotes. Check syntax for entering parameter values by typing the name of the parameter and a question mark (?). For example: [ASIIn1/4 config#] channelActive ? This will provide the choices and method for entering parameters. After configuration you must end with a closing brace (}) to apply the configuration. To cancel the configuration type exit before entering a close brace(}).

NOTE To return to the root prompt from [config#], type exit.

Key Values
Some configuration parameters must be entered in sequence for the values to be applied. When configuring an MPE route there are three key values that must be set the other values are optional.
[ipRoutes manualMpeRoute config#] ? network MPE route base IP address netmask MPE route netmask gateway MPE route gateway pid MPE route PID ipMappingMacAddress IP mapping MAC address macAddress MPE route destination MAC address discipline MPE route discipline name Key value Key value Key value

config
Command Description Command 2 Description Example
Type: config Changes prompt to config-mode At config# Type: ? Shows all [config#] subcommands
system redundancy snmp-server interface ipRoutes licenses media-routes Configure Configure Configure Configure Configure Configure Configure system wide configuration redundancy parameters SNMP agent interfaces IP Route Licenses media routes

41

iPlex Command Line Interface Reference Guide

custom-program-services custom-element-services program-details element-details

Create custom programs Create custom elements Configure parameters for custom programs Configure parameters for custom elements

To configure system parameters enter system configuration mode by entering system { To configure snmp-server parameters enter snmp-server configuration mode by entering snmp-server {

[config] system
Command Description Command 2 Description Example
In [config#] Type: system { Changes prompt to [system config #] At [system config#] Type: ? Shows all [system config#] subcommands
hostName SCM host name dnsDomainName DNS domain name managementIp Management IP address chassisIpAddress IP address of the chassis defaultRouter Default router boot Boot choice (TFTP,Flash) tftpHost Host configuration for TFTP boot vlanSetup Set up a new VLAN multicastSetup Set up a Multicast group, and add port to the group automaticMulticastSetup Multicast created with a UDP_Out port. Can change only GE config enableRip Enable RIP routing protocol dnsServer DNS server address syslogHost Syslog server address sessionTimeout User interface session timeout interval backplaneSubnet A /26 IP subnet used for chassis back timeZone Time zone setting for the chassis ntpServers NTP Servers

NOTE Type attribute and a question mark (?) for information on the attributes parameters. Then type the attribute and parameters separated by a space.

42

iPlex Command Line Interface Reference Guide

Values
NOTE Values are examples only.

hostName: Type SCM host name, string (max length 255) values must be entered within double quotes. Type <hostName iPlex> dnsDomainName: Type the DNS domain name, string (max length 255) values must be entered within double quotes. Type <dnsDomainName Tandbergtv.com> managementIp: This parameter has multiple attributes to configure. Type managementIp { at the prompt enter parameters: ipAddress: IP address for the management port. Type <ipAddress xxx.xxx.xxx.xxx> netmask: Netmask for the management port. Type <netmask xxx.xxx.xxx.xxx>

NOTE You must type a close brace } to return to system configuration.

chassisIpAddress: Type the chassis IP address. Type <chassisIpAddress xxx.xxx.xxx.xxx>. defaultRouter: Type the IP address of the default router. Type <defaultRouter xxx.xxx.xxx.xxx>. boot: Type one of the following boot choices (TFTP, Flash) Possible values are: TFTP, Flash1, Flash2, and DHCP. Enumerated values must be entered within single quotes. Type <boot Flash1> tftpHost: This parameter has multiple attributes to configure. Type tftpHost { at the prompt enter parameters: tftpHost: IP address for the TFTP Host. Type <ipAddress xxx.xxx.xxx.xxx> tftpFileName: File name to boot from, string (max length 255) values must be entered within double quotes. Type <tftpFileName iPlex-image>

vlanSetup: This parameter has multiple attributes to configure. Type vlanSetup { at the prompt enter parameters: vlanId: VLAN ID for the new VLAN, integer (min 2 max 4093). Type <vlanId 4> ipAddress: VLAN IP Address. Type <ipAddress xxx.xxx.xxx.xxx.> subnetMask: VLAN Netmask. Type <subnetMask xxx.xxx.xxx.xxx.> ge1: GE1 port enable for this VLAN. Possible values are: No, Untagged, Tagged.

43

iPlex Command Line Interface Reference Guide

Enumerated values must be entered within single quotes. Type <ge1 Untagged>
NOTE It is possible to have multiple tagged VLANs on the same port (GE1, GE2), however, only one untagged. ge2: (see ge1).

multicastSetup: This parameter has multiple attributes to configure. Type multicastSetup { at the prompt enter parameters: vlanName: VLAN name for multicast. Type <vlanName vlan_4> ge1: GE1 port enable for this VLAN. Boolean (true or false). Type <ge1 true> ge2: (see ge1). ipAddress: IP address between 224.0.0.0 and 239.255.255.255. Type <ipAddress xxx.xxx.xxx.xxx.> automaticMulticastSetup: This parameter has multiple attributes to configure. Type automaticMulticastSetup { at the prompt enter parameters: vlanName: VLAN name for multicast. Type <vlanName vlan_4> ge1: GE1 port enable for this VLAN. Boolean (true or false). Type <ge1 true> ge2: (see ge1). ipAddress: IP address between 224.0.0.0 and 239.255.255.255. Type <ipAddress xxx.xxx.xxx.xxx.>

enableRip: Type true or false to enable or disable RIP. Type <enableRip true> once enabled you can type a ? to view additional RIP parameters. ripVersion: Type Version 1 or Version 2. Type <ripVersion 1> ripSetup: Type ripSetup { to configure RIP setup there are three parameters: -interfaceName: Type <interfaceName vlan_2> (key value) must be entered. -enableRip: Type <enableRip true> Boolean (true or false) -passiveMode: Type <passiveMode true> Boolean (true or false)
NOTE It is possible to have multiple tagged VLANs on the same port (GE1, GE2), however, only one untagged.

dnsServer: Type dnsServer { at the prompt enter parameters: dnsServer: IP address for the DNS Server. Type <ipAddress xxx.xxx.xxx.xxx> syslogHost: Type syslogHost { at the prompt enter parameters: syslogHost: IP address for the Syslog Host. Type <ipAddress xxx.xxx.xxx.xxx> sessionTimeout: Type integer for timeout 1 to 65535 (seconds). Type <sessionTimeout 5>. backplaneSubnet: Type the backplane subnet. A /26 IP subnet is used for chassis back. Type <backplaneSubnet xxx.xxx.xxx.xxx> timeZone: Type the time zone setting for the chassis, possible values are: Abidjan, Accra, Acre, ACT, Adak, Addis_Ababa, Adelaide, Aden, Alaska, Aleutian, Algiers, Almaty, Amman, Amsterdam, Anadyr, Anchorage, Auckland, Belfast, Belgrade, Berlin, Brisbane, Cairo, Calcutta, CET, CST6CDT, EET, EST, EST5EDT, GMT, GMT0, GMT-0, GMT+0, GMT-1, GMT+1, GMT-10, GMT+10, GMT-11, GMT+11, GMT-12, GMT+12, GMT-13, GMT-14, GMT-2, GMT+2, GMT-3,

44

iPlex Command Line Interface Reference Guide

GMT+3, GMT-4, GMT+4, GMT-5, GMT+5, GMT-6, GMT+6, GMT-7, GMT+7, GMT-8, GMT+8, GMT-9, GMT+9, Greenwich, Japan, Los_Angeles, Melbourne, Moscow, Mountain, MST, MST7MDT, Pacific, Pacific-New, PST8PDT, New_York, Taipei, Zurich. Enumerated values must be entered within single quotes. Type <timezone Pacific> ntpServers: Type ntpServers { at the prompt enter parameters: ntpServers: IP address for the NTP Servers. Type <ipAddress xxx.xxx.xxx.xxx>

[config] userLogging
Command Description Command 2 Description Command 3 Description Command 4 Description Example
[root@iPlex] config [config#]userLogging { [userLogging config#] enableUserLogging true [userLogging config#] userLoggingInterface { [userLogging userLoggingInterface config#] enableWeb true [userLogging userLoggingInterface config#] enableCli true [userLogging userLoggingInterface config#] enableSnmp false [userLogging userLoggingInterface config#] enableSnmp false [userLogging userLoggingInterface config#] enableLCD false [userLogging userLoggingInterface config#] } [userLogging config#] userLoggingOperation { [userLogging userLoggingOperation config#] enableAdd true [userLogging userLoggingOperation config#] enableModify true [userLogging userLoggingOperation config#] enableRemove true [userLogging userLoggingOperation config#] enableInfo true [userLogging userLoggingOperation config#] } [userLogging config#] }

In [config#] Type: userLogging { Changes prompt to [userLogging config#] ? In [userLogging config#] Type: enableUserLogging Enables user logging. In [userLogging config#] Type: userLoggingInterface CLI true Changes prompt to userLogging userLoggingInterface config#. The CLI interface is enabled for logging. In [userLogging userLoggingInterface config#] Type: userLoggingOperation Changes prompt to userLogging userLoggingOperation config# , and enables the setting of which operations are logged.

45

iPlex Command Line Interface Reference Guide

[config#] exit [root@iPlex]

NOTE Blue indicates user input. There is no CLI command to display logs. Internal iPlex storage for logs is very limited. It is recommended that an external syslog server is used to preserve persistence of the log.

[config] redundancy
Command Description Example Command 2 Description Example
In [config#] Type: redundancy { Changes prompt to [redundancy config#] ?
redundancySetup Redundancy Configuration

In [config#] Type: redundancySetup { Changes prompt to [redundancySetup config#] ?


backupRedundancyIpAddress enableRedundancy IP Address Redundancy Enabled

NOTE Both backupRedundancyIpAddress and enableRedundancy have to be set to establish the redundancy. You cannot modify backupRedundancyIpAddress once the redundancy is established. Instead, you must break out of redundancy first before you can change the backup redundancy IP address.

Values

backupRedundancyIpAddress: Enumeraed parameter enableRedundancy: Boolean (true or false)

Command 3 Description Command 4 Description

In [redundancySetup config#] Type: backupRedundancyIpAddress <ip address> Specifies the backup redundant IP address. In [redundancySetup config#] Type: enableRedundancy true Enables chassis redundancy.

46

iPlex Command Line Interface Reference Guide

[config] snmp-server
Command Description Example
In [config#] Type: snmp-server { Changes prompt to [snmp-server config#] ?
snmpCommunityStrings Read And Read Write Community for SNMP snmpLocation Location for SNMP snmpContact Contact for SNMP snmpTrapCommunity SNMP Community string for SNMP traps trapDestination SNMP Trap destination snmpV3User SNMPv3 User configuration trapSeverity SNMP Trap Severity

NOTE Type attribute and a question mark (?) for information on the attributes parameters. Then type the attribute and parameters separated by a space. For example, at the prompt [snmp-server config#] type: snmpCommunityStrings { enter, and at the next prompt [snmp-server snmpCommunityStrings config#] type snmpReadCommunity public.

Values

snmpCommunityStrings: Type snmpCommunityStrings { This parameter has multiple attributes. snmpReadCommunity: Type SNMP read community string within double quotes (maximum. length 255 characters). snmpReadWriteCommunity: Type SNMP read/write community string within double quotes (maximum. length 255 characters). snmpLoction: Type SNMP location string within double quotes (maximum. length 255 characters). snmpContact: Type SNMP contact string within double quotes (maximum. length 255 characters). snmpTrapCommunity Type SNMP trap community string within double quotes (maximum. length 255 characters). trapDestination: Type trapDestination { IpAddress: Type IP address for traps to be sent <ipAddress xxx.xxx.xxx.xxx>. snmpV3User: This parameter has multiple key value attributes to configure. Type snmpV3User { at the prompt enter parameters, then type } to set values: userName: Create SNMPv3 user name, enter a string value (max. length 16) within double quotes. Type <userName user1> password: Create SNMPv3 password, enter a string value (max. length 16) within double quotes. Type <password sky1> authProtocol: Enter an authentication protocol for SNMPv3, possible values are MD5 or SHA and must be entered within single quotes. Type <authProtocol SHA>

47

iPlex Command Line Interface Reference Guide

securityLevel: Enter security type for SNMPv3, possible values are noauth or auth and must be entered within single quotes. Type <securityLevel auth>

[config] security
Command Description Example
In [config#] Type: security { Changes prompt to [security config#] Under security, the following commands are available:
networkAccessListNetwork Access List networkControlInterfaces Selectively disable network control interfaces enableGePortsControl Enable GE ports control

To issue a network access list command, type:


networkAccessList {

The prompt will change to [security networkAccessList config#]. Enter the network and netmask as follows:
[security [security [security [security [security config#] networkAccessList networkAccessList config#] networkAccessList config#] networkAccessList config#] config#] { network 192.168.4.0 netmask 255.255.255.0 }

To enable/disable individual control interfaces, type:


networkControlInterfaces {

The prompt will change to [security networkControlInterfaces config#] At this point, you have the following choices:
[security networkControlInterfaces config#] ? enableTelnet Enable telnet enableSsh Enable SSH enableHttp Enable HTTP enableHttps Enable HTTPS enableSnmp Enable SNMP

Complete the command by typing:: }

[config] interface
Command Description
In [config#] Type: interface ? Shows available interfaces

48

iPlex Command Line Interface Reference Guide

Example

This is an abbreviated example of interface ?


[config#] interface ? Missing interface name Possible interface names are ASIIn1/5 ASIIn1/6 ENC1/4 FILEIn1/0 UDPIn1/0 ASIOut1/0 ASIOut1/1 ASIOut1/2 Backhaul1/0 smd1/4 sme1/3 ATMIn1/0

Configuring and Creating Interfaces

To configure a physical interface


To configure physical interfaces (ASIIn, ASIOut, Encoder or ATM) type the command interface and the interface name with an open brace { Example: At the prompt [config#] type interface ASIIn1/0 { or interface ASIOut1/0 { or interface ENC1/0 { or interface ATM1/2 {

To configure or create a logical output interface


To configure or create logical network output interfaces (UDPOut, RTPOut) use interface InterfaceName AttachedInterface { Example: At the prompt [config#] type interface UDPOut1/0 ASIIn1/2 { or interface UDPOut/0 sme1/0 { or you can substitute any input port or network interface when creating the UDPOut port. The same applies to the RTPOut port except for the SME network interface is not supported for the RTP interface. At the prompt [config#] type interface RTPOut1/0 ATM1/2 RTCPEnable { NOTE For RTCP, RTCPEnable or RTCPDisable must be added.

To configure or create a logical network input interface


To configure or create logical network input interfaces (UDPIn, TCPIn) use interface InterfaceName AttachedInterface Packetizer { Example: At the prompt [config#] type interface UDPIn1/0 gei1/0 Transport { or for UDP only you can choose the network interface SMD interface TCPIn1/0 ATM1/2 Section { Valid keywords for packetizer are Transport, Section and DataPipe. NOTE For more information on the packetizers, see Using the Web Interface on page 45 of the Web Interface User Guide.

To configure or create a TCPIn using the IP Tunneling packetizer

49

iPlex Command Line Interface Reference Guide

To create or configure a TCP In port using the IP Tunneling packetizer, use interface InterfaceName AttachedInterface Packetizer { Example: At the prompt [config#] type interface TCPIn1/0 gei1/0 IPTunneling { NOTE For more information on IP Tunneling configuration, see the Web Interface User Guide. Values include: tcpFlowControl (boolean enable or disable), tcpBitRate (min 0, max 160000000), PID (min 0x0, max 0x1FFE), ipMappingMacAddress (boolean enable or disable), macAddress (MAC address for encapsulation [xx:xx:xx:xx:xx:xx], sectionPacking (boolean enable or disable).

To configure or create FileIn device


To configure or create FILEIn device use interface InterfaceName Packetizer { Example: At the prompt [config#] type interface FILEIn1/0 Transport { Valid keywords for packetizer are Transport, Section and DataPipe

To configure or create RTPIn device


To configure or create RTPIn device use interface InterfaceName AttachedInterface { Example: At the prompt [config#] type interface RTPIn1/0 gei1/0 RTCPEnable { or interface RTPIn1/0 ATM1/2 RTCPEnable { NOTE For RTP, RTCPEnable or RTCPDisable must be added when creating a new port.

To configure or create ATMIn/ATMOut device


To configure or create ATMIn or ATMOut device use interface InterfaceName AttachedInterface { Example: At the prompt [config#] type interface ATMIn3/0 ATM3/2 { or interface ATMOut1/2 ATM1/1 {

[config] interface ASIIn1/5


Command Description Example
channelActive description inputStreamType enableCatParsing Identifier of active plug on particular a physical input Extended Description of the Object Input transport stream format Enable the parsing of MPEG-CAT table

In [config#] Type: interface ASIIn1/5 { Changes prompt to [ASIIn1/5 config#] ?

50

iPlex Command Line Interface Reference Guide

enableNitParsing enableSdtParsing

Enable the parsing of DVB-NIT tables Enable the parsing of DVB-SDT tables

[config] interface ASIOut1/6


Command Description Example
autoSelectPidRange Range of PID values to use when auto-fixing PID conflicts autoSelectPmtRange Range of PMT values to use when auto-fixing PMT conflicts autoSelectProgramRange Range of Program Numbers to use when auto-fixing conflicts pmtProgramDescriptor Program descriptor for PMT outer loop pmtElementDescriptor Element descriptor for PMT inner loop nitNetworkDescriptor Network descriptor for NIT outer loop nitTransportDescriptor Transport descriptor for NIT inner loop sdtDescriptor Descriptor for SDT description Extended Description of the Object outputStreamType Output transport stream format transportStreamId Unique identifier of the output transport stream (0-0xffff) repetitionRate Repetition Rate enableDescriptorConfiguration Enable/Disable the descriptor routing configuration page enableSdtGeneration Enable SDT generation on the specified output enableTdtGeneration Enable TDT generation on the specified output enableTotGeneration Enable TOT generation on the specified output actual-otherTableCorrection Enable Actual/Other SI Table Correction enableNitGeneration Enable NIT generation on the specified output enableCatGeneration Enable CAT generation on the specified output networkId Unique identifier of the output network (0-0xffff) outputBitRate Output bit rate (Max 160Mbps shared between both ports) asiOutputPacketSize Size of packets (188 or 204-byte) for ASI Output

In [config#] Type: interface ASIOut1/6 { Changes prompt to [ASIOut1/6 config#] ?

Method of finding attributes and value ranges


For information on an attributes parameters, type the attribute followed by a question mark (?). If the result indicates that another level exists, type the next level attribute followed by an opening brace ({). For example, at the prompt [ASIOut1/ 6 config#] type: autoSelectPidRange {. The prompt will change to [ASIOut1/6 autoSelectPidRange config#]. Then type a question mark (?). This will display the next level of attributes. If typing the attribute followed by a question mark provides a list of values, then type the attribute and parameters separated by a space. By using this method, you can find all attributes and their range of values and so configure the interface. For example, at the prompt [ASIOut1/6 autoSelectPidRange config#] type: minimumPidValue 1000. Remember to exit from the current level type a closing brace (}).

51

iPlex Command Line Interface Reference Guide

[config] interface ENC1/4


Command Description
In [config#] Type: interface ENC1/4 { Changes prompt to [ENC1/4 config#] ? NOTE The parameters shown in the example below are for the Real-Time MPEG Encoder (RTME) and most of these parameters are common to both types of encoders, see the next section for the Real-Time MPEG Encoder Plus (RTME Plus) exclusive parameters.

RTME Example
description encoderStarted videoResolution encodingMethod vbrBitRate encoderInputSelect videoFormat audioDataRate audioOutputMode audioSampleRate enableServiceInformation serviceName analogAudioGain spatialFilterType spatialFilterAutoMode temporalFilterAutoMode medianFilterType luminanceHighThreshold luminanceLowThreshold chrominanceHighThreshold chrominanceLowThreshold scalerAndPrefilterSettings gopSize analogVideoPreProcessing inputVideoQuality useDefaults useEmbeddedAudio embeddedAudioChannel encoderServiceInformation enableVideoAgc encoderAudioPid encoderAudioType closedCaptioning Extended Description of the Object Start/Stop video encoding Specifies the video resolution to use for encoding Specifies whether to encode in constant or variable bit rates Encoder input selection (S-Video/Composite) Specifies the video format (NTSC/PAL) Specifies the data rate of the encoded audio Specifies the audio output type (mono, stereo, dual, joint) Specifies the audio sampling rate Enable/Disable the option to enter service information

Select Select Median Select Select Select Select

to use spatial filter in auto mode to use temporal filter in auto mode Filter Type M.F. Luminance High Threshold M.F. Luminance Low Threshold M.F. Chrominance High Threshold M.F. Chrominance Low Threshold

Select the GOP Size to optimize the quality Input Video Quality Use Defaults Use Embedded Audio

Enable automatic gain control for composite or S-Video inputs PID for the encoded audio bitstream Audio type indicated in the PMT Closed Captioning format (ATSC, Custom, or none)

52

iPlex Command Line Interface Reference Guide

[config] interface ENC1/0


Command Description
In [config#] Type: interface ENC1/0 { Changes prompt to [ENC1/0 config#] ? NOTE The parameters shown in the example below are for the Real-Time MPEG Encoder Plus (RTME Plus), channel 1 is configured for MPEG1 Layer 2 and channel 2 is configured for Dolby Digital (AC-3). Therefore, all the common parameters do not display Ch1 or Ch2. MPEG-1 Layer 2 specific parameters will display Ch1 after those specific parameters and Dolby Digital (AC-3) displays Ch2.

RTME Plus Example


description Extended Description of the Object encoderStarted Start/Stop video encoding videoResolution Specifies the video resolution to use for encoding encodingMethod Specifies whether to encode in constant or variable bit rates vbrBitRate encoderInputSelect Encoder input selection (S-Video/Composite) videoFormat Specifies the video format (NTSC/PAL) enableServiceInformation Enable/Disable the option to enter service information serviceName analogAudioGain spatialFilterAutoMode Select to use spatial filter in auto mode temporalFilterAutoMode Select to use temporal filter in auto mode medianFilterType Median Filter Type luminanceHighThreshold Select M.F. Luminance High Threshold luminanceLowThreshold Select M.F. Luminance Low Threshold chrominanceHighThreshold Select M.F. Chrominance High Threshold chrominanceLowThreshold Select M.F. Chrominance Low Threshold scalerAndPrefilterSettings gopSize Select the GOP Size to optimize the quality analogVideoPreProcessing inputVideoQuality Input Video Quality useDefaults Use Defaults embeddedAudioChannel encoderServiceInformation channel1Active Enable audio channel 1 channel2Active Enable audio channel 2 audioInput Select audio input: input cable or SDI (Ch. 1) audioInputCh2 Select audio input: input cable or SDI (Ch. 2) audioEncodingMethod Select audio encoding method (AC-3 or MPEG-1 Layer 2) (Ch. 1) audioEncodingMethodCh2 Select audio encoding method (AC-3 or MPEG-1 Layer 2) (Ch. 2) sampleRateCh2 AC-3 input audio sample rate (Ch. 2) dataRate2_0Ch2 Output data rate of AC-3 bitstream (Ch. 2) audioCodingModeCh2 Specifies which channels (C or L,R) will be coded (Ch. 2) dolbyDigitalMoreAudioServiceConfigCh2 Config Ch 2 dolbySurroundModeCh2 Whether encoded audio is Dolby Surround stereo mix (Ch. 2) audioProductionInfoExistsCh2 2 mixLevelCh2 Acoustic sound pressure level (SPL) during final mixing (Ch. 2) roomTypeCh2 Type and calibration of mixing room during final mixing (Ch. 2) copyrightCh2 Whether bitstream indicates as protected by copyright (Ch. 2) originalBitstreamCh2 Whether bitstream is an original bitstream (Ch. 2)

53

iPlex Command Line Interface Reference Guide

dolbyDigitalPcmPreprocessingCh2Ch 2 mpeg-1Layer2Ch1 enableVideoAgc Enable automatic gain control for composite or S-Video inputs encoderAudioPid PID for the encoded audio bitstream encoderAudioPidCh2 PID for the encoded audio bitstream (Ch. 2) encoderAudioType Audio type indicated in the PMT analogAudioGainCh2 embeddedAudioChannelCh2

Teletext Support
Command Description
In [config#] Type: interface ENC1/4{ Configure teletext processing. Teletext, VBI (PAL format), and Closed Captioning (NTSC format) are supported by Encoder, Encoder Plus, and Advanced Encoder with the same syntax. At [ENC1/4 config#] Type: vbi { to enter VBI configuration mode At [ENC1/4 vbi config#] Type: line line n to indicate which line(s) from which to extract teletext At [ENC1/4 vbi config#] Type: line line n to indicate which line(s) from which to extract teletext
[root@iPlex] config [config#]interface ENC1/4 { [ENC1/4 config#] vbi { [ENC1/4 vbi config#] line 'Line 7' [ENC1/4 vbi config#] standard 'EBU Teletext' [ENC1/4 vbi config#] } [ENC1/4 config#] vbi { [ENC1/4 vbi config#] line 'Line 8' [ENC1/4 vbi config#] standard 'Inverted Teletext' [ENC1/4 vbi config#] } [ENC1/4 config#] } [config#] exit [root@iPlex]

Command 2 Command 3 Command 4 Example

The above example is to enable teletext processing on lines 7and 8. Blue text is user input.
[root@iPlex] config [config#]interface ENC1/4 { [ENC1/4 config#] no vbi { [ENC1/4 vbi config#] line 'Line 7' [ENC1/4 vbi config#] } [ENC1/4 config#] } [config#] exit [root@iPlex]

The above example is to disable VBI processing on a particular line. Blue text is user input.

54

iPlex Command Line Interface Reference Guide

[config] interface ATM1/5


Command Description Example
interfaceIpAddress atmAdapterMode framingMode Unique IP Address/Subnet Mask for this interface No help defined No help defined

In [config#] Type: interface ATM1/5 { Changes prompt to [ATM1/5 config#] ?

[config] interface ATMIn1/0 ATM1/2


Command Description Example
description inputStreamType enableCatParsing vpivci Extended Description of the Object Input transport stream format Enable the parsing of MPEG-CAT table VPI and VCI to listen for incoming packets

In [config#] Type: interface ATMIn1/0 ATM1/2 { Changes prompt to [ATMIn1/0 config#] ?

[config] interface ATMOut1/0 ATM1/2


Command Description Example
autoSelectPidRange Range of PID values to use when auto-fixing PID conflicts autoSelectPmtRange Range of PMT values to use when auto-fixing PMT conflicts autoSelectProgramRange Range of Program Numbers to use when auto-fixing conflicts pmtProgramDescriptor Program descriptor for PMT outer loop pmtElementDescriptor Element descriptor for PMT inner loop nitNetworkDescriptor Network descriptor for NIT outer loop nitTransportDescriptor Transport descriptor for NIT inner loop sdtDescriptor Descriptor for SDT description Extended Description of the Object outputStreamType Output transport stream format transportStreamId Unique identifier of the output transport stream (0-0xffff) enableDescriptorConfiguration Enable/Disable the descriptor routing configuration page enableCatGeneration Enable CAT generation on the specified output atmvpivci Vpi Vci of the destination tsPacketsPerPdu TS Packets per PDU

In [config#] Type: interface ATMOut1/0 ATM1/2 { Changes prompt to [ATMOut1/0 config#] ?

55

iPlex Command Line Interface Reference Guide

atmTrafficClass

ATM traffic class QOS Param

NOTE You must set the VCI and VPI before you can configure the traffic class parameter.

[config] interface FILEIn1/1


Command
In [config#] Type: interface FILEIn1/1 Section { NOTE One of the following packetizers must be attached: Transport, Section or DataPipe. In the example the Section packetizer is selected. Changes prompt to [FILEIn1/1 config#] ?

Example
description inputStreamType enableCatParsing sectionPortPidValue sectionPacking fileInput Extended Description of the Object Input transport stream format Enable the parsing of MPEG-CAT table PID to be used for creating the transport packets Enables packing of sections in the same transport packet

[config] interface RTPIn1/0 ATM1/0


Command
In [config#] Type: interface RTPIn1/0 ATM1/0 RTCPEnable { NOTE The logical port must be associated with the physical interface on the same blade. In addition, you must select to either enable or disable RTCP. In the example the logical RTPIn port is associated with the ATM network interface.

Description Example
description inputStreamType enableCatParsing rtpRecvPort rtpReportDestinationOverAtm vpiVciCombination linkReliability receivedBufferSize

Changes prompt to [RTPIn1/0 config#] ?

Extended Description of the Object Input transport stream format Enable the parsing of MPEG-CAT table List of all source addresses, to which we need to send RTCP back No help defined Link reliability for video backhaul applications Number of packets the receiver buffers before consuming

56

iPlex Command Line Interface Reference Guide

[config] interface TCPIn1/3 ATM1/2


Command
In [config#] Type: interface TCPIn1/3 ATM1/2 DataPipe { NOTE The logical port must be associated with the physical interface on the same blade. In addition, one of the following packetizers must be attached: Transport, Section or DataPipe.

Description Example
description inputStreamType enableCatParsing dataPipePidValue dataPipeTimeoutEnable dataPipeTimeoutValue portNumber

Changes prompt to [TCPIn1/3 config#] ?

Extended Description of the Object Input transport stream format Enable the parsing of MPEG-CAT table PID to be used for creating data pipe transport packets Enable/Disable Data Piping timeout Data Piping flush timeout, in milliseconds

[config] interface UDPIn1/0 ATM1/2


Command Description Example
description inputStreamType enableCatParsing multicastIpAddressOverAtm atmRxVpiVci portNumber Extended Description of the Object Input transport stream format Enable the parsing of MPEG-CAT table VPI and VCI to listen for incoming packets

In [config#] Type: interface UDPIn1/0 ATM1/2 Transport { Changes prompt to [UDPIn1/0 config#] ?

To create UDPIn over SMD at the prompt type: interface UDPIn1/1 smd1/6 Transport { To create UDPIn over Gigabit Ethernet at the prompt type: interface UDPIn1/1 gei1/0 Transport {

[config] interface UDP Backhaul


Command Description
In [config#] Type: interface backhaulx/y{ Changes prompt to [backhaulx/y config#] ?

57

iPlex Command Line Interface Reference Guide

Example
description outputStreamType transportStreamId repetitionRate enableDescriptorConfiguration enableCatGeneration ipDestination tosBitField ttlValue enableSapSdp [Backhaul1/1 config#] } [config#] exit [root@iPlex] Extended Description of the Object Output transport stream format Unique identifier of the output transport stream (0-0xffff) Enable/Disable the descriptor routing configuration page Enable CAT generation on the specified output IP Destination Type of Service field Time to live (TTL) field Enable/Disable SAP/SDP announcement configuration

[config] interface smd1/6


Command Description Example
interfaceIpAddress enableMacFiltering listOfMacAddress enableIpSniffing pidList Unique IP Address/Subnet Mask for this interface Enable/Disable the MAC filtering Show all the MAC address the MPE Decapsulation will accept No help defined List of PID for the MPE Decapsulation

In [config#] Type: interface smd1/6 { Changes prompt to [smd1/6 config#] ?

[config] interface sme1/0


Command Description Example
interfaceIpAddress mpeSectionPacking afDiscipline efDiscipline beDiscipline Unique IP Address/Subnet Mask for this interface Enable/Disable section packing List of AF Discipline List of EF Discipline List of BE Discipline

In [config#] Type: interface sme1/0 { Changes prompt to [sme1/0 config#] ?

58

iPlex Command Line Interface Reference Guide

[config] interface RTPOut1/2 ASIIn1/4


Command
In [config#] Type: interface RTPOut1/2 ASIIn1/4 RTCPEnable { NOTE The logical port must be associated with the physical interface on the same blade. In addition, RTCPEnable or RTCPDisable must be added if you are creating a new port.

Description Example

Changes prompt to [RTPOut1/2 config#] ?

description outputStreamType transportStreamId enableDescriptorConfiguration enableCatGeneration rtpRecvPort ipDestination tosBitField ttl informationToSend informationLocal csrcInformation linkReliability enableSapSdp

Extended Description of the Object Output transport stream format Unique identifier of the output transport stream (0-0xffff) Enable/Disable the descriptor routing configuration page Enable CAT generation on the specified output List of RTP receivers Type of Service field Time to live (TTL) field Set the information to be sent with Local information to be sent during List of all contributor information Link reliability for video backhaul Enable/Disable SAP/SDP announcement

RTCP RTCP applications configuration

[config] interface UDPOut1/1 ASIIn1/2


NOTE The logical port must be associated with a physical interface on the same blade.

Command Description Example

In [config#] Type: interface UDPOut1/1 ASIIn1/2 { Changes prompt to [UDPOut1/1 config#] ?

description outputStreamType transportStreamId enableDescriptorConfiguration enableCatGeneration ipDestination tosBitField

Extended Description of the Object Output transport stream format Unique identifier of the output transport stream (0-0xffff) Enable/Disable the descriptor routing configuration page Enable CAT generation on the specified output No help defined Type of Service field

59

iPlex Command Line Interface Reference Guide

ttlValue enableSapSdp

Time to live (TTL) field Enable/Disable SAP/SDP announcement configuration

To create UDPOut over SME at the prompt type: interface UDPOut1/1 sme1/2 { To create UDPOut over ATM at the prompt type: interface UDPOut1/2 ATM1/2 {

[config] interface XrtrIn1/0


NOTE The logical port must be associated with a physical interface on the same blade.

Command Description Example

In [config#]interface XrtrIn1/0 { Changes prompt to [XrtrIn1/0 config#] ?


[XrtrIn3/0 config#] ? description inputStreamType enableCatParsing maximumBitRate

Extended Description of the Object Input transport stream format Enable the parsing of MPEG-CAT table Output Bit Rate of the CBR Streamer

[config] interface XrtrOut3/0


NOTE The logical port must be associated with a physical interface on the same blade.

Command Description Example


[XrtrOut7/0 config#] ? videoPidToTransrate autoSelectPidRange autoSelectPmtRange autoSelectProgramRange description outputStreamType transportStreamId repetitionRate

In [config#]interface XrtrOut3/0 { Changes prompt to [XrtrOut3/0 config#] ?

Range of PID values to use when auto-fixing PID conflicts Range of PMT values to use when auto-fixing PMT conflicts Range of Program Numbers to use when auto-fixing conflicts Extended Description of the Object Output transport stream format Unique identifier of the output transport stream (0-0xffff)

60

iPlex Command Line Interface Reference Guide

enableDescriptorConfiguration Enable/Disable the descriptor routing configuration page enableCatGeneration Enable CAT generation on the specified output

[config] ipRoutes
Command Description Example
In [config#] Type: ipRoutes { Changes prompt to [ipRoutes config#] ?
staticRoutes manualAtmRoute manualMpeRoute manualIpRoute staticArp Chassis static route management ATM manual route management MPE manual route management Chassis manual routing management Static ARP

[config] alarms
Command Description Command 2 Description Example Command 3 Command 4 Description Example
In [config#] Type: alarms { Changes prompt to [alarms config#] At [alarms config#] Type: ? Shows all [alarms config#] subcommands
configurableAlarm Enable/Disable the critical alarm for blade rebooting

At [alarms config#] Type: configurableAlarm { At [alarms configurableAlarm config#] Type: ? Shows all [alarms configurableAlarm config#] subcommands
configurableAlarmType enableStatus Name of the configurable alarm Key value Enable or disable the configurable alarm Key value

61

iPlex Command Line Interface Reference Guide

NOTE To configure Alarms you must type the following for each alarm type: configurableAlarm { <enter> configurableAlarmType Loss of Encoder Sync <enter> enableStatus true <enter> } <enter>

[config] blade-alarms
Command Description Command 2 Description Example Command 3 Command 4 Description Example
In [config#] Type: blade-alarms { Changes prompt to [blade-alarms config#] At [blade-alarms config#] Type: ? Shows all [blade-alarms config#] subcommands
bladeAlarms Enable/the blade alarm

At [blade-alarms config#] Type: bladeAlarms { At [blade-alarms configurableAlarm config#] Type: ? Shows all [blade-alarms configurableAlarm config#] subcommands
slot enable Slot number of the blade Key value Enable alarms on this blade (boolean)

[config] licenses
Command Description Command 2 Command 3
In [config#] Type: licenses { Changes prompt to [licenses config#] At [licenses config#] Type: licenseKeySetup { At [licenses licenseKeySetup config#] Type: ?

62

iPlex Command Line Interface Reference Guide

Description Example

Shows all [licenses licenseKeySetup config#] parameters


licenseKeyId License Key ID for the new license key licenseKeyDescription License Key description licenseKey License key which enables optional features Key value Key value

NOTE You must obtain a license key to enable features that require a licenses, contact your sales representative.

[config] media-routes
Command Description Command 2 Description Example
In [config#] Type: media-routes { Changes prompt to [media-routes config#] At [media-routes config#] Type: ? Shows all [media-routes config#] subcommands
streamRoute programRoute Stream Route Program Route

[config] custom-program-services
Command Description Command 2 Description Example Command 3 Description Command 4
In [config#] Type: custom-program-services { Changes prompt to [custom-program-services config#] At [custom-program-services config#] Type: ? Shows all [custom-program-services config#] subcommands
programCreation User Created Program List

At [custom-program-services config#] Type: programCreation { Changes prompt to [custom-program-services programCreation config#] At [custom-program-services programCreation config#] Type: ?

63

iPlex Command Line Interface Reference Guide

Example

outputPortName programNumber pmtPid pcrPid

Output Port Name Key value Program Number Key value PMT PID Key value PCR PID Key value

[config] custom-element-services
Command Description Command 2 Description Example Command 3 Description Command 4 Example
In [config#] Type: custom-element-services { Changes prompt to [custom-element-services config#] At [custom-element-services config#] Type: ? Shows all [custom-element-services config#] subcommands
elementCreation User Created Element List

At [custom-element-services config#] Type: elementCreation { Changes prompt to [custom-element-services element Creation config#] At [custom-element-services element Creation config#] Type: ?
outputPortName Output Port Name Key value programNumber Program Number Key value pidNumber PID number Key value streamType Stream Type Key value

[config] program-details
Command Description Example Command 2 Command 3
In [config#] Type: program-details ? Configure parameters for custom program within a program on specific output interface
Example statement: program-details UDPOut1/0 1000 { will allow you to configure program 1000 on interface UDPOut1/0

At [config#] Type: program-detail UDPOut1/0 1000 { At [UDPOut1/0 1000 config#] Type: ?

64

iPlex Command Line Interface Reference Guide

Example

enableSdtInformation enableCaInformation

Enable SDT Information Enable CA Information

NOTE You must first create a program using custom-program-services before you can configure the program-details. To enable SDT or CA information type enableSdtInformation true<enter> and enableCaInformation true <enter> then type a ? to view enabled parameters SdtInformation {<enter> then type a ?

[config] element-details
Command Description Example Command 2 Command 3 Example
In [config#] Type: element-details ? Configure parameters for custom element within a program on specific output interface
Example: element-details UDPOut1/0 1000 0x21 { would allow you to configure element 0x21 within program 1000 on interface UDPOut1/0

At [config#] Type: program-detail UDPOut1/0 1000 0x21 { At [UDPOut1/0 1000 0x21 config#] Type: ?
enableCaInformation elementDescriptor audioInformation enableAudioDescriptor Enable CA Information Element Descriptor Audio Information Enable Audio Descriptor

NOTE You must first create an element using custom-element-services before you can configure the element-details. To add a descriptor type elementDescriptor ? <enter> for a list of descriptors. Then for MPEG2 Audio descriptor type elementDescriptor MPEG2 Audio<enter> then type a ? to view the additional parametersaudioInformation {<enter> then type a ?

65

iPlex Command Line Interface Reference Guide

66

Chapter 3
Configuration Scenarios

67

iPlex Command Line Interface Reference Guide

Configuration Scenarios Using CLI


In this chapter, you will go step-by-step through the operation of configuring the iPlex for typical operation scenarios; first using the Web GUI and second using CLI. Moreover, this chapter contains typical configuration issues in a Question and Answer format. NOTE The Web Interface User Guide has a similar chapter covering a wider range than just the scenarios discussed in this chapter. See Configuration Scenarios in the Web User Interface Guide. Menu commands appear in the following format: Main Menu item > Sub Menu item > and so forth. For example, Configuration > IP Routing> VLAN; that is, click Configuration from the main menu, then click IP Routing, which displays under Configuration, and finally click VLAN, which displays under IP Routing. The configuration scenario topics described in detail are as follows:


Scenario 1

Single Program Route from ASI In to UDP Out using CLI on page 68 Custom Program Route from ASI In to UDP Out Using CLI on page 71 Configuration Questions and Answers on page 74

Single Program Route from ASI In to UDP Out using CLI


The first configuration might be a setup for receiving a Transport Stream containing video information sent to an IP set-top box through the Gigabit Ethernet port as a channel for watching the video content. NOTE You can find this scenario in the Web Interface User Guide. See Scenario 1: Routing a Single Program from ASIIn to UDPOut on page 413.

VLAN (Virtual LAN) A logical subgroup within a local area network that is created via software rather than manually moving cables in the wiring closet. GE (Gigabit Ethernet) An Ethernet technology that raises transmission speed to 1 Gbps. It is used primarily for backbones. The first IEEE standard (802.3z) for Gigabit Ethernet defined its use over Multi-mode optical fiber providing full-duplex operation from switch to end station or to another switch and half-duplex using CSMA/CD in a shared environment.

Physical Setup
MCM: ASI In cable to ASI In port SCM: Fiber cable connected to Gigabit Ethernet [GE1] to the network switch, router or another iPlex.

STEPS 1 Create a VLANas a point of reference for the Gigabit Ethernet. 2 Configure ASI In port. 3 Check ASI In statistics. 4 Create a UDP Out port.

68

iPlex Command Line Interface Reference Guide

5 Configure Media Routingto direct the program from ASI In to UDP Out. 6 Check port statistics. 7 Select channel at IP set-top boxand view video content. To Route a Single Program from ASI In to UDP Out:
You can also route media using the command line interface. The following example shows how to route and create a UDPOut port, configure ASIIn port, and route a program to output interfaces. In this example, the MCM blade is in slot 1 with ASI Input submodule in slot 4. All the user inputs are in bold italics.

Routing Media to UDP Out Interface

1 Enter configuration mode using the command config.


[root@iPlex] config

Create a VLAN, assign it IP address 172.30.1.1, and add GE port 1 and port 2 to this vlan.
NOTE When configuring a VLAN there are seven key value parameters that must be set.
[config#] system { [system config#] vlanSetup { [system vlanSetup config#] vlanId 2 [system vlanSetup config#] ipAddress 172.30.1.1 [system vlanSetup config#] subnetMask 255.255.255.0 [system vlanSetup config#] ge1 Tagged [system vlanSetup config#] ge2 Untagged [system vlanSetup config#] } [system config#] } [config#]

2 Create UDP Out interface and assign destination IP address, port number and vlan.
TIP Remember to type single quotes () where indicated.
[config#]interface UDPOut1/0 ASIIn1/6 { [UDPOut17/4 config#] ipDestination { [UDPOut17/4 ipDestination config#] destinationIpAddress 224.1.1.1 [UDPOut17/4 ipDestination config#] portNumber 2000 [UDPOut17/4 ipDestination config#] vlanName vlan_2 [UDPOut17/4 ipDestination config#] } [UDPOut17/4 config#] } [config #]

69

iPlex Command Line Interface Reference Guide

ASI (Asynchronous Serial Interface) One of DVBs physical interfaces used for transmitting MPEG-2 Transport Streams. GI (General Instruments) refers to DigiCipher II (DCII): a proprietary MPEG-2 based distribution system developed originally by General Instruments prior to the completion of the DVB standard. Used by most cable channels in North America, it has a major presence in cable head-ends and is widely used in satellite turnaround applications via Headend In The Sky (HITS) systems.

3 Configure ASI Input interface, set the input stream type to DVB, and enable SDT/NIT parsing on this input interface.
[config#]interface ASIIn1/4 { [ASIIn17/4 config#] inputStreamType 'DVB' [ASIIn17/4 config#] enableSdtParsing true [ASIIn17/4 config#] enableNitParsing true [ASIIn17/4 config#] } [config#]

4 Exit the configuration mode and see the programs available on the input interface using command show program ASIIn1/4.
[config#] exit [root@iPlex] show program ASIIn1/6 Total 3programs on interface ASIIn1/6 Program PMT PCR Service Service Service Number PID PID Name Provider Type 150 0xFBC 0xFBC EURONEWS DIGITAL TELEVISION 1 151 0xFBC 0xFBC EURONEWS ADDITIONAL AUDIO 1 152 0xFBB 0xFBB ALMANAR DIGITAL TELEVISION 1

Original Network Id

5 Now lets route program number 152 (ALMANAR) to UDPOut interface, enter configuration mode, and route the media using media-route command.
[root@iPlex] config [config#] media-routes { [media-routes config#] programRoute { [media-routes programRoute config#] inputPort 'ASIIn1/6' [media-routes programRoute config#] outputPort 'UDPOut1/0' [media-routes programRoute config#] inputProgram 152 [media-routes programRoute config#] outputProgram 152 [media-routes programRoute config#] programAutoFix 'false' [media-routes programRoute config#] outputPmtPid 0x21 [media-routes programRoute config#] pmtAutoFix 'false' [media-routes programRoute config#] } [media-routes config#] } [config#] exit

6 You can verify the routed content by using show program and show stats commands for UDPOut1/4 interface.
[root@iPlex] show program UDPOut1/0 Total 1 program on interface ASIIn1/6 Program PMT PCR Service Service Service Original Number PID PID Name Provider Type Network Id 152 0xFBB 0xFBB ALMANAR ALMANAR DIGITAL TELEVISION 1 [root@iPlex] show stats UDPOut1/0 Stream statistics for port UDPOut1/0 PID # packets # duplicates # errors bitrate (b/s) 0x0 2742 0 0 15066 0x21 2742 0 0 15066 0xFBB 657998 0 0 3609968 0xFC5 36689 0 0 201099 Total: 3.84 Mb/s

70

iPlex Command Line Interface Reference Guide

Scenario 2

Custom Program Route from ASI In to UDP Out Using CLI


The second configuration might have a non-compliant stream from the encoder that lacks tables, or you may just want to change SDT information, the program number or the PID value. The iPlex can compensate for the non-compliant stream as long as the operator knows which kind of stream is in each PID. Given this information, the iPlex can generate the tables and add them to the stream. Additionally, the iPlex can modify existing values within the stream, such as a program number. In this example, we will assume an encoder connected to ASIIn1/6 with MPEG-2 video on PID 0x20, MPEG-2 audio on PID 0x21, and PCRs in the video PID. NOTE You can also find this scenario in the Web Interface User Guide. See Scenario 2: Routing a Custom Program from ASIIn to UDPOut on page 419.

Physical Setup
MCM: ASI In cable to ASI In port from an external Encoder or a demodulator. SCM: Fiber cable connected to Gigabit Ethernet [GE1] to the network switch, router or another iPlex.

STEPS 1 Create a UDP Out port. 2 Configure Media Routingto create tables and route the stream.

Program Creation. Add a Video Element. Add an Audio Element. Route the Stream.

3 Check UDP Out port statistics. 4 Select channel at IP set-top box. To Route a Custom Program from ASI In to UDP Out:
You can also route media using the command line interface. The following example shows how to route and create a UDPOut port, configure ASIIn port, and route a program to output interfaces. In this example, the MCM blade is in slot 1 with ASI Input submodule in slot 4. All the user inputs are in bold italics.

71

iPlex Command Line Interface Reference Guide

Routing Media to UDP Out Interface

1 Enter configuration mode using the command config.


[root@iplex] config

2 Create and configure a UDP Out port


[config#]interface UDPOut1/0 ASIIn1/6 { [UDPOut17/2 config#]description "MP-20 UDPOut1/0 from ASIIn1/6" [UDPOut17/2 config#]outputStreamType 'MPEG' [UDPOut17/2 config#]transportStreamId 1 [UDPOut17/2 config#]enableDescriptorConfiguration false [UDPOut17/2 config#]enableCatGeneration false [UDPOut17/2 config#]ipDestination { [UDPOut17/2 ipDestination config#]destinationIpAddress 225.1.10.10 [UDPOut17/2 ipDestination config#]portNumber 3000 [UDPOut17/2 ipDestination config#]vlanName 'vlan_2' [UDPOut17/2 ipDestination config#]} [UDPOut17/2 config#]tosBitField 0 [UDPOut17/2 config#]enableSapSdp false [UDPOut17/2 config#] }

3 Create and configure a program


[config#] custom-program-services { [custom-program-services config#] programCreation { [custom-program-services programCreation config#] outputPortName 'UDPOut1/0' [custom-program-services programCreation config#] programNumber 1000 [custom-program-services programCreation config#] pmtPid 0x30 [custom-program-services programCreation config#] pcrPid 0x20 [custom-program-services programCreation config#] } [custom-program-services config#] } [config#]

4 Add a Video element


[config#] custom-element-services { [custom-element-services config#] elementCreation { [custom-elementCreation config#] outputPortName 'UDPOut1/0' [custom-element-services elementCreation config#] programNumber 1000 [custom-element-services elementCreation config#] pidNumber 0x20 [custom-element-services elementCreation config#] streamType 'MPEG2 Video' [custom-element-services elementCreation config#] } [custom-element-services config#]

5 Add an audio Element


[custom-element-services config#] elementCreation { [custom-element-services elementCreation config#]outputPortName'UDPOut1/0' [custom-element-services elementCreation config#] programNumber 1000 [custom-element-services elementCreation config#] pidNumber 0x21 [custom-element-services elementCreation config#] streamType 'MPEG2 Audio' [custom-element-services elementCreation config#] } [custom-element-services config#] } [config#]

6 Add an audio descriptor


[config#] element-details UDPOut1/0 1000 0x21 { [UDPOut1/2 1000 0x21 config#] elementDescriptor Audio' [UDPOut1/2 1000 0x21 config#] audioInformation { [UDPOut1/2 1000 0x21 audioInformation config#] languageCode "eng" [UDPOut1/2 1000 0x21 audioInformation config#]audioType 'Hearing impaired'

72

iPlex Command Line Interface Reference Guide

[UDPOut1/2 1000 0x21 audioInformation config#] } [UDPOut1/2 1000 0x21 config#] } [config#]

7 Route the stream


[config#] media-routes { [media-routes config#] streamRoute [media-routes streamRoute config#] [media-routes streamRoute config#] [media-routes streamRoute config#] [media-routes streamRoute config#] [media-routes streamRoute config#] [media-routes config#] } [config#] { inputPort 'ASIIn1/6' outputPort 'UDPOut1/0' inputPid 0x1822 outputPid 0x20 }

73

iPlex Command Line Interface Reference Guide

Configuration Questions and Answers


The following section covers some of the configuration issues you may encounter while setting up the iPlex.

Topic 1: UDPOut Settings


Question Answer
Why are some UDPOut ports restricted to transmitting content from only one input port? There are three kinds of UDPOut ports:

1 Ports that transmit over the Gigabit Ethernet (GE) interface(s) 2 Ports that transmit over the ATM interface(s) 3 Ports that transmit over the SME interface(s)
Gigabit Ethernet Ports can only transmit programs from a single input, defined at the time of the ports creation. This is done to optimize chassis resources. Ports that transmit over ATM or SME have no such limitations. If you need to create a network port over Gigabit Ethernet to transmit a multi-program transport stream with elements from multiple inputs, you can use a backhaul port, which does not have the same limitation as the UDPOut port. NOTE Be sure to create backhaul port on the blade on which are most of the desired programs.

Question Answer

What is the meaning of the IP address entered in the UDPOut port. The IP address you enter in the UDPOut port is the IP destination address of the streamthat is the address you send the streams to. This can be a unicast address or a multicast address. What is the relationship between output ports and input ports/blades? Input and output streams have associated ports. The ports may be either physical ports; that is, ASI Input or Output ports, or logical ports that you create, such as UDP or RTP ports. Ports exist in the chassis blades. For physical ports, the blade is where the port is physically present; for logical ports, you must choose the blade based on the following criteria:

Question Answer

If you want to create an UDP out port that streams over ATM, then you have to create it on the blade that has the relevant ATM submodule. The same applies for an UDPIn port that receives from ATM. If you want to create an UDP out port that streams out on Gigabit Ethernet, then you must create it in the blade that has the content that you want to route.

74

iPlex Command Line Interface Reference Guide

If you want to create an UDP in port that receives from Gigabit Ethernet, you can create it in any arbitrary blade, although TANDBERG Television recommends that you create it on the blade where you will route most of the outputs.

Question Answer

Can the UDPIn port accept streams from multiple resources? No. Each UDPIn port can only accept a single stream (single or multiple programs). If you want to support multiple programs, just create multiple UDPIn ports. How is channel selection made on input streams from server? What characterizes each UDPIn is a UDP port number and possibly by a multicast IP address, if you are using multicast. You need to configure the UDP In ports to match what the server is doing. For example, if your server has two streams out, one on 225.1.1.1, port 2001, and another on 225.1.1.2, port 2002, you create the two UDPIn ports with these parameters, and you have a one-to-one connection between the ports and the content.

Question

Answer

Topic 2: iPlex IP Settings


Question Answer
Can iPlex work as a switch between VLAN ports? Yes. The iPlex has full VLAN capability on the GE ports. The way it works is as follows: you can group an arbitrary subset of the GE ports into a VLAN. Then you assign an IP address to this VLAN. Logically, it works like this:

You must go to the Configuration/IP Routing/VLAN menu, create a new VLAN, select which physical GE ports will be in this VLAN, and assign it an IP address/ port. The iPlex will respond to that address on any of the selected ports, and will provide a traditional transparent bridge for unicast traffic. iPlex will not forward multicast traffic between VLAN ports. The only exception is Spanning Tree BPDUs, which are automatically forwarded.

75

iPlex Command Line Interface Reference Guide

Also note that, in the UDPOut configuration window, you can select into which VLAN that particular traffic will egress. If the VLAN has multiple members and the UDPOut has a multicast destination IP address, by default, the packets will egress on all ports, but you can change that in the Configuration/IP Routing/Multicast window.

Question Answer

Do the control ports and GE ports need to be on different networks? Yes, they do. This means that you cannot have a streaming client in the same machine that you are using for control, unless that machine has multiple Ethernets to the different LANs.

76

Index
A accessing CLI 14 config blade-alarms 62 config cas 20 config custom-element-services 64 config custom-program-services 63 config element details 65 config interface 48 config interface ASIIn1/5 50 config interface ASIOut1/6 51 config interface ATM1/5 55 config interface ATMIn1/0 55 config interface ATMOut1/0 55 config interface ENC1/0 53 config interface ENC1/0 RTME Plus example 53 config interface ENC1/4 52 config interface ENC1/4 RTME example 52 config interface FILEIn1/1 56 config interface RTPIn1/0 ATM1/0 56 config interface RTPOut1/2 ASIIn 1/4 59 config interface SMD1/6 58 config interface SME1/0 58 config interface TCPIn1/3 ATM1/2 57 config interface UDP Backhaul 57 config interface UDPIn1/0 ATM1/2 57 config interface UDPOut1/1 ASIIn1/2 59 config interface XRTRIn3/0 60 config interface XrtrOut3/0 60 config ipRoutes 61 config licenses 62 config logging 20 config media-routes 63 config ncompass 20 config program-details 64 config redundancy 46 config security 20 config snmp-server 47 config system 42 config user logging 45

C clear 22 clear commands all 22 log 22 ndc 22 CLI basics 14 command tree 17 configuration, using 68 how to access 14 CLI scenario custom program route from ASIIn to UDPOut 71 questions and answers 74 single program route from ASIIN to UDPOut 68 command definitions 18 clear 22 config 20 copy 21 delete 21 reboot 23 reset 19 root 18 set 23 shell 24 show 19 syncfs 24 upload 22 config 20 config alarms 61 config blade-alarms 62 config command navigation 40 config commands 40 config 41 config alarms 61, 62

Beta

Beta

77

iPlex Command Line Interface Reference Guide

configuration values 40 key values 41 config interface ENC1/4 RTME example 52 configuration values 40 configuring interfaces 49 connect using modem 15 conventions naming 16 copy 21 creating interfaces 49

D delete 21 documentation other 10

K key values 41

M modem access 15 commands 15

N naming convention NumberUsed 16 UnitNumber 16 naming conventions 16 NumberUsed 16

set commands blade-primary 23 config 23 date 23 ndc 23 shell 24 show 19 show commands 25 show 25 show chassis 28 show element 36 show element ASIIn1/5 37 show interface 30 show interface TCPIn1/0 31 show iproute 30 show log 37 show media-routes 31 show media-routes all all 32 show ntpstatus 39 show program 34 show program ASIIn1/4 35 show program ENC1/0 35 show running-config 25 show serial 39 show stats 32 show stats ASIOut1/2 34 show stats blade1 33 show stats ENC1/0 34 show stats gei1 33 show stream 36 show stream ASIIn1/2 36 show tech-support 39 show vlan 37 starting CLI from Telnet 14 syncfs 24

R reboot 23 reset 19 root 18 RTME example 53

T tech support check list 11 tech support facts 11 Telnet using 14

S set 23
78

U UnitNumber 16

Beta

Beta

iPlex Command Line Interface Reference Guide

upgrade 24 upload 22 using CLI for configuration 68 using this guide 14

79

iPlex Command Line Interface Reference Guide

80

Beta

Beta

Vous aimerez peut-être aussi