NAS-Port ParserStarting in ComOS version 4.1 for the PM4 the NAS-Port specifies the slot, line, and channel a call came in on instead of just the port. This information is encoded into a 32bit number. The NAS-Port number can be found in the detail files of a RADIUS server. NAS-Port Number Format 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 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Unused (zeros) | Slot | Line | Channel | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Example of NAS-Port in detail file Mon Jan 18 09:22:37 1999 Acct-Session-Id = "012D000003" User-Name = "tc1" NAS-IP-Address = 192.168.111.25 NAS-Port = 1025 NAS-Port-Type = 5 Acct-Status-Type = Stop Acct-Session-Time = 57 Acct-Authentic = RADIUS Connect-Info = "9600 LAPM/V42BIS" Acct-Input-Octets = 67 Acct-Output-Octets = 2285 Called-Station-Id = "4609993" Calling-Station-Id = "9254600115" Acct-Terminate-Cause = User-Request LE-Terminate-Detail = "User Request - Normal LAPM Disconnect" Service-Type = Login-User Login-Service = Telnet Login-IP-Host = 149.198.1.70 Acct-Delay-Time = 0 Timestamp = 916680157Written by John Storms |