5.41 NAS-Port-Type
5.41. NAS-Port-Type
描述
本属性指示正在对用户进行认证的 NAS 物理端口的类型。它可以代替或附加于 NAS-Port (5) 属性使用。它仅用于 Access-Request 数据包中。如果 NAS 在其端口之间进行区分, 则 Access-Request 数据包中应该存在 NAS-Port (5) 或 NAS-Port-Type 或两者。
NAS-Port-Type 属性格式摘要如下所示。字段从左到右传输。
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Type | Length | Value
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Value (cont) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Type
61 表示 NAS-Port-Type。
Length
6
Value
Value 字段为四个八位字节。"Virtual" 指的是通过某种传输协议到 NAS 的连接, 而不是通过物理端口。例如, 如果用户 telnet 到 NAS 以作为 Outbound-User 进行认证, 则 Access-Request 可能包含 NAS-Port-Type = Virtual 作为对 RADIUS 服务器的提示, 表明用户不在物理端口上。
0 Async
1 Sync
2 ISDN Sync
3 ISDN Async V.120
4 ISDN Async V.110
5 Virtual
6 PIAFS
7 HDLC Clear Channel
8 X.25
9 X.75
10 G.3 Fax
11 SDSL - Symmetric DSL
12 ADSL-CAP - Asymmetric DSL, Carrierless Amplitude Phase
Modulation
13 ADSL-DMT - Asymmetric DSL, Discrete Multi-Tone
14 IDSL - ISDN Digital Subscriber Line
15 Ethernet
16 xDSL - Digital Subscriber Line of unknown type
17 Cable
18 Wireless - Other
19 Wireless - IEEE 802.11
PIAFS 是日本常用的一种无线 ISDN 形式, 代表 PHS (Personal Handyphone System) Internet Access Forum Standard (PIAFS)。