博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
正则化检测TR069的参数路径是否合法
阅读量:2029 次
发布时间:2019-04-28

本文共 2171 字,大约阅读时间需要 7 分钟。

 

以下为一些基本的参数路径

Device.Ethernet.Interface.{5}.EnableDevice.Ethernet.Interface.{5}.StatusDevice.Ethernet.Interface.{5}.MACAddressDevice.Ethernet.Interface.{5}.MaxBitRateDevice.Ethernet.Interface.{5}.SignTransMediaDevice.Ethernet.Interface.{5}.DuplexModeDevice.IP.Interface.{5}.IPv4Address.{3}.IPAddressDevice.IP.Interface.{4}.IPv4Address.{3}.DefaultGatewayDevice.IP.Interface.{3}.IPv4Address.{3}.SubnetMaskDevice.IP.Interface.{2}.IPv4Address.{3}.AddressingTypeDevice.IP.Interface.{2}.IPv4Address.{3}.PortTypeDevice.FPGA.{4}.rru.{2}.rruidDevice.FPGA.{4}.rru.{2}.rrusnDevice.FPGA.{4}.rru.{2}.rruFactorDevice.Cell.{9}.cellidDevice.Cell.{9}.rru.{1}.rruidDevice.Cell.{9}.cellGIDDevice.DeviceInfo.ManufacturerOUIDevice.DeviceInfo.ManufacturerDevice.DeviceInfo.ModelNameDevice.DeviceInfo.SerialNumberDevice.DeviceInfo.HardwareVersionDevice.DeviceInfo.SoftwareVersionDevice.DeviceInfo.HardwarePlatformDevice.DeviceInfo.AdditionalHardwareVersionDevice.DeviceInfo.AdditionalSoftwareVersionDevice.DeviceInfo.ProvisioningCodeDevice.DeviceInfo.ProductClassDevice.DeviceInfo.UpTimeDevice.DeviceInfo.3GPPSpecVersionDevice.DeviceInfo.FirstUseDateDevice.SoftwareCtrl.AutoActivateEnableDevice.SoftwareCtrl.ActivateTimeDevice.SoftwareCtrl.ActivateEnableDevice.SoftwareCtrl.SystemCurrentVersionDevice.SoftwareCtrl.SystemBackupVersionDevice.FaultMgmt.ExpeditedEvent.{2}.PerceivedSeverityDevice.FaultMgmt.ExpeditedEvent.{2}.AdditionalTextDevice.FaultMgmt.ExpeditedEvent.{2}.AdditionalInformationDevice.FaultMgmt.QueuedEvent.{2}.SerialNumberDevice.FaultMgmt.QueuedEvent.{2}.OUIDevice.FaultMgmt.QueuedEvent.{2}.EventTimeDevice.FaultMgmt.QueuedEvent.{2}.AlarmIdentifierDevice.FaultMgmt.QueuedEvent.{2}.NotificationTypeDevice.FaultMgmt.QueuedEvent.{2}.ManagedObjectInstanceDevice.FaultMgmt.QueuedEvent.{2}.EventTypeDevice.FaultMgmt.QueuedEvent.{2}.ProbableCauseDevice.FaultMgmt.QueuedEvent.{2}.SpecificProblemDevice.FaultMgmt.QueuedEvent.{2}.PerceivedSeverityDevice.FaultMgmt.QueuedEvent.{2}.AdditionalTextDevice.FaultMgmt.QueuedEvent.{2}.AdditionalInformationDevice.ACC.FPGA.FEC.FPGAFAN

正则化匹配脚本

#!/bin/bashcat oid.txt | egrep "^Device\\.[a-zA-Z]\\w+\\.(([a-zA-Z]\\w+|\\{[0-9]\\})\\.)*[a-zA-Z0-9]\\w+"

 

转载地址:http://obpaf.baihongyu.com/

你可能感兴趣的文章
TCP窗口滑动以及拥塞控制
查看>>
[LeetCode] 39. Combination Sum ☆☆☆(数组相加等于指定的数)
查看>>
大批量数据处理方法
查看>>
递归与回溯的理解
查看>>
[LeetCode] 206. Reverse Linked List ☆(反转链表)
查看>>
最长公共子串(动态规划)
查看>>
[LeetCode] 234. 回文链表 ☆(翻转链表)
查看>>
Innodb中mysql如何快速删除2T的大表
查看>>
AM--消息队列
查看>>
Dubbo面试
查看>>
[LeetCode] 342. 4的幂 ☆(是否4 的幂)
查看>>
java关键字总结
查看>>
MyBatis:4
查看>>
List原理
查看>>
request请求中有点号
查看>>
springmvc事务回滚失效
查看>>
Java 8的五大开发技巧
查看>>
多线程中的注意点
查看>>
netty4 Handler的执行顺序
查看>>
ZooKeeper原理及使用
查看>>