Jump to content

Recommended Posts

Posted

On site laboratory environment R23 for phenomenon testing,I shut down the loopback 10 interface and can see the output of the show command in the more/bootflash/guest share/RCA_Capture. txt file

My code is as follows:
import cli

import sys 

int=sys.argv[1]
cmds=[‘show ip int brief’,‘show ip ospf nei’,‘show ip route’,'show int'+int,'show log']
with open('/bootflash/guest-share/RCA_Capture.txt','w')as f:
  for cmd in cmds:
    a=cli.execute(cmd)
    f.wrote(a)


After I shut down the l10 interface, I can see in the more/bootflash/guests share/RCA_Capture. txt file that 'show' indicates that my eem Python track app host configuration block is fine. Could it be related to the fact that my l10 interface was shut down without 'no shutdown' or that my 'show' command was not fully written? (The question requires that abbreviations cannot be used) But would this really result in only giving me 58 points? I also solved the error correction question in Python, and the last multiple-choice question appeared. Now I don't even know how I died

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...