Table of Contents
CMX Sample Configurations
RADIUS Load Balancer Sample Configuration
Service Selection Gateway Sample Configuration
Firewall Load Balancer Sample Configuration
CMX Sample Configurations
This chapter provides sample configurations for the Cisco Mobile Exchange (CMX).
Note Samples show configurations for the RADIUS Load Balancer (RLB), Service Selection Gateway (SSG),
and Firewall Load Balancer (FWLB). Configurations for the Content Service Gateway (CSG) are
embedded in the samples for RLB and FWLB. The AAA-RLB configures is contained in the FWLB
sample. The samples listed in this section do not reflect the complete topology for the CMX framework
and its redundant configuration.
For a complete description of the CMX commands in this chapter, refer to the Cisco IOS Mobile Wireless Command Reference . To locate documentation of other commands that appear in this chapter, use the command reference master index or search online.
This chapter includes the following sections:
RADIUS Load Balancer Sample Configuration
Building configuration...
Current configuration : 15127 bytes
! Last configuration change at 08:02:50 EDT Thu Aug 8 2002
service timestamps debug datetime localtime show-timezone
! Configures time stamps
service timestamps log datetime localtime show-timezone
! for debug and log messages
no service password-encryption
boot system flash sup-bootflash:c6sup22-psv-mz.sticky
username cisco password 0 lab
clock summer-time EDT recurring
! CSG configuration begins here...
ip csg accounting GGSN-BMA
ip slb route 192.168.0.0 255.0.0.0 framed-ip !
Enables IOS SLB to inspect packets for
! RADIUS framed IP sticky routing
ip slb probe PROBE1 ping
! Configures probe to verify connectivity and detect failures
ip slb serverfarm GPRS-SSGs
! Configures server farms for the SSG cluster
failaction radius reassign
real 10.113.0.16
!Configures real server in SSG server farm
faildetect numconns 8 numclients 1
real 10.113.0.24
!Configures real server in SSG server farm
faildetect numconns 8 numclients 1
real 10.113.0.25
! Configures real server in SSG server farm
faildetect numconns 8 numclients 1
real 10.113.0.26
! Configures real server in SSG server farm
faildetect numconns 8 numclients 1
ip slb vserver GPRS-RLB-ACCT
! Configures virtual server for the SSG server farm
virtual 10.7.7.15 udp 1646 service radius
sticky radius framed-ip group 1
idle radius framed-ip 3600
purge radius framed-ip acct on-off
! Prevents RLB from deleting information about
! sticky connections caused by messages from GGSN
access Vlan16 route framed-ip
replicate casa 10.16.16.22 10.16.16.23 33333
inservice standby rlb-csg
ip slb vserver GPRS-RLB-AR
virtual 10.7.7.15 udp 1645 service radius
sticky radius framed-ip group 1
! Group 1 places the virtual server in the
! specified sticky group for coupling of
! services. In essence, the `group' keyword and
! group-id argument tie multiple virtual servers
! together. Valid values range from 0 to 255.
idle radius framed-ip 3600
! Specifies the number of seconds the RLB keeps an entry
purge radius framed-ip acct on-off
access Vlan16 route framed-ip
replicate casa 10.16.16.22 10.16.16.23 22222
inservice standby rlb-csg
no spanning-tree vlan 16-17
spanning-tree vlan 113,256 priority 8192
spanning-tree vlan 2,14,113,256 forward-time 5
module ContentSwitchingModule 3
ip address 10.17.17.29 255.255.255.0
route 192.168.0.0 255.0.0.0 gateway 10.17.17.15
ip address 10.16.16.29 255.255.255.0
route 0.0.0.0 0.0.0.0 gateway 10.16.16.15
csg filter GGSN-BMA string CSG1-IP
virtual 0.0.0.0 0.0.0.0 any
replicate csrp connection
virtual 0.0.0.0 0.0.0.0 any
replicate csrp connection
error-detection swbus-timeout-duration 10
error-detection swbus-stall-duration 3
vlan 2,14,15,16,17,113,256
description
trunk from RLB1 to RLB2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,14,15,16,17,113,256
description
trunk from RLB1 to FWLB1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
description
trunk from RLB1 to FWLB2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface GigabitEthernet1/2
description
trunk port to FWLB1 Gig1/2
interface FastEthernet4/1
description
trunk port to GGSN
duplex full
! On all Ethernet interfaces, set speed and duplex upfront to avoid any
! auto negotiation when interface is brought up
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,14
interface FastEthernet4/2
description
port-channel 1 trunk to RLB2 Fast4/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,14,15,16,17,113,256
interface FastEthernet4/3
description
port-channel 1 trunk to RLB2 Fast4/3
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 2,14,15,16,17,113,256
interface FastEthernet4/5
description
port-channel 2 to FWLB1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/6
description
port-channel 2 to FWLB1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/9
description
port-channel 3 to FWLB2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/10
description
port-channel 3 to FWLB2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/13
description
SSG4 0/0 Host Side
switchport access vlan 113
interface FastEthernet4/14
description
SSG3 0/0 Host Side
switchport access vlan 113
interface FastEthernet4/16
description
SSG6 0/0 Host Side
switchport access vlan 113
interface FastEthernet4/17
description
SSG5 0/0 Host Side
switchport access vlan 113
description
VLAN 2 from RLBs to GGSNs
ip address 10.2.2.22 255.255.255.0
ip policy route-map ggsn-to-csg
description
VLAN 14 from RLBs to GGSNs
ip address 10.14.14.22 255.255.255.0
ip policy route-map ggsn-to-csg
description
Management VLAN 15
ip address 10.15.15.10 255.255.255.0
! Configure 10.15.15.11 on RLB2 router
ip access-group 103 out
! denies user data traffic over management VLAN 15
standby delay minimum 0 reload 0
standby 15 ip 10.15.15.15
! HSRP IP address, group 15 must be same on RLB2 VLAN 15
standby 15 priority 110 !
Sets priority for choosing active router; highest number
! represents highest priority; set lower priority on RLB2.
standby 15 preempt !
Set so that when local router has higher priority than active
! router, it assumes control as active router.
ip address 10.16.16.22 255.255.255.0
standby delay minimum 0 reload 0
standby 16 ip 10.16.16.15
! HSRP IP address, group 16 must be the same on RLB2
standby 16 priority 110
! Configure priority 100 on RLB2 router
standby 16 preempt delay sync 5
! Used to allow enough time for the RLB to exchange
standby 16 authentication rlb-csg
! Configure same group and authentication on RLB2
ip address 10.17.17.22 255.255.255.0
standby delay minimum 0 reload 0
standby 17 ip 10.17.17.15
! HSRP IP address, group 17 must be same on RLB2 VLAN 17
standby 17 priority 110
! Configure lower priority on RLB2 router
standby 17 authentication msfc-csg
! Configure same on RLB2 router
description
VLAN 113 to SSGs BVI2
ip address 10.113.0.22 255.255.255.0
ip policy route-map ssg-to-csg
standby delay minimum 0 reload 0
standby 113 ip 10.113.0.15
standby 113 authentication RLB-bvi
description
VLAN 256 from CSG1 to CSG2
redistribute connected metric 20 subnets
! Specifies metric for OSPF to force traffic
! to go to RLB1; if RLB1 fails, traffic is
! routed to RLB2.
redistribute static metric 20 subnets
network 10.2.2.0 0.0.0.255 area 0
network 10.14.14.0 0.0.0.255 area 0
ip route 0.0.0.0 0.0.0.0 10.15.15.15
! non-user traffic to HSRP address on VLAN 15 FWLB
access-list 103 permit icmp any host 10.17.17.30
route-map ssg-to-csg permit 20
set ip next-hop 10.16.16.30
! CSG server 16 alias address
route-map ggsn-to-csg permit 20
set ip next-hop 10.17.17.30
! CSG client 17 alias address
snmp-server community public RO
snmp-server community private RW
snmp-server host 13.0.0.1 public
! 13.0.0.1 address of network management server
monitor session 1 source interface Po1
monitor session 1 destination interface Fa4/48
Service Selection Gateway Sample Configuration
Building configuration...
Current configuration : 4099 bytes
service timestamps debug datetime localtime show-timezone
service timestamps log datetime localtime show-timezone
no service password-encryption
logging buffered 1234567 debugging
aaa new-model
! enables authentication, authorization, and accounting (AAA)
aaa authentication ppp default group radius
! specifies AAA for PPP interfaces
! aaa authorization commands restrict user access to a network:
aaa authorization config-commands
aaa authorization network default group radius
aaa authorization network ssg_aaa_author_internal_list none
aaa authorization configuration default group radius
! aaa accounting commands enable AAA accounting for billing or security when using RADIUS:
aaa accounting network default start-stop group radius
aaa accounting system default start-stop broadcast group radius
username cisco password 0 cisco
clock summer-time EDT recurring
ip ftp source-interface BVI1
ip ftp username pdsn-test
vpdn authen-before-forward
! Baseline SSG Configuration:
ssg pass-through filter 1 uplink
ssg pass-through filter 2 downlink
ssg default-network 10.13.0.0 255.255.255.0
ssg service-password cisco
ssg radius-helper auth-port 1645 acct-port 1646
ssg radius-helper key gociscogo
ssg port-map destination range 8080 to 8100 ip 10.13.0.13
ssg port-map source ip 10.111.0.25
ssg bind service opengarden1 10.111.0.15
ssg bind service ssg-gprs-passthru-service1 10.111.0.15
ssg bind service ssg-cisco-passthrough-service1 10.111.0.15
ssg bind service ssg-gprs-walled-service1 10.111.0.15
ssg bind direction uplink BVI1
ssg bind direction downlink BVI2
ssg open-garden opengarden1
server-port auth 1645 acct 1646
forward accounting-start-stop
ssg tcp-redirect
! TCP redirect configuration
server-group RedirectServer
redirect unauthenticated-user to RedirectServer
local-profile opengarden1
! local profile configuration
attribute 26 9 251 "R10.115.0.0;255.0.0.0"
bridge irb
! routes a protocol between routed interfaces and bridge groups
! Layer 2/Layer 3 interface configuration:
interface GigabitEthernet0/0
interface GigabitEthernet0/1
interface FastEthernet1/0
interface FastEthernet1/1
! To create a bridged virtual interface to other routed interfaces:
mac-address 0009.1153.1111
ip address 10.111.0.25 255.255.255.0
mac-address 0009.1153.1113
ip address 10.113.0.25 255.255.255.0
ip default-gateway 10.18.56.1
! defines default gateway when IP routing is disabled
ip route 0.0.0.0 0.0.0.0 10.111.0.15
ip route 10.2.2.0 255.255.255.0 10.113.0.15
ip route 10.5.5.19 255.255.255.255 10.113.0.15
ip route 5.5.5.33 255.255.255.255 10.113.0.15
ip route 10.7.7.15 255.255.255.255 10.113.0.15
ip route 10.77.208.0 255.255.255.0 10.111.0.15
ip route 10.89.240.0 255.255.254.0 10.111.0.15
ip route 10.11.11.0 255.255.255.0 10.111.0.15
ip route 10.14.14.0 255.255.255.0 10.113.0.15
ip route 10.101.0.0 255.0.0.0 10.111.0.15
ip route 172.19.0.0 255.0.0.0 10.111.0.15
ip route 192.168.0.0 255.0.0.0 10.113.0.15
access-list 1 permit 10.113.0.23
access-list 1 permit 10.113.0.22
access-list 1 permit 10.115.0.12
snmp-server community public RO
snmp-server community private RW
! SSG RADIUS server configuration:
radius-server host 172.20.51.11 auth-port 1645 acct-port 1646
radius-server retransmit 3
radius-server key gociscogo
! Layer 2/3 bridge interface configuration:
Firewall Load Balancer Sample Configuration
Building configuration...
Current configuration : 13839 bytes
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
diagnostic level complete
ip csg accounting EVENT-BMA
ip slb probe PING-PROBE1 ping
address 10.111.0.16
! Configures probe for SSG 3
ip slb probe PING-PROBE2 ping
address 10.111.0.24
! Configures probe for SSG 4
ip slb probe PING-PROBE3 ping
address 10.111.0.25
! Configures probe for SSG 5
ip slb probe PING-PROBE4 ping
address 10.111.0.26
! Configures probe for SSG 6
ip slb probe PROBE-AAA ping
ip slb serverfarm AAA
! Configures the AAA server farm
real 10.18.41.70
! Configures the real AAA server address
faildetect numconns 8 numclients 1
real 10.18.61.17
! Configures the redundant real AAA server address
faildetect numconns 8 numclients 1
ip slb firewallfarm FIRE
! Configures the firewall server farm
inservice standby fwlb-ssg
! See the standby 111 name fwlb-ssg on interface VLAN 111
real 10.111.0.16
! IP address of SSG 3
real 10.111.0.24
! IP ddress of SSG 4
real 10.111.0.25
! IP ddress of SSG 5
real 10.111.0.26
! IP ddress of SSG 6
protocol tcp
! Configures TCP protocol and sticky connections
protocol datagram
! Configures datagram protocol and sticky connections
replicate casa 10.111.0.17 10.111.0.18 22222
ip slb vserver AAA-RLB
! Configures virtual server for load-balancing AAA messages
virtual 10.120.0.15 udp 0 service radius
! SSGs point to this address and port
inservice standby fwlb-ssg
! Configures Spanning Tree Protocol for FWLB1 VLANs
spanning-tree vlan 7,111,121,257 priority 8192
Configure priority on FWLB2 to 16384
spanning-tree vlan 111 forward-time 7
spanning-tree vlan 121 forward-time 7
module ContentSwitchingModule 3
ip address 107.0.0.32 255.0.0.0
route 192.168.0.0 255.0.0.0 gateway 10.107.0.15
route 10.111.0.0 255.0.0.0 gateway 10.107.0.15
route 10.113.0.0 255.0.0.0 gateway 10.107.0.15
route 10.0.0.0 255.0.0.0 gateway 10.107.0.15
route 10.122.0.0 255.0.0.0 gateway 10.107.0.15
route 10.120.0.15 255.255.255.255 gateway 10.107.0.15
ip address 10.121.0.32 255.0.0.0
route 0.0.0.0 0.0.0.0 gateway 10.121.0.11
match protocol http url *cisco*
match protocol http url *billing*
csg filter EVENT-BMA type http string CSG3-HTTP
csg filter EVENT-BMA string CSG3-IP
virtual 10.115.0.0 255.0.0.0 any
replicate csrp connection
virtual 10.117.0.0 255.0.0.0 any
replicate csrp connection
error-detection swbus-timeout-duration 10
error-detection swbus-stall-duration 3
! Configuration of physical interfaces follows...
description
trunk from FWLB1 to FWLB2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,111,257
description
trunk from FWLB1 to RLB1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
description
trunk from FWLB1 to RLB2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/1
description
port-channel 1 trunk to FWLB2 Fast4/1
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,111,257
interface FastEthernet4/2
description
port-channel 1 trunk to FWLB2 Fast4/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 7,111,257
interface FastEthernet4/5
description
port-channel 2 trunk to RLB1 Fast4/5
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/6
description
port-channel 2 trunk to RLB1 Fast4/6
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/9
description
port-channel 3 trunk to RLB2 Fast4/9
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/10
description
port-channel 3 trunk to RLB2 Fast4/10
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 15
interface FastEthernet4/14
description
SSG3 Service Side
switchport access vlan 111
interface FastEthernet4/16
description
SSG6 1/0 Service Side
switchport access vlan 111
interface FastEthernet4/17
description
SSG5 1/0 Service Side
switchport access vlan 111
interface FastEthernet4/48
description
trunk port to core router (services)
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 121
ip address 10.107.0.17 255.255.255.0
standby 7 preempt delay minimum 25
standby 7 authentication FwLB-WCC
description
Management VLAN 15
ip address 10.15.15.20 255.255.255.0
! Configure 10.15.15.21 on FWLB2 router
standby delay minimum 0 reload 0
standby 5 ip 10.15.15.25
! HSRP IP address, group 5 must be same on FWLB2 VLAN 15
standby 5 priority 110
! Sets priority for choosing active router; highest number
! represents highest priority; set lower priority on FWLB2.
standby 5 preempt
! Set so that when local router has higher priority than active
! router, it assumes control as active router.
description
VLAN 111 to SSGs BVI1
ip address 10.111.0.17 255.255.255.0
standby 111 ip 10.111.0.15
standby 111 preempt delay sync 20
standby 111 authentication Fwlb-bvi
standby 111 name fwlb-ssg
ip default-gateway 10.18.56.1
ip route 10.13.0.0 255.0.0.0 10.107.0.30
! Directs user traffic to CSG for billing
ip route 10.113.0.0 255.0.0.0 10.111.0.25
ip route 10.122.0.16 255.255.255.255 10.111.0.16
ip route 10.122.0.25 255.255.255.255 10.111.0.25
ip route 10.122.0.26 255.255.255.255 10.111.0.26
ip route 192.168.0.0 255.0.0.0 10.111.0.24
access-list 1 permit 192.168.0.2
snmp-server community public RO
snmp-server community private RW
snmp-server enable traps snmp-server host 172.18.56.40 public
Posted: Tue Dec 31 04:32:07 PST 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement .