Configuring Dynamic Software Upgrade
patch plugin plugin_name filepath
For example:
[local]asr5k# patch
plugin p2p /flash/libp2p-1.97.354.so.tgz
install plugin plugin_name patch_file_name
For example:
[local]asr5k# install
plugin p2p patch_libp2p-1.97.354.so.tgz
patch file patch_libp2p-1.97.354.so.tgz
installed successfully
IMPORTANT:
dir /flash/patch/p2p/libp2p-1.97.354.so
show plugin plugin_name
For example:
show plugin p2p
IMPORTANT:
plugin <plugin_name>
module priority <number> version <module_version>
For example:
[local]asr5k# configure
[local]asr5k(config)# plugin
p2p
[local]asr5k(plugin-p2p)# module
priority 1 version 1.97.354
The plugin name must
match the name of the plugin which has been copied to and unpacked
on the system or an error message is displayed.
IMPORTANT:
update module <plugin_name>
For example:
[local]asr5k# update
module p2p
Update to module p2p version
1.97.354 successful
When the above command
is issued, the priorities configured using module priority command
is converted into a Module priority List and then the module with
least priority is loaded. If it fails to load, the module with next higher
priority is attempted and so on till a successful load occurs.
IMPORTANT:
rollback module <plugin_name>
For example:
[local]asr5k# rollback
module p2p
rollback plugin p2p module
priority 10 library /var/opt/lib/libp2p-1.97.357.so
load successful
When the above command
is issued, the system automatically tries to load the patch with next
highest priority in the VPL and if that fails, it tries to load
the next one and so on.
show module <plugin_name> [ verbose ]
For example:
[local]asr5k# show
module p2p
Module p2p
Priority version loaded
location update/rollback time status
1 1.97.354
no /var/opt/lib FRI Feb 28 07:15:42
2014 success
2 1.97.357 yes
/var/opt/lib FRI Feb 28 07:15:42
2014 success
X 1.82.118
no /lib (never) N/A
plugin <plugin_name>
no module priority <plugin_number>
For example:
[local]asr5k# configure
[local]asr5k(config)# plugin
p2p
[local]asr5k(plugin-p2p)# no
module priority 1
[local]asr5k(plugin-p2p)# end
[local]asr5k# del /flash/patch/p2p/libp2p-1.97.354.so
[local]asr5k# del /flash/patch/p2p/patch_libp2p-1.97.354.so.tgz
IMPORTANT:
Enabling Enhanced Charging
Modifying the Local Context
configure
context local
interface <interface>
ip address <ipv4/ipv6_address/mask>
ip arp timeout <timeout>
exit
server ftpd
exit
server sshd
subsystem sftp
exit
server telnetd
exit
subscriber default
exit
administrator <security_admin> encrypted password <password> ftp
aaa group default
exit
gtpp group default
exit
ip route <route> SPIO1
exit
port ethernet <slot/port>
no shutdown
bind interface <interface> local
exit
snmp engine-id local <id_number>
end
IMPORTANT:
Creating the Active Charging Service
Configuring ADC Rules
configure
active-charging service <acs_service_name>
p2p-detection protocol all
ruledef <charging_ruledef_actionvoip>
p2p protocol = actionvoip
exit
ruledef <charging_ruledef_facebook>
p2p protocol = facebook
exit
ruledef <charging_ruledef_jabber>
p2p protocol = jabber
exit
ruledef <charging_ruledef_skype>
p2p protocol = skype
exit
# Configuration
example to report audio, file transfer, instant messaging, video and unclassified components:
ruledef <charging_ruledef_<protocol>_audio>
p2p protocol = <protocol>
p2p traffic-type = audio
exit
ruledef <charging_ruledef_<protocol>_ft>
p2p protocol = <protocol>
p2p traffic-type = file-transfer
exit
ruledef <charging_ruledef_<protocol>_im>
p2p protocol = <protocol>
p2p traffic-type = im
exit
ruledef <charging_ruledef_<protocol>_video>
p2p protocol = <protocol>
p2p traffic-type = video
exit
ruledef <charging_ruledef_<protocol>_unclassified>
p2p protocol = <protocol>
p2p traffic-type = unclassified
exit
end
Configuring P2P Protocol Groups
configure
active-charging
service <acs_service_name>
ruledef <ruledef_name>
[ no ] p2p
protocol-group <operator> <group_list>
end
Configuring Behavioral Detection
configure
active-charging
service <acs_service_name>
[ no ] p2p-detection
behavioral <behavioral_list>
end
configure
active-charging
service <acs_service_name>
ruledef <ruledef_name>
[ no ] p2p
behavioral <operator> <behavioral_list>
end
Configuring SSL Renegotiation
configure
active-charging
service <acsservice_name>
[ no ] p2p-detection
attribute { <attribute_list> [ <sub_attribute_name>
<sub_attribute_value> ] }
end
Configuring Analyzers
Configuring the Charging Action
configure
active-charging service <acs_service_name>
charging-action <charging_action_name1>
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 <charging_action_name2>
content-id 1
exit
charging-action <charging_action_name3>
flow action terminate-flow
end
Configuring the Rulebase
configure
active-charging service <acs_service_name>
rulebase <rulebase_name>
# Configuration example to detect P2P applications configured for the Active Charging Service:
action priority <priority> ruledef <charging_ruledef_actionvoip> charging-action <charging_action_name>
action priority <priority> ruledef <charging_ruledef_facebook> charging-action <charging_action_name>
action priority <priority> ruledef <charging_ruledef_jabber> charging-action <charging_action_name>
action priority <priority> ruledef <charging_ruledef_skype> charging-action <charging_action_name>
# Configuration
example to report audio, file transfer, instant messaging, video and unclassified components:
action priority <priority> ruledef <charging_ruledef_protocol_audio> charging-action <charging_action_name>
action priority <priority> ruledef <charging_ruledef_protocol_ft> charging-action <charging_action_name>
action priority <priority> ruledef <charging_ruledef_protocol_im> charging-action <charging_action_name>
action priority <priority> ruledef <charging_ruledef_protocol_video> charging-action <charging_action_name>
action priority <priority> ruledef <charging_ruledef_protocol_unclassified> charging-action <charging_action_name>
end
end
Setting EDR Formats
configure
active-charging service <ecs_service>
edr-format <edr_flow_format>
rule-variable traffic-type priority <priority>
rule-variable p2p
duration priority <priority>
attribute sn-start-time
format seconds priority <priority>
attribute sn-end-time
format seconds priority <priority>
attribute radius-calling-station-id
priority <priority>
rule-variable ip server-ip-address
priority <priority>
attribute sn-server-port
priority <priority>
attribute sn-port-service-name priority <priority>
attribute sn-app-protocol priority <priority>
attribute sn-parent-protocol priority <priority>
rule-variable ip protocol priority <priority>
attribute sn-ip-protocol-name priority <priority>
rule-variable p2p
protocol priority <priority>
rule-variable p2p
protocol-group priority <priority>
attribute sn-volume-amt
ip bytes uplink priority <priority>
attribute sn-volume-amt
ip bytes downlink priority <priority>
attribute sn-volume-amt
ip pkts uplink priority <priority>
attribute sn-volume-amt
ip pkts downlink priority <priority>
rule-variable bearer
3gpp charging-id priority <priority>
rule-variable bearer
3gpp imei priority <priority>
rule-variable bearer
3gpp rat-type priority <priority>
rule-variable bearer
3gpp user-location-information priority <priority>
end
Configuring EDR for P2P Events
configure
active-charging service <acs_service_name>
rulebase <rulebase_name>
edr p2p <p2p_event_list> [ charging-edr <charging_edr_format_name> | edr-format <edr_format_name> | reporting-edr <reporting_edr_format_name> ] +
end
Gathering ADC Statistics
| Statistics Wanted | Action to Perform | Information to Look For |
|---|---|---|
|
Analyzer statistics
|
show active-charging
analyzer statistics name p2p verbose
|
The output of this
command displays the analyzer statistics if a P2P analyzer is used.
Since the analyzer statistics are not bound to any service, the
traffic information per gateway can be obtained.
|
|
Ruledef statistics
|
show active-charging
ruledef statistics name <name>
|
The output of this
command displays the Ruledef statistics including the packet count,
byte count and hits.
|
|
P2P flow statistics
|
show active-charging
flows type p2p traffic-type audio
show active-charging
flows type p2p traffic-type file-transfer
show active-charging
flows type p2p traffic-type im
show active-charging
flows type p2p traffic-type video
show active-charging
flows type p2p traffic-type unclassified
|
The output of this
command displays the number of P2P audio, file transfer, instant
messaging, video and unclassified
flows.
|
|
Charging Action information
|
show active-charging
charging-action statistics
|
The output of this
command displays the charging action information and corresponding
statistics configured in the active charging service.
|
|
Transmit and Receive data
|
show active-charging
sessions tx-data <operator> <bytes>
show active-charging
sessions rx-data <operator> <bytes>
|
The output of the
command displays the information for sessions that have received
or transmitted data which matches the criteria.
|
|
Sessions using specific protocol
|
show active-charging
sessions type p2p application <protocol>
|
The output of this
command displays information for the sessions using the specified
protocol.
|
|
Total and current P2P flows
and P2P audio/file-transfer/im/video/unclassified flows
|
show active-charging
subsystem all
|
The output of this
command displays total and current P2P flows and P2P audio/file-transfer/instant messaging/video/unclassified flow statistics,
and total number of subscribers.
|
|
Voice Statistics
|
The output of this
command displays the voice and non-voice analyzer statistics for
voice supported protocols.
|
|
|
P2P Protocol Group Statistics
|
show active-charging analyzer statistics name p2p protocol-group wide all verbose |
The output of this
command displays the P2P protocol group statistics if a P2P analyzer
is used.
|
Supported Bulk Statistics
P2P Reports
IMPORTANT: