Simple Arithmetic on a Router

Theoretically it seems, one could do simple arithmetic, like subtracting MIB value at time 0 from MIB value at time 1 natively on the router via Tcl. Does anyone have a sample script for simple router arithmetic or is this capability not possible due to limitations of the routers, Tcl or both?

Reply to
Loading thread data ... Forums website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.