Table Of Contents
SSG Configuration Example
SSG Configuration Example
Example A-1 is a sample SSG configuration for the Cisco 10000 series router based on the topology in Figure A-1. The configuration includes AAA, PPP, SSG, and RADIUS. The SSG configuration enables the Port-Bundle Host Key, captive portal, QoS, and Open Garden features.
Figure A-1 SSG Example Topology
Example A-1 Cisco 10000 Router SSG Configuration
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
no service password-encryption
boot system disk0:c10k2-p11-mz.bilgepump
logging buffered 4096 debugging
username cisco password 0 cisco
clock summer-time PST recurring
facility-alarm intake-temperature major 49
no facility-alarm intake-temperature minor
facility-alarm core-temperature major 53
facility-alarm core-temperature minor 45
aaa group server radius SSG-RADIUS
server 192.168.2.62 auth-port 1812 acct-port 1813
aaa group server radius SSG-RADIUS-RISM
server-private 192.168.2.62 auth-port 1812 acct-port 1813 key cisco
aaa authentication banner CCC !!! Cisco C10K PRE2 SSG !!!
aaa authentication fail-message CC !!! Unauthorized Access Is Not Permitted !!!
aaa authentication password-prompt Password:
aaa authentication username-prompt Username:
aaa authentication login default local group SSG-RADIUS
aaa authentication login console local
aaa authentication ppp default group SSG-RADIUS
aaa authorization exec vty none
aaa authorization network default group SSG-RADIUS
aaa accounting network default start-stop group SSG-RADIUS
ip host rism 192.168.2.62
ip host sesm 192.168.2.50
ip name-server 172.16.168.183
ip name-server 172.31.226.120
mpls ldp log-neighbor-changes
ssg accounting interval 300
ssg default-network 192.168.2.50 255.255.255.255
ssg service-password servicecisco
ssg radius-helper auth-port 1812 acct-port 1813
ssg radius-helper key cisco
ssg port-map destination range 80 to 80 ip 192.168.2.50
ssg port-map source ip 192.168.2.60
ssg bind service video-prepaid 10.1.1.51
ssg bind service zap-com 10.1.1.51
ssg bind service opengarden-helpdesk 10.1.5.51
ssg bind service video-silver 10.1.1.51
ssg bind service proxy-service 10.1.1.51
ssg bind service video-gold 10.1.1.51
ssg bind service internet 10.1.1.51
ssg bind service video-bronze 10.1.1.51
ssg bind direction uplink GigabitEthernet1/0/0.4
ssg bind direction uplink GigabitEthernet1/0/0.5
ssg bind direction uplink GigabitEthernet1/0/0.1
ssg bind direction uplink GigabitEthernet1/0/0.2
ssg bind direction uplink GigabitEthernet1/0/0.3
ssg open-garden opengarden-helpdesk
network-list service-networks
network 192.168.20.0 255.255.255.0
network 192.168.10.0 255.255.255.0
server-group captive-portal
redirect port-list user-tcp-ports to captive-portal
redirect unauthorized-service destination network-list service-networks to captive-portal
redirect unauthenticated-user to captive-portal
redirect unauthorized-service to captive-portal
redirect prepaid-user to RECHARGE
ssg service-search-order local remote
local-profile opengarden-helpdesk
attribute 26 9 251 "Omobile.users.com"
attribute 26 9 251 "R35.1.5.1;255.255.255.255"
buffers small permanent 1500
buffers middle permanent 12000
buffers big permanent 8000
description LOOPBACK for DSL/PPPoA/PAT users
ip address 192.168.201.1 255.255.255.255
interface FastEthernet0/0/0
description Connected to LAB Backbone
ip address 192.168.2.60 255.255.255.0
interface GigabitEthernet1/0/0
interface GigabitEthernet1/0/0.1
description SSG Service internet
ip address 10.1.1.1 255.255.255.0
interface GigabitEthernet1/0/0.2
ip address 10.1.2.1 255.255.255.0
interface GigabitEthernet1/0/0.3
ip address 10.1.3.1 255.255.255.0
!
interface GigabitEthernet1/0/0.4
ip address 10.1.4.1 255.255.255.0
interface GigabitEthernet1/0/0.5
ip address 10.1.5.1 255.255.255.0
interface GigabitEthernet1/0/0.6
ip address 10.1.6.1 255.255.255.0
interface GigabitEthernet1/0/0.7
ip address 10.1.7.1 255.255.255.0
interface GigabitEthernet1/0/0.8
ip address 10.1.8.1 255.255.255.0
interface GigabitEthernet1/0/0.9
ip address 10.1.9.1 255.255.255.0
interface GigabitEthernet1/0/0.10
description SSG OpenGarden Service Interface
ip address 10.1.10.1 255.255.255.0
interface ATM8/0/0.1 point-to-point
encapsulation aal5mux ppp Virtual-Template1
interface Virtual-Template1
peer default ip address pool SSG-POOL
ppp authentication pap chap
ip local pool SSG-POOL 10.60.1.1 10.60.1.100
ip route 0.0.0.0 0.0.0.0 192.168.2.1
ip route 10.80.1.1 255.255.0.0 11.1.1.51
ip radius source-interface FastEthernet0/0/0
access-list 101 permit ip 10.0.0.0 0.255.255.255 172.25.0.0 0.0.255.255
access-list 102 permit ip host 192.168.2.50 any
access-list 102 permit ip any host 192.168.2.50
access-list 103 permit ip host 10.60.1.2 any
access-list 104 permit tcp any any
access-list 105 permit ip 10.60.1.0 0.0.0.255 any
arp 10.27.1.3 3434.3434.3434 ARPA
snmp-server community public RW
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
snmp-server enable traps alarms
radius-server host 192.168.2.62 auth-port 1812 acct-port 1813 key cisco
radius-server retransmit 5
radius-server attribute nas-port format d
radius-server authorization permit missing Service-Type
radius-server vsa send accounting
radius-server vsa send authentication
alias exec cpu show proc cpu history
alias exec dcopy copy running-config disk0:ssg-c10k.txt
alias exec zcopy copy running-config tftp://192.168.2.50/rohit/ssg-c10k.txt
ntp clock-period 17181406