Sample Peer-to-Peer Configuration in an ECS Service


Sample Peer-to-Peer Configuration in an ECS Service
 
 
This appendix contains a sample Peer-to-Peer (P2P) configuration within an ECS service that includes the examples from the procedures in Peer-to-Peer Detection Configuration chapter.
 
configure
  license key "\
VER=1|C1M=SanDiskSDCFJ-4096|C1S=116919K2106K0235|DOI=1217844147|DOE=12\
33741747|ISS=1|NUM=26914|CMT=bngnc18,_chassis1,_|LSP=100000|LS0|LSF=100000|SIG=MCwCFFABNedEgGb8fAw8u0lvwxbWbJEBAhQvpG9YREYRFDDElzNUBuZv3kbHQw"
  system hostname host_name
  autoconfirm
  crash enable encrypted url 057285fc2112177777b5e7a716356c3e332f12f89
  card 1
     mode active psc
     exit
  card 4
     mode active psc
     exit
  card 16
     mode active psc
     exit
  require active-charging
  context local
     interface spio1
        ip address 1.2.3.4 255.255.255.0
        exit
     server ftpd
        exit
     ssh key 0d94d7812a224fd97a58d9c6dab47bd7b318e705d1ee91d45254ef1286be8ef5cc271cf3d05656652014d69a568d099664ed2354369ce6481772a2dbf0f37ad20dc1e2b765d8c9f041759c0e1e8a9e53e3975b1724329d1a2012bf0221cc132014a1224cdfc45ca7 len 461
     ssh key 75f41778bab0a173ee6e4e79c102638966c38eb5490fe46be064007e6951792a6abaf2733c4f4972318eb3b77f85d8925d4aae335dedfa0619f03cdfb3f35fef82cfa97eb1b2517654aad83afc2c7c5c08d76e2e4e9d8edaddd280f7963c227ff8f122ecefb9d8e0 len 457 type v2-dsa
     server sshd
        subsystem sftp
        exit
     server telnetd
        exit
     subscriber default
        exit
     administrator admin encrypted password abc123def456ghi ftp
     aaa group default
        exit
     gtpp group default
        exit
     ip route 0.0.0.0 0.0.0.0 1.2.3.4 spio1
        exit
     exit
  port ethernet 24/1
     no shutdown
     bind interface spio1 local
     exit
  ntp
     enable
     server 10.6.1.1
     exit
  snmp engine-id local 87e55bf69c4c479d
  active-charging service service_1
     p2p-detection protocol all
     p2p-dynamic-rules file /net/user/xmls/p2p-all-0.2.xml
      ruledef ch_actsync
        p2p protocol = actsync
        exit
      ruledef ch_aimini
        p2p protocol = aimini
        exit
      ruledef ch_applejuice
        p2p protocol = applejuice
        exit
     ruledef ch_ares
        p2p protocol = ares
        exit
      ruledef ch_battlefld
        p2p protocol = battlefld
        exit
     ruledef ch_bittorrent
        p2p protocol = bittorrent
        exit
     ruledef ch_ddlink
        p2p protocol = ddlink
        exit
     ruledef ch_directconnect
        p2p protocol = directconnect
        exit
     ruledef ch_edonkey
        p2p protocol = edonkey
        exit
     ruledef ch_fasttrack
        p2p protocol = fasttrack
        exit
     ruledef ch_feidian
        p2p protocol = feidian
        exit
     ruledef ch_filetopia
        p2p protocol = filetopia
        exit
      ruledef ch_freenet
        p2p protocol = freenet
        exit
      ruledef ch_fring
        p2p protocol = fring
        exit
     ruledef ch_gadugadu
        p2p protocol = gadugadu
        exit
     ruledef ch_gnutella
        p2p protocol = gnutella
        exit
     ruledef ch_gtalk
        p2p protocol = gtalk
        exit
     ruledef ch_halflife2
        p2p protocol = halflife2
        exit
     ruledef ch_hamachivpn
        p2p protocol = hamachivpn
        exit
      ruledef ch_iax
        p2p protocol = iax
        exit
     ruledef ch_imesh
        p2p protocol = imesh
        exit
      ruledef ch_iptv
        p2p protocol = iptv
        exit
     ruledef ch_irc
        p2p protocol = irc
        exit
      ruledef ch_iskoot
        p2p protocol = iskoot
        exit
     ruledef ch_jabber
        p2p protocol = jabber
        exit
     ruledef ch_manolito
        p2p protocol = manolito
        exit
     ruledef ch_msn
        p2p protocol = msn
        exit
     ruledef ch_mute
        p2p protocol = mute
        exit
      ruledef ch_nimbuzz
        p2p protocol = nimbuzz
        exit
     ruledef ch_oovoo
        p2p protocol = oovoo
        exit
      ruledef ch_openft
        p2p protocol = openft
        exit
     ruledef ch_orb
        p2p protocol = orb
        exit
     ruledef ch_oscar
        p2p protocol = oscar
        exit
      ruledef ch_paltalk
        p2p protocol = paltalk
        exit
     ruledef ch_pando
        p2p protocol = pando
        exit
      ruledef ch_pandora
        p2p protocol = pandora
        exit
     ruledef ch_popo
        p2p protocol = popo
        exit
     ruledef ch_pplive
        p2p protocol = pplive
        exit
     ruledef ch_ppstream
        p2p protocol = ppstream
        exit
     ruledef ch_qq
        p2p protocol = qq
        exit
      ruledef ch_qqgame
        p2p protocol = qqgame
        exit
     ruledef ch_qqlive
        p2p protocol = qqlive
        exit
      ruledef ch_quake
        p2p protocol = quake
        exit
      ruledef ch_rdp
        p2p protocol = rdp
        exit
      ruledef ch_secondlife
        p2p protocol = secondlife
        exit
     ruledef ch_skinny
        p2p protocol = skinny
        exit
     ruledef ch_skype
        p2p protocol = skype
        exit
     ruledef ch_slingbox
        p2p protocol = slingbox
        exit
     ruledef ch_sopcast
        p2p protocol = sopcast
        exit
     ruledef ch_soulseek
        p2p protocol = soulseek
        exit
     ruledef ch_steam
        p2p protocol = steam
        exit
      ruledef ch_tvants
        p2p protocol = tvants
        exit
     ruledef ch_tvuplayer
        p2p protocol = tvuplayer
        exit
     ruledef ch_uusee
        p2p protocol = uusee
        exit
     ruledef ch_vpnx
        p2p protocol = vpnx
        exit
     ruledef ch_vtun
        p2p protocol = vtun
        exit
      ruledef ch_warcft3
        p2p protocol = warcft3
        exit
     ruledef ch_winmx
        p2p protocol = winmx
        exit
     ruledef ch_winny
        p2p protocol = winny
        exit
     ruledef ch_wofwarcraft
        p2p protocol = wofwarcraft
        exit
     ruledef ch_xbox
        p2p protocol = xbox
        exit
     ruledef ch_yahoo
        p2p protocol = yahoo
        exit
     ruledef ch_zattoo
        p2p protocol = zattoo
        exit
     ruledef ch_voice_gtalk
        p2p protocol = gtalk
        p2p traffic-type = voice
        rule-application charging
        exit
     ruledef ch_voice_msn
        p2p protocol = msn
        p2p traffic-type = voice
        rule-application charging
        exit
     ruledef ch_voice_oscar
        p2p protocol = oscar
        p2p traffic-type = voice
        rule-application charging
        exit
     ruledef ch_voice_skype
        p2p protocol = skype
        p2p traffic-type = voice
        rule-application charging
        exit
     ruledef ch_voice_yahoo
        p2p protocol = yahoo
        p2p traffic-type = voice
        rule-application charging
        exit
     ruledef ch_voice
        p2p traffic-type = voice
        rule-application charging
        exit
     ruledef ch_non_voice_gtalk
        p2p protocol = gtalk
        p2p traffic-type != voice
        rule-application charging
        exit
     ruledef ch_non_voice_msn
        p2p protocol = msn
        p2p traffic-type != voice
        rule-application charging
        exit
     ruledef ch_non_voice_oscar
        p2p protocol = oscar
        p2p traffic-type != voice
        rule-application charging
        exit
     ruledef ch_non_voice_skype
        p2p protocol = skype
        p2p traffic-type != voice
        rule-application charging
        exit
     ruledef ch_non_voice_yahoo
        p2p protocol = yahoo
        p2p traffic-type != voice
        rule-application charging
        exit
     ruledef ch_non_voice
        p2p traffic-type != voice
        rule-application charging
        exit
     ruledef rt_dns-tcp
        tcp either-port = 53
        rule-application routing
        exit
     ruledef rt_dns-udp
        udp either-port = 53
        rule-application routing
        exit
     ruledef rt_ftp-control
        tcp either-port = 21
        rule-application routing
        exit
     ruledef rt_ftp-data
        tcp either-port = 20
        rule-application routing
        exit
     ruledef rt_http
        tcp either-port = 80
        rule-application routing
        exit
     ruledef rt_https
        tcp either-port = 443
        rule-application routing
        exit
     ruledef rt_imap
        tcp either-port = 143
        rule-application routing
        exit
     ruledef rt_mms-wapcl-ct
        wsp content type = application/vnd.wap.mms-message
        rule-application routing
        exit
     ruledef rt_mms_http_ct
        http content type = application/vnd.wap.mms-message
        rule-application routing
        exit
     ruledef rt_mms_http_url
        http url ends-with .mms
        rule-application routing
        exit
     ruledef rt_mms_wapcl-url
        wsp url ends-with .mms
        rule-application routing
        exit
     ruledef rt_pop3
        tcp either-port = 110
        rule-application routing
        exit
     ruledef rt_rtsp
        tcp either-port = 554
        rule-application routing
        exit
     ruledef rt_rtsp-8556
        tcp either-port = 8556
        rule-application routing
        exit
     ruledef rt_sdp
        sip content type = application/sdp
        rule-application routing
        exit
     ruledef rt_sip
        udp either-port = 5060
        rule-application routing
        exit
     ruledef rt_smtp
        tcp either-port = 25
        rule-application routing
        exit
     ruledef rt_wap2.0
        tcp either-port = 8080
        rule-application routing
        exit
     ruledef rt_wsp-connection-less
        udp either-port = 9200
        rule-application routing
        exit
     ruledef rt_wsp-connection-oriented
        udp either-port = 9201
        ip protocol = 51
        ip protocol = 50
        ip protocol = 47
        ip downlink = TRUE
        ip uplink = TRUE
        ip any-match = TRUE
        tcp any-match = TRUE
        udp dst-port = 5000
        rule-application routing
        exit
     charging-action ca_BWC
        flow limit-for-bandwidth direction downlink peak-data-rate 4000 peak-burst-size 1024 violate-action discard committed-data-rate 3200 committed-burst-size 512 exceed-action discard
        exit
     charging-action ca_nothing
        content-id 1
        exit
     charging-action ca_terminate
        flow action terminate-flow
        exit
     rulebase base_1
        action priority 500 ruledef ch_actsync charging-action ca_nothing
        action priority 501 ruledef ch_aimini charging-action ca_nothing
        action priority 502 ruledef ch_applejuice charging-action ca_nothing
        action priority 503 ruledef ch_ares charging-action ca_nothing
        action priority 504 ruledef ch_battlefld charging-action ca_nothing
        action priority 505 ruledef ch_bittorrent charging-action ca_nothing
        action priority 506 ruledef ch_ddlink charging-action ca_nothing
        action priority 507 ruledef ch_directconnect charging-action ca_nothing
        action priority 508 ruledef ch_edonkey charging-action ca_nothing
        action priority 509 ruledef ch_fasttrack charging-action ca_nothing
        action priority 510 ruledef ch_feidian charging-action ca_nothing
        action priority 511 ruledef ch_filetopia charging-action ca_nothing
        action priority 512 ruledef ch_freenet charging-action ca_nothing
        action priority 513 ruledef ch_fring charging-action ca_nothing
        action priority 514 ruledef ch_gadugadu charging-action ca_nothing
        action priority 515 ruledef ch_gnutella charging-action ca_nothing
        action priority 516 ruledef ch_gtalk charging-action ca_nothing
        action priority 517 ruledef ch_halflife2 charging-action ca_nothing
        action priority 518 ruledef ch_hamachivpn charging-action ca_nothing
        action priority 519 ruledef ch_iax charging-action ca_nothing
        action priority 520 ruledef ch_imesh charging-action ca_nothing
        action priority 521 ruledef ch_iptv charging-action ca_nothing
        action priority 522 ruledef ch_irc charging-action ca_nothing
        action priority 523 ruledef ch_iskoot charging-action ca_nothing
        action priority 524 ruledef ch_jabber charging-action ca_nothing
        action priority 525 ruledef ch_manolito charging-action ca_nothing
        action priority 526 ruledef ch_msn charging-action ca_nothing
        action priority 527 ruledef ch_mute charging-action ca_nothing
        action priority 528 ruledef ch_nimbuzz charging-action ca_nothing
        action priority 529 ruledef ch_oovoo charging-action ca_nothing
        action priority 530 ruledef ch_openft charging-action ca_nothing
        action priority 531 ruledef ch_orb charging-action ca_nothing
        action priority 532 ruledef ch_oscar charging-action ca_nothing
        action priority 533 ruledef ch_paltalk charging-action ca_nothing
        action priority 534 ruledef ch_pando charging-action ca_nothing
        action priority 535 ruledef ch_pandora charging-action ca_nothing
        action priority 536 ruledef ch_pplive charging-action ca_nothing
        action priority 537 ruledef ch_ppstream charging-action ca_nothing
        action priority 538 ruledef ch_qq charging-action ca_nothing
        action priority 539 ruledef ch_qqgame charging-action ca_nothing
        action priority 540 ruledef ch_qqlive charging-action ca_nothing
        action priority 541 ruledef ch_quake charging-action ca_nothing
        action priority 542 ruledef ch_rdp charging-action ca_nothing
        action priority 543 ruledef ch_secondlife charging-action ca_nothing
        action priority 544 ruledef ch_skinny charging-action ca_nothing
        action priority 545 ruledef ch_skype charging-action ca_nothing
        action priority 546 ruledef ch_slingbox charging-action ca_nothing
        action priority 547 ruledef ch_sopcast charging-action ca_nothing
        action priority 548 ruledef ch_soulseek charging-action ca_nothing
        action priority 549 ruledef ch_steam charging-action ca_nothing
        action priority 550 ruledef ch_tvants charging-action ca_nothing
        action priority 551 ruledef ch_tvuplayer charging-action ca_nothing
        action priority 552 ruledef ch_uusee charging-action ca_nothing
        action priority 553 ruledef ch_vpnx charging-action ca_nothing
        action priority 554 ruledef ch_vtun charging-action ca_nothing
        action priority 555 ruledef ch_warcft3 charging-action ca_nothing
        action priority 556 ruledef ch_winmx charging-action ca_nothing
        action priority 557 ruledef ch_winny charging-action ca_nothing
        action priority 558 ruledef ch_wofwarcraft charging-action ca_nothing
        action priority 559 ruledef ch_xbox charging-action ca_nothing
        action priority 560 ruledef ch_yahoo charging-action ca_nothing
        action priority 561 ruledef ch_zattoo charging-action ca_nothing
        action priority 562 ruledef ch_voice_oscar charging-action ca_nothing
        action priority 563 ruledef ch_voice_gtalk charging-action ca_nothing
        action priority 564 ruledef ch_voice_msn charging-action ca_nothing
        action priority 565 ruledef ch_voice_skype charging-action ca_nothing
        action priority 566 ruledef ch_voice_yahoo charging-action ca_nothing
        action priority 567 ruledef ch_non_voice_oscar charging-action ca_nothing
        action priority 568 ruledef ch_non_voice_gtalk charging-action ca_nothing
        action priority 569 ruledef ch_non_voice_msn charging-action ca_nothing
        action priority 570 ruledef ch_non_voice_skype charging-action ca_nothing
        action priority 571 ruledef ch_non_voice_yahoo charging-action ca_nothing
        action priority 572 ruledef ch_voice charging-action ca_nothing
        action priority 573 ruledef ch_non_voice charging-action ca_nothing
        route priority 10 ruledef rt_http analyzer http
        route priority 12 ruledef rt_wap2.0 analyzer http
        route priority 15 ruledef rt_https analyzer secure-http
        route priority 20 ruledef rt_imap analyzer imap
        route priority 25 ruledef rt_pop3 analyzer pop3
        route priority 30 ruledef rt_smtp analyzer smtp
        route priority 35 ruledef rt_dns-udp analyzer dns
        route priority 36 ruledef rt_dns-tcp analyzer dns
        route priority 40 ruledef rt_ftp-control analyzer ftp-control
        route priority 41 ruledef rt_ftp-data analyzer ftp-data
        route priority 45 ruledef rt_rtsp analyzer rtsp
        route priority 46 ruledef rt_rtsp-8556 analyzer rtsp
        route priority 50 ruledef rt_sip analyzer sip
        route priority 55 ruledef rt_wsp-connection-less analyzer wsp-connection-less
        route priority 56 ruledef rt_wsp-connection-oriented analyzer wsp-connection-oriented
        route priority 60 ruledef rt_sdp analyzer sdp
        route priority 65 ruledef rt_mms-wapcl-ct analyzer mms
        route priority 66 ruledef rt_mms_wapcl-url analyzer mms
        route priority 67 ruledef rt_mms_http_ct analyzer mms
        route priority 68 ruledef rt_mms_http_url analyzer mms
        rtp dynamic-flow-detection
        p2p dynamic-flow-detection
        exit
     rulebase default
        exit
     exit
  context isp
     ip access-list list_1
        redirect css service service_1   ip any any
        exit
     ip pool pool1 9.8.7.6 255.255.255.0 static
     interface inet
        ip address 8.7.6.5 255.255.255.0
        exit
     subscriber default
        exit
     aaa group default
        exit
     gtpp group default
        exit
     ip route 0.0.0.0 0.0.0.0 7.6.5.4 inet
        exit
     exit
  context ggsn
     interface ggsn-ingress
        ip address 6.5.4.3 255.255.255.0
        exit
     subscriber default
        exit
     apn radius.com
        selection-mode sent-by-ms
        accounting-mode none
        ip access-group list_1 in
        ip access-group list_1 out
        ip source-violation ignore
        ip context-name isp
        active-charging rulebase base_1
        exit
     aaa group default
        exit
     gtpp group default
        exit
     ggsn-service ggsn
        retransmission-timeout 1
        max-retransmission 1
        gtpu udp-checksum insert
        plmn unlisted-sgsn home
        bind address 5.4.3.2
        exit
     exit
  port ethernet 17/1
     medium speed 1000 duplex full
     no shutdown
     bind interface ggsn-ingress ggsn
     exit
  port ethernet 20/1
     medium speed 1000 duplex full
     no shutdown
     bind interface inet isp
     exit
  task facility sessmgr start aggressive
  task facility acsmgr start aggressive
  end
 
 
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883