Feature #4877
closed
show frame relay DLC state
Added by laforge over 3 years ago.
Updated almost 3 years ago.
Description
when we show the NS-VCs for FR, also show the logical state of the DLC (active / inactive).
- Status changed from New to In Progress
- % Done changed from 0 to 10
- Status changed from In Progress to New
- Assignee changed from laforge to lynxis
- Priority changed from Normal to High
I think the difficult question is how/where.
Currently the writing/stringification of NSVCs is done in the generic code from gprs_ns2_vty.c:gprs_ns2_ll_str(). This code doesn't have access to the frame relay DLC.
However, there is gprs_ns2_ll_str_buf() which is called by the above. It currently prints something like "fr)netif: %s dlci: %u"
for FR and "udp)[%s]:%u<>[%s]:%u"
for UDP. Neither of the two includes any information about state, it just dumps static parameters like port numbers or DLCI...
maybe it is time for a separate "show frame-relay" or "show ns frame-relay" command whihc just dumps stae about the FR links and DLCs?
- Status changed from New to In Progress
- Assignee changed from lynxis to laforge
- Priority changed from High to Normal
- Status changed from In Progress to Resolved
- % Done changed from 10 to 100
Also available in: Atom
PDF