The article describes a way how to access RSW and enter RSW commands from the CPM Unix prompt.The article describes a way how to access RSW and enter RSW commands from the CPM Unix prompt.
Goal: Accessing RSW from the CPM Unix prompt on purpose of gathering troubleshooting information.
It is possible to use telnet to connect to to RSW daemon on the master VAP and execute RSW commands in a single line from the CPM Unix shell.
Here is an example how to collect OSPF routes from the master VAP called vap_1 (some output is removed for brevity). The "sleep" command is required to add a pause allowing the previous commands to finish before the connection is closed.
CBS# unix su
[[email protected] admin]# (echo admin; echo enable; echo admin; echo show ip ospf route; sleep 2; echo quit) | telnet vap_1 2604