JUNOSe 11.0.x Link Layer Configuration Guide
Profile Configuration Examples
The following examples show different ways to configure profiles.
546
Configuring a Dynamic Interface from a Profile
This example configures a new profile with IP characteristics only.
host1(config)#profile ProfileA
host1(config-profile)#ip mtu 1024
host1(config-profile)#exit
This example shows a new profile configured with both IP and PPP characteristics.
host1(config)#profile ProfileB
host1(config-profile)#ip mtu 512
host1(config-profile)#ppp authentication chap
host1(config-profile)#ppp keepalive 120
host1(config-profile)#exit
This example shows a new profile configured with IP, PPP, and PPPoE
characteristics.
host1(config)#profile ProfileC
host1(config-profile)#ip mtu 1400
host1(config-profile)#ppp authentication chap
host1(config-profile)#ppp keepalive 60
host1(config-profile)#pppoe sessions 64
host1(config-profile)#exit
This example uses the profiles created in the previous three examples. It shows
distinct profiles for each encapsulation, where the configuration of dynamic
layers varies according to which incoming encapsulation the ATM 1483
subinterface detects. Autodetection is enabled for the IP encapsulation type with
the default lockout time range, 1–300 seconds.
host1(config)#interface atm 4/0.1
host1(config-subif)#atm pvc 10 100 22 aal5autoconfig
host1(config-subif)#profile ip ProfileA
host1(config-subif)#profile ppp ProfileB
host1(config-subif)#profile pppoe ProfileC
host1(config-subif)#subscriber ip user atm1 domain isp1 password atm1pw
host1(config-subif)#auto-configure ip
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
Need help?
Do you have a question about the JUNOSE SOFTWARE 11.0.X - LINK LAYER CONFIGURATION GUIDE 4-1-2010 and is the answer not in the manual?
Questions and answers