| Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
- Enter your password if prompted.
|
| Step 2 | configure terminal
Example:
Device# configure terminal
|
Enters global configuration mode.
|
| Step 3 | bba-group pppoe
bba-group-name
Example:
Device(config)# bba-group pppoe bba1
|
Creates a PPPoE profile and enters BBA group configuration mode.
|
| Step 4 | virtual-template
template-number
Example:
Device(config-bba-group)# virtual-template 1
|
Creates a virtual template for a PPPoE profile with an identifying number to be used for cloning virtual access interfaces.
|
| Step 5 | exit
Example:
Device(config-bba-group)# exit
|
Exits BBA group configuration mode and returns to global configuration mode.
|
| Step 6 | interface loopback
interface-number
Example:
Device(config)# interface loopback 1
|
Creates a loopback interface that emulates an interface that is always up and enters interface configuration mode.
- The range is from 0 to 2147483647.
|
| Step 7 | ip address
ip-address
pool
Example:
Device(config-if)# ip address 192.2.0.2 255.255.255.0
|
Assigns an IP address to the loopback interface.
|
| Step 8 | exit
Example:
|
Exits interface configuration mode and enters global configuration mode.
|
| Step 9 | interface
type
number
Example:
Device(config)# interface GigabitEthernet 0/0/0
|
Configures an interface and enters interface configuration mode.
|
| Step 10 | no ip address
Example:
Device(config-if)# no ip address
|
Removes the IP address.
|
| Step 11 | negotiation auto
Example:
Device(config-if)# negotiation auto
|
Enables the autonegotiation protocol to configure the speed, duplex, and automatic flow control of a Gigabit Ethernet interface.
|
| Step 12 | pppoe enable group
bba-group-name
Example:
Device(config-if)# pppoe enable group bba1
|
Enables PPPoE sessions on the Gigabit Ethernet interface.
|
| Step 13 | exit
Example:
|
Exits interface configuration mode and returns to global configuration mode.
|
| Step 14 | interface virtual-template
number
Example:
Device(config)# interface virtual-template 1
|
Creates a virtual template interface that can be configured and applied dynamically to create virtual access interfaces and enters interface configuration mode.
|
| Step 15 | description
description
Example:
Device(config-if)# description pppoe bba1
|
Adds a description to an interface configuration.
|
| Step 16 | mtu
size
Example:
Device(config-if)# mtu 1492
|
Sets the MTU size.
- The range is from 64 to 9216.
|
| Step 17 | ip unnumbered
type
number
Example:
Device(config-if)# ip unnumbered loopback 1
|
Enables IP processing on an interface without explicitly assigning an IP address to the interface.
- The
type argument is the interface on which the router has assigned an IP address.
- The
number argument is the number of the interface on which you want to enable IP processing.
|
| Step 18 | peer default ip address pool
pool-name
Example:
Device(config-if)# peer default ip address pool pool1
|
Specifies an IP address and an address from a specific IP address pool to be returned to a remote peer connecting to this interface.
- Enter a value for the
pool-name argument to enable IP address pooling globally on all interfaces with the default configuration.
|
| Step 19 | ppp authentication
protocol
Example:
Device(config-if)# ppp authentication pap
|
Enables at least one PPP authentication protocol and specifies the order in which the protocols are selected on the interface.
|
| Step 20 | exit
Example:
|
Exits interface configuration mode and returns to global configuration mode.
|
| Step 21 | ip local pool
{default |
pool-name} [low-ip-address [high-ip-address]]
Example:
Device(config)# ip local pool pool1 192.2.0.1 192.2.0.10
|
Configures a local pool of IP addresses to be used when a remote peer connects to a point-to-point interface.
|
| Step 22 | end
Example:
|
Exits global configuration mode and returns to privileged EXEC mode.
|