For feedback and comments: |
documentation.feedback@alcatel-lucent.com |
• As shown in Figure 185, traffic is diverted to an AA ISA by provisioning of an application profile (app-profile) for a subscriber or SAP service context. SR OS then automatically handles traffic diversion for both directions of traffic for that AA subscriber context, through one of the AA ISAs in the AA group where that app-profile is defined.Figure 185: System Packet Datapath to AA ISA
•
• Host IOM egress discards: in this model, the philosophy is to treat AA packet processing resources in the same way as a network interface (of somewhat variable capacity depending on the traffic characteristics). When too much traffic is presented to the ISA, it backpressures the host IOM egress, which will buffer packets. If the egress buffer thresholds are exceeded, the ISA will discard according to the egress QoS slope policy. This is configured by not enabling isa-overload-cut-through and use of appropriate egress QoS policies. Firewall or session filter deployments may use this model.A:BNG# show application-assurance group 1 protocol count===============================================================================Application-Assurance Protocol Statistics===============================================================================Protocol Disc Octets Packets Flows-------------------------------------------------------------------------------advanced_direct_connect 0% 0 0 0aim 0% 0 0 0amazon_video 0% 0 0 0ares 0% 0 0 0bbm 0% 0 0 0betamax_voip 0% 0 0 0bgp 0% 0 0 0bittorrent 0% 678428534 5322929 1036129cccam 0% 0 0 0citrix_ica 0% 0 0 0citrix_ima 0% 0 0 0cnnlive 0% 0 0 0cups 0% 0 0 0cut_through 0% 5299435739 10603771 0cut_through_by_default_policy 0% 0 0 0cvs 0% 0 0 0daap 0% 0 0 0dcerpc 0% 0 0 0denied_by_default_policy 0% 0 0 0*A:BNG# configure isaapplication-assurance-group 1 aa-sub-scale residential createno descriptionno fail-to-openisa-capacity-cost-high-threshold 304000isa-capacity-cost-low-threshold 272000partitionsdivert-fc beno shutdownexit
•
• divert-fc configuration applies to the AA group: in this example, FC BE Internet is the only diverted FC; this is typical for AA residential and WLan-GW deployments. For VPN services, typically all datapath FCs are diverted to AA.configure isa application-assurance-group 1qosegressfrom-subscriberpoolslope-policy "default"resv-cbs defaultexitqueue-policy "network-facing-egress"
port-scheduler-policy "network-facing"
exitto-subscriberpoolslope-policy "default"resv-cbs defaultexitqueue-policy "network-facing-egress"
port-scheduler-policy "network-facing"
exitexitno shutdownFor IOM3-XP and FP2 and higher based line cards the amount of shared memory reserved for each egress network port is determined by the speed of the port (10 Gbps for MS-ISA and 40 Gbps for MS-ISA2) and the egr-percentage-of-rate ratio configuration.The operator can modify the egr-percentage-of-rate per port using the command below:A:BNG# configure port 1/2/fm-subA:BNG>config>port# info detail----------------------------------------------modify-buffer-allocation-rateegr-percentage-of-rate 500exit----------------------------------------------A:BNG# configure port 1/2/to-subA:BNG>config>port# info detail----------------------------------------------modify-buffer-allocation-rateegr-percentage-of-rate 1000exit7750# configure port <slot>/<isa-aa-mda>/fm-submodify-buffer-allocation-rateegr-percentage-of-rate 657750# configure port <slot>/<isa-aa-mda>/to-submodify-buffer-allocation-rateegr-percentage-of-rate 130
• 7750# configure application-assurance----------------------------------------------flow-table-low-wmark 90flow-table-high-wmark 95flow-setup-high-wmark 66500flow-setup-low-wmark 63000bit-rate-high-wmark 7600bit-rate-low-wmark 6800The show>app-assure>group>status detail command is used to display basic ISA health status:A:BNG# show application-assurance group 1 status detail===============================================================================Application-Assurance Status===============================================================================Last time change affecting status : 05/30/2014 17:18:34Number of Active ISAs : 4Flows : 214007945881Flow Resources In Use : 2955164AA Subs Created : 70567AA Subs Deleted : 10544AA Subs Modified : 0Seen IP Requests Sent : 0Seen IP Requests Dropped : 0-------------------------------------------------------------------------------Current Average Peak-------------------------------------------------------------------------------Active Flows : 2911508 2769454 4582522Flow Setup Rate (per second) : 33923 29400 67865Traffic Rate (Mbps) : 7620 7238 22628Packet Rate (per second) : 1254138 1182571 3044376AA-Subs Downloaded : 69887 66129 70567Active Subs : 23131 19737 38114-------------------------------------------------------------------------------Packets Octets-------------------------------------------------------------------------------Diverted traffic : 7437950197613 5530634242355947Diverted discards : 0 0Congestion : 0 0Errors : 0 N/AEntered ISA-AAs : 7437950180191 5530634229794634Buffered in ISA-AAs : 22 29849Discarded in ISA-AAs : 97790 47801217Policy : 0 0Congestion : 0 0Errors : 97790 47801217Modified in ISA-AAsPacket size increased : 0 0Packet size decreased : 0 0Errors (policy bypass) : 28283549 21160338635Exited ISA-AAs : 7437950082379 5530634181963568Returned discards : 0 0Congestion : 0 0Errors : 0 N/AReturned traffic : 7437950054070 5530634162337570===============================================================================show application-assurance group 1 status isa <slot/port> detail*A:BNG>config>isa# info----------------------------------------------application-assurance-group 1 aa-sub-scale residential createno descriptionprimary <slot/port>backup <slot/port>no fail-to-openisa-capacity-cost-high-threshold 304000isa-capacity-cost-low-threshold 272000partitionsstatistics
performance
accounting-policy 7
collect-stats
exit
exit
divert-fc beno shutdownexit*A:BNG>config# logfile-id 7description "ISA Performance Stats"location cf2:rollover 15 retention 12exitaccounting-policy 7description "ISA Performance Stats“collection-interval 15record aa-performanceto file 7no shutdownexitFrom the AA performance record the following fields in Table 7 can be used as to tracking ISA load in the reporting interval (typically a 15 to 60 minute period):
*A:BNG# file type cf2:/scriptfile copy cf2:/act/*.gz ftp://login:password@IP-ADDRESS/acct/router1/*A:BNG>config>cron# info----------------------------------------------script "test-ftp-act"location "cf2:/script"no shutdownexitaction "cron1"results "ftp://login:password@IP-ADDRESS/results/router1-result.log"script "test-ftp-act"no shutdownexitschedule "schedule1"interval 36000action "cron1"no shutdownexitIn addition to triggering an alarm, further packets sent to the ISA after the WA high-watermark threshold is reached are cut-through immediately by the ISA card without application identification or subscriber policy processing, if the isa-overload-cut-through command is enabled.The recommended high and low watermarks assume that the sum of the network port egress queues MBS size is 100% of the shared buffer. If this network queue maximum size is further reduced in the network QoS policy, the watermark values must be adapted proportionally; for example, if the total MBS size cannot exceed 50% of the shared buffer, then the watermark values would be divided by 2 => High Wmark = 16%, Low Wmark = 2%. Adjusting the MBS and the wa-shared-high-wmark and wa-shared-low-wmark values proportionately ensures that the MBS point (after which discards occur) is above the WA shared high-watermark threshold; otherwise, the ISA will not ever overload if MBS discards are occurring first.A:BNG# configure isa application-assurance-group 1isa-overload-cut-throughqosegressfrom-subscriberwa-shared-high-wmark 16wa-shared-low-wmark 2exitto-subscriberwa-shared-high-wmark 16wa-shared-low-wmark 2exitexitexitThe show>isa>group commands can be used to verify that overload cut-though is enabled.*A:BNG>show isa application-assurance-group 1=============================================================ISA Application-assurance-groups=============================================================ISA-AA Group Index : 1Description : (Not Specified)Subscriber Scale : residentialWLAN GW Group Index : N/APrimary ISA-AA : 1/2 up/activeBackup ISA-AA : 2/1 downLast Active change : 07/02/2014 12:17:45Admin State : UpOper State : UpDiverted FCs : beFail to mode : fail-to-wirePartitions : enabledQoSEgress from subscriberPool : defaultReserved Cbs : defaultSlope Policy : defaultQueue Policy : defaultScheduler Policy :Egress to subscriberPool : defaultReserved Cbs : defaultSlope Policy : defaultQueue Policy : defaultScheduler Policy :Capacity CostHigh Threshold : 4294967295Low Threshold : 0Overload Cut Through : enabledTransit PrefixMax IPv4 entries : 0Max IPv6 entries : 0Max IPv6 remote entries : 0HTTP EnrichmentMax Packet Size : 1500 octets========================================================================*A:BNG>show application-assurance group 1 status isa 5/1 cpu==========================================Application-Assurance ISA CPU Utilization(Test time 993791 uSec)==========================================Management CPU Usage------------------------------------------Name CPU Time CPU Usage(uSec)------------------------------------------System 14277 1.43%Management 61101 6.15%Statistics 69850 7.02%Idle 848563 85.39%==========================================Datapath CPU Usage------------------------------------------Name CPU Time CPU Usage(uSec)------------------------------------------System 14277 1.43%Packet Processing 61101 6.15%Application ID 69850 7.02%Idle 848563 85.39%logfilter 45default-action dropentry 10action forwardmatchapplication eq "application_assurance"exitexitexitlog-id 45description "application-assurance log"filter 45from mainto memory 500exitA:BNG# show log log-id 45===============================================================================Event Log 45===============================================================================Description : application-assurance logwarning: 13 events dropped from logMemory Log contents [size=500 next event=16 (not wrapped)]15 2014/08/14 17:00:32.66 EST WARNING: APPLICATION_ASSURANCE #4433 Base"ISA AA Group 1 MDA 5/1 exiting overload cut through processing."14 2014/08/14 17:00:32.55 EST WARNING: APPLICATION_ASSURANCE #4431 Base"ISA-AA group 1 MDA 5/1 wa-shared buffer use is less than or equal to 1% in the to-subscriber direction or corresponding tmnxBsxIsaAaGrpToSbWaSBufOvld notification has been disabled."13 2014/08/14 17:00:32.06 EST WARNING: APPLICATION_ASSURANCE #4432 Base"ISA AA Group 1 MDA 5/1 entering overload cut through processing."12 2014/08/14 17:00:32.05 EST WARNING: APPLICATION_ASSURANCE #4430 Base"ISA-AA group 1 MDA 5/1 wa-shared buffer use is greater than or equal to 35% in the to-subscriber direction."*A:BNG>show application-assurance group 1 status isa 5/1 cpu==========================================Application-Assurance ISA CPU Utilization==========================================----------------------------------------------Management CPU Usage (Test time 999636 uSec)----------------------------------------------Name CPU Time CPU Usage(uSec)----------------------------------------------System 1540 0.15%Management 14 ~0.00%Statistics 643955 64.42%ICAP Client 603 0.06%Idle 353524 35.37%--------------------------------------------------------------------------------------------Datapath CPU Usage (Test time 999735 uSec)----------------------------------------------Name CPU Time CPU Usage(uSec)----------------------------------------------System 188374 18.84%Packet Processing 534203 53.43%Application ID 277158 27.72%Idle 0 0.00%----------------------------------------------*A:BNG>show application-assurance group 1 status detail===============================================================================Application-Assurance Status===============================================================================Last time change affecting status : 08/12/2014 13:16:15Number of Active ISAs : 1Flows : 235754165Flow Resources In Use : 12000000AA Subs Created : 14224AA Subs Deleted : 0AA Subs Modified : 1Seen IP Requests Sent : 0Seen IP Requests Dropped : 0-------------------------------------------------------------------------------Current Average Peak-------------------------------------------------------------------------------Active Flows : 8452434 3786948 10632607Flow Setup Rate (per second) : 246578 65104 298677Traffic Rate (Mbps) : 33702 13229 35813Packet Rate (per second) : 6847697 2466118 6945936AA-Subs Downloaded : 14224 13710 14224Active Subs : 14224 9934 14224-------------------------------------------------------------------------------Packets Octets-------------------------------------------------------------------------------Diverted traffic : 8924242848 5983284952320Diverted discards : 752486 729147667
Congestion : 752486 729147667
Errors : 0 N/AEntered ISA-AAs : 8923417360 5982508976617Buffered in ISA-AAs : 57 19277Discarded in ISA-AAs : 0 0Policy : 0 0Congestion : 0 0Errors : 0 0Modified in ISA-AAsPacket size increased : 0 0Packet size decreased : 0 0Errors (policy bypass) : 0 0Exited ISA-AAs : 8923417303 5982508957340Returned discards : 0 0Congestion : 0 0Errors : 0 N/AReturned traffic : 8923285123 5982432640249===============================================================================Default Subscriber Policy — AQP with match criteria not using App-ID or 5-tuple. Match only includes traffic direction and/or ASO characteristic and/or subscriber-name.