- Cisco Analog Video Gateway Module Overview
- Configuring Host Router and Cisco Analog Video Gateway Module Interfaces
- Administering the Cisco Analog Video Gateway
- Configuring Video Ports and Profiles
- Configuring Contact Closure Profiles
- Configuring Alarm Monitor Profiles
- Configuring Camera Controls
- Cisco Analog Video Gateway Command Reference
- Glossary
- Index
- Cisco Analog Gateway Module Commands
- alarm-monitor destination-profile
- alarm-monitor monitor-profile
- alarm-monitor notifier-profile
- contactclosure-port
- rs485-port
- show alarm-monitor destination-profile
- show alarm-monitor monitor-profile
- show alarm-monitor notifier-profile
- show contactclosure-port
- show rs485-port
- show videoport-led summary
- show video codec-profile
- show video dsp
- show video motion-detection
- show video motion-region
- show video port
- show video session
- show video stream-profile
- show video xconn-lpbk-conn
- video codec-profile
- video motion-detection
- video motion-region
- video port
- video stream-profile
- video xconn-lpbk-conn
- Cisco IOS Commands
- service-module video-service-engine
- show interfaces video-service-engine
- show controllers video-service-engine
Cisco Analog Video Gateway Command Reference
This chapter documents commands for the Cisco Analog Video Gateway module application and new commands for Cisco IOS:
•Cisco Analog Gateway Module Commands
Cisco Analog Gateway Module Commands
Whenever possible, configuration and management of the Cisco Analog Video Gateway module should be configured using the Video Surveillance Operations Manager (VSOM) graphical user interface. The following lists the command-line interface commands.
•alarm-monitor destination-profile
•alarm-monitor monitor-profile
•alarm-monitor notifier-profile
•show alarm-monitor destination-profile
•show alarm-monitor monitor-profile
•show alarm-monitor notifier-profile
alarm-monitor destination-profile
To configure an alarm-monitor destination profile, use the alarm-monitor destination-profile command in global configuration mode. To use a default alarm-monitor destination profile, use the no form of this command.
alarm-monitor destination-profile tag [default | description | primaryURL | secondaryURL]
no alarm-monitor destination-profile tag
Syntax Description
Command Default
No alarm monitor destination profile is configured.
Command Modes
Global configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
Alarm monitor profiles should be configured in the following order (see Figure 3 on page 53):
1. Destination profile
2. Monitor profile
3. Notifier profile
Examples
The following example shows an alarm-monitor destination-profile configuration:
vse-module> show alarm-monitor destination-profile dest111
description "sample destination profile"
primaryURL "http://www.somewhere.com/cgi-bin/grabAlarm"
secondaryURL "http://nowhere.com/cgi-bin/captureAlarm"
end destination-profile
Related Commands
|
|
---|---|
Displays alarm-monitor destination-profile configuration parameters. |
alarm-monitor monitor-profile
To configure an alarm-monitor monitor profile, use the alarm-monitor monitor-profile command in global configuration mode. To remove an alarm-monitor monitor profile, use the no form of this command.
alarm-monitor monitor-profile tag [default | description | event | sourceTrigger | state]
no alarm-monitor monitor-profile tag
Syntax Description
tag |
Identifier for the alarm-monitor monitor-profile values in the range of mon000 to mon999. |
default |
Uses the default values for the alarm-monitor monitor profile. Use the no form of this command to restore the default alarm-monitor monitor-profile values. |
description |
Description for the alarm-monitor monitor profile. Text with up to 80 string characters within quotation marks. |
event |
Event to monitor. •ccporrt-any-state-change: Any change in the state of the contact-closure port. •ccport-close-to-open: Contact-closure state changes from closed to open. •ccport-open-to-close: Contact-closure state changes from open to closed. •system-reload: System reload. •video-motion-detection: Configured video motion detected. •video-signal-change: Monitor any change in the video port signal (loss or detect) that is configured by the sourceTrigger keyword. •video-signal-detect: Monitor valid signal detected on the video port that is configured by the sourceTrigger keyword. •vport-signal-loss: Signal loss on the video port that is configured using the sourceTrigger keyword. •vport-state-change: Any state change on the video port that is configured using the sourceTrigger keyword. |
sourceTrigger |
String value to define the trigger event source to monitor. •vp-any: Event on any video port. •vp0 to vp15 for a video port event. •cc0 to cc7 for a contact-closure port event. •stream000 to stream999 for video motion detected (see Figure 4). |
state |
Operational state of the alarm-monitor monitor profile: enabled or disabled. Default: enabled. |
Command Modes
Global configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
Alarm monitor profiles should be configured in the following order (see Figure 3 on page 53):
1. destination profile
2. monitor profile
3. notifier profile
Figure 4 shows how a motion detection event source triggers the video stream.
Figure 4 Source Trigger Motion Detection Triggers Video Stream
Examples
The following example shows an alarm-monitor monitor-profile configuration:
vse-module> show alarm-monitor monitor-profile mon000
description "alarm monitor profile mon000"
state enabled
event ccport-any-state-change
sourceTrigger -
Related Commands
|
|
---|---|
Displays alarm-monitor monitor-profile configuration parameters. |
alarm-monitor notifier-profile
To configure an alarm-monitor notifier profile, use the alarm-monitor notifier-profile command in global configuration mode. To remove an alarm-monitor notifier profile, use the no form of this command.
alarm-monitor notifier-profile tag [default | description | destinationprofiletag | monitorprofiletag | state]
no alarm-monitor notifier-profile tag
Syntax Description
Command Default
No alarm monitor notifier profile is configured.
Command Modes
Global configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
You must configure a destination and monitor profiles first. Alarm monitor profiles should be configured in the following order:
1. Destination profiles
2. Monitor profiles
3. Notifier profiles
Examples
The following example shows an alarm-monitor notifier-profile configuration:
vse-module> show alarm-monitor notifier-profile not000
description "alarm notifier profile not000"
state enabled
monitorProfileTag mon000
destinationProfileTag dest000
Related Commands
|
|
---|---|
Displays alarm-monitor notifier-profile configuration parameters. |
contactclosure-port
To configure a contact closure port, use the contactclosure-port command in global configuration mode. To restore the default values on the contact closure port, use the no form of this command.
contactclosure-port portnum [default | description | direction | relaystate | state]
Syntax Description
Command Default
The contact closure ports retain their default configurations.
Command Modes
Global configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
Each module has eight contact closure interfaces. The first four contact closure interfaces can be configured as alarm inputs or relay outputs. The other interfaces can be configured only as inputs. The contact closure inputs are used to detect contact trigger events and the outputs are used to control external devices.
Examples
The following example shows a contact closure port configuration:
vse-module> show contactclosure-port 0
description ""
state enabled
direction in
relayState close
Related Commands
|
|
---|---|
Displays contact closure port configuration parameters. |
rs485-port
To enter RS-485-port configuration mode to set pan, tilt, and zoom camera control, use the rs485-port command in global configuration mode. To restore the default values of the RS-485 port configuration, use the no form of this command.
rs485-port portnum [baudrate | databits | default | description | parity | state | stopbits | termination-state]
Syntax Description
Command Default
No RS-485 port is configured.
Command Modes
Global configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
Observe the following guidelines:
•stopbit 1.5 applies only to databit 5.
•stopbit 2 applies only to databit 6, 7, or 8.
Use the end keyword to reprogram the serial port after a parameter (baud rate, databit, stop bit, or parity) has been changed.
Examples
The following example shows the configuration for an RS-485 port:
vse-module> show rs485-port 0
baudrate 19200
databits 7
description "sample rs485-port"
parity mark
state disabled
stopbits 2
termination-state connected
end rs485-port
Related Commands
|
|
---|---|
Shows the current configuration of the RS-485 port. |
show alarm-monitor destination-profile
To display configuration parameters for alarm-monitor destination profiles, use the show alarm-monitor destination-profile command in user EXEC configuration mode.
show alarm-monitor destination-profile {tag | summary}
Syntax Description
tag |
Identifier for the alarm-monitor destination profile values in the range of dest000 to dest999. |
summary |
Displays all configured alarm-monitor destination profiles. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
You can display a specified destination profile or a summary of all configured destination profiles.
Note The primary URLs and secondary URLs can carry messages, such as the identity of the source port.
Examples
The following example shows a specific alarm-monitor destination profile:
vse-module> show alarm-monitor destination-profile dest111
description "Capture Alarms Message"
primaryURL "http://www.somewhere.com/cgi-bin/grabAlarm"
secondaryURL "http://nowhere.com/cgi-bin/captureAlarm"
The following example shows all configured alarm-monitor destination profiles:
vse-module> show alarm-monitor destination-profile summary
tag URL address
==================================================
dest111 primaryURL http://www.somewhere.com/cgi-bin/grabAlarm
secondaryURL http://nowhere.com/cgi-bin/captureAlarm
Table 8 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures an alarm-monitor destination profile. |
show alarm-monitor monitor-profile
To display configuration parameters for alarm-monitor monitor profiles, use the show alarm-monitor monitor-profile command in user EXEC configuration mode.
show alarm-monitor monitor-profile {tag | summary}
Syntax Description
tag |
Identifier for the alarm-monitor monitor profile values in the range of mon000 to mon999. |
summary |
Displays all configured alarm-monitor monitor profiles. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
You can display a specified monitor profile or a summary of all configured monitor profiles.
Examples
The following example shows the alarm-monitor monitor profile for a specific monitor profile:
vse-module> show alarm-monitor monitor-profile mon017
description "sample monitor profile"
state enabled
event vport-state-change
sourceTrigger vp1
The following example shows all configured alarm-monitor monitor profiles:
vse-module> show alarm-monitor monitor-profile summary
tag state sourceTrigger event
========================================================
mon000 ena - video-motion-detection
mon001 ena cc0 ccport-open-to-close
mon002 ena - video-motion-detection
mon017 ena vp1 vport-state-change
Table 9 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures an alarm-monitor monitor profile. |
show alarm-monitor notifier-profile
To display configuration parameters for alarm monitor notifier profiles, use the show alarm-monitor notifier-profile command in user EXEC configuration mode.
show alarm-monitor notifier-profile {tag | summary}
Syntax Description
tag |
Identifier for the alarm-monitor notifier profile. Values are in the range of not000 to not999. |
summary |
Displays all configured alarm-monitor notifier profiles. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
You must first configure an alarm-monitor destination profile and an alarm-monitor monitor profile before you can associate them with the notifier profile.
You can display a specified notifier profile or a summary of all configured notifier profiles.
Examples
The following example shows the alarm-monitor notifier profile for a specific monitor profile:
vse-module> show alarm-monitor notifier-profile not111
description "sample notifier profile"
state disabled
monitorProfileTag mon111
destinationProfileTag dest111
The following example shows all configured alarm-monitor notifier profiles:
vse-module> show alarm-monitor notifier-profile summary
tag state destinationProfileTag monitorProfileTag
============================================================
not000 ena
not111 dis dest111 mon111
Table 10 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures an alarm-monitor notifier profile. |
show contactclosure-port
To show the configuration and status of contact closure ports, use the show contactclosure-port command in user EXEC mode.
show contactclosure {portnum | summary | hw-state}
Syntax Description
portnum |
Port number of contact closure port integer values in the range of 0 to 7. |
summary |
Displays all configured contact closure ports. |
hw-state |
Displays all contact closure port hardware states. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
To display the configuration for:
•A specific contact closure port, enter the port number.
•All contact closure ports, use the summary keyword.
To list the state (open or close) of all contact closure ports, use the hw-state keyword. For example, show contactclosure hw-state.
Examples
The following example shows the configuration for a specific contact closure port:
vse-module> show contactclosure 0
description ""
state disabled
direction in
relayState open
The following example shows the configuration for all configure contact closure ports:
vse-module> show contactclosure-port summary
port state direction relayState
=====================================
0 dis in open
1 dis in open
2 dis in open
3 dis in open
4 dis in open
5 dis in open
6 dis in open
7 dis in open
The following example shows the hardware state for all contact closure ports:
vse-module> show contactclosure hw-state
0: close
1: close
2: close
3: close
4: close
5: close
6: close
7: close
Table 11 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures contact closure ports. |
show rs485-port
To display RS-485 port configuration parameters, use the show rs485-port command in user EXEC mode.
show rs485-port {portnum | summary}
Syntax Description
portnum |
RS-485 port number: 0 or 1. |
summary |
Displays configuration parameters for all RS-485 ports. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
To display the configuration for a specific RS-485 port, enter the port number. To display the configuration for all RS-485 ports, use the summary keyword.
Examples
The following example shows the configuration for the specific RS-485 port 0:
vse-module> show rs485-port 0
description "sample rs485 port 0"
state enabled
baudrate 19200
databits 7
stopbits 2
parity odd
termination-state connected
The following example shows the configuration for the specific RS-485 port 1:
vse-module> show rs485-port 1
description ""
state enabled
baudrate 9600
databits 8
stopbits 1
parity none
termination-state open
The following example shows all configured RS-485 ports:
vse-module> show rs485-port summary
port state baudrate databits stopbits parity termState
=================================================================
0 ena 19200 7 2 odd connected
1 ena 9600 8 1 none open
Table 12 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures an RS-485 port. |
show videoport-led summary
To display the status summary of the video port LEDs on the Cisco Analog Video Gateway module, use the show videoport-led command in user EXEC mode.
show videoport-led summary
Syntax Description
summary |
Displays a summary of all configured video port LED states. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
Table 13 defines the video port LED states for video ports 0 to 15.
Examples
The following example shows the states of the video port LEDs.
vse-module> show videoPortLed summary
PortNum Status
======================
0 AMBER
1 GREEN
2 OFF
3 OFF
4 OFF
5 OFF
6 OFF
7 OFF
8 OFF
9 OFF
10 OFF
11 OFF
12 OFF
13 OFF
14 OFF
15 OFF
Related Commands
|
|
---|---|
Configures a video port profile. |
show video codec-profile
To display video codec profile configuration parameters, use the show video codec-profile command in user EXEC mode.
show video codec-profile {tag | dynamically-generated summary | user-configured summary}
Syntax Description
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
1.1 |
This command was enhanced by adding selection options. |
Usage Guidelines
You cannot configure or request a dynamically generated codec or stream profile. You can only view these types of profiles by using the show video codec-profile dynamically-generated command.
Dynamically generated codec profiles apply only to an HTTP-initiated session and cannot be saved.
Examples
The following example shows specific configuration parameters for a codec001 profile:
vse-module> show video codec-profile codec001
description "p_test2"
state enabled
codec mjpeg
format ntsc
frameRate 15.0
skipFactor 2
resolution 2cif
bitRate vbr
qualityFactor 70
deinterlace enabled
skipfactor 2
The following example shows a configuration summary for dynamically generated video codec profiles:
vse-module> show video codec-profile dynamically-generated summary
tag state codec format frameRate bitRate mxBR gopSize QF SF resolution deinterlace
=========================================================================================
httpx ena mjpeg ntsc 5 vbr 384 30 70 2 cif enabled
The following example shows a configuration summary for all user-configured video codec profiles:
vse-module> show video codec-profile user-configured summary
tag state codec format frameRate bitRate mxBR gopSize QF SF resolution deinterlace
==========================================================================================
codec000 ena mpeg4 ntsc 30 cbr 2000 30 - 1 4cif enabled
Table 14 describes the significant fields in the example.
|
|
---|---|
tag |
Identifier for the video codec profile in the range of codec000 to codec999. |
state |
Operational state of the codec profile: enabled or disabled. |
codec |
Codec type associated with the codec profile: H.264, MPEG4, or MJPEG. |
format |
Video format of the codec profile: NTSC or PAL. |
frameRate |
Frame rate of the codec profile: NTSC or PAL frame rate in fps. (See video codec-profile for more details.) |
bitRate |
Bit rate of the codec profile: CBR or VBR. |
mxBR |
Maximum bit rate of the codec profile: 168 to 2000 KBps for codec MPEG4 and 168 to 3000 KBps for codec H.264. |
gopSize |
Group-of-picture size of the codec profile in the range of 0 to 600. |
QF |
Quality factor of the codec profile for MJPEG video codec only in the range of 0 to 100 percent. |
SF |
Skip factor of the codec profile in the range of 1 to 100. |
resolution |
Resolution of the codec profile: 4cif, 2cif, or cif. |
deinterlace |
Indicates whether or not deinterlace mode is enabled. This indicator is available only in 1.1 and later versions. |
Related Commands
|
|
---|---|
Configures a video codec profile. |
show video dsp
To display video digital signal processor (DSP) brief, detailed, internal statistics, or objects summaries, use the show video dsp command in user EXEC mode.
show video dsp [detail | internal | objects]
Syntax Description
detail |
Displays video DSP status details. |
internal |
Displays video DSP internal statistics. |
objects |
Displays video DSP internal object handles. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Examples
The following example shows a brief summary of the DSP status:
vse-module> show video dsp
Resources used and ports in use (U) and not in use (F)
DS MEDWARE CREDITS BUF PORTS I CPU Load Intern Mem Extern Mem
P# VERSION CPU IMM XMM POL 2 3 4 5 S cu/av/mx (used/max) (used/max)
-- ------- --- --- --- --- - - - - - --------- ----------- -----------------
0 0.2.44 99 100 100 100 F F F F Y 1/1/57 8/16384 15320/10485760
1 0.2.44 99 100 100 100 F F F F Y 1/1/95 8/16384 15320/10485760
2 0.2.44 99 100 100 100 F F F F Y 1/1/56 8/16384 15320/10485760
3 0.2.44 99 100 100 100 F F F F Y 1/1/58 8/16384 15320/10485760
Table 15 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures video port profiles. |
show video motion-detection
To display video motion detection configuration parameters, use the show video motion-detection command in user EXEC mode.
show video motion-detection {tag | summary}
Syntax Description
tag |
Identifier for the video motion detection parameter. Values are in the range of md000 to md999. |
summary |
Displays all configured video motion detection parameters. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
You must first configure a motion region before you can associate it with a motion detection parameter.
Examples
The following example shows configuration parameters for motion detection parameter mr111:
mpc8349e> show video motion-detection md111
description "sample motion detection 1"
state disabled
motionRegionTag_1 mr111
motionRegionTag_2 mr222
The following example shows configuration parameters for motion detection parameter mr222:
mpc8349e> show video motion-detection md222
description "sample motion detection 2"
state enabled
motionRegionTag_1 mr111
motionRegionTag_2 mr222
The following example shows configuration parameters for all motion detection parameters:
mpc8349e> show video motion-detection summary
tag md011
state enabled
tag md111
state disabled
motionRegionTag_1 mr111
motionRegionTag_2 mr222
tag md222
state enabled
motionRegionTag_1 mr111
motionRegionTag_2 mr222
Table 16 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures video motion detection parameters. |
show video motion-region
To display video motion region configuration, use the show video motion-region command in user EXEC mode.
show video motion-region {tag | summary}
Syntax Description
tag |
Identifier for the video motion region. |
summary |
Displays all configured video motion regions. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
This command-line interface (CLI) command is used to show the motion region configuration. The upper-x motion region coordinate must be a smaller percentage than the lower-y coordinate.
Examples
The following example shows a configuration parameters summary for all motion regions:
mpc8349e> show video motion-region summary
tag state upper-x lower-x upper-y lower-y threshold
==============================================================
mr222 dis 20 300 30 250 90
mr111 ena 40 280 60 270 95
The following example shows configuration parameters for motion region mr111:
mpc8349e> show video motion-region mr111
description "sample motion region 1"
state enabled
upperLeftCoordx 40
upperLeftCoordy 60
lowerRightCoordx 280
lowerRightCoordy 270
threshold 95
The following example shows configuration parameters for motion region mr222:
mpc8349e> show video motion-region mr222
description "sample motion region 2"
state disabled
upperLeftCoordx 20
upperLeftCoordy 30
lowerRightCoordx 300
lowerRightCoordy 250
threshold 90
Table 17 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures video motion region parameters. |
show video port
To display configuration parameters for video ports, use the show video port command in EXEC mode.
show video port {portnum | summary}
Syntax Description
portnum |
Specifies the video port number. |
summary |
Displays configuration parameters for all video ports. |
Command Modes
EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Examples
The following example shows configuration parameters for video port 0:
vse-module> show video port 0
description ""
state enabled
direction in
brightness 0
contrast 0
hue 0
saturation 0
sharpness 0
The following example shows configuration parameters for all video ports:
vse-module> show video port summary
port state dir mxRes brightness contrast hue saturation sharpness
==================================================================
0 ena in 4cif 0 0 0 0 0
1 ena in 4cif 0 0 0 0 0
2 ena in 4cif 0 0 0 0 0
3 ena in 4cif 0 0 0 0 0
4 ena in 4cif 0 0 0 0 0
5 ena in 4cif 0 0 0 0 0
6 ena in 4cif 0 0 0 0 0
7 ena in 4cif 0 0 0 0 0
8 ena in 4cif 0 0 0 0 0
9 ena in 4cif 0 0 0 0 0
10 ena in 4cif 0 0 0 0 0
11 ena in 4cif 0 0 0 0 0
12 ena in 4cif 0 0 0 0 0
13 ena in 4cif 0 0 0 0 0
14 ena in 4cif 0 0 0 0 0
15 ena in 4cif 0 0 0 0 0
Table 18 describes the significant fields in the example.
Related Commands
|
|
---|---|
Modifies an existing video port configuration. |
show video session
To display video session statistics, use the show video session command in user EXEC mode.
show video session {connection | history | library | rtcp | stream}
Syntax Description
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Examples
The following example shows output from the show video session stream command:
vse-module# show video session stream
StreamId Sockfd IP Address Port Prot D O Pkts Count Bytes(K) TxDp kbps
-------- ------ --------------- ----- ---- - - ---------- ---------- ---- -----
00000001 000030 128.107.146.235 4730 RTP O Y 3330 3110 0 980 00000002 000031 128.107.146.235 4731 RTCP O N 0 0 0 0 00000101 000032 128.107.146.235 4730 RTP I N 0 0 0 0 00000102 000033 128.107.146.235 4731 RTCP I N 0 0 0 0
Table 19 describes the significant fields in the example.
The following example shows output from the show video session rtcp command:
vse-module# show video session rtcp
SessionID site RTPtx(s) RTPrx(s) DRate(%) DropCnt Jitter(ms) loopDelay 00000002-001f local 44bd54a7 00000000 0 0 0 ---- remote ---- ---- 0 0 4 28
Table 20 describes the significant fields in the example.
The following example shows output from the show video session connection command:
vse-module# show video session connection
S T R E A M M A N A G E R MW API C L I
ConnId AnEp isId Port PkEp osId IpAdress Encap Codec StreamId Profile
------ ---- ---- ---- ---- ---- --------------- ----- ----- -------- ---------
188 180 180 2 179 179 128.107.146.235 rtp mpeg4 00000001 stream000
Table 21 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures the video stream profile. |
show video stream-profile
To display video stream profile configuration parameters, use the show video stream-profile command in user EXEC mode.
show video stream-profile {tag | dynamically-generated summary | user-configured summary}
Syntax Description
Command Modes
User EXEC
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
This command-line interface (CLI) command shows the video stream profile configuration.
Examples
The following example shows a specific video stream profile:
vse-module> show video stream-profile stream011
description "sample stream profile 011"
state enabled
portNum 0
codecProfileTag -
motionDetectionTag -
The following example shows all user-configured video stream profiles:
vse-module> show video stream-profile user-configured summary
tag state codecProfileTag motionDetectionTag portNum
===============================================================
stream001 ena - - 0
stream010 ena - - 0
stream011 ena - - 0
stream017 ena - - 0
The following example shows dynamically-generated video stream profiles:
vse-module> show video stream-profile dynamically-generated summary
tag state codecProfileTag motionDetectionTag portNum
===============================================================
httpx ena - - 0
Table 22 describes the significant fields in the example.
Related Commands
|
|
---|---|
Creates a video stream profile. |
show video xconn-lpbk-conn
To display video cross-connect loopback configuration parameters, use the show video xconn-lpbk-conn command in user EXEC mode.
show video xconn-lpbk-conn {0-1 | summary}
Syntax Description
0-1 |
Identifies the video cross-connect loopback connection in the range of 0 to 1. |
summary |
Displays a summary video cross-connect loopback connections. |
Command Modes
User EXEC
Command History
|
|
---|---|
1.2 |
This command was introduced. |
Usage Guidelines
This command-line interface (CLI) command shows the video cross-connect loopback configuration to conduct video loopback diagnostic tests.
The video cross-connect loopback diagnostic command transmits a signal that is returned to the sending port after passing through all or a portion of a network or circuit. The returned signal is compared with the transmitted signal to evaluate the integrity of the equipment or transmission path. The video cross-connect loopback test mode is persistent across the Cisco Analog Video Gateway encoder reload.
Examples
The following example shows the specific video cross-connect loopback connection parameters:
VSE-Module> show video xconn-lpbk-conn 0
description "video connection 0"
state enabled
import 2
outport 0
The following example shows a summary of video cross-connect loopback connection parameters:
VSE-Module> show video xconn-lpbk-conn summary
xconn-lpbk-conn state inport outport
=======================================================
conn0 ena 1 0
conn1 ena 1 0
Table 23 describes the significant fields in the example.
Related Commands
|
|
---|---|
Configures and enables the Cisco Analog Video Gateway cross connect test mode. |
video codec-profile
To create a video codec profile, use the video codec-profile command in video port configuration mode. To use the default video codec profile, use the no form of this command.
video codec-profile tag [bitrate | codec | default | deinterlace | description | format | framerate | gopsize | maxbitrate | qualityfactor | skipfactor | resolution | state]
no video codec-profile tag
Note The video codec profile cannot be removed until the streaming profile is removed.
Syntax Description
Command Default
No video codec profile is configured.
Command Modes
Video port configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
1.1 |
De-interlace enable/disable option added to this command. Resolution option 2CIF added to this command. |
Usage Guidelines
When setting framerate, the default is 5 frames per second (fps). For example, a frame rate of 0.01 means 1 frame every 100 seconds.
When setting gopsize, set it for MPEG4 and H.264 only in frames. For example, if you have a frame rate of 15 fps and GOP size of 30 frames, it is set to 30/15 or 2 seconds.
When setting maxbitrate, it cannot be set for MJPEG because it uses a VBR algorithm.
The NTSC CIF resolution is:
•NTSC-CIF = 352 x 240 pixels
•NTSC-2CIF = 704 x 240 pixels
•NTSC-4CIF = 704 x 480 pixels
The PAL CIF resolution is:
•PAL-CIF = 352 x 288 pixels
•PAL-2CIF = 704 x 288 pixels
•PAL-4CIF = 704 x 576 pixels
Examples
This example shows video codec profile and stream profile configuration for video streaming with codec set to MPEG4, bitrate set to VBR, format set to NTSC, framerate is set to 30, gopsize is set to 20, and maxbitrate is set to 1000 KBps on video port 4.
VSE-module(config)> video codec-profile codec000
VSE-module(config-codec-profile)> codec mpeg4
VSE-module(config-codec-profile)> bitrate vbr
VSE-module(config-codec-profile)> format ntsc
VSE-module(config-codec-profile)> framerate 30
VSE-module(config-codec-profile)> gopsize 20
VSE-module(config-codec-profile)> maxbitrate 1000
VSE-module(config-codec-profile)> end
VSE-module(config)> video stream-profile stream000
VSE-module(config-stream-profile)> codecprofiletag codec000
VSE-module(config-stream-profile)> portnum 4
Related Commands
|
|
---|---|
Displays video codec profile configuration parameters. |
video motion-detection
To create a video motion detection profile, use the video motion-detection command in video port configuration mode. To use a default video motion detection profile, use the no form of this command.
video motion-detection tag [default | description | motion-region-tag x y | state]
no video motion-detection tag
Syntax Description
Command Default
No video motion detection profiles are configured.
Command Modes
Video port configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
A video motion region profile must be configured before it can be used by a video codec motion detection profile; otherwise, the following error message appears:
The specified video motion region tag has not been configured
Examples
The following example shows a configuration for video motion detection md000:
vse-module> show video motion-detection md000
description "video motion detection md000"
state enabled
motion-region-tag 30 mr000
Related Commands
|
|
---|---|
Displays video motion detection configuration parameters. |
video motion-region
To create a video motion region profile, use the video motion-region command in video port configuration mode. To use a default video motion region profile, use the no form of this command.
video motion-region tag [default | description | lowerrightcoordx | lowerrightcoordy | state | threshold | upperleftcoordx | upperleftcoordy]
no video motion-region tag
Syntax Description
Command Default
No video motion region is configured.
Command Modes
Video port configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
The lower-right and upper-left coordinate values are whole percentage values. The upper-left x coordinate must be a smaller percentage value than the lower-right x coordinate.
Examples
The following example shows the configuration for video motion region mr000.
vse-module> show video motion-region mr000
description "video motion region mr000"
state enabled
upperLeftCoordx 25
upperLeftCoordy 35
lowerRightCoordx 30
lowerRightCoordy 40
threshold 10
Related Commands
|
|
---|---|
Displays video motion region configuration parameters. |
video port
To enter video port configuration mode or to modify the default video port configuration, use the video port command in global configuration mode. To use the video port to the default values, use the no form of this command.
Note The following command is valid for version 1.2 and later.
video port portnum [brightness | contrast | default | description | direction | hue | saturation | sharpness | state]
Note The following command is only valid for versions 1.0 and 1.2.
video port portnum [brightness | contrast | default | description | direction | hue | maxresolution | saturation | sharpness | state]
no video port portnum
Syntax Description
Command Default
Video ports retain default configuration parameters.
Command Modes
Global configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
1.1 |
Maximum resolution option 2CIF added to the command. |
1.2 |
Maximum reslolution (maxresolution) command removed. |
Usage Guidelines
Video format is automatically detected, based on the hardware setting.
The maxresolution command is applicable only in versions 1.0 and 1.1 for the in (input) direction, so the Invalid input error appears if an attempt is made to apply the maxresolution command in the out (output) direction.
vse-module(config)> video port 0
Modifying existing port
vse-module(config-port)> description "sample video port 0"
vse-module(config-port)> direction out
vse-module(config-port)> maxresolution ?
cif CIF resolution
vse-module(config-port)> maxresolution cif
Invalid input. maxResolution is not applicable to output direction
Examples
The following example shows the parameters configured for video port 0.
vse-module> show video port 0
description ""
state enabled
direction in
brightness 125
contrast 80
hue 100
saturation 0
sharpness 0
Related Commands
|
|
---|---|
Displays configuration parameters for video ports. |
video stream-profile
To create a video stream profile, use the video stream-profile command in video port configuration mode. To use a default video stream profile, use the no form of this command.
video stream-profile tag [codecprofiletag | default | description | motiondetectiontag | packetization-mode | portnum | state]
no video stream-profile tag
Syntax Description
Command Default
No video stream profile is configured.
Command Modes
Video port configuration
Command History
|
|
---|---|
1.0 |
This command was introduced. |
Usage Guidelines
A video codec profile must be configured before it can be used by a video stream profile.
Note With the exception of motion detection configurations, once the video stream is initiated based on a profile, any changes to the corresponding codec or port configurations will have no effect on the video stream already in progress. Any changes to motion detection configurations will have an immediate effect on the video stream already in progress.
Examples
The following example shows a streaming profile configuration of stream000:
vse-module> show video stream-profile stream000
description "video stream profile 000"
state enabled
portNum 2
codecProfileTag codec000
packetization-mode non-interleaved
motionDetectionTag - md000
Related Commands
|
|
---|---|
Displays video stream profile configuration parameters. |
video xconn-lpbk-conn
To configure a video cross-connect loopback diagnostic test, use the video xconn-lpbk-conn command in video cross-connect loopback configuration mode. To restore the video cross-connect loopback command to the default condition, use the no form of this command.
video xconn-lpbk-conn 0-1 [default | description | inport | state]
no video xconn-lpbk-conn
Syntax Description
Command Default
No video cross-connect loopback is configured.
Command Modes
Video cross-connect loopback configuration
Command History
|
|
---|---|
1.2 |
This command was introduced. |
Examples
The following example shows the specific video cross-connect loopback connection parameters:
VSE-Module> show video xconn-lpbk-conn 0
description "video connection 0"
state enabled
import 2
outport 0
The following example shows a summary of video cross-connect loopback connection parameters:
VSE-Module> show video xconn-lpbk-conn summary
xconn-lpbk-conn state inport outport
=======================================================
conn0 ena 1 0
conn1 ena 1 0
Related Commands
|
|
---|---|
Displays the video cross-connect loopback configuration summary. |
Cisco IOS Commands
This section documents new Cisco IOS commands. Use these commands to access and configure the Cisco Analog Video Gateway module from the host router.
•service-module video-service-engine
•show controllers video-service-engine
•show interfaces video-service-engine
service-module video-service-engine
To begin a network module session through a console connection, use the service-module video-service-engine command in privileged EXEC configuration mode.
service-module video-service-engine slot/port {session | password-reset | reload | reset | session | shutdown | statistics | status}
Syntax Description
Command Default
None.
Command Modes
Privileged EXEC
Command History
|
|
---|---|
12.4(11)T |
This command was introduced. |
Usage Guidelines
Use the service-module video-service-engine slot/port shutdown command before you remove the video network module from the router.
Removing the video encoder without using the proper shutdown sequence can result in corruption of the hard disk. After successful shutdown of the application, the Cisco IOS software displays a message indicating that the network module can be removed.
Only one session at a time is allowed into the network module from the internal network-module-side interface.
After starting a session, you can perform any video module configuration task. You first access the console in a user-level shell. To access the privileged EXEC command shell, in which most commands are available, use the enable command.
After you finish configuring the module and exit the module console session, clear the session by using the service-module video-service-engine slot/port session clear command. At the confirmation prompt, press Enter to confirm the action, or press n to cancel.
Examples
The following example shows a session being opened for a Cisco Analog Video Gateway module in slot 1:
Router# service-module video-service-engine 1/0 session
Trying 31.0.0.99, 2066 ... Open
vse-module>
Related Commands
show interfaces video-service-engine
To display basic interface configuration information for an the video interface, use the show interfaces video-service-engine command in user EXEC mode.
show interfaces video-service-engine slot/port
Syntax Description
Defaults
None
Command Modes
User EXEC
Command History
|
|
---|---|
12.4(11)T |
This command was introduced. |
Examples
The following example shows the output from the show interfaces video-Service-Engine 1/0 command:
Router# show interfaces video-service-Engine 1/0
Video-Service-Engine1/0 is up, line protocol is up
Hardware is BCM5703, address is 0015.629a.efe0 (bia 0015.629a.efe0)
Internet address is 31.0.0.99/16
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not set
Full-duplex, 1000Mb/s, link type is force-up, media type is internal
output flow-control is XON, input flow-control is XON
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:09, output 00:00:09, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/512 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
43797 packets input, 1854377 bytes, 0 no buffer
Received 18 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 0 multicast, 0 pause input
0 input packets with dribble condition detected
31682 packets output, 10485509 bytes, 0 underruns
0 output errors, 0 collisions, 4 interface resets
0 babbles, 0 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 pause output
0 output buffer failures, 0 output buffers swapped out
Router#
Related Commands
|
|
---|---|
interface video-service-engine |
Configures the interface slot and port numbers where the network module resides. |
show controllers video-service-engine
To display controller information for video network module, use the show controllers video-service-engine command in the privileged EXEC mode.
show controllers video-service-engine slot/unit
Syntax Description
Command Default
None
Command Modes
Privileged EXEC
Command History
|
|
---|---|
12.4(11)T |
This command was introduced. |
Examples
The following example shows the output from the show controllers video-service-engine slot/unit command:
Router# show controllers video-Service-Engine 1/0
Interface Video-Service-Engine1/0
Hardware is BCM5703 Gig Ethernet
IDB: 657C708C, FASTSEND: 60E21D2C, MCI_INDEX: 0
INSTANCE=0x657C819C
Rx Ring entries = 512
Rx Shadow = 0x657C8AEC
Rx Ring = 0x2D7C3040
Rx Ring Head = 184
Rx Ring Last = 183
Rx Jumbo Ring entries = 256
Rx Jumbo Shadow = 0x657C9324
Rx Jumbo Ring = 0x2D7C7080
Rx Jumbo Ring Head = 0
Rx Jumbo Ring Last = 255
Rx Return Ring = 0x2D7CB0C0
Rx Return Ring Head = 696
Rx Return Ring Last = 695
Rx STD Ring Shadow (malloc) = 0x657C8AEC
Rx STD Ring (malloc) = 0x2D7C3040
Rx JUMBO Ring Shadow (malloc) = 0x657C9324
Rx JUMBO Ring (malloc) = 0x2D7C7080
Rx Buffer Descr (malloc) = 0x2D7CB0C0
Tx Ring entries = 512
Tx Shadow = 0x657CA35C
Tx Shadow Head = 2
Tx Shadow Tail = 2
Tx Shadow Tail Last = 1
Tx Shadow Free = 512
Tx Ring = 0x2D7D3100
Tx Count = 0
Tx Free = 512
Tx Buffer Descr = 0x2D7D3100
Tx Shadow (malloc) = 0x657CA35C
Tx Ring (malloc) = 0x2D7D3100
Status block and mail_box information
Status = 0x0, StatusTag = 0xB1
Status::RcvStdConIdx: 184 , RcvJumboConIdx: 0 , RcvMiniConIdx: 0
MBOX::RcvStdProdIdx:183 , RcvJumboProdIdx:255 , RcvMiniProdIdx: 0
Status::Send 0, SendConIdx: 2 , Rx Rtn 0, RcvProdIdx: 696
mail_box::Send 0,SendHostProdIdx: 2 , Rx Rtn 0,RcvRetConIdx: 695
Rings Status:
*** RX Entry: 3 , Tx Entry: 14 ***
RX # duration RtnHead RtnTail ProdHead ProdTail
[0 ] 35 693 694 181 182
[1 ] 31 694 695 182 183
[2 ] 40 695 696 183 184
[3 ] 29 676 677 164 165
[4 ] 35 677 678 165 166
[5 ] 30 678 679 166 167
[6 ] 31 679 680 167 168
[7 ] 31 680 681 168 169
[8 ] 29 681 682 169 170
[9 ] 28 682 683 170 171
[10] 35 683 684 171 172
[11] 38 684 685 172 173
[12] 38 685 686 173 174
[13] 35 686 687 174 175
[14] 36 687 688 175 176
[15] 34 688 689 176 177
[16] 36 689 690 177 178
[17] 41 690 691 178 179
[18] 31 691 692 179 180
[19] 32 692 693 180 181
TX # duration Send_head Send_tail
[0 ] 3 442 443
[1 ] 5 504 505
[2 ] 4 505 506
[3 ] 3 506 507
[4 ] 5 443 444
[5 ] 4 507 508
[6 ] 2 444 445
[7 ] 0 508 509
[8 ] 3 509 510
[9 ] 3 510 511
[10] 3 445 446
[11] 4 511 0
[12] 4 0 1
[13] 5 1 2
[14] 4 499 500
[15] 3 500 501
[16] 3 441 442
[17] 4 501 502
[18] 3 502 503
[19] 3 503 504
PCI Register [0x4B000000]
PCI Msi Control = 0x5
PCI Msi addr = 0xBFFD7DF7, 0xDFFF97F4
PCI MiscHostCtrl = 0x10020098
PCI DMA Control = 0x763F0000
PCI PciState = 0x20FE
PCI clk ctrl = 0xBF
PCI ModeCtrl = 0x4030034
PCI MiscCfg = 0x83082
PCI MiscLocalCtrl = 0x1016F09
Mac Control Register [0x4B000400]
MAC Mode = 0xE0480C
Mac Status = 0x403
Mac Event = 0x1000
Mac Led = 0x880
Mac RX MTU = 0x2808
Mac Tx AutoNeg = 0x0
MAC Rx AutoNeg = 0x0
Mac Tx Mode = 0x52
Mac Tx Status = 0x8
Mac Tx Length = 0x2620
Mac Rx Mode = 0x406
Mac Rx Status = 0x0
Mac Serdes Ctrl = 0x616000
Mac Serdes Status = 0x140
General Control Register [0x4B006800]
GCR Mode = 0x4030034, GCR MiscCfg = 0x83082
GCR LocalCtrl = 0x1016F09, GCR Timer = 0x878ABA6
Buf Mgr Address Space Begin = 0x4B004400
Buf Mgr Flow Control Low Water Mark Adr = 0x4B004414 Data = 0x130
Buf Mgr Flow Control High Water Mark Adr = 0x4B004418 Data = 0x17C
Hardware MAC Address Filters
----------------------------
Hardware Perfect Address Filters
MAC addr[00] = 00-15-62-9A-EF-E0
MAC addr[01] = 01-00-0C-CC-CC-CC
MAC addr[02] = 01-80-C2-00-00-07
MAC addr[03] = 00-00-00-00-00-00
MAC addr[04] = 00-00-00-00-00-00
MAC addr[05] = 00-00-00-00-00-00
MAC addr[06] = 00-00-00-00-00-00
MAC addr[07] = 00-00-00-00-00-00
MAC addr[08] = 00-00-00-00-00-00
MAC addr[09] = 00-00-00-00-00-00
MAC addr[10] = 00-00-00-00-00-00
MAC addr[11] = 00-00-00-00-00-00
MAC addr[12] = 00-00-00-00-00-00
MAC addr[13] = 00-00-00-00-00-00
MAC addr[14] = 00-00-00-00-00-00
MAC addr[15] = 00-00-00-00-00-00
Hardware Multicast Hash Filters
MAC Hash addr[00] = 00000000
MAC Hash addr[01] = 00000000
MAC Hash addr[02] = 00000000
MAC Hash addr[03] = 00000000
Hardware Receive Rules Filters
Receive Rules Config = 00000008
Rule: [00] = 0x42000000
Value: [00] = 0x7FFFFFFF
Rule: [01] = 0x06000004
Value: [01] = 0x7FFFFFFF
Rule: [02] = 0x00000000
Value: [02] = 0x00000000
Rule: [03] = 0x00000000
Value: [03] = 0x00000000
Rule: [04] = 0x00000000
Value: [04] = 0x00000000
Rule: [05] = 0x00000000
Value: [05] = 0x00000000
Rule: [06] = 0x00000000
Value: [06] = 0x00000000
Rule: [07] = 0x00000000
Value: [07] = 0x00000000
Rule: [08] = 0x00000000
Value: [08] = 0x00000000
Rule: [09] = 0x00000000
Value: [09] = 0x00000000
Rule: [10] = 0x00000000
Value: [10] = 0x00000000
Rule: [11] = 0x00000000
Value: [11] = 0x00000000
Rule: [12] = 0x00000000
Value: [12] = 0x00000000
Rule: [13] = 0x00000000
Value: [13] = 0x00000000
Rule: [14] = 0x00000000
Value: [14] = 0x00000000
Rule: [15] = 0x00000000
Value: [15] = 0x00000000
Software MAC Address Filter (hash:length/addr/mask/hits)
--------------------------------------------------------
0x000: 0 ffff.ffff.ffff 0000.0000.0000 0
0x082: 0 0015.629a.efe0 0000.0000.0000 0
0x0C0: 0 0100.0ccc.cccc 0000.0000.0000 0
0x0C5: 0 0180.c200.0007 0000.0000.0000 0
Software filtered frames: 0
Unicast software filter needed: 0
Multicast software filter needed: 0
Promiscuous mode: 0
HARDWARE STATISTICS
Rx good packets: 20152
Rx CRC: 0
Rx alignment: 0
Rx short: 0
Tx good frames: 31234
Tx maxm collisions: 0
Tx late collisions: 0
Tx underruns: 0
Tx lost carrier: 0
Tx deferred: 0
Tx single collision: 0
Tx multiple collision: 0
Tx total collisions: 0
-------- HW FLOW CONTROL STATS ---------
Rx XON PAUSE Frames Received: 0
Rx XOFF PAUSE Frames Received: 0
Rx XOFF State Entered: 0
Tx XON Sent: 0
Tx XOFF Sent: 0
INTERRUPT STATISTICS
CX = 75443
FR = 43763
CNA = 0
RNR = 0
MDI = 0
SWI = 0
FCP = 0
Full Promiscuous Mode = disabled
Loopback Mode = disabled
I/O Congestion Counters:
Standard Packet Count : 0
Jumbo Packet Count : 0
I2C Registers:
AFS - Control Register : 0x4000D000
SMBUS Input Register : 0x00000464
SMBUS Output Register : 0x00004C61
SMBUS GRC Local Register : 0x01016F09
I2C Error Counter:
Total I2C Output Errors : 0
Total I2C Input Errors : 0
I2C Transaction Errors : 0
Module Reset Statistics:
CLI reset count = 3
CLI reload count = 0
Registration request timeout reset count = 2
Error recovery timeout reset count = 3
Module registration count = 4
The last IOS initiated event was a error recovery timeout reset at 23:26:57.306
UTC Wed May 9 2007
Router#
Related Commands
|
|
---|---|
show interfaces integrated-service-engine |
Displays basic interface configuration information for the video network module. |