Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X Configuration Manual page 20

System basics configuration guide software for e series broadband services routers
Table of Contents

Advertisement

JUNOSe 11.1.x System Basics Configuration Guide
Chapter 8
Chapter 9
xx
Table of Contents
Platform Considerations ..............................................................................473
Writing Macros ............................................................................................473
Environment Commands ......................................................................475
Capturing Output of Commands ...........................................................476
Adding Regular Expression Matching to Macros ...................................476
Unique IDs for Macros ..........................................................................478
Macro .............................................................................................478
Variables ...............................................................................................479
Literals ..................................................................................................479
Operators ..............................................................................................480
Assignment ....................................................................................482
Increment and Decrement .............................................................482
String Operations ...........................................................................483
Extraction Operations ....................................................................483
Arithmetic Operations ..........................................................................484
Relational Operations .....................................................................484
Logical Operations ..........................................................................484
Miscellaneous Operations ...............................................................485
Conditional Execution ...........................................................................486
If Constructs ...................................................................................486
While Constructs ............................................................................487
Passing Parameters in Macros ..............................................................488
Generating Macro Output ......................................................................489
Invoking Other Macros .........................................................................489
Detecting and Recording Macro Errors ........................................................491
Detectable Macro Errors .......................................................................491
Logging Macro Results ..........................................................................492
Viewing Macro Errors ...........................................................................492
onError Macro Examples ......................................................................493
Detecting Invalid Command Formats .............................................493
Detecting Invalid Commands .........................................................494
Detecting Missing Macros ...............................................................495
Running Macros ..........................................................................................496
Scheduling Macros ......................................................................................499
Practical Examples ......................................................................................502
Configuring Frame Relay ......................................................................502
Configuring ATM Interfaces ..................................................................506
Platform Considerations ..............................................................................509
Configuring Your System for Booting ..........................................................509
Booting the GE-2 Line Module ...............................................................510
473
509

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1

Table of Contents