Cisco Systems ASR 1000 Network Router User Manual


 
2-12
Cisco IOS XE Integrated Session Border Controller Configuration Guide for the Cisco ASR 1000 Series Aggregation Services Routers
OL-15421-01
Chapter 2 Configuring Integrated Session Border Controller
Configuration Examples
The following example shows the initial SBC configuration:
sbc mySbc dbe
vdbe global
use-any-local-port
control-address h248 ipv4 172.25.2.26
controller h248 1
remote-address ipv4 172.25.2.243
remote-port 2946
transport udp
attach-controllers
activate
location-id 1
media-address ipv4 20.20.20.20
media-address ipv4 21.21.21.21
The following example illustrates a user trying to change the local port number while the controllers are
configured and receiving an error message:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# sbc mySbc dbe
Router(config-sbc-dbe)# vdbe
Router(config-sbc-dbe-vdbe)# local-port 2946
SBC: local-port cannot be changed while controllers are configured.
The following example illustrates the user following the recommended steps to change the local port:
Router(config-sbc-dbe-vdbe)# exit
Router(config-sbc-dbe)# no activate
Router(config-sbc-dbe)# vdbe
Router(config-sbc-dbe-vdbe)# no attach-controllers
Router(config-sbc-dbe-vdbe)# no controller h248 1
Router(config-sbc-dbe-vdbe)# local-port 2946 <== Make change to local port
Router(config-sbc-dbe-vdbe)# controller h248 1
Router(config-sbc-dbe-vdbe-h248)# remote-address ipv4 172.25.2.243 <== Reconfigure
Router(config-sbc-dbe-vdbe-h248)# remote-port 2946 <== Reconfigure
Router(config-sbc-dbe-vdbe-h248)# transport udp <== Reconfigure
Router(config-sbc-dbe-vdbe-h248)# exit
Router(config-sbc-dbe-vdbe)# attach-controllers <== Re-attach controller
Router(config-sbc-dbe-vdbe)# exit
Router(config-sbc-dbe)# activate <== Reactivate the DBE
Router(config-sbc-dbe)# end
The following example shows the modified running SBC configuration:
sbc mySbc dbe
vdbe global
local-port 2946
control-address h248 ipv4 172.25.2.26
controller h248 1
remote-address ipv4 172.25.2.243
remote-port 2946
transport udp
attach-controllers
activate
location-id 1
media-address ipv4 20.20.20.20
media-address ipv4 21.21.21.21