Installing the Software DSP Container
The Software DSP functionality is available by default when you purchase a Cisco VG410 Voice Gateway.
This functionality is pre-installed in a vDSP container through the voice vdsp install command during the manufacturing process of the Cisco VG410 Voice Gateway. The default router configuration will thus include the following configuration during manufacturing.
interface VirtualPortGroup0
ip address 192.168.253.250 255.255.255.252
!
!
iox
!
app-hosting appid vdsp
app-vnic gateway0 virtualportgroup 0 guest-interface 0
guest-ipaddress 192.168.253.249 netmask 255.255.255.0
app-default-gateway 192.168.253.250 guest-interface 0
start
The following EEM scripts are also added during the manufacturing process through the voice vdsp install command.
event manager applet enableiox
event none sync yes
action 01 cli command "enable"
action 10 cli command "conf t"
action 20 cli command "iox"
action 30 cli command "end"
event manager applet configvdsp
event none sync yes
action 01 cli command "enable"
action 02 cli command "show interface VirtualPortGroup0 | inc MTU"
action 03 string match "*bytes*" "$_cli_result"
action 04 if $_string_result ne "1"
action 10 cli command "conf t"
action 11 cli command "interface VirtualPortGroup0"
action 12 cli command "ip address 192.168.253.250 255.255.255.252"
action 13 cli command "app-hosting appid vdsp"
action 14 cli command "app-vnic gateway0 virtualportgroup 0 guest-interface 0"
action 15 cli command "guest-ipaddress 192.168.253.249 netmask 255.255.255.0"
action 16 cli command "app-default-gateway 192.168.253.250 guest-interface 0"
action 21 cli command "start"
action 23 cli command "end"
action 30 end
event manager applet installvdsp
event none sync yes
action 01 cli command "enable"
action 10 cli command "show app-hosting detail appid vdsp | inc Version"
action 20 string match "*Version*" "$_cli_result"
action 30 if $_string_result ne "1"
action 40 cli command "app-hosting install appid vdsp package flash:vDSP/vg4x0_vdsp.tar"
action 50 end
event manager applet noiox
event syslog pattern "('no iox')"
action 01 cli command "enable"
action 10 cli command "conf t"
action 20 cli command "no iox"
action 30 cli command "end"
event manager applet deactivdsp
event syslog pattern "vdsp stopped successfully"
action 01 cli command "enable"
action 03 file open fh bootflash:/vDSP/vg4x0_vdsp.state r
action 04 file read fh vdspstate
action 05 string match "$vdspstate" "upgrade"
action 06 if $_string_result eq "1"
action 10 cli command "app-hosting deactivate appid vdsp"
action 20 end
event manager applet upgradevdsp
event syslog pattern "vdsp deactivated successfully"
action 01 cli command "enable"
action 03 file open fh bootflash:/vDSP/vg4x0_vdsp.state r
action 04 file read fh vdspstate
action 05 string match "$vdspstate" "upgrade"
action 06 if $_string_result eq "1"
action 10 cli command "app-hosting upgrade appid vdsp package flash:vDSP/vg4x0_vdsp.tar"
action 15 file open fh bootflash:/vDSP/vg4x0_vdsp.state w
action 16 file write fh "done"
action 17 file close fh
action 20 end
Note |
You do not have to perform any manual installation steps to use the Software DSP functionality. |