Nokia SR OS connection templates
The nokia/ folder holds two SSH templates for SR OS routers, both Core and Pro, neither using enable mode. SR OS ships two command line interfaces that aren’t interchangeable, so there is one template per CLI. This page covers release v2.2.2.
Which template
| Template | Use for |
|---|---|
nokia-sros-classic-ssh-noenable |
Nodes running the Classic CLI |
nokia-sros-md-ssh-noenable |
Nodes running MD-CLI |
The two differ in how paging is turned off: Classic CLI uses environment no more, MD-CLI uses environment more false. Send the wrong one and paging stays on, so the capture stops at the first page. Each template names the other in its header comments.
The templates
rConfig-templates / nokia /nokia-sros-classic-ssh-noenable.ymlView on GitHub- Protocol
- SSH, port 22
- Enable
- off
- Paging
- environment no more
- Status
- untested-starter
- Protocol
- SSH, port 22
- Enable
- off
- Paging
- environment more false
- Status
- untested-starter
What to put in the command group
The retrieval command differs too. The README suggests:
Classic CLI: admin display-configMD-CLI: admin show configurationKeep Classic CLI and MD-CLI nodes in separate command groups, since each command fails on the other CLI.