Cisco IOS XR Session Border Controller Configuration Guide Release 3.6
End-to-End SBC Configuration Example on a Cisco XR 12000 Series Router

Table Of Contents

End-to-End SBC Configuration Example on a Cisco XR 12000 Series Router


End-to-End SBC Configuration Example on a Cisco XR 12000 Series Router


This section contains a complete Cisco XR 12000 Series Router SBC configuration for the topology shown in Figure 17.

Figure 17 SBC on Cisco XR 12000 Series Router Topology


hostname sbc-node9 
line template 1
 exec-timeout 0 0 
 transport input all 
 transport output all 
!
line console
 exec-timeout 0 0 
!
exception choice 1 compress on filepath disk0:/ 
exception choice 2 compress on filepath disk0:/tmp 
logging on 
logging console debugging 
service timestamps log datetime msec 
service timestamps debug datetime msec 
placement program isis
 affinity location-set 0/0/CPU0 default 
!
placement program ospf
 affinity location-set 0/0/CPU0 default 
!
placement program default
 affinity location-set 0/0/CPU0 default 
!
telnet vrf default ipv4 server max-servers 10 
username cisco123
 password 7 094F471A1A0A4640584C 
 group root-system 
!
aaa authentication login default local 
cdp 
vty-pool default 0 4 line-template 1 
router-id Loopback0 
ntp
 server 1.1.1.1 source Loopback0 
!
interface Loopback0
 ipv4 address 1.1.1.12 255.255.255.255 
!
interface MgmtEth0/0/CPU0/0
 ipv4 address 172.20.210.176 255.255.255.128 
!
interface MgmtEth0/0/CPU0/1
 shutdown 
!
interface MgmtEth0/0/CPU0/2
 shutdown 
!
interface MgmtEth0/3/CPU0/0
 shutdown 
!
interface MgmtEth0/3/CPU0/1
 shutdown 
!
interface MgmtEth0/3/CPU0/2
 shutdown 
!
interface GigabitEthernet0/5/0/0
 description connection to core node1 
 cdp 
 ipv4 address 192.168.133.2 255.255.255.0 
 negotiation auto 
 load-interval 30 
!
interface GigabitEthernet0/5/0/1
 description connect to 7206-9 
 cdp 
 ipv4 address 192.168.233.1 255.255.255.0 
 negotiation auto 
 load-interval 30 
!
interface GigabitEthernet0/5/0/2
 shutdown 
!
interface GigabitEthernet0/5/0/3
 shutdown 
!
interface SBC1
 description ==== DOMAIN-2 Network ===== 
 ipv4 address 88.88.133.1 255.255.255.0 
 service-location preferred-active 0/3/CPU0 
!
interface SBC2
 description ==== DOMAIN-1 Network ===== 
 ipv4 address 88.88.134.1 255.255.255.0 
 service-location preferred-active 0/3/CPU0 
!
router static
 address-family ipv4 unicast
  171.0.0.0/8 172.20.210.129 
  172.0.0.0/8 172.20.210.129 
 !
!
router isis core
 is-type level-2-only 
 net 50.0001.0000.0000.0012.00 
 nsf cisco 
 address-family ipv4 unicast
  redistribute ospf vlan109 level-2 metric 20 
 !
 interface SBC1
  passive 
  address-family ipv4 unicast
  !
 !
 interface SBC2
  passive 
  address-family ipv4 unicast
  !
 !
 interface Loopback0
  passive 
  address-family ipv4 unicast
  !
 !
 interface GigabitEthernet0/5/0/0
  address-family ipv4 unicast
  !
 !
!
router ospf vlan109
 log adjacency changes detail 
 nsf cisco 
 redistribute isis core metric 10 
 area 0
  interface GigabitEthernet0/5/0/1
  !
  interface SBC1
   passive 
  !
  interface SBC2
   passive 
  !
 !
!
sbc ABC
 service-location preferred-active 0/3/CPU0 
 sbe
  media-gateway ipv4 200.200.201.101
   codecs m=audio 1234 RTP/AVP 0 18,a=rtpmap:0 PCMU/8000,a=rtpmap:18 G729/8000 
   transcoder 
  !
  control address h248 index 1
   ipv4 88.88.133.2 
   port 2944 
   transport udp 
  !
  activate 
  adjacency sip 7960-8
   signaling-address ipv4 88.88.134.11 
   signaling-port 5060 
   remote-address ipv4 201.201.201.189/32 
   signaling-peer 201.201.201.189 
   signaling-peer-port 5060 
   account DOMAIN-1
   attach 
  !
  adjacency sip eyeBEAM-1
   signaling-address ipv4 88.88.133.11 
   signaling-port 5060 
   remote-address ipv4 200.200.200.7/32 
   signaling-peer 200.200.200.7 
   signaling-peer-port 5061 
   account DOMAIN-2
   attach 
  !
  adjacency sip SIP-AS5350-9
   signaling-address ipv4 88.88.134.10 
   signaling-port 5060 
   remote-address ipv4 201.201.201.190/32 
   signaling-peer 201.201.201.190 
   signaling-peer-port 5060 
   account DOMAIN-1
   attach 
  !
  cac-policy-set 1
   first-cac-scope global 
   first-cac-table WHITE-LIST-BY-CATEGORY 
   cac-table STANDARD-POLICY-LIST
    match-type policy-set 
    entry 1
     match-value global 
     action cac-complete 
     max-num-calls 2 
    !
   !
   cac-table WHITE-LIST-BY-CATEGORY
    match-type category 
    entry 1
     match-value EMERGENCY 
     action cac-complete 
    !
    entry 2
     match-value NON-EMERGENCY 
     action next-table STANDARD-POLICY-LIST 
    !
   !
   complete
  !
  active-cac-policy-set 1 
  call-policy-set 1
   first-call-routing-table ROUTE-DEST-NUM 
   first-number-analysis-table NA-CATEGORIZE-DNIS 
   rtg-dst-address-table ROUTE-DEST-NUM
    entry 1
     action complete 
     dst-adjacency SIP-AS5350-9 
     match-address 234501 
     prefix 
    !
    entry 2
     action complete 
     dst-adjacency 7960-8 
     match-address 2345031234 
    !
    entry 3
     action complete 
     dst-adjacency eyeBEAM-1 
     match-address 2335031234 
    !
    entry 4
     action complete 
     dst-adjacency SIP-AS5350-9 
     match-address 911 
    !
   !
   na-dst-prefix-table NA-CATEGORIZE-DNIS
    entry 1
     action accept 
     match-prefix 911 
     category EMERGENCY 
    !
    entry 2
     action accept 
     match-prefix 233 
     category NON-EMERGENCY 
    !
   !
   complete 
  !
  active-call-policy-set 1 
 !
 dbe
  media-address ipv4 88.88.133.100 
  activate 
 !
!
end