the port you are specking about called controller and for 30 it will be E1 . its format will be something like E1 0/0/0 .
so by issue **_sh controllers E1_** you will get some thing like
_E1 0/0/0 is up.
[Omitted]
E1 0/0/1 is down.
[Omitted]_
the UP one is the CONNECTED one
to check the status of the ISDN ,issue the command **_sh isdn status_**
_Global ISDN Switchtype = primary-net5
ISDN Serial0/0/0:15 interface
dsl 0, interface ISDN Switchtype = primary-net5
Layer 1 Status:
ACTIVE
Layer 2 Status:
TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED
Layer 3 Status:
0 Active Layer 3 Call(s)
Active dsl 0 CCBs = 0
The Free Channel Mask: 0xFFFF7FFF
Number of L2 Discards = 0, L2 Session ID = 6
Total Allocated ISDN CCBs = 0_
the most importunate here ,the status of layer 1 which **_active_** indicating that connection is establish and every thing going well