configure
service
vpls 2 customer 1 create
description "ARP host - Bridged CO"
sap 1/1/3:1 create
authentication-policy "authentication-1"
anti-spoof ip-mac
sub-sla-mgmt
sub-ident-policy "sub-id-default"
no shutdown
exit
arp-host
no shutdown
exit
exit
spoke-sdp 12:2 create
exit
no shutdown
configure
subscriber-mgmt
authentication-policy "authentication-1" create
password ALU
radius-authentication-server
server 1 address 172.16.1.1 secret ALU
exit
re-authentication # optional if re-authentication is required
accept-authorization-change # optional is RADIUS Disconnect is required
exit
configure
service
vprn 1 customer 1 create
route-distinguisher 64496:1
auto-bind ldp
vrf-target target:64496
interface "int-BSA1-p2mp-1" create
description "ARP host - Bridged CO"
address 10.2.0.6/29
ip-mtu 1500
spoke-sdp 21:2 create
exit
exit
configure
service
vprn 1 customer 1 create
route-distinguisher 64496:1
auto-bind ldp
vrf-target target:64496
description "ARP host - Routed CO"
address 10.1.0.6/29
group-interface "group-int-1" create
authentication-policy "authentication-1"
sap 1/1/1:1 create
anti-spoof ip-mac
sub-sla-mgmt
sub-ident-policy "sub-id-default"
no shutdown
exit
exit
arp-host
no shutdown
exit
exit
"10.1.0.1" Auth-Type := Local, User-Password == ALU
Alc-Subsc-ID-Str = "arp-host-routed-%{User-name}",
Alc-Subsc-Prof-Str = "sub-profile-1",
Alc-SLA-Prof-Str = "sla-profile-1"
"10.2.0.1" Auth-Type := Local, User-Password == ALU
Alc-Subsc-ID-Str = "arp-host-bridged-%{User-name}",
Alc-Subsc-Prof-Str = "sub-profile-1",
Alc-SLA-Prof-Str = "sla-profile-1"
debug service id 1 arp-host mode all
debug radius detail
2009/11/27 11:48:23.36 CET MINOR: DEBUG #2001 Base RADIUS
"RADIUS: Access-Request
user 10.1.0.1 policy authentication-1"
13 2009/11/27 11:48:23.35 CET MINOR: DEBUG #2001 Base RADIUS
"RADIUS: Transmit
Access-Request(1) 172.16.1.1:1812 id 10 len 79
USER NAME [1] 8 10.1.0.1 # Always IP-address
PASSWORD [2] 16 2/kDsiOVlrs2FQHK4PR47E
NAS IP ADDRESS [4] 4 192.0.2.2
VSA [26] 19 Alcatel(6527)
CHADDR [27] 17 00:00:0a:01:00:01 # Always included
2009/11/27 11:48:23.48 CET MINOR: DEBUG #2001 Base RADIUS
"RADIUS: Receive
Access-Accept(2) id 10 len 87 from 172.16.1.1:1812
VSA [26] 19 Alcatel(6527)
SUBSC ID STR [11] 17 arp-host-routed-10.1.0.1
VSA [26] 15 Alcatel(6527)
SUBSC PROF STR [12] 13 sub-profile-1
VSA [26] 15 Alcatel(6527)
SLA PROF STR [13] 13 sla-profile-1
2009/11/27 11:48:23.48 CET MINOR: DEBUG #2001 vprn1 ARP Host
"ARP Host: Created ARP host
VPRN 1, SAP 1/1/1:1
IP: 10.1.0.1
MAC: 00:00:0a:01:00:01
2009/11/27 11:48:23.48 CET WARNING: SVCMGR #2500 Base Subscriber created
"Subscriber arp-host-routed-10.1.0.1 has been created in the system"
The show service id 1 arp-host command displays all active ARP hosts on this service.
A:BSR-1# show service id 1 arp-host
===============================================================================
ARP host table, service 1
===============================================================================
IP Address Mac Address Sap Id Remaining MC
Time Stdby
-------------------------------------------------------------------------------
10.1.0.1 00:00:0a:01:00:01 1/1/1:1 03h59m59s
-------------------------------------------------------------------------------
Number of ARP hosts: 1
More specific filters such as sap,
ip-address,
mac and others can be used to show dedicated ARP hosts created on the BSR.
A:BSR-1# show service id 1 arp-host ip-address 10.1.0.1 detail
===============================================================================
ARP hosts for service 1
===============================================================================
Service ID : 1
IP Address : 10.1.0.1
MAC Address : 00:00:0a:01:00:01
Subscriber-interface : sub-int-1
Group-interface : group-int-1
SAP : 1/1/1:1
Remaining Time : 03h44m05s
Sub-Ident : "arp-host-routed-10.1.0.1"
Sub-Profile-String : "sub-profile-1"
SLA-Profile-String : "sla-profile-1"
-snip-
RADIUS-User-Name : "10.1.0.1"
Session Timeout (s) : 14400
Start Time : 11/27/2009 11:48:23
Last Auth : 11/27/2009 11:48:23
Last Refresh : 11/27/2009 11:48:23
Persistence Key : N/A
-------------------------------------------------------------------------------
Number of ARP hosts : 1
A:BSR-1# show router 1 route-table 10.1.0.0/24 longer
===============================================================================
Route Table (Service: 1)
===============================================================================
Dest Prefix Type Proto Age Pref
Next Hop[Interface Name] Metric
-------------------------------------------------------------------------------
10.1.0.0/29 Local Local 02d01h32m 0
sub-int-1 0
10.1.0.1/32 Remote Sub Mgmt 00h00m05s 0
[group-int-1] 0
A:BSR-1# show service id 1 arp-host statistics
===============================================================================
ARP host statistics
===============================================================================
Num Active Hosts : 1
Received Triggers : 1
Ignored Triggers : 0
SHCV Checks Forced : 0
Hosts Created : 1
Hosts Updated : 0
Hosts Deleted : 0
A:BSR-1# show service id 1 subscriber-hosts
===============================================================================
Subscriber Host table
===============================================================================
Sap IP Address MAC Address PPPoE-SID Origin
Subscriber
-------------------------------------------------------------------------------
1/1/1:1 10.1.0.1 00:00:0a:01:00:01 N/A ARP-Host
arp-host-routed-10.1.0.1
-------------------------------------------------------------------------------
Number of subscriber hosts : 1
Using the first method, clear service id 1 arp-host and omitting any more specific parameter than ARP host will result in the removal of all ARP hosts in this service. Extra filters like
ip-address,
mac or
sap-id are used to remove a specific ARP host.
A:BSR-1# *A:BSR-1# clear service id 1 arp-host ?
- arp-host
- arp-host { mac <ieee-address> | sap <sap-id> | ip-address
<ip-address[/mask]> }
- arp-host [port <port-id>] [inter-dest-id <intermediate-destination-id> |
no-inter-dest-id]
A:BSR-1# *A:BSR-1# clear service id 1 arp-host ip-address 10.1.0.1
Using the second method, RADIUS disconnect always result in the removal of a unique host because nas-port-id and
framed-ip-address are mandatory parameters in the RADIUS disconnect message. This RADIUS disconnect message is used also for other host-types.
nas-port-id = 1/1/1:1
framed-ip-address=10.1.0.1
RADIUS disconnect messages are, for security reasons, rejected by default and are allowed iso enabled by setting accept-authorization-change parameter in the authentication policy. The
debug radius detail command and
show subscriber-mgmt authentication coa-statistics can be used during troubleshooting.
7 2009/12/05 06:51:35.49 CET MINOR: DEBUG #2001 Base RADIUS
"RADIUS: Receive
Disconnect Request(40) id 140 len 35 from 172.16.1.1
NAS PORT ID [87] 7 1/1/1:1
FRAMED IP ADDRESS [8] 4 10.1.0.1
"
8 2009/12/05 06:51:35.49 CET MINOR: DEBUG #2001 vprn1 ARP Host
"ARP Host: Removed ARP host
VPRN 1, SAP 1/1/1:1
IP: 10.1.0.1
MAC: 00:00:0a:01:00:01
"
9 2009/12/05 06:51:35.49 CET MINOR: DEBUG #2001 Base RADIUS
"RADIUS: Transmit
Disconnect Ack(41) 172.16.1.1:32769 id 140 len 20
"10.1.0.1" Auth-Type := Local, User-Password == ALU
Alc-Subsc-ID-Str = "arp-host-routed-%{User-name}",
Alc-Subsc-Prof-Str = "sub-profile-1",
Alc-SLA-Prof-Str = "sla-profile-1",
Session-Timeout = 900 # value in seconds
A:BSR-1# show service id 1 arp-host
===============================================================================
ARP host table, service 1
===============================================================================
IP Address Mac Address Sap Id Remaining MC
Time Stdby
-------------------------------------------------------------------------------
10.1.0.1 00:00:0a:01:00:01 1/1/1:1 0h14m59s
-------------------------------------------------------------------------------
Number of ARP hosts: 1
A:BSR-1# show service id 1 arp-host detail
===============================================================================
ARP hosts for service 1
===============================================================================
Service ID : 1
IP Address : 10.1.0.1
MAC Address : 00:00:0a:01:00:01
Subscriber-interface : sub-int-1
Group-interface : group-int-1
SAP : 1/1/1:1
Remaining Time : 0h14m59s
--snip--
Session Timeout (s) : 900
Start Time : 12/05/2009 07:36:15
Last Auth : 12/05/2009 07:36:15
Last Refresh : 12/05/2009 07:40:15
Persistence Key : N/A
-------------------------------------------------------------------------------
Number of ARP hosts : 1
A:BSR-1# show service id 1 arp 10.1.0.1
===============================================================================
ARP Table
===============================================================================
IP Address MAC Address Type Expiry Interface SAP
-------------------------------------------------------------------------------
10.1.0.1 00:00:0a:01:00:01 Managed 00h00m00s group-int-1 1/1/1:1
A better approach, which is implemented in an automatic way, and illustrated in Figure 307 is an ARP request triggered from the BSR towards the CPE prior to the session timeout. A CPE ARP reply will then reset the remaining lifetime of the ARP host to the session timeout. If the ARP reply is received outside the
min-auth-interval window and the parameter re-authentication from the authentication policy is set, than RADIUS re-authentication is executed. This re-authentication mechanism is described further in the throttling toward the RADIUS section.
The debug service id 1 host-connectivity-verify command shows the sequence of events and can be used during troubleshooting. Debugging and ARP host counters show below the automatic SHCV mechanism with an active CPE.
3 2009/11/28 20:14:08.23 CET MINOR: DEBUG #2001 vprn1 SHCV
"SHCV: Forced Check Scheduled
VPRN 1, SAP 1/1/1:1
ARP host 10.1.0.1 00:00:0a:01:00:01"
4 2009/11/28 20:14:08.23 CET MINOR: DEBUG #2001 vprn1 SHCV
"SHCV: Periodic Check
VPRN 1, SAP 1/1/1:1
ARP host 10.1.0.1 00:00:0a:01:00:01"
5 2009/11/28 20:14:08.23 CET MINOR: DEBUG #2001 vprn1 SHCV
"SHCV: Received Reply
VPRN 1, SAP 1/1/1:1
ARP host 10.1.0.1 00:00:0a:01:00:01"
6 2009/11/28 20:14:08.23 CET MINOR: DEBUG #2001 vprn1 ARP Host
"ARP Host: Updated ARP host
VPRN 1, SAP 1/1/1:1
IP: 10.1.0.1
MAC: 00:00:0a:01:00:01
A:BSR-1# show service id 1 arp-host statistics
===============================================================================
ARP host statistics
===============================================================================
Num Active Hosts : 1
Received Triggers : 2 # arp reply received from host(2)
Ignored Triggers : 0
SHCV Checks Forced : 1 # arp request send to arp-host(1)
Hosts Created : 1
Hosts Updated : 1 # session-timeout updated (3)
Hosts Deleted : 0
8 2009/11/28 20:29:28.34 CET MINOR: DEBUG #2001 vprn1 SHCV
"SHCV: Forced Check Scheduled
VPRN 1, SAP 1/1/1:1
ARP host 10.1.0.1 00:00:0a:01:00:01"
29 2009/11/28 20:29:28.34 CET MINOR: DEBUG #2001 vprn1 SHCV
"SHCV: Periodic Check
VPRN 1, SAP 1/1/1:1
ARP host 10.1.0.1 00:00:0a:01:00:01"
30 2009/11/28 20:29:38.30 CET MINOR: DEBUG #2001 vprn1 SHCV
"SHCV: Periodic Check
VPRN 1, SAP 1/1/1:1
ARP host 10.1.0.1 00:00:0a:01:00:01"
31 2009/11/28 20:29:48.30 CET MINOR: DEBUG #2001 vprn1 SHCV
"SHCV: Periodic Check
VPRN 1, SAP 1/1/1:1
ARP host 10.1.0.1 00:00:0a:01:00:01"
32 2009/11/28 20:29:58.30 CET WARNING: SVCMGR #2206 vprn1 Host connectivity lost
"host connectivity lost on 1/1/1:1 in service 1 for inetAddr = 10.1.0.1, chAddr=
00:00:0a:01:00:01."
33 2009/11/28 20:29:58.30 CET MINOR: DEBUG #2001 vprn1 SHCV
"SHCV: Connectivity Lost
VPRN 1, SAP 1/1/1:1
ARP host 10.1.0.1 00:00:0a:01:00:01"configure
configure
service
vprn 1 customer 1 create
--snip--
arp-host
min-auth-interval 60 # value in minutes
no shutdown
exit
exit
A:BSR-1# show service id 1 arp-host detail
===============================================================================
ARP hosts for service 1
===============================================================================
Service ID : 1
IP Address : 10.1.0.1
MAC Address : 00:00:0a:01:00:01
--snip--
Session Timeout : 14400
Start Time : 11/27/2009 14:05:07 # Timestamp �arp-host created (first arp)
Last Auth : 11/27/2009 14:05:07 # Timestamp �arp-host authenticated (RADIUS)
Last Refresh : 11/27/2009 14:40:31 # Timestamp �new arp seen from arp-host
The implementation for routed CO is displayed in Figure 310 and works the same for bridged CO. The
mac-pinning command in routed CO context has no influence on this behavior.
configure system
persistence
subscriber-mgmt
location cf2:
exit
exit
A:BSR-1# show service id 1 arp-host detail
===============================================================================
ARP hosts for service 1
===============================================================================
Service ID : 1
IP Address : 10.1.0.1
MAC Address : 00:00:0a:01:00:01
--snip--
Persistence Key : 0x00000004
A:BSR-1# tools dump persistence submgt record 0x00000004
-----------------------------------
Persistency File Record
-----------------------------------
Filename : cf2:\submgmt.005
Key : 00000004
Last Update : 2009/11/27 13:05:07 (UTC)
Action : ADD
Data :
Host Type : ARP host
Service ID : 1
SAP ID : 1/1/1:1
IP : 10.1.0.1
NH MAC : 00:00:0a:01:00:01
Created : 2009/11/27 13:05:07 (UTC)
Session Timeout: 14400 (seconds)
Sub-ID : arp-host-routed-10.1.0.1
Sub-prof-ID : sub-profile-1
SLA-prof-ID : sla-profile-1
App-prof-ID : NULL
ANCP-Str : NULL
Int-dest-ID : NULL
Cat-map-str : NULL
Sub-Id is def : NO
MSap SvcId : 0
MSap PolicyId : 0
MSap IfIndex : 0
Managed routes : None
BgpPrngPlcyAttr: None
Class Attr : 1 bytes
RADIUS Username: 10.1.0.1
configure
service
vpls 2
--snip
sap 1/1/3:1
arp-host
host-limit 1 # default value 1
no shutdown
exit
exit
exit
configure
service
vprn 1
--snip--
arp-host
host-limit 1 # default value
sap-host-limit 1 # default value
no shutdown
exit
exit
Debugging arp-host mode dropped-only indicates the dropped reason and a logging trap is included in the standard log 99.
2009/11/27 20:45:53.80 CET MINOR: DEBUG #2001 vprn1 ARP Host
"ARP Host: Dropped trigger
VPRN 1, SAP 1/1/1:1
Problem: Interface limit (1) of ARP hosts reached
IP: 10.1.0.2
MAC: 00:00:0a:01:00:02
2009/11/27 20:45:53.81 CET WARNING: SVCMGR #2520 vprn1 ARP Host Population Error
"ARP host table population error on SAP 1/1/1:1 in service 1 - Interface limit (
1) of ARP hosts reached"
Increasing the sap-host-limit to 100 and the host-limit to 2000 results in the following summary:
A:BSR-1# show service id 1 arp-host summary
===================================================================
ARP host Summary, service 1
===================================================================
Interface Name Used Provided Admin State
Sap
-------------------------------------------------------------------
group-int-1 2 2000 inService
1/1/1:1 2 100
-------------------------------------------------------------------
Interfaces: 1