A:BNG-1#
configure subscriber-mgmt
authentication-policy "radius-1"
description "Radius authentication policy"
password ALU
radius-authentication-server
router "Base"
server 1 address 172.16.1.1 secret ALU
exit
PPPoE-access-method pap-chap
exit
A:BNG-1#
configure subscriber-mgmt
sla-profile "sla-profile-1"
exit
sub-profile "sub-profile-1"
exit
sub-ident-policy "sub-ident-1"
sub-profile-map
use-direct-map-as-default
exit
sla-profile-map
use-direct-map-as-default
exit
exit
Figure 366 shows the message flow for a dual stack PPPoE host behind a bridged gateway corresponding with the configured service.
A:BNG-1#
configure service ies 1
subscriber-interface "sub-int-1"
address 10.1.0.254/16
group-interface "group-int-1"
ipv6
router-advertisements
prefix-options
autonomous
exit
no shutdown
exit
dhcp6
proxy-server
client-applications pppoe
no shutdown
exit
exit
exit
authentication-policy "radius-1"
sap 1/1/4:301
sub-sla-mgmt
sub-ident-policy "sub-ident-1"
multi-sub-sap 10
no shutdown
exit
exit
PPPoE
no shutdown
exit
exit
ipv6
subscriber-prefixes
prefix 2001:DB8:C001:100::/40 wan-host ### length [/32../63]
exit
exit
exit
no shutdown
exit
IPv6 subscriber prefixes must be defined at the subscriber-interface <
sub-int-name>
ipv6 subscriber-prefixes context.
Three types of prefixes can be configured where wan-host is required for this bridged gateway scenario and
pd is used for dual stack PPPoE routed gateways.
Table 36 and
Table 37 provide an overview of the subscriber-prefix parameters that apply and an example of subscriber prefix subnetting for SLAAC.
Figure 367 shows the message flow for a dual stack PPPoE host behind a routed gateway corresponding with the configured service.
A:BNG-1#
configure service ies 1
subscriber-interface "sub-int-1"
address 10.1.0.254/16
group-interface "group-int-1"
ipv6
router-advertisements
no shutdown
exit
dhcp6
proxy-server
client-applications pppoe
no shutdown
exit
exit
exit
authentication-policy "radius-1"
sap 1/1/4:301
sub-sla-mgmt
sub-ident-policy "sub-ident-1"
multi-sub-sap 10
no shutdown
exit
exit
PPPoE
no shutdown
exit
exit
ipv6
delegated-prefix-len 56
subscriber-prefixes
prefix 2001:DB8:D001::/48 pd
exit
exit
exit
no shutdown
IPv6 subscriber prefixes must be defined at the subscriber-interface <
sub-int-name>
ipv6 subscriber-prefixes context.
The delegated prefix length is configured in the subscriber-interface <
sub-int-name>
ipv6 context. The recommended value is /56 (default = /64). The configured length applies to all pd subscriber prefixes on a subscriber-interface.
Table 38 and
Table 39 provide an overview of the subscriber-prefix parameters that apply and an example of prefix subnetting for delegated-prefix-length /56.
A:BNG-1#
configure subscriber-mgmt
authentication-policy "radius-1"
description "Radius authentication policy"
password <hashed password> hash2
radius-authentication-server
router "Base"
server 1 address 172.16.1.1 secret ALU
exit
exit
A:BNG-1#
configure service ies 1 customer 1
subscriber-interface "sub-int-1"
group-interface "group-int-1"
authentication-policy "radius-1"
"pppoev6-host1@isp1.com" Cleartext-Password := "ALU"
Framed-IP-Address = 10.1.0.1,
Framed-IP-Netmask = 255.255.255.0,
Alc-Subsc-ID-Str = "%{User-name}",
Alc-Subsc-Prof-Str = "sub-profile-1",
Alc-SLA-Prof-Str = "sla-profile-1",
Framed-IPv6-Prefix = "2001:db8:c001:0101::/64",
Alc-IPv6-Primary-DNS = "2001:db8:dddd:1::1",
Alc-IPv6-Secondary-DNS = "2001:db8:dddd:2::1"
"PPPoEv6-gw1@isp1.com" Cleartext-Password := "ALU"
Framed-IP-Address = 10.1.0.2,
Framed-IP-Netmask = 255.255.255.0,
Alc-Subsc-ID-Str = "%{User-name}",
Alc-Subsc-Prof-Str = "sub-profile-1",
Alc-SLA-Prof-Str = "sla-profile-1",
Delegated-IPv6-Prefix = "2001:db8:d001:0100::/56",
Alc-IPv6-Primary-DNS = "2001:db8:dddd:1::1",
Alc-IPv6-Secondary-DNS = "2001:db8:dddd:2::1"
A:BNG-1#
configure service ies 1 customer 1
subscriber-interface "sub-int-1"
group-interface "group-int-1"
ipv6
router-advertisements
max-advertisement 1800 # Default 30 min
min-advertisement 900 # Default 15 min
no shutdown
exit
The router-advertisements router-lifetime parameter (default 4500 sec) specifies how long the host is allowed to use the originator of the RA as default gateway. This timer is configurable between 2700 and 9000 seconds.
Configuring a smaller router-advertisements router-life timer than the
router-advertisements min-advertisement timer results in a dual stack PPPoE host without a default gateway.
A:BNG-1#
configure service ies 1 customer 1
subscriber-interface "sub-int-1"
group-interface "group-int-1"
ipv6
router-advertisements
router-lifetime 4500 # Default 1h 15min
no shutdown
exit
The prefix-options autonomous parameter below specifies whether or not offered RADIUS IPv6 prefix can be used for stateless address configuration (SLAAC). The
prefix-options lifetime parameter defines how long the host is allowed to use this prefix. Configuring a smaller
prefix-option valid-lifetime than the
router-advertisements min-advertisement timer results in host traffic being sourced with the link-local address instead of global unique IPv6 address.
A:BNG-1#
configure service ies 1 customer 1
subscriber-interface "sub-int-1"
group-interface "group-int-1"
ipv6
router-advertisements
prefix-options
autonomous # Required for SLAAC
preferred-lifetime 3600 # Default 1 hour
valid-lifetime 86400 # Default 24 hour
exit
no shutdown
exit
Internet Control Message Protocol v6
Type: 134 (Router advertisement)
<snip>
ICMPv6 Option (Prefix information)
Type: Prefix information (3)
Length: 32
Prefix length: 64
Flags: 0x40
1... .... = on link
.1.. .... = Auto # Auto-Configuration flag
..0. .... = Not router address
...0 .... = Not site prefix
Valid lifetime: 86400 # Default value 24 hour
Preferred lifetime: 3600 # Default value 1 hour
Prefix: 2001:DB8:C001:101:: # SLAAC prefix
A:BNG-1#
configure service ies 1 customer 1
subscriber-interface "sub-int-1"
group-interface "group-int-1"
ipv6
router-advertisements
current-hop-limit 64 # default value
no managed-configuration # default value
no mtu # default value
no other-stateful-configuration # default value
reachable-time 0 # default value
retransmit-time 0 # default value
exit
This dual stack PPPoE host uses SLAAC for address assignment and does not require DHCPv6 for this assignment. The 7750 SR however does not support DNSv6 information through the RA DNS Option (RFC 5006, IPv6 Router Advertisement Option for DNS Configuration) which forces the use of DHCPv6 information requests and replies to retrieve the DNSv6 information. The DHCPv6 proxy server must be enabled (the default is
shutdown) and PPPoE defined as client-application (default=dhcp only). No lease state is kept for this DNSv6 information and therefore it is known as Stateless DHCPv6.
A:BNG-1#
configure service ies 1 customer 1
subscriber-interface "sub-int-1"
group-interface "group-int-1"
ipv6
dhcp6
proxy-server
client-applications PPPoE
no shutdown
A:BNG-1#
configure service ies 1 customer 1
subscriber-interface "sub-int-1"
group-interface "group-int-1"
ipv6
dhcp6
proxy-server
renew-timer 1800 # default
rebind-timer 2880 # default
valid-lifetime 86400 # default
preferred-lifetime 3600 # default
client-applications pppoe
no shutdown
exit
A:BNG-1# show service active-subscribers subscriber "pppoev6-host1@isp1.com"
============================================================
Active Subscribers
============================================================
-----------------------------------------------------------
Subscriber pppoev6-host1@isp1.com (sub-profile-1)
------------------------------------------------------------
(1) SLA Profile Instance sap:1/1/4:301 - sla:sla-profile-1
-----------------------------------------------------------
IP Address
MAC Address PPPoE-SID Origin
--------------------------------------------------------
10.1.0.1
00:0c:29:54:30:bf 1 IPCP
2001:DB8:C001:101::/64
00:0c:29:54:30:bf 1 PPP-SLAAC
------------------------------------------------------------
Number of active subscribers: 1
The hierarchy parameter for active-subscribers gives a top level down overview for this subscriber.
A:BNG-1# show service active-subscribers hierarchy subscriber "pppoev6-host1@isp1.com"
============================================================================
Active Subscriber hierarchy
============================================================================
-- pppoev6-host1@isp1.com (sub-profile-1)
|
|-- sap:1/1/4:301 - sla:sla-profile-1
| |
| |-- 10.1.0.1
| | 00:0c:29:54:30:bf - 1 (IPCP)
| |
| |-- 2001:DB8:C001:101::/64
| | 00:0c:29:54:30:bf - 1 (PPP-SLAAC)
| |
============================================================================
A:BNG-1#
A:BNG-1# show service id 1 PPPoE session ip-address 10.1.0.1 detail
==================================================================
PPPoE sessions for svc-id 1
==================================================================
Sap Id Mac Address Sid Up Time Type
IP/L2TP-Id/Interface-Id
-----------------------------------------------------------------
1/1/4:301 00:0c:29:54:30:bf 1 0d 00:04:03 Local
10.1.0.1
81:35:1D:7C:1F:3F:8B:41
LCP State : Opened
IPCP State : Opened
IPv6CP State : Opened
PPP MTU : 1492
PPP Auth-Protocol : CHAP
PPP User-Name : pppoev6-host1@isp1.com
Subscriber-interface : sub-int-1
Group-interface : group-int-1
Subscriber Origin : Radius
Strings Origin : Radius
IPCP Info Origin : Radius
IPv6CP Info Origin : Radius
Subscriber : "pppoev6-host1@isp1.com"
Sub-Profile-String : "sub-profile-1"
SLA-Profile-String : "sla-profile-1"
<snip>
IPv6 Prefix : 2001:DB8:C001:101::/64 #SLAAC
IPv6 Del.Pfx. : N/A
Primary IPv6 DNS : 2001:DB8:DDDD:1::1
Secondary IPv6 DNS : 2001:DB8:DDDD:2::1
<snip>
---------------------------------------------------------
Number of sessions : 1
A:BNG-1# show router route-table ipv6 protocol sub-mgmt
============================================================================
IPv6 Route Table (Router: Base)
============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
----------------------------------------------------------------------------
2001:DB8:C001:101::/64 Remote Sub Mgmt 00h20m01s 0
[group-int-1] 0
00 2010/07/23 14:16:40.01 IST MINOR: DEBUG #2001 Base TIP
"TIP: DHCP6_PKT
Incoming DHCP6 Msg : INFO_REQUEST (11)
on itf group-int-1
Trans Id : 0xcef3f0
Option : CLIENTID (1), Length : 14
LLT : HwTyp=0001,T=322878930,LL=000c29c851ca
00010001133ebdd2000c29c851ca
Option : ELAPSED_TIME (8), Length : 2
Time : 100 seconds
Option : ORO (6), Length : 4
Requested Option : DNS_NAME_SRVR (23)
101 2010/07/23 14:16:40.02 IST MINOR: DEBUG #2001 Base TIP
"TIP: DHCP6_PKT
Outgoing DHCP6 Msg : REPLY (7)
to itf group-int-1
Trans Id : 0xcef3f0
Option : SERVERID (2), Length : 10
LL : HwTyp=0001,LL=24b1ff000000
0003000124b1ff000000
Option : CLIENTID (1), Length : 14
LLT : HwTyp=0001,T=322878930,LL=000c29c851ca
00010001133ebdd2000c29c851ca
Option : DNS_NAME_SRVR (23), Length : 32
Server : 2001:DB8:DDDD:1::1 # retrieved from radius
Server : 2001:DB8:DDDD:2::1 # retrieved from RADIUS
A:BNG-1# clear router dhcp6 statistics
A:BNG-1# show router dhcp6 statistics
===========================================================================
DHCP6 statistics (Router: Base)
===========================================================================
Msg-type Rx Tx Dropped
---------------------------------------------------------------------------
1 SOLICIT 0 0 0
2 ADVERTISE 0 0 0
3 REQUEST 0 0 0
4 CONFIRM 0 0 0
5 RENEW 0 0 0
6 REBIND 0 0 0
7 REPLY 0 1 0
8 RELEASE 0 0 0
9 DECLINE 0 0 0
10 RECONFIGURE 0 0 0
11 INFO_REQUEST 1 0 0
12 RELAY_FORW 0 0 0
13 RELAY_REPLY 0 0 0
A:BNG-1# show router arp summary
======================================
ARP Table Summary (Router: Base)
======================================
Local ARP Entries : 0
Static ARP Entries : 0
Dynamic ARP Entries : 0
Managed ARP Entries : 0
Internal ARP Entries : 1
---------------------------------------
No. of ARP Entries : 1
A:BNG-1# show router neighbor summary
=======================================
Neighbor Table Summary (Router: Base)
=======================================
Static Nbr Entries : 0
Dynamic Nbr Entries : 0
Managed Nbr Entries : 0
Internal Nbr Entries : 1
----------------------------------------
No. of Neighbor Entries : 1
A:BNG-1#
show service active-subscribers subscriber "PPPoEv6-rgw1@isp1.com"
============================================================================
Active Subscribers
============================================================================
----------------------------------------------------------------------------
Subscriber PPPoEv6-rgw1@isp1.com (sub-profile-1)
----------------------------------------------------------------------------
(1) SLA Profile Instance sap:1/1/4:301 - sla:sla-profile-1
----------------------------------------------------------------------------
IP Address
MAC Address PPPoE-SID Origin
-----------------------------------------------------------
10.1.0.2
00:0c:29:54:30:bf 1 IPCP
2001:DB8:D001:100::/56
00:0c:29:54:30:bf 1 PPP-DHCP6
------------------------------------------------------------
Number of active subscribers: 1
A:BNG-1#
show service active-subscribers hierarchy subscriber "PPPoEv6-rgw1@isp1.com"
============================================================================
Active Subscriber hierarchy
============================================================================
-- PPPoEv6-rgw1@isp1.com (sub-profile-1)
|
|-- sap:1/1/4:301 - sla:sla-profile-1
| |
| |-- 10.1.0.2
| | 00:0c:29:54:30:bf - 1 (IPCP)
| |
| |-- 2001:DB8:D001:100::/56
| | 00:0c:29:54:30:bf - 1 (PPP-DHCP6)
===========================================================================
A:BNG-1# show service id 1 PPPoE session ip-address 10.1.0.2 detail
==================================================================
PPPoE sessions for svc-id 1
==================================================================
Sap Id Mac Address Sid Up Time Type
IP/L2TP-Id/Interface-Id
-----------------------------------------------------------------
1/1/4:301 00:0c:29:54:30:bf 1 0d 00:05:23 Local
10.1.0.2
B5:4B:0D:D7:69:9E:CD:7F
LCP State : Opened
IPCP State : Opened
IPv6CP State : Opened
PPP MTU : 1492
PPP Auth-Protocol : CHAP
PPP User-Name : PPPoEv6-rgw1@isp1.com
Subscriber-interface : sub-int-1
Group-interface : group-int-1
Subscriber Origin : Radius
Strings Origin : Radius
IPCP Info Origin : Radius
IPv6CP Info Origin : Radius
Subscriber : "PPPoEv6-rgw1@isp1.com"
Sub-Profile-String : "sub-profile-1"
SLA-Profile-String : "sla-profile-1"
<snip>
IPv6 Prefix : N/A
IPv6 Del.Pfx. : 2001:DB8:D001:100::/56 #IA-PD
Primary IPv6 DNS : 2001:DB8:DDDD:1::1
Secondary IPv6 DNS : 2001:DB8:DDDD:2::1
<snip>
---------------------------------------------------------
Number of sessions : 1
A:BNG-1# show router route-table ipv6 protocol sub-mgmt
============================================================================
IPv6 Route Table (Router: Base)
============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
----------------------------------------------------------------------------
2001:DB8:D001:100::/56 Remote Sub Mgmt 00h06m45s 0
[group-int-1]
171 2010/07/23 15:01:18.24 IST MINOR: DEBUG #2001 Base TIP
"TIP: DHCP6_PKT
Incoming DHCP6 Msg : SOLICIT (1)
on itf group-int-1
Trans Id : 0xb6f6f1
Option : CLIENTID (1), Length : 14
LLT : HwTyp=0001,T=322878930,LL=000c29c851ca
00010001133ebdd2000c29c851ca
Option : IA_PD (25), Length : 12
IAID : 1
Time1: 4294967295 seconds
Time2: 4294967295 seconds
Option : ELAPSED_TIME (8), Length : 2
Time : 100 seconds
Option : ORO (6), Length : 4
Requested Option : DNS_NAME_SRVR (23)
172 2010/07/23 15:01:18.23 IST MINOR: DEBUG #2001 Base TIP
"TIP: DHCP6_PKT
Outgoing DHCP6 Msg : ADVERTISE (2)
to itf group-int-1
Trans Id : 0xb6f6f1
Option : SERVERID (2), Length : 10
LL : HwTyp=0001,LL=24b1ff000000
0003000124b1ff000000
Option : CLIENTID (1), Length : 14
LLT : HwTyp=0001,T=322878930,LL=000c29c851ca
00010001133ebdd2000c29c851ca
Option : DNS_NAME_SRVR (23), Length : 32
Server : 2001:DB8:DDDD:1::1
Server : 2001:DB8:DDDD:2::1
Option : IA_PD (25), Length : 41
IAID : 1
Time1: 1800 seconds
Time2: 2880 seconds
Option : IAPREFIX (26), Length : 25
Prefix : 2001:DB8:D001:100::/56
Preferred Lifetime : 3600 seconds
Valid Lifetime : 86400 seconds
3 2010/07/23 15:01:20.24 IST MINOR: DEBUG #2001 Base TIP
"TIP: DHCP6_PKT
Incoming DHCP6 Msg : REQUEST (3)
on itf group-int-1
Trans Id : 0x1c52e7
Option : CLIENTID (1), Length : 14
LLT : HwTyp=0001,T=322878930,LL=000c29c851ca
00010001133ebdd2000c29c851ca
Option : IA_PD (25), Length : 12
IAID : 1
Time1: 4294967295 seconds
Time2: 4294967295 seconds
Option : ELAPSED_TIME (8), Length : 2
Time : 300 seconds
Option : ORO (6), Length : 4
Requested Option : DNS_NAME_SRVR (23)
Option : SERVERID (2), Length : 10
LL : HwTyp=0001,LL=24b1ff000000
0003000124b1ff000000
176 2010/07/23 15:01:20.25 IST MINOR: DEBUG #2001 Base TIP
"TIP: DHCP6_PKT
Outgoing DHCP6 Msg : REPLY (7)
to itf group-int-1
Trans Id : 0x1c52e7
Option : SERVERID (2), Length : 10
LL : HwTyp=0001,LL=24b1ff000000
0003000124b1ff000000
Option : CLIENTID (1), Length : 14
LLT : HwTyp=0001,T=322878930,LL=000c29c851ca
00010001133ebdd2000c29c851ca
Option : DNS_NAME_SRVR (23), Length : 32
Server : 2001:DB8:DDDD:1::1
Server : 2001:DB8:DDDD:2::1
Option : IA_PD (25), Length : 41
IAID : 1
Time1: 1800 seconds
Time2: 2880 seconds
Option : IAPREFIX (26), Length : 25
Prefix : 2001:DB8:D001:100::/56
Preferred Lifetime : 3600 seconds
Valid Lifetime : 86400 seconds
A:BNG-1# clear router dhcp6 statistics
A:BNG-1# show router dhcp6 statistics
===========================================================================
DHCP6 statistics (Router: Base)
===========================================================================
Msg-type Rx Tx Dropped
---------------------------------------------------------------------------
1 SOLICIT 1 0 0
2 ADVERTISE 0 1 0
3 REQUEST 1 0 0
4 CONFIRM 0 0 0
5 RENEW 0 0 0
6 REBIND 0 0 0
7 REPLY 0 1 0
8 RELEASE 0 0 0
9 DECLINE 0 0 0
10 RECONFIGURE 0 0 0
11 INFO_REQUEST 0 0 0
12 RELAY_FORW 0 0 0
13 RELAY_REPLY 0 0 0
A:BNG-1# show log log-id 99
A:BNG-1# show debug
debug
service
id 1
PPPoE
packet
mode egr-ingr-and-dropped
detail-level high
discovery
ppp
dhcp-client
exit
exit
exit
exit
A:BNG-1# show debug
debug
radius detail
exit
A:BNG-1# show debug
debug
router "Base"
ip
dhcp6
mode egr-ingr-and-dropped
detail-level high
exit
exit
exit
exit
A:BNG-1# show router dhcp6 statistics
A:BNG-1# show service id 1 PPPoE session statistics