432
[PE1-radius-rs1] key authentication simple radius
[PE1-radius-rs1] key accounting simple radius
# Exclude the ISP name from the username sent to the RADIUS server.
[PE1-radius-rs1] user-name-format without-domain
[PE1-radius-rs1] quit
# Enable the RADIUS session-control feature.
[PE1] radius session-control enable
b.
Configure the ISP domain:
# Create an ISP domain named
dm1
and enter its view.
[PE1] domain dm1
# Configure ISP domain
dm1
to use RADIUS scheme
rs1.
[PE1-isp-dm1] authentication ipoe radius-scheme rs1
[PE1-isp-dm1] authorization ipoe radius-scheme rs1
[PE1-isp-dm1] accounting ipoe radius-scheme rs1
[PE1-isp-dm1] quit
c.
Configure IPoE:
# Enable IPoE and configure Layer 3 access mode on GigabitEthernet 3/1/1.
[PE1] interface gigabitethernet 3/1/1
[PE1–GigabitEthernet3/1/1] ip subscriber routed enable
# Configure the L2VPN-leased user and specify the username, password, and ISP domain
for the user.
[PE1–GigabitEthernet3/1/1] ip subscriber l2vpn-leased username us1 password
plaintext pw1 domain dm1
[PE1–GigabitEthernet3/1/1] quit
Verifying the configuration
# Display IPoE session information to verify that the host has come online.
[PE1] display ip subscriber l2vpn-leased
Basic:
Access interface : GE3/1/1
VPN instance : N/A
Username : us1
User ID : 0x30000000
State : Online
Service node : Slot 3 CPU 0
Domain : dm1
Login time : May 14 20:04:42 2014
Online time (hh:mm:ss) : 00:16:37
Total users : 0
AAA:
ITA policyname : N/A
IP pool : N/A
Primary DNS server : N/A
Secondary DNS server : N/A
Session idle cut : N/A
Session duration : N/A, remaining: N/A
Traffic quota : N/A