That is because you are most likely attempting to your
rpc-reply directly causing the cli formatting to only display the raw
xml leaf nodes.
If you are looking to just output commands as normal cli rendered
output, you will want to copy your rpc-reply directly to the result-tree
using "copy-
ldp-session) {
var $ip = ./ldp-neighbor-address;
expr ' Session with: ' _ $ip _ ' (neighbor
ID)\n';
}
} else {
expr "\n\n- LDP: There are not active LDP neighbors.\n";
}
}
}
}
- Orig
All,
I'm trying to get a feel for op scripts in JUNOS and I can invoke commands,
but I'm not seeing the output I thought I'd see (it looks like raw data).
What I'd like to do is run a list of show commands with a script alias.
Could someone point me in the right direction to be able to run like
3 matches
Mail list logo