Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Regular expression assistance

by agentorange (Sexton)
on Dec 07, 2012 at 15:38 UTC ( #1007760=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $cdp = "Device-ID (0x01), length: 44 bytes: 'my-switch-name'
    Address (0x02), length: 13 bytes: IPv4 (1) 10.1.1.10
    Port-ID (0x03), length: 16 bytes: 'Ethernet101/1/20'
    ...
      0x0000:  060c 2b06 0104 0109 0c03 0103 880e
    Management Addresses (0x16), length: 13 bytes: IPv4 (1) 10.151.69.11
    Physical Location (0x17), length: 13 bytes: 0x00/snmplocation"
    
  2. or download this
    VLAN=`echo $cdp | awk '/0x0a/ { print $8 }'`
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1007760]
Approved by mbethke
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2015-07-30 04:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (269 votes), past polls