Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Visual Basic
  4. Cisco running-config

Cisco running-config

Scheduled Pinned Locked Moved Visual Basic
csharphelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    svanwass
    wrote on last edited by
    #1

    I am writing a vb.net program that simply returns the running-config of a given cisco device. When doing this via the command prompt, hitting the space bar returns the name page of data. My problem is telling the cisco to give me the next page of data using my telnet class. No matter what size I make my return buffer, it doesn't matter. The return text is still broken into "pages". If i send a space (0x20) char, the cisco doesn't see it as the same thing and breaks the text. I've also tried CR, LF, and CR&LF. Anyone know what I am talking about? :doh:

    D 1 Reply Last reply
    0
    • S svanwass

      I am writing a vb.net program that simply returns the running-config of a given cisco device. When doing this via the command prompt, hitting the space bar returns the name page of data. My problem is telling the cisco to give me the next page of data using my telnet class. No matter what size I make my return buffer, it doesn't matter. The return text is still broken into "pages". If i send a space (0x20) char, the cisco doesn't see it as the same thing and breaks the text. I've also tried CR, LF, and CR&LF. Anyone know what I am talking about? :doh:

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      I have no idea what you need to do to get around this, but I have a more reliable method. Implement a TFTP server in your code, then just tell the router to save the running-config to your server. Whalla, and no screwing around with "next page" spacebars.

      A guide to posting questions on CodeProject[^]
      Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
           2006, 2007, 2008

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups