Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
|
Step 2 | configure terminal
Example:
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 | username username password password
Example:
Device(config)# username username1 password password1
|
Creates a PPPoE profile and enters BBA group configuration mode.
|
Step 4 | bba-group pppoe
bba-group-name
Example:
Device(config)# bba-group pppoe bba1
|
Creates a PPPoE profile and enters BBA group configuration mode.
|
Step 5 | 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 6 | exit
Example:
Device(config-bba-group)# exit
|
Exits BBA group configuration mode and returns to global configuration mode.
|
Step 7 | 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.
|
Step 8 | Do one of the following:- ip address
ip-address
mask
- ipv6 address
ipv6-address
/prefix
Example:Using an IPv4 address:Device(config-if)# ip address 192.2.0.2 255.255.255.0
Example:Using an IPv6 address:Device(config-if)# ipv6 address 2001:DB8:2::1/40
|
Assigns an IP address to the loopback interface.
|
Step 9 | exit
Example:
|
Exits interface configuration mode and enters global configuration mode.
|
Step 10 | interface
type
number
Example:
Device(config)# interface GigabitEthernet 0/0/0
|
Configures an interface and enters interface configuration mode.
|
Step 11 | Do one of the following:- no ip address
- no ipv6 address
Example:For an IPv4 address:Device(config-if)# no ip address
Example:For an IPv6 address:Device(config-if)# no ipv6 address
| Removes the IP address.
|
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 | Do one of the following:- ip unnumbered
loopback
number
- ipv6 unnumbered
loopback
number
Example:For IPv4:Device(config-if)# ip unnumbered loopback 1
Example:For IPv6:Device(config-if)# ipv6 unnumbered loopback 1
|
Enables IP processing on an interface without explicitly assigning an IP address to the interface.
|
Step 16 | description
description
Example:
Device(config-if)# description pppoe bba1
|
Adds a description to an interface configuration
|
Step 17 | mtu
size
Example:
Device(config-if)# mtu 1492
|
Sets the MTU size.
|
Step 18 | Do one of the following:- peer default ip address pool
local-pool-name
- peer default ipv6 address pool
local-pool-name
- ipv6 dhcp server dhcp-pool-name
Example:For IPv4 addressesDevice(config-if)# peer default ip address pool pool1
Example:For IPv6 addressesDevice(config-if)# peer default ipv6 address pool pool1
Example:For DHCP assigned addresses:
Device(config-if)# ipv6 dhcp server dhcpv6pool
|
Specifies an address pool to provide IP addresses for remote peers connecting to this interface.
|
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 | ipv6 dhcp pool dhcp-pool-name
Example:Device(config)# ipv6 dhcp pool dhcpv6pool
| Creates a DHCP information pool and configures a local prefix pool from which prefixes can be delegated to clients.
|
Step 22 | prefix-delegation pool local-pool-name
Example:Device(config-dhcpv6)# prefix-delegation pool pool1
| Specifies a local prefix pool.
|
Step 23 | Do one of the following:- ip local pool
pool-name [low-ip-address [high-ip-address]]
- ipv6 local pool
pool-name ipv6-subnet-id
/prefix prefix-length
Example:For IPv4 addressesDevice(config)# ip local pool pool1 192.2.0.1 192.2.0.10
Example:For IPv6 addressesDevice(config)# ipv6 local pool pool1 2001:DB8:1200::/40 48
|
Configures a local pool of IP addresses to be used when a remote peer connects to a point-to-point interface.
|
Step 24 | end
Example:
|
Exits global configuration mode and returns to privileged EXEC mode.
|