摘要:
1、配置拓扑(在R3上添加一条默认路由) R3(config)#ip router 0.0.0.0 0.0.0.0 loopback 0 /**第一种配置方法**/ R3(config)#do show ip route Codes: C - connected, S - static, R - R 阅读全文
摘要:
1、Eigrp参数 R2#show ip eigrp neighbors IP-EIGRP neighbors for process 100 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 1 192.168.23 阅读全文
摘要:
1、路由分类 2、EIGRP网络拓扑测试 3、路由器基础配置 R1的基础配置R1>enable R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#interface f0/0 R1( 阅读全文
摘要:
1、路由复习 2、R1配置 R1>enable R1#config t Enter configuration commands, one per line. End with CNTL/Z. R1(config)#interface f0/0 R1(config-if)#ip add R1(con 阅读全文
摘要:
ls = ['a', 'b', 'c'] # method 1 for i in range(len(ls)): print(i, end = ' ') # print(i) print(ls[i]) # method 2 for s in ls: print(ls.index(s), end=' 阅读全文
摘要:
while 1: Li = ['手机','电脑','Ipad','无线耳机','运动鞋'] for Loop in Li: print('{}\t{}'.format(Li.index(Loop)+1,Loop)) Num_chioce = input("请输入你选择的商品号,输入Q退出:") if 阅读全文
摘要:
1、元祖打印 Tu = (1,2,3,'Alex',[2,3,4,'taibai'],'egon') print(Tu[3]) 2、元祖字符转大写 Tu = (1,2,3,'Alex',[2,3,4,'taibai'],'egon') Tu[4][3] = Tu[4][3].upper() prin 阅读全文