Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Cisco to Juniper - parser help

by jamescmatt (Novice)
on May 24, 2021 at 10:13 UTC ( [id://11132953]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
     service instance 20 ethernet
      description Internal site
    ...
      service-policy input 222_444_24
      xconnect 192.168.56.24 571637077 encapsulation mpls
       mtu 9202
    
  2. or download this
    set interfaces ge-1/1/1 unit 23 description "Client name with fun stuf
    +f"
    set interfaces ge-1/1/1 unit 23 encapsulation vlan-ccc
    ...
    set interfaces ge-1/1/1 unit 24 family ccc filter input BIZDSLIP_HSIHY
    +P_NOBP_96KBMG
    set class-of-service interfaces ge-1/1/1 unit 24 rewrite-rules ieee-80
    +2.1 vlan-tag outer-and-inner
    
  3. or download this
    #!/usr/bin/perl
    
    ...
    while(<FH>);
    close(FH);
    close(NF);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://11132953]
Approved by haukex
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2024-04-25 17:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found