Upgrade 3CX to v18 and get it hosted free!

Asterisk cli srx show layers

Author image

Usage

srx show layers

Synopsis

This command shows information about the Sirrix ISDN stack.

Example

MASTER: port 0x0000
l1: port=0x0000, type=BA, mode=TE, ptp=1, ma=1, act=1:
l2=08115618, tei= 0, st=’ST_L2_70_MULTIPLE_FRAME_ESTABLISHED_NORMAL’:
l3h: cr_out={ }, cr_in={ }
l3=0818fef0, cr=( -1, -1), occ=0, ces_m=00000000, hr_m=00000000, hr_s=00000000, st=’L3 NULL STATE(U0)’

Description

  • MASTER shows which port currently is used for clock synchronisation
  • l1 shows information about Layer 1
    • port specifies the Sirrix.PCI4S0 hardware port
    • type currently always is BA for basic access
    • mode is TE for terminal equipment or NT for network termination
    • ptp is 1 for Point-to-Point or 0 for Point-to-Multipoint
    • ma is 1 if this port may become clock master (master allowed)
    • act is 1 if the Layer 1 has been activated (green LED on card is on)
  • l2 shows information about Layer 2 (followed by the memory pointer in hex)
    • tei shows the assigned TEI (terminal equipment identification)
    • st show the current state of the Layer 2 state machine (see ITU-T Q.921 for state descriptions)
  • l3h shows information about all Layer 3 of a Layer 2
    • cr_out show a list of active outgoing CRs (call references)
    • cr_in show a list of active incoming CRs (call references)
  • l3 shows information about a single Layer 3 (followed by the memory pointer in hex)
    • cr displays the CR (call reference) and if it is incoming 1, or outgoing 0
    • occ is 1 if this Layer 3 is currently in use (occupied) by call control (Asterisk channel driver)
    • ces_m, hr_m and hr_s are memory pointers to other Layer 3 instances that have a relationship to this Layer 3 (CES, Hold Master, Hold Slaved)
    • st show the current state of the Layer 3 state machine (see ITU-T Q.931 for state descriptions)

Article Reviews

Write a Review

Your email address will not be published. Required fields are marked *

Required Field. Minimum 5 characters.

Required Field. Minimum 5 characters, maximum 50.

Required field.There is an error with this field.

Required Field.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

There are no reviews for this article. Be the first one to write a review.
Get 3CX - Absolutely Free!
Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.