General BRAS Settings EcoRouter Documentation / BRAS settings / General BRAS Settings
Bandwidth Configuration for BRAS Subscribers
The information below relates both to the IPoE and PPPoE subscribers.
Create subscriber-service to configure access speed for profile (IPoE / PPPoE). The created subscriber-service can be set to the profile manually or received from RADIUS server:
?corouter(config)#subscriber-service
SUBSCRIBER_SERVICE Subscriber service name
Set subscriber-policy for subscriber-service.
?corouter(config-sub-service)#set
policy Set policy
?corouter(config-sub-service)#set policy
SUBSCRIBER_POLICY_NAME Subscriber policy name
<cr>
Specify upstream and downstream bandwidth in kbps and apply filter-map policy for upstream and downstream traffic in context subscriber-policy configuration mode.
ecorouter(config)#subscriber-policy <NAME>
?corouter(config-sub-policy)#bandwidth
in Upstream packets
out Downstream packets
?corouter(config-sub-policy)#bandwidth in
kbps Bandwidth value in kbps
?corouter(config-sub-policy)#bandwidth in kbps
<64-10000000> Kbits per second
ecorouter(config-sub-policy)#bandwidth in kbps
?corouter(config-sub-policy)#set filter-map
in Upstream packets
out Downstream packets
?corouter(config-sub-policy)#set filter-map in
FILTER_MAP_POLICY_IPV4 Filter map name
ecorouter(config-sub-policy)#set filter-map in
In filter map-policy specify the parameter by which the settings will be applied to subscribers.
?corouter(config)#filter-map policy ipv4
FILTER_MAP_POLICY_IPV4 Filter map name
?corouter(config)#filter-map policy ipv4 <NAME>
<0-65535> Sequence number
<cr>
ecorouter(config)#filter-map policy ipv4 <NAME> 10
For example:
filter-map policy ipv4 <NAME> 10
match any any any
set accept
After setting up the subscriber-service, its use can be manually set in the profile (example with pppoe-profile):
?corouter(config-pppoe)#set subscriber-service
SUBSCRIBER_SERVICE Specify subscriber service name
The subscriber-service is applied if RADIUS server sent attribute with this service scpecified.
See the example of settings for PPPoE below:
1. filter-map policy:
ecorouter(config)#filter-map policy ipv4 50kk 10
ecorouter(config-filter-map-policy-ipv4)#match any any any
ecorouter(config-filter-map-policy-ipv4)#set accept
2. subscriber-policy:
ecorouter(config)#subscriber-policy 50kk
ecorouter(config-sub-policy)#bandwidth in kbps 500032
ecorouter(config-sub-policy)#bandwidth out kbps 500032
ecorouter(config-sub-policy)#set filter-map in 50kk
ecorouter(config-sub-policy)#set filter-map out 50kk
3. subscriber-service
ecorouter(config)#subscriber-service 50kk
ecorouter(config-sub-service)#set policy 50kk
4.1 subscriber-service configuration:
Apply subscriber-service manually to ppppoe-profile:
ecorouter(config)#pppoe-profile 0
ecorouter(config-pppoe)#set subscriber-service 50kk
4.2 when using service from RADIUS server attribute on it must be specified.
5. After connection established use the show subscribers <interface bmi> <ip addr> command to display service state.
5.1 in case of manual subscriber-service configuration the "(L)" is added after service meaning local.
ecorouter#show subscribers bmi.0 192.168.10.2
...
service: 50kk(L)
...
5.2 in case of subscriber-service received from RADIUS server the "(R)" is added meaning remote aaa.
ecorouter#show subscribers bmi.0 192.168.10.2
...
service: 50kk(R)
...