- 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
Configuring Contact Closure Profiles
Each Cisco Analog Video Gateway module comes with eight contact closure interfaces. Four contact closure interfaces can be configured as alarm inputs or as contact closure relay outputs. The other four contact closure interfaces are for inputs only. Alarm interfaces can be used to detect contact trigger events and to control external devices.
The Cisco Analog Video Gateway is designed to interact with local or remote controllers to manage and control the contact closure interfaces. Alarm interfaces are set to their proper states and monitor trigger events. When an alarm is detected, the source and severity of the alarm are determined, the system log file is updated, and predefined HTTP messages are sent to the controllers. For example, in response to the nature of the alarm, the alarm can request the Cisco Analog Video Gateway to adjust the camera, begin video streaming, or trigger the external devices.
The Cisco Analog Video Gateway has eight preconfigured contact closure ports. The contact closure ports have the following default configuration. You can only modify a contact closure port; you cannot add or delete a contact closure port.
Use the contactclosure-port command to configure the specified contact closure interface profile.
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.

Note In the VSOM, the state change from open-to-close is considered falling and the state change from close-to-open is considered rising.
SUMMARY STEPS
1. configure terminal
2. contactclosure-port portnum
3. [default | description | direction | relaystate | state]
4. end
5. exit
6. show contactclosure-port portnum
or
show contactclosure-port hw-state
or
show contactclosure-port summary
DETAILED STEPS
Examples
The following example shows the contact closure configuration parameters for a specified port 0:
vse-module> show contactclosure-port 0
description "contact closure port 0 config"
state enabled
direction in
relayState close
The following example shows the hardware state (open or close) for evert contact closure port:
vse-module> show contactclosure-port hw-state
0: close
1: close
2: close
3: close
4: close
5: close
6: close
7: close
The following example shows the contact closure port summary:
vse-module> show contactclosure-port summary
port state direction relayState
=====================================
0 ena in close
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