摘要: 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 阅读全文
posted @ 2022-11-25 11:38 倔犟的石头 阅读(54) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2022-11-24 08:25 倔犟的石头 阅读(39) 评论(0) 推荐(0)
摘要: 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( 阅读全文
posted @ 2022-11-23 07:35 倔犟的石头 阅读(41) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2022-11-22 09:16 倔犟的石头 阅读(87) 评论(0) 推荐(0)
摘要: 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=' 阅读全文
posted @ 2022-11-08 11:06 倔犟的石头 阅读(28) 评论(0) 推荐(0)
摘要: while 1: Li = ['手机','电脑','Ipad','无线耳机','运动鞋'] for Loop in Li: print('{}\t{}'.format(Li.index(Loop)+1,Loop)) Num_chioce = input("请输入你选择的商品号,输入Q退出:") if 阅读全文
posted @ 2022-11-06 21:50 倔犟的石头 阅读(20) 评论(0) 推荐(0)
摘要: # DIC = {'Name':'Alex'} # #增:第一种 # DIC['Age'] = 21 #存在就覆盖,就是改 # print(DIC) # # #增:第二种 # DIC.setdefault('Tel' , '18616971010') #没有就增加,存在什么都不做 # print(D 阅读全文
posted @ 2022-11-05 13:35 倔犟的石头 阅读(29) 评论(0) 推荐(0)
摘要: 1、字典增加键值 Dic = {'Age':18, 'Name':'Jie', 'Sex':'male'} #增 Dic ['High'] = 160 print(Dic) 2、字典键值修改 Dic = {'Age':18, 'Name':'Jie', 'Sex':'male'} #增 Dic [' 阅读全文
posted @ 2022-10-30 21:33 倔犟的石头 阅读(16) 评论(0) 推荐(0)
摘要: 1、作业讲解 List = ['shulei','Liu','123','Test123'] List[0] = List[0].upper()print(List) List = ['shulei','Liu','123','Test123']List[0] = 'SHULEI'print(Lis 阅读全文
posted @ 2022-10-27 08:58 倔犟的石头 阅读(12) 评论(0) 推荐(0)
摘要: 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 阅读全文
posted @ 2022-10-25 21:06 倔犟的石头 阅读(34) 评论(0) 推荐(0)