Configuring NAS-Port-Type

The following matrix shows the support of the MSR routers for this feature in different views:

Hardware

Interface view

Service template view

MSR954 (JH296A/JH297A/JH298A/JH299A/JH373A)

Yes

  • MSR954 (JH297A/JH298A/JH299A): Yes

  • MSR954 (JH296A/JH373A): No

MSR958 (JH300A/JH301A)

Yes

No

MSR1002-4/1003-8S

Yes

Yes

MSR2003

No

Yes

MSR2004-24/2004-48

Yes

Yes

MSR3012/3024/3044/3064

Yes

Yes

MSR4060/4080

No

No

The NAS-Port-Type attribute carried in RADIUS requests represents the user's access interface type. When a portal user log in from an interface or a service template, the value of the NAS-Port-Type attribute is as follows:

As the access device, the BAS might not be able to correctly obtain a user's interface type when multiple network devices exist between the BAS and the portal client. For example, the access interface type obtained by the BAS for a wireless portal user might be the type of the wired interface that authenticated the user. For the BAS to send correct user interface type to the RADIUS server, perform this task to specify the correct NAS-Port-Type value.

To configure NAS-Port-Type on an interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure the NAS-Port-Type value.

portal nas-port-type { ethernet | wireless }

By default, the portal NAS-Port-Type value carried in RADIUS requests is the user's access interface type value obtained by the access device.

To configure NAS-Port-Type on a service template:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter service template view.

wlan service-template service-template-name

N/A

3. Configure the NAS-Port-Type value.

portal nas-port-type { ethernet | wireless }

By default, the portal NAS-Port-Type value carried in RADIUS requests is the user's access interface type value obtained by the access device.