Hi,
* ☎ <Max.Suraev(a)fairwaves.ru> [2012-09-24 17:38]:
21.09.2012 09:24, Harald Welte пишет:
On Thu, Sep 20, 2012 at 06:00:01PM +0200, ☎
wrote:
How to obtain as much debug information as
possible?
I suggest you study the logging subsystem of libosmocore, which is used
in all of osmo-nitb/osmo-sgsn/osmo-bsc/etc.
Is there more comprehensive documentation for osmo-sgsn than
http://openbsc.osmocom.org/trac/wiki/osmo-sgsn_VTY ?
Something similar to
http://openbsc.osmocom.org/trac/wiki/osmo-nitb_VTY would be very helpful.
Unfortunately not. The best hint I can give at this point is
a grep on sgsn_vty.c ;)
DEFUN(cfg_sgsn, cfg_sgsn_cmd,
"sgsn",
SGSN_STR)
--
DEFUN(cfg_sgsn_bind_addr, cfg_sgsn_bind_addr_cmd,
"gtp local-ip A.B.C.D",
"GTP Parameters\n"
"Set the IP address for the local GTP bind\n"
"IPv4 Address\n")
--
DEFUN(cfg_ggsn_remote_ip, cfg_ggsn_remote_ip_cmd,
"ggsn <0-255> remote-ip A.B.C.D",
GGSN_STR "GGSN Number\n" IP_STR "IPv4 Address\n")
--
DEFUN(cfg_ggsn_remote_port, cfg_ggsn_remote_port_cmd,
"ggsn <0-255> remote-port <0-65535>",
"")
--
DEFUN(cfg_ggsn_gtp_version, cfg_ggsn_gtp_version_cmd,
"ggsn <0-255> gtp-version (0|1)",
GGSN_STR "GGSN Number\n" "GTP Version\n"
"Version 0\n" "Version 1\n")
--
DEFUN(cfg_apn_ggsn, cfg_apn_ggsn_cmd,
"apn APNAME ggsn <0-255>",
"")
--
DEFUN(show_sgsn, show_sgsn_cmd, "show sgsn",
SHOW_STR "Display information about the SGSN")
--
DEFUN(show_mmctx_tlli, show_mmctx_tlli_cmd,
"show mm-context tlli HEX [pdp]",
SHOW_STR MMCTX_STR "Identify by TLLI\n" "TLLI\n" INCLUDE_PDP_STR)
--
DEFUN(swow_mmctx_imsi, show_mmctx_imsi_cmd,
"show mm-context imsi IMSI [pdp]",
SHOW_STR MMCTX_STR "Identify by IMSI\n" "IMSI of the MM
Context\n"
INCLUDE_PDP_STR)
--
DEFUN(swow_mmctx_all, show_mmctx_all_cmd,
"show mm-context all [pdp]",
SHOW_STR MMCTX_STR "All MM Contexts\n" INCLUDE_PDP_STR)
--
DEFUN(show_ggsn, show_ggsn_cmd,
"show ggsn",
"")
--
DEFUN(show_pdpctx_all, show_pdpctx_all_cmd,
"show pdp-context all",
SHOW_STR "Display information on PDP Context\n" "Show
everything\n")
Cheers
Nico