cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Community Helping Community

35
Views
0
Helpful
3
Replies
Highlighted
Cisco Employee

IOS NED - handling of a console session with ssh/telnet session

 

Hi team,

I am starting to looking at enabling Wifi support on Cisco CPE 881W routers, and wondering how the NED can handle this.  Same use case would apply to some embedded switches inside the CPE routers.

Basic flow is:

    • NED connects via SSH/CLI to the router

    • NSO configures router OS with new config: "interface wlan-ap0”, "ip unnumbered vlan 4”, "no shut”, “end”

    • From the router OS, open the connection to the Wifi module

      • Not from config mode – but from exec mode send this command "service-module wlan-ap 0 session”

      • I don’t think the NED could handle this today, or not obvious to me how to get it to work

    • NSO configures a bunch of stuff on the Wifi OS which looks just like IOS

    • Detach from Wifi device by sending "Control-Shift-6 x” and send Enter twice

 

Do we have precedence on how to do this?  I would want to treat the Wifi device as part of the host device – but open to other handling.

 

thanks

Dan

 

 

Everyone's tags (3)
3 REPLIES 3
Cisco Employee

Re: IOS NED - handling of a console session with ssh/telnet session

 

Hi Daniel,

 

currently NSO works best with IOS devices when not connecting to console, but connecting inband via telnet or ssh.

 

However, Roque was working on an enhancement to let NSO even connect to console (require additional carriage return to get prompt).

   

"service-module wlan-ap 0 session” indeed does not seem supported in the IOS NED.

 

This calls for an extension of the  tailf-ned-cisco-ios-stats.yang  file.

 

If you wanna give it a head-start and feel comfortable to edit the NED you can duplicate once of the existing tailf:action ’s in the above file, call it “service-module”, recompile the NED and see what you get.

// traceroute [arg 1] .. [arg N]

    tailf:action service-module {

      tailf:info “service-module exec commands";

      tailf:actionpoint ncsinternal {

        tailf:internal;

      }

      input {

        leaf-list args {

          tailf:cli-drop-node-name;

          tailf:cli-flat-list-syntax;

          type string {

            tailf:info “service-module argument(s)";

          }

        }

      }

      output {

        leaf result {

          type string;

        }

      }

    }

 

 

Regards,

Mike Leske

 

Cisco Employee

Re: IOS NED - handling of a console session with ssh/telnet session

 

Hi,

 

I missed the part of the Wifi OS. Even if it may look like IOS commands, they must be modelled in a proper NED, which might not exist yet.

 

Mike

 

Cisco Employee

Re: IOS NED - handling of a console session with ssh/telnet session

 

Hi,

Console access works on IOS NED 4.0 available in DevNET.

Daniel, I would recommend you to contact Bilal who is the Tail-f person in Australia. It seams to me that your use case requires reactive-fastmap.

   

Roque

 

 

Content for Community-Ad
FusionCharts will render here