To test the example in this section, perform the following steps:
system {
scripts {
commit {
allow-transients;
file ex-atm-logical.xsl;
}
}
}
interfaces {
apply-macro at-1/2/3 {
address 10.12.13.14/20;
max 200;
unit 32;
}
at-1/2/3 {
atm-options {
pic-type atm2;
vpi 0;
}
}
}
- [edit]
- user@host# load merge terminal
- [Type ^D at a new line to end input]
- > Paste the contents of the clipboard here<
- [edit]
- user@host# commit
When you issue the show interfaces at-1/2/3 | display commit-scripts configuration mode command, the following output appears:
[edit]
user@host# show interfaces at-1/2/3 | display commit-scripts
atm-options {
pic-type atm2;
vpi 0;
}
unit 32 {
vci 32;
family inet {
address 10.12.13.14/20;
}
}
unit 33 {
vci 33;
family inet {
address 10.12.13.15/20;
}
}
unit 34 {
vci 34;
family inet {
address 10.12.13.16/20;
}
}
unit 35 {
vci 35;
family inet {
address 10.12.13.17/20;
}
}
... # Logical units 36 through 199 are omitted for brevity.
unit 200 {
vci 200;
family inet {
address 10.12.13.182/20;
}
}