Got it

[NE Configuration Cases in Education Scenarios] Example for configuring the Web authentication (HTTPS address input) and rate limitation

Latest reply: Nov 6, 2021 08:11:27 1480 29 21 0 3

This section provides an example for configuring the web authentication (HTTPS address input) and rate limitation.

Applicable products and versions

This configuration example applies to the NE40E/ME60 series products running V600R008C10 or later.

Networking requirements

On the network shown in Figure 1-12, configure web authentication (HTTPS address input) and rate limitation. The configurations include:


1. configure a user group, an IP address pool, pre-authentication and authentication domains, and BAS interfaces;


2. configure AAA authentication and accounting schemes: configure a RADIUS server;


3. configure none authentication and none accounting schemes for the pre-authentication domain. Configure RADIUS authentication and accounting schemes for the authentication domain;


4. configure an ACL to allow a user to access only the web server when the user is in the pre-authentication domain and to redirect the user when the user requests to access other web pages;


5. configure an ACL to redirect DNS packets when the user is in the pre-authentication domain;


6. configure a QoS profile to limit the traffic rate to 10 Mbit/s and apply the profile to the authentication domain.

Figure 1-12  Configuring web authentication (HTTPS address input) and rate limitation 
imgDownload?uuid=85cd6df5fab34f5d8881289

Table 1-24  Data Preparation

Device

Item

Data

Router

Destination IP address to be specified in ACL rule 5

10.1.1.2

Destination IP address to be specified in ACL rule 10

172.16.0.2

Configuration Roadmap

  1. Configure AAA accounting and authentication schemes.

  2. Configure a RADIUS server group.

  3. Configure a domain.

  4. Configure ACLs.

  5. Configure traffic classification and a traffic management policy.

  6. Configure a QoS profile to limit the rates of incoming and outgoing traffic.

Procedure

  1. Configure the Device.

    //Configure AAA authentication schemes
    #
    aaa
     authentication-scheme none
     authentication-mode none
    #
    aaa
     authentication-scheme radius
     authentication-mode radius
    //Configure AAA accounting schemes
    #
    aaa
     accounting-scheme none
     accounting-mode none
    #
    aaa
     accounting-scheme radius
     accounting-mode radius
    //Configure a RADIUS server group
    #
    radius-server group 13
     radius-server authentication 10.9.7.13.1812
     radius-server accounting 10.9.7.13.1813
    //Configure the ip pool
    #
    ip pool pool1 bas local
     gateway 172.20.0.1 255.255.255.0
     section 0 172.20.0.2 172.20.0.10 
    //Configure the user group
    #
    user-group web-before
    //Configure ACLs
    #
    acl number 6000
     rule 5 permit ip source user-group web-before destination ip-address 10.1.1.2 0
     rule 10 permit ip source user-group web-before destination ip-address 172.16.0.2 0
    #
    acl number 6001
     rule 5 permit ip source user-group web-before
    #
    acl number 6002
     rule 5 permit udp source-port eq dns destination user-group web-before
    //Configure traffic classifiers
    #
    traffic classifier c1
     if-match acl 6000
    traffic classifier c2
     if-match acl 6001
    traffic classifier c3
     if-match acl 6002
    //Configure traffic behaviors
    #
    traffic behavior b1
     permit
    traffic behavior b2
     deny
    traffic behavior b3
     dns-redirect
    //Configure traffic policies
    #
    traffic policy p1
     classifier c1 behavior b1
     classifier c2 behavior b2
    traffic policy dns
     share-mode
     classifier c3 behavior b3 precedence 1
    //Apply the traffic policy globally
    #
    traffic-policy p1 inbound
    traffic-policy dns outbound
    //Configure a qos-profile
    #
    qos-profile 10M
     car cir 10000 inbound
     car cir 10000 outbound
    #
    //Configure the domain1
    #
    aaa 
     domain domain1 
      authentication-scheme none 
      accounting-scheme none 
      ip-pool pool1 
      user-group web-before 
      dns-redirect web-server 10.1.1.2  
      web-server url http://10.1.1.2:85/portal 
      max-ipuser-reauthtime 0 
    //Configure the isp1
    #
    aaa
     domain isp1 
      authentication-scheme radius 
      accounting-scheme radius 
      radius-server group 13 
      qos-profile 10M inbound  
      qos-profile 10M outbound
    //Configure the BAS interface
    #
    interface GigabitEthernet 0/1/2.1
     vlan-type dot1q 1
     ip address 192.168.1.1 255.255.255.0
     bas
      #
       access-type layer3-subscriber default-domain pre-authentication domain1
    //Configure upstream interface
    #
    interface GigabitEthernet 0/1/1
     ip address 172.16.0.1 255.255.255.0
    #

  2. Verify the configuration.

    Run the display access-user domain isp1 command to check information about online users of the specified domain.

Click to Read The Full Documentation...

The post is synchronized to: NE Configuration Cases in Typical Scenarios

routerup
routerup Created Mar 18, 2019 06:18:35 (0) (0)
Thanks for sharing  
Thanks for sharing
View more
  • x
  • convention:

Helpful post, thanks
View more
  • x
  • convention:

your cases are really helpful
View more
  • x
  • convention:

very nice post
View more
  • x
  • convention:

your cases are really helpful
View more
  • x
  • convention:

Helpful post, thanks
View more
  • x
  • convention:

your cases are really helpful
View more
  • x
  • convention:

Helpful post, thanks
View more
  • x
  • convention:

hope for more sharing
View more
  • x
  • convention:

123
Back to list

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.