Learn How We Can Help You Keep Teleworkers Protected During the COVID-19 Crisis

Network Change & Configuration Management

Reply
Highlighted
Accepted Solution

CCS can't evaluate variable as integer

Techie
Posts: 10
2845     2

I get a variable, lets say the number 100, as declared below:

 

$port /.+?\s/
$speed Integer

 

Trigger-Template:
[[$port]].+?ID: \S+ .[[$speed]]Mb\)

 

But then cannot evaluate it like so, 

 

Trigger-Commands: {$speed < 101}

NetMRI says it is a string and throws an error.  Ive tried declaring $speed as a different evaluation types, but it always comes out to string.  Any help?

Highlighted

Re: CCS can't evaluate variable as integer

Expert
Posts: 236
2845     2

This was just answered about a week ago.  Look at "CSS Trigger-filter treat variables as numbers??"

Showing results for 
Search instead for 
Do you mean 

Recommended for You