I am trying to get a config from a juniper router and I have the following problem:
After setting this
stdin, stdout, stderr = client1.exec_command('show configuration interfaces %s' % SID)
 CONFIG = stdout.read()
 print CONFIG
It brings me something like these
'description El_otro_Puerto_de_la_Routing-instance;\nvlan-id 309;\nfamily inet {\n    mtu 1600;\n    address 10.100.10.10/24;\n}\n'
and the problem is that I want to receive that information in this format:
'description El_otro_Puerto_de_la_Routing-instance;
 nvlan-id 309;
 nfamily inet {
  mtu 1600;
  address 10.100.10.10/24;
 }
So I want the \n to actually be a new line, and not just to show me the "\n" string.
 
     
     
     
     
     
    