Step 1.1
|
A lookup in the subscriber-explicit-map is performed with the sub-ident string returned by the Python script, RADIUS or statically configured. If a matching entry is found, the sub-profile-name (if defined) is taken. If no entry was found go to Step 1.2.
|
A:BSA>config>subscr-mgmt# info
explicit-subscriber-map
entry key "Sub-1" sub-profile "sub-profile-1" sla-profile "sla-profile-1"
A:BSA>config>service>vpls>sap# info
sub-sla-mgmt
sub-ident-policy "sub-ident-policy-1"
A:BSA>config>subscr-mgmt# info
sub-ident-policy "sub-ident-policy-1" create
sub-profile-map
entry key "sub-1" sub-profile "sub-profile-1"
A:BSA>config>service>vpls>sap# info
sub-sla-mgmt
def-sub-profile "sub-profile-1"
A:BSA>config>subscr-mgmt# info
sub-profile "default" create
A:BSA>config>subscr-mgmt# info
explicit-subscriber-map
entry key "Sub-1" sub-profile "sub-profile-1" sla-profile "sla-profile-1"
A:BSA>config>subscr-mgmt# info
sub-profile "sub-profile-1" create
sla-profile-map
entry key "sla-1" sla-profile "sla-profile-1"
A:BSA>config>service>vpls>sap# info
sub-sla-mgmt
sub-ident-policy "sub-ident-policy-1"
A:BSA>config>subscr-mgmt# info
sub-ident-policy "sub-ident-policy-1" create
sla-profile-map
entry key "sla-1" sla-profile "sla-profile-1"
Step 2.4
|
The sla-profile-name is taken from the def-sla-profile attribute on the SAP. If no entry was found DHCP Ack is dropped.
|
A:BSA>config>service>vpls>sap# info
sub-sla-mgmt
def-sla-profile "sla-profile-1"
A:BSA>config>subscr-mgmt# info
authentication-policy "auth-policy-1" create
password password-1
radius-authentication-server
router "management"
server 1 address 192.0.2.5 secret ALU
exit
include-radius-attribute
circuit-id
remote-id
nas-port-id
nas-identifier
exit
exit
sla-profile "sla-profile-1" create
exit
sla-profile "sla-profile-2" create
exit
sla-profile "sla-profile-3" create
exit
sla-profile "sla-profile-default" create
exit
sub-profile "sub-profile-1" create
exit
sub-profile "sub-profile-default" create
exit
sub-ident-policy "sub-ident-policy-1" create
sub-profile-map
use-direct-map-as-default
exit
sla-profile-map
use-direct-map-as-default
exit
strings-from-option 254
exit
The string-from-option 254 command is shared in-built dhcp-server of BSR. Using this option, the DHCP server could transmit subscriber identification options such the subscriber-id, sla-profile-string, and sub-profile-string.
vpls 100 customer 1 create
split-horizon-group "RSHG-1" residential-group create
exit
--snip--
sap 1/1/4:100 split-horizon-group "RSHG-1" create
dhcp
snoop
lease-populate 400
proxy-server
emulated-server 10.0.1.253
no shutdown
exit
no shutdown
exit
authentication-policy "auth-policy-1"
anti-spoof ip-mac
sub-sla-mgmt
def-sub-id string "default-subscriber"
def-sub-profile "sub-profile-default"
def-sla-profile "sla-profile-default"
sub-ident-policy "sub-ident-policy-1"
no shutdown
exit
exit
spoke-sdp 12:100 create
exit
no shutdown
exit
ies 100 customer 1 create
interface "int-host-1" create
address 10.0.1.254/24
spoke-sdp 21:100 create
exit
exit
no shutdown
exit
vpls 200 customer 1 create
split-horizon-group "RSHG-1" residential-group create
exit
--snip--
sap 1/1/4:200 split-horizon-group "RSHG-1" create
dhcp
snoop
lease-populate 400
no shutdown
exit
authentication-policy "auth-policy-1"
anti-spoof ip-mac
sub-sla-mgmt
def-sub-id string "default-subscriber"
def-sub-profile "sub-profile-default"
def-sla-profile "sla-profile-default"
sub-ident-policy "sub-ident-policy-1"
no shutdown
exit
exit
spoke-sdp 12:200 create
dhcp
snoop
exit
exit
no shutdown
exit
ies 200 customer 1 create
interface "int-host-2" create
address 10.0.2.254/24
dhcp
server 192.0.2.4
trusted
no shutdown
exit
spoke-sdp 21:200 create
exit
exit
no shutdown
exit
vpls 300 customer 1 create
split-horizon-group "RSHG-1" residential-group create
exit
---- snip ---
sap 1/1/4:300 split-horizon-group "RSHG-1" create
dhcp
snoop
lease-populate 400
no shutdown
exit
anti-spoof ip-mac
sub-sla-mgmt
def-sub-id string "default-subscriber"
def-sub-profile "sub-profile-default"
def-sla-profile "sla-profile-default"
sub-ident-policy "sub-ident-policy-1"
no shutdown
exit
exit
spoke-sdp 12:300 create
dhcp
snoop
exit
exit
no shutdown
exit
ies 300 customer 1 create
interface "int-host-3" create
address 10.0.3.254/24
dhcp
server 192.0.2.4
trusted
no shutdown
exit
spoke-sdp 21:300 create
exit
exit
no shutdown
exit
Note: Refer to IPv4 DHCP Hosts for detailed information about how to use different options.
A:BSA>config>subscr-mgmt>auth-plcy# user-name-format
- user-name-format <format> [append domain-name]
- no user-name-format
<format> : mac|circuit-id|tuple|ascii-converted-circuit-id|
ascii-converted-tuple
ca:00:0c:54:00:08 Auth-Type := Local, User-Password == "password-1"
Alc-Subsc-ID-Str = "sub-id-1",
Alc-Subsc-Prof-Str == "sub-profile-1",
Alc-SLA-Prof-Str == "sla-profile-1",
Framed-IP-Address = 10.0.1.1,
Framed-IP-Netmask = 255.255.255.0,
Alc-Default-Router = 10.0.1.254,
Session-Timeout = 6000
ca:01:08:10:00:08 Auth-Type := Local, User-Password == "password-1"
Alc-Subsc-ID-Str = "sub-id-1",
Alc-Subsc-Prof-Str == "sub-profile-1",
Alc-SLA-Prof-Str == "sla-profile-2"
A:BSR>config>router>dhcp# info
local-dhcp-server "dhcp-server-1" create
user-db "user-db-1"
pool "pool-1" create
subnet 10.0.2.0/24 create
exit
subnet 10.0.3.0/24 create
exit
exit
no shutdown
exit
*A:BSR>config>subscr-mgmt>loc-user-db>dhcp# match-list
- no match-list
- match-list <dhcp-match-type-1> [<dhcpmatch-type-2>...(up to 4 max)]
<dhcp-match-type> : circuit-id|mac|option60|remote-id|sap-id|service-id|
string|system-id
A:BSR>config>subscr-mgmt# info
local-user-db "user-db-1" create
dhcp
match-list mac
host "host-2" create
host-identification
mac ca:01:08:10:00:08
exit
address 10.0.2.1
options
subnet-mask 255.255.255.0
default-router 10.0.2.254
exit
no shutdown
exit
host "host-3" create
host-identification
mac ca:02:02:d0:00:08
exit
address 10.0.3.1
identification-strings 254 create
subscriber-id "sub-id-1"
sla-profile-string "sla-profile-3"
sub-profile-string "sub-profile-1"
exit
options
subnet-mask 255.255.255.0
default-router 10.0.3.254
exit
no shutdown
exit
exit
no shutdown
exit
The initialization of all active subscribers and hosts can be shown using the how service active-subscribers command. Different options can be used to filter the output of the command.
A:BSA# show service active-subscribers
===============================================================================
Active Subscribers
===============================================================================
-------------------------------------------------------------------------------
Subscriber sub-id-1 (sub-profile-1)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
(1) SLA Profile Instance sap:1/1/4:100 - sla:sla-profile-1
-------------------------------------------------------------------------------
IP Address MAC Address PPPoE-SID Origin
-------------------------------------------------------
10.0.1.1 ca:00:0c:54:00:08 N/A DHCP
-------------------------------------------------------------------------------
(2) SLA Profile Instance sap:1/1/4:200 - sla:sla-profile-2
-------------------------------------------------------------------------------
IP Address MAC Address PPPoE-SID Origin
-------------------------------------------------------
10.0.2.1 ca:01:08:10:00:08 N/A DHCP
-------------------------------------------------------------------------------
(3) SLA Profile Instance sap:1/1/4:300 - sla:sla-profile-3
-------------------------------------------------------------------------------
IP Address MAC Address PPPoE-SID Origin
-------------------------------------------------------
10.0.3.1 ca:02:02:d0:00:08 N/A DHCP
-------------------------------------------------------------------------------
Number of active subscribers : 1
===============================================================================
A:BSA#
A:BSA# show service active-subscribers hierarchy
===============================================================================
Active Subscriber hierarchy
===============================================================================
-- sub-id-1 (sub-profile-1)
|
|-- sap:1/1/4:100 - sla:sla-profile-1
| |
| |-- 10.0.1.1 - ca:00:0c:54:00:08 - N/A (DHCP)
| |
|
|-- sap:1/1/4:200 - sla:sla-profile-2
| |
| |-- 10.0.2.1 - ca:01:08:10:00:08 - N/A (DHCP)
| |
|
|-- sap:1/1/4:300 - sla:sla-profile-3
| |
| |-- 10.0.3.1 - ca:02:02:d0:00:08 - N/A (DHCP)
| |
A:BSA# debug service id 100 dhcp mode egr-ingr-and-dropped
A:BSA# debug service id 100 dhcp detail-level medium
A:BSA# debug radius detail
18 2009/12/15 06:31:56.63 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 100, SAP 1/1/4:100
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:00:0c:54:00:08 xid: 0xd42
DHCP options:
[53] Message type: Discover
--snip--
"
19 2009/12/15 06:31:56.63 UTC MINOR: DEBUG #2001 management RADIUS
"RADIUS: Access-Request
user ca:00:0c:54:00:08 policy auth-policy-1"
20 2009/12/15 06:31:56.63 UTC MINOR: DEBUG #2001 management RADIUS
"RADIUS: Transmit
Access-Request(1) 192.0.2.5:1812 id 69 len 85
USER NAME [1] 17 ca:00:0c:54:00:08
PASSWORD [2] 16 lkhSVrFePQ0A0Xc4ZyMwMk
NAS IP ADDRESS [4] 4 192.0.2.1
NAS PORT TYPE [61] 4 Ethernet(15)
NAS PORT ID [87] 9 1/1/4:100
NAS IDENTIFIER [32] 3 BSA
"
21 2009/12/15 06:31:56.73 UTC MINOR: DEBUG #2001 management RADIUS
"RADIUS: Receive
Access-Accept(2) id 69 len 108 from 138.203.18.79:1812
VSA [26] 10 Alcatel(6527)
SUBSC ID STR [11] 8 sub-id-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
FRAMED IP ADDRESS [8] 4 10.0.1.1
FRAMED IP NETMASK [9] 4 255.255.255.0
VSA [26] 6 Alcatel(6527)
DEFAULT ROUTER [18] 4 10.0.1.254
SESSION TIMEOUT [27] 4 6000
"
22 2009/12/15 06:31:56.73 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
VPLS 100, SAP 1/1/4:100
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.1.1
siaddr: 10.0.1.253 giaddr: 0.0.0.0
chaddr: ca:00:0c:54:00:08 xid: 0xd42
DHCP options:
[53] Message type: Offer
--snip--
"
23 2009/12/15 06:31:57.57 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 100, SAP 1/1/4:100
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:00:0c:54:00:08 xid: 0xd42
DHCP options:
[53] Message type: Request
--snip--
"
24 2009/12/15 06:31:57.57 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
VPLS 100, SAP 1/1/4:100
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.1.1
siaddr: 10.0.1.253 giaddr: 0.0.0.0
chaddr: ca:00:0c:54:00:08 xid: 0xd42
DHCP options:
[53] Message type: Ack
--snip
A:BSA# show service id 100 dhcp statistics
=====================================================
DHCP Statistics, service 100
=====================================================
Client Packets Snooped : 2
Client Packets Forwarded : 0
Client Packets Dropped : 0
Client Packets Proxied (RADIUS) : 2
Client Packets Proxied (Lease-Split) : 0
Server Packets Snooped : 0
Server Packets Forwarded : 0
Server Packets Dropped : 0
DHCP RELEASEs Spoofed : 0
DHCP FORCERENEWs Spoofed : 0
=====================================================
A:BSA#
Connectivity of Host-1could be checked with the show service id 100 subscriber-hosts command. Different options can be used to filter output of the command.
A:BSA# show service id 100 subscriber-hosts detail
===============================================================================
Subscriber Host table
===============================================================================
Sap IP Address MAC Address PPPoE-SID Origin
Subscriber
-------------------------------------------------------------------------------
1/1/4:100 10.0.1.1 ca:00:0c:54:00:08 N/A DHCP
sub-id-1
-------------------------------------------------------------------------------
Sub Profile : sub-profile-1
SLA Profile : sla-profile-1
App Profile : N/A
-------------------------------------------------------------------------------
Number of subscriber hosts : 1
The DHCP lease state can be checked with the show service id 100 dhcp lease-state command. Different options can be used to filter output of a command.
A:BSA# show service id 100 dhcp lease-state detail
===============================================================================
DHCP lease states for service 100
===============================================================================
Service ID : 100
IP Address : 10.0.1.1
Client HW Address : ca:00:0c:54:00:08
SAP : 1/1/4:100
Remaining Lifetime : 01h33m41s
Persistence Key : N/A
Sub-Ident : "sub-id-1"
Sub-Profile-String : "sub-profile-1"
SLA-Profile-String : "sla-profile-1"
--snip--
Sub-Ident origin : Radius
Strings origin : Radius
Lease Info origin : Radius
--snip--
Radius User-Name : "ca:00:0c:54:00:08"
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
A:BSA#
A:BSA# debug service id 200 dhcp mode egr-ingr-and-dropped
A:BSA# debug service id 200 dhcp detail-level medium
A:BSA#
*A:BSA#
18 2009/12/15 13:00:36.28 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 200, SAP 1/1/4:200
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Discover
--snip--
19 2009/12/15 13:00:36.28 UTC MINOR: DEBUG #2001 management RADIUS
"RADIUS: Access-Request
user ca:01:08:10:00:08 policy auth-policy-1"
20 2009/12/15 13:00:36.28 UTC MINOR: DEBUG #2001 management RADIUS
"RADIUS: Transmit
Access-Request(1) 192.0.2.5:1812 id 80 len 85
USER NAME [1] 17 ca:01:08:10:00:08
PASSWORD [2] 16 .czdppt/0qAsqKqStbvnV.
NAS IP ADDRESS [4] 4 192.0.2.1
NAS PORT TYPE [61] 4 Ethernet(15)
NAS PORT ID [87] 9 1/1/4:200
NAS IDENTIFIER [32] 3 BSA
"
21 2009/12/15 13:00:36.34 UTC MINOR: DEBUG #2001 management RADIUS
"RADIUS: Receive
Access-Accept(2) id 80 len 78 from 138.203.18.79:1812
VSA [26] 10 Alcatel(6527)
SUBSC ID STR [11] 8 sub-id-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-2
"
22 2009/12/15 13:00:36.34 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
flooding in VPLS 200
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Discover
--snip--"
23 2009/12/15 13:00:36.35 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 200, spoke-sdp 12:200
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.2.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Offer
--snip--"
24 2009/12/15 13:00:36.34 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
VPLS 200, SAP 1/1/4:200
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.2.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Offer
--snip--"
25 2009/12/15 13:00:36.46 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 200, SAP 1/1/4:200
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Request
--snip--"
26 2009/12/15 13:00:36.46 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
flooding in VPLS 200
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Request
--snip--"
27 2009/12/15 13:00:36.47 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 200, spoke-sdp 12:200
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.2.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Ack
--snip--"
28 2009/12/15 13:00:36.46 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
VPLS 200, SAP 1/1/4:200
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.2.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Ack
--snip--"
DHCP relay is enabled in service IES-200 on BSR.
A:BSR# debug router ip dhcp mode egr-ingr-and-dropped
A:BSR#
*A:BSR#
17 2009/12/15 13:00:36.34 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base), interface index 6 (int-host-2),
received DHCP Boot Request on Interface int-host-2 (1/1/2) Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Discover
--snip--"
18 2009/12/15 13:00:36.34 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base),
transmitted DHCP Boot Request to 192.0.2.4 Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 10.0.2.254
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Discover
--snip--"
19 2009/12/15 13:00:36.35 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base),
received DHCP Boot Reply on 192.0.2.4 Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 10.0.2.1
siaddr: 192.0.2.4 giaddr: 10.0.2.254
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Offer
--snip--"
20 2009/12/15 13:00:36.35 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base), interface index 6 (int-host-2),
transmitted DHCP Boot Reply to Interface int-host-2 (spoke-21:200) Port 68
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 10.0.2.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Offer
--snip--"
21 2009/12/15 13:00:36.47 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base), interface index 6 (int-host-2),
received DHCP Boot Request on Interface int-host-2 (1/1/2) Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Request
--snip--"
22 2009/12/15 13:00:36.47 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base),
transmitted DHCP Boot Request to 192.0.2.4 Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 10.0.2.254
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Request
--snip--"
23 2009/12/15 13:00:36.47 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base),
received DHCP Boot Reply on 192.0.2.4 Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 10.0.2.1
siaddr: 192.0.2.4 giaddr: 10.0.2.254
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Ack
--snip--"
24 2009/12/15 13:00:36.47 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base), interface index 6 (int-host-2),
transmitted DHCP Boot Reply to Interface int-host-2 (spoke-21:200) Port 68
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 10.0.2.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:01:08:10:00:08 xid: 0xfc8
DHCP options:
[53] Message type: Ack
--snip--
A:BSA# show service id 200 dhcp statistics
=====================================================
DHCP Statistics, service 200
=====================================================
Client Packets Snooped : 2
Client Packets Forwarded : 2
Client Packets Dropped : 0
Client Packets Proxied (RADIUS) : 0
Client Packets Proxied (Lease-Split) : 0
Server Packets Snooped : 2
Server Packets Forwarded : 2
Server Packets Dropped : 0
DHCP RELEASEs Spoofed : 0
DHCP FORCERENEWs Spoofed : 0
=====================================================
A:BSA#
The connectivity of Host-2 can be verified with the show service id 200 subscriber-hosts command. Different options can be used to filter output of the command.
A:BSA# show service id 200 subscriber-hosts detail
===============================================================================
Subscriber Host table
===============================================================================
Sap IP Address MAC Address PPPoE-SID Origin
Subscriber
-------------------------------------------------------------------------------
1/1/4:200 10.0.2.1 ca:01:08:10:00:08 N/A DHCP
sub-id-1
-------------------------------------------------------------------------------
Sub Profile : sub-profile-1
SLA Profile : sla-profile-2
App Profile : N/A
-------------------------------------------------------------------------------
Number of subscriber hosts : 1
===============================================================================
A:BSA#
DHCP lease state can be verified with the show service id 200 dhcp lease-state command. Different options can be used to filter output of the command.
A:BSA# show service id 200 dhcp lease-state detail
===============================================================================
DHCP lease states for service 200
===============================================================================
Service ID : 200
IP Address : 10.0.2.1
Client HW Address : ca:01:08:10:00:08
SAP : 1/1/4:200
Remaining Lifetime : 09d23h44m
Persistence Key : N/A
Sub-Ident : "sub-id-1"
Sub-Profile-String : "sub-profile-1"
SLA-Profile-String : "sla-profile-2"
--snip--
Sub-Ident origin : Radius
Strings origin : Radius
Lease Info origin : DHCP
--snip--
Radius User-Name : "ca:01:08:10:00:08"
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
A:BSA#
A:BSA# debug service id 300 dhcp mode egr-ingr-and-dropped
A:BSA# debug service id 300 dhcp detail-level medium
*A:BSA#
33 2009/12/15 13:02:34.39 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 300, SAP 1/1/4:300
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Discover
--snip--
"
34 2009/12/15 13:02:34.38 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
flooding in VPLS 300
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Discover
--snip--
"
35 2009/12/15 13:02:34.40 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 300, spoke-sdp 12:300
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.3.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Offer
--snip--
"
36 2009/12/15 13:02:34.40 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
VPLS 300, SAP 1/1/4:300
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.3.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Offer
--snip--
"
37 2009/12/15 13:02:34.52 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 300, SAP 1/1/4:300
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Request
--snip--
"
38 2009/12/15 13:02:34.52 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
flooding in VPLS 300
BootRequest to UDP port 67
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Request
--snip--
"
39 2009/12/15 13:02:34.53 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: RX DHCP Packet
VPLS 300, spoke-sdp 12:300
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.3.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Ack
--snip--
"
40 2009/12/15 13:02:34.53 UTC MINOR: DEBUG #2001 Base SVCMGR
"SVCMGR: TX DHCP Packet
VPLS 300, SAP 1/1/4:300
BootReply to UDP port 68
ciaddr: 0.0.0.0 yiaddr: 10.0.3.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Ack
--snip--
A:BSR# debug router ip dhcp mode egr-ingr-and-dropped
*A:BSR#
29 2009/12/15 13:02:34.39 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base), interface index 7 (int-VoD),
received DHCP Boot Request on Interface int-VoD (1/1/2) Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Discover
--snip--
30 2009/12/15 13:02:34.39 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base),
transmitted DHCP Boot Request to 192.0.2.4 Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 10.0.3.254
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Discover
--snip--
"
31 2009/12/15 13:02:34.39 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base),
received DHCP Boot Reply on 192.0.2.4 Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 10.0.3.1
siaddr: 192.0.2.4 giaddr: 10.0.3.254
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Offer
--snip--
"
32 2009/12/15 13:02:34.39 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base), interface index 7 (int-VoD),
transmitted DHCP Boot Reply to Interface int-VoD (spoke-21:300) Port 68
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 10.0.3.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Offer
--snip--
"
33 2009/12/15 13:02:34.53 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base), interface index 7 (int-VoD),
received DHCP Boot Request on Interface int-VoD (1/1/2) Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Request
--snip--
"
34 2009/12/15 13:02:34.53 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base),
transmitted DHCP Boot Request to 192.0.2.4 Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 0.0.0.0
siaddr: 0.0.0.0 giaddr: 10.0.3.254
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Request
--snip--
"
35 2009/12/15 13:02:34.53 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base),
received DHCP Boot Reply on 192.0.2.4 Port 67
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 10.0.3.1
siaddr: 192.0.2.4 giaddr: 10.0.3.254
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Ack
--snip--
36 2009/12/15 13:02:34.53 UTC MINOR: DEBUG #2001 Base PIP
"PIP: DHCP
instance 1 (Base), interface index 7 (int-VoD),
transmitted DHCP Boot Reply to Interface int-VoD (spoke-21:300) Port 68
H/W Type: Ethernet(10Mb) H/W Address Length: 6
ciaddr: 0.0.0.0 yiaddr: 10.0.3.1
siaddr: 192.0.2.4 giaddr: 0.0.0.0
chaddr: ca:02:02:d0:00:08 xid: 0x2a6
DHCP options:
[53] Message type: Ack
--snip--"
A:BSA# show service id 300 dhcp statistics
=====================================================
DHCP Statistics, service 300
=====================================================
Client Packets Snooped : 2
Client Packets Forwarded : 2
Client Packets Dropped : 0
Client Packets Proxied (RADIUS) : 0
Client Packets Proxied (Lease-Split) : 0
Server Packets Snooped : 2
Server Packets Forwarded : 2
Server Packets Dropped : 0
DHCP RELEASEs Spoofed : 0
DHCP FORCERENEWs Spoofed : 0
=====================================================
A:BSA#
The connectivity of Host-3 can be verified with the show service id 300 subscriber-hosts command. Different options can be used to filter output of a command.
A:BSA# show service id 300 subscriber-hosts detail
===============================================================================
Subscriber Host table
===============================================================================
Sap IP Address MAC Address PPPoE-SID Origin
Subscriber
-------------------------------------------------------------------------------
1/1/4:300 10.0.3.1 ca:02:02:d0:00:08 N/A DHCP
sub-id-1
-------------------------------------------------------------------------------
Sub Profile : sub-profile-1
SLA Profile : sla-profile-3
App Profile : N/A
-------------------------------------------------------------------------------
Number of subscriber hosts : 1
===============================================================================
A:BSA#
The DHCP lease state could be checked with the show service id 300 dhcp lease-state command. Different options can be used to filter output of a command.
A:BSA# show service id 300 dhcp lease-state detail
===============================================================================
DHCP lease states for service 300
===============================================================================
Service ID : 300
IP Address : 10.0.3.1
Client HW Address : ca:02:02:d0:00:08
SAP : 1/1/4:300
Remaining Lifetime : 09d23h52m
Persistence Key : N/A
Sub-Ident : "sub-id-1"
Sub-Profile-String : "sub-profile-1"
SLA-Profile-String : "sla-profile-3"
--snip--
Sub-Ident origin : DHCP
Strings origin : DHCP
Lease Info origin : DHCP
--snip--
Radius User-Name : ""
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
A:BSA#
vpls 100 customer 1 create
--snip--
sap 1/1/4:100 split-horizon-group "RSHG-1" create
--snip--
sub-sla-mgmt
--snip--
multi-sub-sap 2
vpls 100 customer 1 create
--snip--
sap 1/1/4:100 split-horizon-group "RSHG-1" create
dhcp
lease-populate 400
subscriber-mgmt
sla-profile "sla-profile-1" create
host-limit 1 [remove-oldest]
vpls 100 customer 1 create
sap 1/1/4:100 split-horizon-group "RSHG-1" create
host-connectivity-verify source-ip 10.1.0.253 source-mac 1e:54:ff:00:00:00 interval 1 action remove
A:BSA# show service id 100 host-connectivity-verify statistics
===============================================================================
Host connectivity check statistics
===============================================================================
Svc SapId/ DestIp Timestamp Time since Oper
Id SdpId Address last-reply/conn-lost Reply/Lost State
-------------------------------------------------------------------------------
100 1/1/4:100 10.0.1.1 12/15/2009 09:04:06 0d 00:00:11 Up
-------------------------------------------------------------------------------
1 host-connectivity states : 1 Up / 0 Down / 0 Retry pending
===============================================================================
A:BSA#
vpls 100 customer 1 create
--snip--
sap 1/1/4:100 split-horizon-group "RSHG-1" create
dhcp
proxy-server
lease-time hrs 1