ASR9K IPoE BNG and DHCP configuration.

Here is the complete configuration guide for ASR9K IPOE BNG, including support for PPPoE.

dhcp ipv4
profile ipoe proxy
allow-move
helper-address vrf LANDING 172.16.254.2 giaddr 0.0.0.0
broadcast-flag policy unicast-always
relay information option
relay information policy keep
relay information option allow-untrusted
relay information option remote-id enable
relay information option circuit-id enable
!
interface TenGigE0/2/0/23 proxy profile ipoe
interface TenGigE0/2/0/23.100 proxy profile ipoe
!

interface TenGigE0/2/0/23.100
vrf LANDING
ipv4 point-to-point
ipv4 unnumbered Loopback1111
arp learning disable
service-policy type control subscriber PPP-IPOE
pppoe enable bba-group PPPOE
ipsubscriber ipv4 l2-connected
initiator dhcp
!
encapsulation ambiguous dot1q 100 second-dot1q any
!

policy-map type control subscriber PPP-IPOE
 event session-activate match-first
  class type control subscriber PPP do-until-failure
   10 authenticate aaa list PPPOE
  ! 
 ! 
 event session-start match-first
  class type control subscriber PPP do-all
   10 activate dynamic-template PPP_TPL
  ! 
  class type control subscriber IPOE do-until-failure
   10 activate dynamic-template ipoe-profile
  ! 
 ! 
 end-policy-map

 dynamic-template
 type ipsubscriber ipoe-profile
  vrf LANDING
  ipv4 unnumbered Loopback1111
 !

class-map type control subscriber match-any IPOE
 match protocol dhcpv4 
 end-class-map

interface Loopback1111
vrf LANDING
ipv4 address 10.155.63.254 255.255.192.0

Leave a Reply

Your email address will not be published. Required fields are marked *