Trunk Access command
-
mgsox
Trunk Access command
hi all! i was looking at infocollect sub folders and files and i came accross the below outcome for trunk groups.
does any one know if thereis a specific command for that?
thanks for your help
------ TRUNK : 2 ------
typTrunk : (6) => T2
(num_crist - num_cpl - num_term) = (3-24-0)
(num_crist - num_cpl - num_term) = (3-17-1)
(num_crist - num_cpl - num_term) = (3-17-0)
------ TRUNK : 3 ------
typTrunk : (6) => T2
(num_crist - num_cpl - num_term) = (1-11-1)
(num_crist - num_cpl - num_term) = (1-11-0)
(num_crist - num_cpl - num_term) = (4-12-0)
(num_crist - num_cpl - num_term) = (4-10-0)
(num_crist - num_cpl - num_term) = (3-19-0)
(num_crist - num_cpl - num_term) = (3-19-1)
does any one know if thereis a specific command for that?
thanks for your help
------ TRUNK : 2 ------
typTrunk : (6) => T2
(num_crist - num_cpl - num_term) = (3-24-0)
(num_crist - num_cpl - num_term) = (3-17-1)
(num_crist - num_cpl - num_term) = (3-17-0)
------ TRUNK : 3 ------
typTrunk : (6) => T2
(num_crist - num_cpl - num_term) = (1-11-1)
(num_crist - num_cpl - num_term) = (1-11-0)
(num_crist - num_cpl - num_term) = (4-12-0)
(num_crist - num_cpl - num_term) = (4-10-0)
(num_crist - num_cpl - num_term) = (3-19-0)
(num_crist - num_cpl - num_term) = (3-19-1)
Re: Trunk Access command
infocollect is a shell script that uses other shell scripts with trkvisu and trkstat output then these are processed by awk script.
So no single command exists to get such output.
So no single command exists to get such output.
If it looks like a duck, swims like a duck, and quacks like a duck, then it probably is a duck.
-
mgsox
Re: Trunk Access command
i mean the board configured for that tg.cavagnaro wrote:What do you mean by access?
thanks
Trunk Access command
trkvisu is the right answer.
but it's formed by sed in the script. a look into "/usr/sbin/feml.d/trunks.mtcl gives you the answer.
so this here will give you the output for trunkgroup 15
regards...
regards...
but it's formed by sed in the script. a look into "/usr/sbin/feml.d/trunks.mtcl gives you the answer.
Code: Select all
for i in `${TOOL} trkvisu all | grep local | awk '{print $2}'`
do
echo "------ TRUNK : $i ------"
${TOOL} trkvisu $i | egrep "typTrunk|num_crist" | sed 's/|//'
echo
done > local_trk_access.txtCode: Select all
trkvisu 15 | egrep "typTrunk|num_crist" | sed 's/|//'regards...
