Some of the macros provide a single configuration function, like configuring the controller.
These are invoked by other macros that are executable from the command line. A
high-level macro invokes several of the executables, acting much like a script to provide
greater functionality.
Table 54: Contents of ds1mac.mac
Description
Macro Name
Lists the executable macros in ds1mac.mac
Help
Executable macro that configures C
x
1 ports; calls macro cntrDs1
controllerDs1
Executable macro that configures Frame Relay encapsulation on C
x
1 serial
interfaces; calls macro cx1Encap
ds1Encap
Executable macro that configures Frame Relay circuits on C
x
1 subinterfaces;
calls macro cx1FRCir
ds1FrCir
Executable macro that configures C
x
1 serial Frame Relay interfaces; calls
macros cntrDs1, cx1Encap, and cx1FrCir
configCx1
Configures the C
x
1 controller; called by other macros
cntrDs1
Configures Frame Relay encapsulation on serial interfaces; called by other
macros
cx1Encap
Configures Frame Relay circuits on the subinterfaces; called by other macros
cx1FrCir
The following examples list the complete set of macros contained in ds1mac.mac. You
can run the Help macro to list the other executable macros contained in ds1mac.mac.
To configure Frame Relay on your router with ds1mac.mac, you can do one of the following:
•
Run the controllerDS1, ds1Encap, and ds1FrCir macros in that order
•
Run the configCx1 macro
In either case, to run the macros you must provide the required values described in the
macros.
<# Help #>
! This file contains the following executable macros:
! controllerDs1
! ds1Encap
! ds1FrCir
! configCx1
<# endtmpl #>
<# controllerDs1 #>
<# if env.argc = 0 #>
! This macro configures your Cx1 controller.
! This macro will configure e1 ports as unframed.
! This macro should be called with 4 arguments.
! The argument list should be as follows:
! type; number of numPorts; slot; port; clock; framing; lineCoding
<# return #>
Copyright © 2010, Juniper Networks, Inc.
488
JunosE 11.3.x System Basics Configuration Guide
Summary of Contents for JUNOSE 11.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 3 x System Basics Configuration Guide...
Page 24: ...Copyright 2010 Juniper Networks Inc xxiv JunosE 11 3 x System Basics Configuration Guide...
Page 32: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 3 x System Basics Configuration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 116 JunosE 11 3 x System Basics Configuration Guide...
Page 166: ...Copyright 2010 Juniper Networks Inc 136 JunosE 11 3 x System Basics Configuration Guide...
Page 432: ...Copyright 2010 Juniper Networks Inc 402 JunosE 11 3 x System Basics Configuration Guide...
Page 488: ...Copyright 2010 Juniper Networks Inc 458 JunosE 11 3 x System Basics Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 494 JunosE 11 3 x System Basics Configuration Guide...
Page 554: ...Copyright 2010 Juniper Networks Inc 524 JunosE 11 3 x System Basics Configuration Guide...
Page 566: ...Copyright 2010 Juniper Networks Inc 536 JunosE 11 3 x System Basics Configuration Guide...
Page 588: ...Copyright 2010 Juniper Networks Inc 558 JunosE 11 3 x System Basics Configuration Guide...
Page 613: ...PART 3 Index Index on page 585 583 Copyright 2010 Juniper Networks Inc...
Page 614: ...Copyright 2010 Juniper Networks Inc 584 JunosE 11 3 x System Basics Configuration Guide...
Page 632: ...Copyright 2010 Juniper Networks Inc 602 JunosE 11 3 x System Basics Configuration Guide...