Portal Nas-Port-Id Format - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

Examples
# Specify the NAS-ID profile aaa for GigabitEthernet 1/0/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname–GigabitEthernet1/0/1] portal nas-id-profile aaa
Related commands
aaa nas-id profile

portal nas-port-id format

Use portal nas-port-id format to specify the NAS-Port-Id attribute format.
Use undo portal nas-port-id format to restore the default.
Syntax
portal nas-port-id format { 1 | 2 | 3 | 4 }
undo portal nas-port-id format
Default
The format for the NAS-Port-Id attribute is format 2.
Views
System view
Predefined user roles
network-admin
Parameters
1: Uses format 1 for the NAS-Port-Id attribute.
2: Uses format 2 for the NAS-Port-Id attribute.
3: Uses format 3 for the NAS-Port-Id attribute.
4: Uses format 4 for the NAS-Port-Id attribute.
Usage guidelines
The NAS-Port-Id format supported by RADIUS servers varies by vendor. Use this command to
specify the format of the NAS-Port-Id attribute in the RADIUS packets sent for portal users to the
RADIUS server. The device then automatically constructs a value for the NAS-Port-Id attribute in the
specified format to meet the RADIUS server requirements.
Format 1 contains three space-separated strings: interface-type port-location access-node-id.
Spaces are not allowed within a string.
The interface-type string specifies the interface type of the NAS port. Available options include:
atm—ATM interface.
eth—Common Ethernet interface.
trunk—Ethernet trunk interface.
0—The interface type information will be reported by the access node to the BRAS.
The port-location string represents the location of the access line on the BRAS. Its format is
NAS_slot/NAS_subslot/NAS_port:XPI.XCI.
Field
NAS_slot
Description
Slot number of the BRAS, in the range of 0 to 31.
359

Advertisement

Table of Contents
loading

Table of Contents