Actions
Feature #3837
closed"show cs7 instance ..." doesn't show IP/port information of remote AS/ASP
Start date:
03/13/2019
Due date:
% Done:
100%
Spec Reference:
Description
Nowhere in the below output do we get any information as to the IP/port information of the SCTP peers for any of the AS/ASP:
OsmoSTP# show cs7 instance 0 asp Effect Primary ASP Name AS Name State Type Rmt Port Remote IP Addr SCTP ------------ ------------ ------------- ---- -------- --------------- ---------- asp-dyn-0 ? ASP_ACTIVE m3ua 0 (null) asp-dyn-1 ? ASP_ACTIVE m3ua 0 (null) asp-dyn-2 ? ASP_ACTIVE m3ua 0 (null) asp-dyn-3 ? ASP_ACTIVE m3ua 0 (null) asp-dyn-5 ? ASP_DOWN m3ua 0 (null) OsmoSTP# show cs7 instance 0 as all Routing Routing Key Cic Cic AS Name State Context Dpc Si Opc Ssn Min Max ------------ ------------ ---------- ------------- ---- ------------- --- ----- ----- as-rkm-1 AS_ACTIVE 1 0.23.4 as-rkm-2 AS_ACTIVE 2 0.23.1 as-rkm-3 AS_ACTIVE 3 0.23.5 as-rkm-4 AS_ACTIVE 4 0.23.3 OsmoSTP# show cs7 instance 0 route Routing table = system C=Cong Q=QoS P=Prio Destination C Q P Linkset Name Linkset Non-adj Route ---------------------- - - - ------------------- ------- ------- ------- 7.255.7 0 as-rkm-1 ? ? ? 7.255.7 0 as-rkm-2 ? ? ? 7.255.7 0 as-rkm-3 ? ? ? 7.255.7 0 as-rkm-4 ? ? ?
Related issues
Updated by laforge about 5 years ago
- Related to Bug #3836: "show cs7 instance 0 asp" doesn't list the associated AS for each ASP? added
Updated by laforge about 5 years ago
I think this works fine with manually-created ASPs where the config file states the remote IP and port.
However, for the auto-generated-on-demand ASPs in the dynamic registration case, the respective fields (asp->cfg.remote.port, asp->cfg.remote.host) are never filled-in and hence they display as "0 / (null)"
Updated by laforge about 5 years ago
- Status changed from New to In Progress
- % Done changed from 0 to 80
Proposed fix in https://gerrit.osmocom.org/#/c/libosmo-sccp/+/13234
Updated by laforge almost 5 years ago
- Status changed from In Progress to Resolved
- % Done changed from 80 to 100
patch long merged
Actions