EasyManuals Logo

Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X User Manual

Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X
640 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #20 background imageLoading...
Page #20 background image
Chapter 8 Writing CLI Macros 473
Platform Considerations ..............................................................................473
Writing Macros ............................................................................................473
Environment Commands ......................................................................475
Capturing Output of Commands ...........................................................476
Adding Regular Expression Matching to Macros ...................................476
Extracting a Substring Based on Regular Expression Matching .............477
Adding Global Variables for Availability to the onError Macro ...............477
Unique IDs for Macros ..........................................................................478
Accurate Use of Error Status When Accessed Ourside of onError
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
Chapter 9 Booting the System 509
Platform Considerations ..............................................................................509
Configuring Your System for Booting ..........................................................509
Booting the GE-2 Line Module ...............................................................510
xx â–  Table of Contents
JUNOSe 11.1.x System Basics Configuration Guide

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X and is the answer not in the manual?

Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X Specifications

General IconGeneral
BrandJuniper
ModelSYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X
CategorySoftware
LanguageEnglish

Related product manuals