Cisco, Juniper, Ericsson

Работа с серверами доступа Juniper, Cisco, Ericsson
Key
Сообщения: 35
Зарегистрирован: Сб май 26, 2007 9:34 pm

Re: Cisco, Juniper, Ericsson

Сообщение Key »

shapik писал(а):1. С demux-интерфейсом - терминирующий абонентский влан. Т.н. S-VLAN. VLAN-PPPoE - в моём случае
2. С pp0-интерфейсом - терминирующий непосредственно абонента по PPPoE. PP0 - в моём случае
Разве нет?
Я конечно не доктор в джунос, но маны курить умею :)
Да именно так. Это я написал с целью исключить суету между demux & interface-ifd-name. (:

shapik
Сообщения: 23
Зарегистрирован: Вт ноя 27, 2012 2:31 pm

Re: Cisco, Juniper, Ericsson

Сообщение shapik »

угу.....а вот счас мне что делать? :(

Key
Сообщения: 35
Зарегистрирован: Сб май 26, 2007 9:34 pm

Re: Cisco, Juniper, Ericsson

Сообщение Key »

Контекст access в конфиге текущий покажите.
Могу дать JunOS более свежий.

shapik
Сообщения: 23
Зарегистрирован: Вт ноя 27, 2012 2:31 pm

Re: Cisco, Juniper, Ericsson

Сообщение shapik »

root# show access profile CLIENTS
authentication-order radius;
radius {
authentication-server 91.xx.xx.44;
options {
revert-interval 0;
}
}

shapik
Сообщения: 23
Зарегистрирован: Вт ноя 27, 2012 2:31 pm

Re: Cisco, Juniper, Ericsson

Сообщение shapik »

root# show access
radius-server {
91.xx.xx.44 {
secret "$9$w/2oGk.569pDi9p0BSys24"; ## SECRET-DATA
source-address 91.xx.xx.60;
}
}
profile CLIENTS {
authentication-order radius;
radius {
authentication-server 91.xx.xx.44;
options {
revert-interval 0;
}
}
}
address-assignment {
pool PPPoE-Pool {
family inet {
network 195.xx.xx.0/24;
range PPPoE-Pool {
low 195.xx.xx.10;
high 195.xx.xx.250;
}
}
}
}

Key
Сообщения: 35
Зарегистрирован: Сб май 26, 2007 9:34 pm

Re: Cisco, Juniper, Ericsson

Сообщение Key »

shapik писал(а):root# show access
radius-server {
91.xx.xx.44 {
secret "$9$w/2oGk.569pDi9p0BSys24"; ## SECRET-DATA
source-address 91.xx.xx.60;
}
}
profile CLIENTS {
authentication-order radius;
radius {
authentication-server 91.xx.xx.44;
options {
revert-interval 0;
}
}
}
address-assignment {
pool PPPoE-Pool {
family inet {
network 195.xx.xx.0/24;
range PPPoE-Pool {
low 195.xx.xx.10;
high 195.xx.xx.250;
}
}
}
}
а accounting где? =)
Может изза этого?

shapik
Сообщения: 23
Зарегистрирован: Вт ноя 27, 2012 2:31 pm

Re: Cisco, Juniper, Ericsson

Сообщение shapik »

root# show
radius-server {
91.xxx.xxx.44 {
secret "$9$w/2oGk.569pDi9p0BSys24"; ## SECRET-DATA
source-address 91.xxx.xxx.60;
}
}
profile CLIENTS {
authentication-order radius;
radius {
authentication-server 91.xxx.xxx.44;
accounting-server 91.xxx.xxx.44;
options {
revert-interval 0;
}
}
}
address-assignment {
pool PPPoE-Pool {
family inet {
network 195.xx.xx.0/24;
range PPPoE-Pool {
low 195.xx.xx.10;
high 195.xx.xx.250;
}
}
}
}



Вот Вам и аккаунтинг....ситуация не изменилась

shapik
Сообщения: 23
Зарегистрирован: Вт ноя 27, 2012 2:31 pm

Re: Cisco, Juniper, Ericsson

Сообщение shapik »

День добрый!
В принципе поборол все препятствия, кроме одного.
Не получается нарезать абоненту скорости по направлениям.
Если красить на входе (uplink) скажем Украину, с помощью SCU, то потом в динамическом сервисе на абонента, невозможно применить конструкцию вида dynamic-profiles TEST firewall family inet filter TEST term 1 from source-class......
source-class отсутствует как класс.

shapik
Сообщения: 23
Зарегистрирован: Вт ноя 27, 2012 2:31 pm

Re: Cisco, Juniper, Ericsson

Сообщение shapik »

Разобрался и с этим. Спасибо Всем кто ответил.

user_abills
Сообщения: 47
Зарегистрирован: Чт фев 19, 2015 1:16 pm

Re: Cisco, Juniper, Ericsson

Сообщение user_abills »

А можно поподробней, пожалуйста, потому как у меня похожая проблема, логи один в один, джун вроде как поднимает сэссию, но сразу же терминирует её:

Jul 9 11:33:26.819722 authd_read_msg: Fresh msg arrival. fd=59, hdr_read=0, hdr_remnant=0, payload_read=0 payload_remnant=0
Jul 9 11:33:26.819831 fresh message conn=0x2b12000
Jul 9 11:33:26.819875 read fresh message conn=0x2b12000 hdr_remnant=0 hdr_read=32
Jul 9 11:33:26.819907 Read payload for new message. fd=59, rqst_len=59
Jul 9 11:33:26.819938 Read payload for new message. fd=59, payload_len=27, rqst_len=59, cookie=326
Jul 9 11:33:26.820124 Process/Dispatch Client Message
Jul 9 11:33:26.820159 New Process/Dispatch Client Message
Jul 9 11:33:26.820211 authd_tlv_build_list_from_structusername (0x20251c4) len:0
Jul 9 11:33:26.820248 authd_tlv_build_list_from_structprofile (0x20256d0) len:0
Jul 9 11:33:26.820285 authd_tlv_build_list_from_structpassword (0x20253e4) len:0
Jul 9 11:33:26.820322 authd_auth_aaa_msg_create: num_of_tlvs:0 tot_num_of_tlv:3
Jul 9 11:33:26.820358 authd_auth_aaa_msg_create aaa-key: username:() profile:()
Jul 9 11:33:26.820394 Process Request
Jul 9 11:33:26.820433 Client request received on conn-id:jpppd session-id:322 Opcode:2113, Subcode:0
Jul 9 11:33:26.820488 Taking a client snapshot, session-id:322
Jul 9 11:33:26.820675 setAccountingInfo: NULL profile ? 0
Jul 9 11:33:26.820716 setAccountingInfo: service accounting order
Jul 9 11:33:26.820830 UserAccess:test session-id:322 state:login-request
Jul 9 11:33:26.820944 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:400 No access-profile found in the SDB for session-id:322
Jul 9 11:33:26.820998 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:414 PhyIfdName found in the SDB for session-id:322
Jul 9 11:33:26.821046 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:422 InterfaceName found in the SDB for session-id:322
Jul 9 11:33:26.821102 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:805 Querying the access-profile for user:test on LR/RI:default:default
Jul 9 11:33:26.821148 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:817 Access Profile Name from context is <clients>
Jul 9 11:33:26.821293 authd_get_auth_request_nas_attr: The request list is from aaa_msg
Jul 9 11:33:26.821819 authd_get_auth_request_nas_attr: No Agent Circuit ID attribute from SDB
Jul 9 11:33:26.821854 authd_get_auth_request_nas_attr: No Agent Remote ID attribute from SDB
Jul 9 11:33:26.821885 authd_get_auth_request_nas_attr: No interface SVLAN attribute from SDB
Jul 9 11:33:26.821917 authd_get_auth_request_nas_attr: No interface ATM VPI attribute from SDB
Jul 9 11:33:26.822237 authd_get_auth_request_nas_attr: No interface ATM VCI attribute from SDB
Jul 9 11:33:26.822278 authd_get_auth_request_nas_attr: Recovered from SDB - SVlan:-1 Vlan:3103 NasPortType:15
Jul 9 11:33:26.822311 authd_get_auth_request_nas_attr: Recovered from SDB - VPI:-1 VCI:-1 NasPortType:15
Jul 9 11:33:26.822386 authd_get_interface_nas_port_options Interface Radius-Options for Interface ae1 not found
Jul 9 11:33:26.822464 authd_build_radius_nas_port_and_id: NASPortID = ae1.demux0.1073742143:3103, NASPort = c1f, CallingStationID =
Jul 9 11:33:26.822764 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:951 Setting multi-acct-session-id to 0
Jul 9 11:33:26.822819 setAccountingInfo: NULL profile ? 45932852
Jul 9 11:33:26.822858 setAccountingInfo: service accounting order
Jul 9 11:33:26.822895 updateCoaDynamicVariableValidation coaValidation: 0
Jul 9 11:33:26.823074 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:554 JSRC: NOT calling jsrc restore function: - notify off - jsrc id empty
Jul 9 11:33:26.823121 Bundle session id not found, setting to NULL
Jul 9 11:33:26.823159 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:571 multi-acct-session-id set to 0
Jul 9 11:33:26.823201 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:692 access profile: clients
Jul 9 11:33:26.823238 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_subscriber_entry.cc:758 On-demand IP address set to 0
Jul 9 11:33:26.823327 UserAccess:test session-id:322 Access-profile:clients Multi-Acct-Session-Id:0
Jul 9 11:33:26.823367 authd_auth_modules_pre_feed_sanity: message passed sanity test profile=(), username=(
Jul 9 11:33:26.823409 AuthFsm::current state=AuthInit(0) event=1 astEntry=0x20db06c aaa msg=0x1f775d8
Jul 9 11:33:26.823443 ###################################################################
Jul 9 11:33:26.823474 ########################### AUTH REQ RCVD #########################
Jul 9 11:33:26.823504 ###################################################################
Jul 9 11:33:26.823535 Auth-FSM: Process Auth-Request for session-id:322
Jul 9 11:33:26.823570 Framework: Starting authentication
Jul 9 11:33:26.823606 authd_advance_module_for_aaa_request_msg: result:0
Jul 9 11:33:26.823646 Authd module start
Jul 9 11:33:26.823676 authd_radius_start_auth: Starting RADIUS authentication
Jul 9 11:33:26.823769 authd_radius_build_basic_auth_request: got params profile=clients, username=test
Jul 9 11:33:26.823809 radius-access-request: User-Name added: test
Jul 9 11:33:26.823870 radius-access-request: Service-Type added: 2
Jul 9 11:33:26.823920 radius-access-request: Framed-Protocol added: 1
Jul 9 11:33:26.823970 radius-access-request: CHAP-Password added: ""
Jul 9 11:33:26.824015 radius-access-request: CHAP-Challenge added: ""
Jul 9 11:33:26.824061 radius-access-request: Chargeable-User-Identity added:
Jul 9 11:33:26.824108 radius-access-request: Acct-Session-Id added: jnpr demux0.1073742143:322
Jul 9 11:33:26.824161 radius-access-request: DHCP-MAC-Address (Juniper-ERX-VSA) added: 000c.29d4.2378
Jul 9 11:33:26.824210 radius-access-request: NAS-Identifier added: mx_40
Jul 9 11:33:26.824257 radius-access-request: NAS-Port added: 00 00 0c 1f
Jul 9 11:33:26.824298 radius-access-request: NAS-Port-Id added: ae1.demux0.1073742143:3103
Jul 9 11:33:26.824341 radius-access-request: NAS-Port-Type added: 15
Jul 9 11:33:26.824393 authd_create_application_specific_radius_server: Evaluating RADIUS server 0xa636303 to add to the server list
Jul 9 11:33:26.824460 Verify source address a636304 (10.99.99.4) in routing instance index=0
Jul 9 11:33:26.824889 REQUEST: AUTHEN - module_index 0 module(radius) return: ASYNC
Jul 9 11:33:26.825017 UserAccess:test session-id:322 state:start ae1.demux0.1073742143:3103
Jul 9 11:33:26.825061 Auth-FSM: GRES-Mirror for session-id:322 state:AuthStart(1)
Jul 9 11:33:26.826057 authd_radius_get_config:Using radius option config from access profile stanza
Jul 9 11:33:26.826123 loadDefaultService:: default service for the subscriber is empty
Jul 9 11:33:26.826158 Radius result is CLIENT_REQ_STATUS_SUCCESS
Jul 9 11:33:26.826668 radius-access-accept: Acct-Interim-Interval received: 600
Jul 9 11:33:26.826720 radius-access-accept: Service-Type received: 2
Jul 9 11:33:26.826769 radius-access-accept: Framed-Protocol received: 1
Jul 9 11:33:26.826815 radius-access-accept: Framed-Pool received: test_pool
Jul 9 11:33:26.826867 radius-access-accept: Framed-IP-Address received: 192.168.100.201
Jul 9 11:33:26.826915 radius-access-accept: Framed-IP-Netmask received: 255.255.255.255
Jul 9 11:33:26.826980 radius-access-accept: Ingress-Policy-Name (Juniper-ERX-VSA) received: f-10m-rx
Jul 9 11:33:26.827033 radius-access-accept: Egress-Policy-Name (Juniper-ERX-VSA) received: f-10m-tx
Jul 9 11:33:26.827084 Framework - module(radius) return: SUCCESS
Jul 9 11:33:26.827119 authd_advance_module_for_aaa_response_msg: result:2
Jul 9 11:33:26.827168 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:1604 Client-session response-attr:: type:53 len:4
Jul 9 11:33:26.827212 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:1627 client-session response-attr:: interim-interval:600
Jul 9 11:33:26.827257 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:1604 Client-session response-attr:: type:78 len:4
Jul 9 11:33:26.827305 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:1604 Client-session response-attr:: type:79 len:4
Jul 9 11:33:26.827373 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:1604 Client-session response-attr:: type:23 len:9
Jul 9 11:33:26.827421 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:1604 Client-session response-attr:: type:21 len:4
Jul 9 11:33:26.827466 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:1604 Client-session response-attr:: type:22 len:4
Jul 9 11:33:26.827662 authd_update_session_dynamic_attributes: Client-session response-dyn-attr:: name:junos-input-filter, len:8, value: f-10m-rx, encode 0
Jul 9 11:33:26.827716 authd_update_session_dynamic_attributes: Client-session response-dyn-attr:: name:junos-output-filter, len:8, value: f-10m-tx, encode 0
Jul 9 11:33:26.828118 Decoding incoming attributes
Jul 9 11:33:26.828165 Subscriber attribute 10169, length 3
Jul 9 11:33:26.828202 Subscriber attribute 10080, length 17
Jul 9 11:33:26.828238 Subscriber attribute 10153, length 22
Jul 9 11:33:26.828274 Subscriber attribute 10005, length 4
Jul 9 11:33:26.828315 Received subscriber login request, subscriber-id=322
Jul 9 11:33:26.828365 Decoding attribute 10005 length 4
Jul 9 11:33:26.828403 Decoding attribute 10080 length 17
Jul 9 11:33:26.828437 Decoding attribute 10153 length 22
Jul 9 11:33:26.828471 Decoding attribute 10169 length 3
Jul 9 11:33:26.828527 Processing address request in default:default network 255.255.255.254 mac 00:0C:29:D4:23:78
Jul 9 11:33:26.828576 Client Pool Name test_pool set for session: 322
Jul 9 11:33:26.828616 No NDRA prefix attribute was found in the SDB
Jul 9 11:33:26.828652 Processing rule External-Authority
Jul 9 11:33:26.828686 ************** START-ExternalAuthority ******************
Jul 9 11:33:26.828722 DUMP of all addressRequest fields for subscriber 322 router default:default
Jul 9 11:33:26.828767 client type jpppd client type 64 mac address 00:0C:29:D4:23:78
Jul 9 11:33:26.828815 REQUESTING: OldStyle 0 OldStyleFilled 1 hint null network 255.255.255.254 client pool name test_pool
Jul 9 11:33:26.828880 Framed-Pool-->SDB_USER_IP_POOL 'test_pool' used for V4NA
Jul 9 11:33:26.828930 V4NA: req: yes pool: NULL address: 192.168.100.201
Jul 9 11:33:26.828978 V6NA: req: no pool: NULL address: null
Jul 9 11:33:26.829030 V6PD: req: no pool: NULL prefix: null/0
Jul 9 11:33:26.829078 V6NDRA: req: no pool: NULL ndra prefix: null/0
Jul 9 11:33:26.829116 *********************************************************
Jul 9 11:33:26.829164 *************** END-ExternalAuthority *******************
Jul 9 11:33:26.829203 DUMP of all addressRequest fields for subscriber 322 router default:default
Jul 9 11:33:26.829248 client type jpppd client type 64 mac address 00:0C:29:D4:23:78
Jul 9 11:33:26.829294 REQUESTING: OldStyle 0 OldStyleFilled 1 hint null network 255.255.255.254 client pool name test_pool
Jul 9 11:33:26.829333 Framed-Pool-->SDB_USER_IP_POOL 'test_pool' used for V4NA
Jul 9 11:33:26.829380 V4NA: req: yes pool: NULL address: 192.168.100.201
Jul 9 11:33:26.829422 V6NA: req: no pool: NULL address: null
Jul 9 11:33:26.829880 V6PD: req: no pool: NULL prefix: null/0
Jul 9 11:33:26.829929 V6NDRA: req: no pool: NULL ndra prefix: null/0
Jul 9 11:33:26.830064 *********************************************************
Jul 9 11:33:26.830109 Processing rule Network-Match
Jul 9 11:33:26.830143 ***************** START-NetworkMatch ********************
Jul 9 11:33:26.830179 DUMP of all addressRequest fields for subscriber 322 router default:default
Jul 9 11:33:26.830225 client type jpppd client type 64 mac address 00:0C:29:D4:23:78
Jul 9 11:33:26.830273 REQUESTING: OldStyle 0 OldStyleFilled 1 hint null network 255.255.255.254 client pool name test_pool
Jul 9 11:33:26.830313 Framed-Pool-->SDB_USER_IP_POOL 'test_pool' used for V4NA
Jul 9 11:33:26.830362 V4NA: req: yes pool: NULL address: 192.168.100.201
Jul 9 11:33:26.830428 V6NA: req: no pool: NULL address: null
Jul 9 11:33:26.830479 V6PD: req: no pool: NULL prefix: null/0
Jul 9 11:33:26.830526 V6NDRA: req: no pool: NULL ndra prefix: null/0
Jul 9 11:33:26.830563 *********************************************************
Jul 9 11:33:26.830609 ****************** END-NetworkMatch *********************
Jul 9 11:33:26.830647 DUMP of all addressRequest fields for subscriber 322 router default:default
Jul 9 11:33:26.830693 client type jpppd client type 64 mac address 00:0C:29:D4:23:78
Jul 9 11:33:26.830739 REQUESTING: OldStyle 0 OldStyleFilled 1 hint null network 255.255.255.254 client pool name test_pool
Jul 9 11:33:26.830778 Framed-Pool-->SDB_USER_IP_POOL 'test_pool' used for V4NA
Jul 9 11:33:26.830825 V4NA: req: yes pool: NULL address: 192.168.100.201
Jul 9 11:33:26.830866 V6NA: req: no pool: NULL address: null
Jul 9 11:33:26.830914 V6PD: req: no pool: NULL prefix: null/0
Jul 9 11:33:26.830967 V6NDRA: req: no pool: NULL ndra prefix: null/0
Jul 9 11:33:26.831005 *********************************************************
Jul 9 11:33:26.831042 Processing rule Client-Authority
Jul 9 11:33:26.831097 Trying to assign address 192.168.100.201 to subscriber session-id:322
Jul 9 11:33:26.831334 Result have been returned with opcode=0, result=2
Jul 9 11:33:26.831381 ************* Results of Address Allocation *************
Jul 9 11:33:26.831418 DUMP of all addressRequest fields for subscriber 322 router default:default
Jul 9 11:33:26.831464 client type jpppd client type 64 mac address 00:0C:29:D4:23:78
Jul 9 11:33:26.831513 REQUESTING: OldStyle 0 OldStyleFilled 1 hint null network 255.255.255.254 client pool name test_pool
Jul 9 11:33:26.831553 Framed-Pool-->SDB_USER_IP_POOL 'test_pool' used for V4NA
Jul 9 11:33:26.831601 V4NA: req: yes pool: NULL address: 192.168.100.201
Jul 9 11:33:26.831643 V6NA: req: no pool: NULL address: null
Jul 9 11:33:26.831691 V6PD: req: no pool: NULL prefix: null/0
Jul 9 11:33:26.831768 V6NDRA: req: no pool: NULL ndra prefix: null/0
Jul 9 11:33:26.831808 *********************************************************
Jul 9 11:33:26.831856 authd_auth_update_local_server_address ::Searching access profile clients for local DNS Server
Jul 9 11:33:26.831911 AuthFsm::current state=AuthStart(1) event=2 astEntry=0x20db06c aaa msg=0x1f775d8
Jul 9 11:33:26.831952 Auth-FSM: Process Auth-Response for session-id:322 and client type broadband
Jul 9 11:33:26.831988 createDynamicRequest: (2) received
Jul 9 11:33:26.832039 Framework: auth result is 1. Performing post-auth operations
Jul 9 11:33:26.832080 Framework: result is 1.
Jul 9 11:33:26.832115 authd_auth_send_answer: conn=2b12000, reply-code=1 (OK), result-subopcode=1 (ACCESS_OK), sub-id=322, cookie=326, rply_len=28, num_tlv_blocks=0
Jul 9 11:33:26.832164 ###################################################################
Jul 9 11:33:26.832197 ######################### AUTH REQ ACK SENT #######################
Jul 9 11:33:26.832227 ###################################################################
Jul 9 11:33:26.832267 Auth-FSM: GRES-Mirror for session-id:322 state:AuthClntRespWait(4)
Jul 9 11:33:26.832569 authd_auth_aaa_msg_destroy
Jul 9 11:33:26.832632 authd_auth_aaa_msg_destructauth_aaa_msg: 0x1f775d8
Jul 9 11:33:26.833086 authd_write_conn: response is 0x2b1205c, total len is 28 and sent is 0
Jul 9 11:33:26.833986 authd_write_conn: response is 0x2b1205c, wrote 28 bytes
Jul 9 11:33:27.013204 authd_read_msg: Fresh msg arrival. fd=59, hdr_read=0, hdr_remnant=0, payload_read=0 payload_remnant=0
Jul 9 11:33:27.013271 fresh message conn=0x2b12000
Jul 9 11:33:27.013313 read fresh message conn=0x2b12000 hdr_remnant=0 hdr_read=32
Jul 9 11:33:27.013345 Read payload for new message. fd=59, rqst_len=40
Jul 9 11:33:27.013376 Read payload for new message. fd=59, payload_len=8, rqst_len=40, cookie=327
Jul 9 11:33:27.013430 Process/Dispatch Client Message
Jul 9 11:33:27.013465 New Process/Dispatch Client Message
Jul 9 11:33:27.013551 authd_auth_aaa_msg_create: num_of_tlvs:1 tot_num_of_tlv:1
Jul 9 11:33:27.013590 authd_auth_aaa_msg_create aaa-key: username:() profile:()
Jul 9 11:33:27.013626 Process Request
Jul 9 11:33:27.013666 Client request received on conn-id:jpppd session-id:322 Opcode:3, Subcode:17
Jul 9 11:33:27.013722 Decoding incoming attributes
Jul 9 11:33:27.013762 Subscriber attribute 10045, length 4
Jul 9 11:33:27.013797 Begin to logout Subscriber
Jul 9 11:33:27.013834 Received subscriber logout request, subscriber session-id:322
Jul 9 11:33:27.013883 ###################################################################

Jul 9 11:33:27.013930 ############################ LOGOUT RCVD ##########################
Jul 9 11:33:27.013970 ###################################################################
Jul 9 11:33:27.014050 Removing client snapshot
Jul 9 11:33:27.014089 checkLicense
Jul 9 11:33:27.014123 checkLicense
Jul 9 11:33:27.014158 Auth-FSM: reinterpretFsmEvent 8 to 11
Jul 9 11:33:27.014197 AuthFsm::current state=AuthClntRespWait(4) event=11 astEntry=0x20db06c aaa msg=0x1f775d8
Jul 9 11:33:27.014231 Auth-FSM: Posting a Logout-Ack, Client-Session-Cleanup-Ack to the client daemon for session-id:322
Jul 9 11:33:27.014265 clearDynamicConfigLists: numRequests 0
Jul 9 11:33:27.014301 Found old entry with no AVPs
Jul 9 11:33:27.014333 cleanServiceList: numRequests 0
Jul 9 11:33:27.014364 ~DynamicRequestEntry
Jul 9 11:33:27.014400 Auth-FSM: (a) Trigger LOGOUT-NOTIFICATION SKIPPED
Jul 9 11:33:27.014431 Terminate ACK not sending for session-id:322
Jul 9 11:33:27.014469 ****astEntry:0x20db06c aaaMsg:0x1f775d8 replyOpcode:1 replySubOpcode:18 replyStatus:1
Jul 9 11:33:27.014509 authd_auth_send_answer: conn=2b12000, reply-code=1 (OK), result-subopcode=18 (SESSION_LOGOUT_ACK), sub-id=322, cookie=327, rply_len=28, num_tlv_blocks=0
Jul 9 11:33:27.014555 ###################################################################
Jul 9 11:33:27.014588 ################## TERMINATE/LOGOUT ACK SENT ######################
Jul 9 11:33:27.014722 ###################################################################
Jul 9 11:33:27.014764 Delete session: 322
Jul 9 11:33:27.014800 Begin to logout Subscriber
Jul 9 11:33:27.014839 UserAccess:test session-id:322 state:log-out ae1.demux0.1073742143:3103
Jul 9 11:33:27.014952 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:3028 AST-Table couldn't find the session:322
Jul 9 11:33:27.015062 authd_auth_aaa_msg_destroy
Jul 9 11:33:27.015110 authd_auth_aaa_msg_destructauth_aaa_msg: 0x1f775d8
Jul 9 11:33:27.015144 authd_write_conn: response is 0x2b1205c, total len is 28 and sent is 0
Jul 9 11:33:27.015607 authd_write_conn: response is 0x2b1205c, wrote 28 bytes
Jul 9 11:33:27.179630 authd_read_msg: Fresh msg arrival. fd=59, hdr_read=0, hdr_remnant=0, payload_read=0 payload_remnant=0
Jul 9 11:33:27.179694 fresh message conn=0x2b12000
Jul 9 11:33:27.179735 read fresh message conn=0x2b12000 hdr_remnant=0 hdr_read=32
Jul 9 11:33:27.179768 Read payload for new message. fd=59, rqst_len=32
Jul 9 11:33:27.179798 Read payload for new message. fd=59, payload_len=0, rqst_len=32, cookie=328
Jul 9 11:33:27.180393 Process/Dispatch Client Message
Jul 9 11:33:27.180426 New Process/Dispatch Client Message
Jul 9 11:33:27.180475 authd_auth_aaa_msg_create: num_of_tlvs:0 tot_num_of_tlv:0
Jul 9 11:33:27.180511 authd_auth_aaa_msg_create aaa-key: username:() profile:()
Jul 9 11:33:27.180546 Process Request
Jul 9 11:33:27.180585 Client request received on conn-id:jpppd session-id:322 Opcode:1, Subcode:19
Jul 9 11:33:27.180626 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:3028 AST-Table couldn't find the session:322
Jul 9 11:33:27.180664 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:3799 Failed to get ASTEntry for session-id:322
Jul 9 11:33:27.180703 ../../../../../src/junos/usr.sbin/authd/aaa-service/authd_aaa_astable.cc:3060 Pending ACCT Stop Table couldn't find the session:322
Jul 9 11:33:27.180779 ###################################################################
Jul 9 11:33:27.180813 ################ TERMINATE-REQ RCVD AFTER CLEANUP #################
Jul 9 11:33:27.180847 ###################################################################
Jul 9 11:33:27.180877 authd_auth_send_answer: conn=2b12000, reply-code=1 (OK), result-subopcode=20 (CLIENT_SESSION_CLEANUP_ACK), sub-id=322, cookie=328, rply_len=28, num_tlv_blocks=0
Jul 9 11:33:27.180926 ###################################################################
Jul 9 11:33:27.181012 ########## TERMINATE-REQ-ACK SENT (FAKE - AFTER CLEANUP) ##########
Jul 9 11:33:27.181167 ###################################################################
Jul 9 11:33:27.181202 authd_auth_aaa_msg_destroy
Jul 9 11:33:27.181250 authd_auth_aaa_msg_destructauth_aaa_msg: 0x1f775d8
Jul 9 11:33:27.181283 authd_write_conn: response is 0x2b1205c, total len is 28 and sent is 0
Jul 9 11:33:27.181331 authd_write_conn: response is 0x2b1205c, wrote 28 bytes
Jul 9 11:33:27.754029 serviceRadiusRequestQueues Serviced 1 RADIUS requests
Jul 9 11:33:27.754178 serviceRadiusRequestQueues Queue clients has 0 requests, peak is 0

SanMiron
Сообщения: 1
Зарегистрирован: Пт окт 20, 2017 8:29 am

Re: Cisco, Juniper, Ericsson

Сообщение SanMiron »

shapik писал(а):День добрый!
В принципе поборол все препятствия, кроме одного.
Не получается нарезать абоненту скорости по направлениям.
Если красить на входе (uplink) скажем Украину, с помощью SCU, то потом в динамическом сервисе на абонента, невозможно применить конструкцию вида dynamic-profiles TEST firewall family inet filter TEST term 1 from source-class......
source-class отсутствует как класс.
Здравствуйте!
Хотел спросить что было причиной обрывов сессии PPPoE на MX80?
Спасибо.

silver1501
Сообщения: 2
Зарегистрирован: Ср май 31, 2017 5:54 pm

Re: Cisco, Juniper, Ericsson

Сообщение silver1501 »

Добого дня.

Не поділитись в чому була проблема? Ситуація аналогічна)

silver1501
Сообщения: 2
Зарегистрирован: Ср май 31, 2017 5:54 pm

Re: Cisco, Juniper, Ericsson

Сообщение silver1501 »

Запрацювало.
Залишу тут інфо. Може ще хтось буде шукати)

Все банально. Треба щоб був адрес на lo0.0 бо він виступає як default gateway дя сесії пппое.

Ответить