anyone know why this script wouldn’t work:
/routing ospf network print
/routing ospf network enable 0
Works from a terminal window but not as a script.
anyone know why this script wouldn’t work:
/routing ospf network print
/routing ospf network enable 0
Works from a terminal window but not as a script.
The print command will assign numerical indexes to what was just listed on a temporary basis for use in further commands. These don’t work in scripts. You need to use the find command to identify the item (network in this case) specifically, for example:
/routing ospf network enable [/routing ospf network find network=55.22.44.0/24]