2017年4月27日
摘要: MPLS TE 学习笔记 MPLS TE Tunnel优先级 MPLS TE Tunnel优先级 0-7 ,越小越优先,高优先可抢占低优先的资源 优先级有两种:建立优先级/保持优先级,建立不可设置比保持高,一般配置时一样即可 命令:tnnel mpls traffic-eng priority 6 阅读全文
posted @ 2017-04-27 12:27 syother 阅读(482) 评论(0) 推荐(0) 编辑
摘要: 1. Python manager出现以下错误 File "C:\Python27\lib\functools.py", line 56, in <lambda> '__lt__': [('__gt__', lambda self, other: other < self), File "C:\Py 阅读全文
posted @ 2017-04-27 12:25 syother 阅读(2041) 评论(0) 推荐(0) 编辑
摘要: rrdtool: rrdtool可直接用pip install python-rrdtool import rrdtool 创建:create(...)create(args..): Set up a new Round Robin Database create filename [--start 阅读全文
posted @ 2017-04-27 12:21 syother 阅读(394) 评论(0) 推荐(0) 编辑
摘要: 文件: 打开文件时,如果报错提示GBK,可能是文件内容的编码问题,可以打开时加上参数:open(filename=path,encoding=None) 序列: 列表、元组和字典均可以使用索引的方式来获取值,列表和元组得到的是索引值,而字典得到则是Key。dict1.setdefault(x,y) 阅读全文
posted @ 2017-04-27 12:17 syother 阅读(309) 评论(0) 推荐(0) 编辑
摘要: Mysql学习日志; 安装:Linux :yum install mysql* -y 验证Mysql是否正常安装:mysqladmin --version 进入 Mysql,要先启动#service mysqld start#mysql 更换Mysql初始密码: 安装完成mysql为空密码,修改密码 阅读全文
posted @ 2017-04-27 12:15 syother 阅读(293) 评论(0) 推荐(0) 编辑