host1(config-subif)#
auto-configure ppp
host1(config-subif)#
auto-configure pppoe
host1(config-subif)#
exit
■
This example also uses the three new profiles configured in the first three
examples. It shows one profile being used for all encapsulations. The configuration
of dynamic layers is the same regardless of incoming encapsulations detected
by ATM. Only relevant profile attributes are used for whichever dynamic interface
layers are actually constructed.
host1(config)#
interface atm 4/0.2
host1(config-subif)#
atm pvc 200 0 200 aal5autoconfig
host1(config-subif)#
profile any ProfileC
host1(config-subif)#
subscriber ip user atm2 domain isp2 password atm2pw
host1(config-subif)#
auto-configure ip
host1(config-subif)#
auto-configure ppp
host1(config-subif)#
auto-configure pppoe
host1(config-subif)#
exit
■
This example uses the three new profiles configured in the first three examples,
and is implicitly assigned via the
any
encapsulation wildcard. Configuration of
dynamic layers is the same regardless of incoming encapsulation detected by
ATM. Autodetection is enabled for the IP encapsulation type with a lockout time
range of 3600–7200 seconds (1–2 hours).
host1(config)#
interface atm 4/0.3
host1(config-subif)#
atm pvc 300 0 300 aal5autoconfig
host1(config-subif)#
profile any ProfileC
host1(config-subif)#
subscriber ip user atm2 domain isp3 password atm3pw
host1(config-subif)#
auto-configure ip lockout-time 3600 7200
host1(config-subif)#
auto-configure ppp
host1(config-subif)#
auto-configure pppoe
host1(config-subif)#
exit
■
This example uses the profile configured in the first example. Autodetection is
enabled for the bridged Ethernet encapsulation type with a lockout time range
of 3600–21600 seconds (1–6 hours).
host1(config)#
interface atm 4/0.3
host1(config-subif)#
atm pvc 300 0 300 aal5autoconfig
host1(config-subif)#
profile bridgedEthernet ProfileA
host1(config-subif)#
subscriber bridgedEthernet user atm3 domain isp1
password fjdkei
host1(config-subif)#
auto-configure bridgedEthernet lockout-time 3600 21600
Scripts and Macros
Scripts and macros are intended to reduce the management of static interfaces.
Because dynamic interfaces have static lower layers, you can use scripts and macros
to configure the static portion of all dynamic interfaces.
A script or macro can specify the static interface by using the
interface
,
auto-configure
,
subscriber
, or
profile
commands. These commands enable you to
598
■
Scripts and Macros
JUNOSe 11.1.x Link Layer Configuration Guide
Содержание JUNOSE 11.1.X - LINK LAYER CONFIGURATION 4-7-2010
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 26: ...xxvi List of Figures JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 34: ...2 Chapters JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 200: ...168 Monitoring Upper Level Protocols over Ethernet JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 230: ...198 Monitoring VLAN and S VLAN Subinterfaces JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 258: ...226 Monitoring 802 3ad Link Aggregation JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 334: ...302 Troubleshooting JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 394: ...362 Monitoring Multiclass MLPPP JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 406: ...374 Monitoring POS JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 468: ...436 Troubleshooting JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 498: ...466 Monitoring Bridged Ethernet JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 546: ...514 Monitoring Cisco HDLC JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 747: ...Part 2 Index Index on page 717 Index 715...
Страница 748: ...716 Index JUNOSe 11 1 x Link Layer Configuration Guide...
Страница 774: ...742 Index JUNOSe 11 1 x Link Layer Configuration Guide...