dslreports logo
uniqs
4

tubbynet
reminds me of the danse russe
MVM
join:2008-01-16
Gilbert, AZ

tubbynet to wxmanmichael

MVM

to wxmanmichael

Re: [Config] Question (NOT a request for config help) re: "eq"

'eq' is telling the router to match on layer-4 port info.
in your above example -- its matching on 'domain' -- so tcp/53. if its set to eq 'http' -- then its tcp/80.
you can also use gt for 'greater than', 'lt' for 'less than' and 'range' for a range of layer-4 ports.

q.

wxmanmichael
Premium Member
join:2014-05-15
Minneapolis, MN

wxmanmichael

Premium Member

Thanks Tubbynet. There's so much there it's difficult to wade through it.

Your description suggests that IOS has a capacity for simple scripts. Does it have an ability to use scripts outside of IOS, that is, can I write something using mathematics and refer to it in the configuration?

quantumalpha
join:2014-08-05
NH

quantumalpha

Member

Scripts, no. Expressions, yes in some places.

What would your use-case be for what you describe? There's probably a way to do it... But no, it cannot dynamically load config files like that.

tubbynet
reminds me of the danse russe
MVM
join:2008-01-16
Gilbert, AZ

tubbynet

MVM

ios routers can run basic scripts, either through tcl or eem.
however -- and i make a big assumption about this -- that isnt the intent of the op.

q.