cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1545
Views
0
Helpful
1
Replies

4G-Lte as primary and 4g-lte as backup.

taurusali_au
Level 1
Level 1

Hi,

I am  working on a project which requires 4G-Lte as primary internet connection and 4Glte as failover back connection. I was able to configure the ISR with primary and backup 4g and failover works great.   The issue i have is that my primary ISP only allows 10Gig data download/upload, after which they charge per gig.  I would like to find out a way with which i can failover to my secondary backup connection when my primary ISP reaches the 10Gig Limit.  Did anyone try this out ? Does this work for anyone ?

Thanks

Syed

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

You could use a timer event and periodically check the output bytes to see if you hit the 10GB limit.  The logic would be to run something like:

show int cell0 | inc packets output

Then parse the result to get the byte:

regexp {output, (\d+) bytes} $_cli_result -> bytes

Then set bytes to a floating point number:

set bytes "${bytes}.0"

Then divide to get GB:

set gbytes [expr $bytes / 1024.0 / 1024.0 / 1024.0]

Then test to see if it's above your threshold:

if { $bytes >= 10.0 } {

    # Perform CLI to fail over to backup link

}

Given the potential for large numbers, I think you'll need Tcl for this solution.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco