Ad Widget

Collapse

I want to capture the network description using regular expressions and discovery.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • netman0
    Junior Member
    • Mar 2020
    • 1

    #1

    I want to capture the network description using regular expressions and discovery.

    I want to capture the network interface description using regular expressions and discovery.
    network interface description : 1000BASE-X(SFP) 3/5 ge3/5 (##LA59_3 F001 02130000-0727##)



    applied regular expression : (1000BASE-X(SFP)/s\d\/\d\sge\d\/\d)$
    (1000|10G)BASE-X\(SFP\) \d+\/\d+



    captured description : 1000BASE-X(SFP) 3/5 ge3/5 (##LA59_3 F001 02130000-0727##)

    I want to capture network interface description : 1000BASE-X(SFP) 3/5 ge3/5


    How do I get a regular expression to get the description I want


Working...