Configuring authentication user naming conventions for static individual users

Usernames configured for static individual users must be the same as those configured on the AAA server.

To configure authentication user naming conventions for static individual users:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

This feature supports the following interfaces:

  • Layer 3 Ethernet interface and subinterface.

  • Layer 3 aggregate interface and subinterface.

  • L3VE interface and subinterface.

3. Configure authentication user naming conventions for static individual users.

  • Configure an authentication user naming convention for IPv4 static individual users:
    ip subscriber unclassified-ip username include
    { nas-port-id [ separator separator ] | port [ separator separator ] | second-vlan [ separator separator ] | slot [ separator separator ] | source-ip [ address-separator address-separator ] [ separator separator ] | source-mac [address-separator address-separator ] [ separator separator ] | subslot [ separator separator ] | sysname [ separator separator ] | vlan [ separator separator ] } *

  • Configure an authentication user naming convention for IPv6 static individual users:ipv6 subscriber unclassified-ip username include { nas-port-id [ separator separator ] | port [ separator separator ] | second-vlan [ separator separator ] | slot [ separator separator ] | source-ip [ address-separator address-separator ] [ separator separator ] | source-mac [ address-separator address-separator ] [ separator separator ] | subslot [ separator separator ] | sysname [ separator separator ] | vlan [ separator separator ] } *

The default username is the source IP address of packets sent by users.