比如下面的命令,由“!”分开,都是对access-list进行多项设置,虽然不是完全一样,但比较类似,所以这两个设定可以看作是一个类似pattern。
我想知道现在有什么技术可以做这种文本的类似pattern识别,请大家告诉我,我在这里等你们。^_^
!
ipv6 access-list NAME1
1 permit ipv6 host ffff::0000:0001 any
2 permit ipv6 host ffff::0000:0002 any
1111111 deny ipv6 any any
!
ipv6 access-list NAME2
14 permit ipv6 host ffff::0000:0006 any
15 permit ipv6 host ffff::0000:0007 any
!
interface INTERFACENAME1/0/1
description comment
no switchport
bandwidth 1000
ip address 11.17.1.12 255.255.255.1
ip broadcast-address 11.17.1.12
ip access-group 30 in
ip access-group 11 out
delay 10
speed 10
duplex full
no mdix auto
no cdp enable
!
interfaceINTERFACENAME2
no cdp enable
!
interface INTERFACENAME3
no cdp enable
!
interface INTERFACENAME4
no cdp enable
!
interface INTERFACENAME5
no cdp enable
!
interface INTERFACENAME6
no cdp enable
!
interface INTERFACENAME7
no cdp enable
!
interface INTERFACENAME8
no cdp enable
!
海绵宝宝撒
相关分类