Subject: [LARTC] [tcng] X:Y to tcng corespondence !
Quoted 9 lines
Message: 8
Date: Fri, 14 Mar 2003 21:49:49 +0200
From: raptor <[email protected]>
To: [email protected]
Subject: [LARTC] [tcng] X:Y to tcng corespondence !Is there a easy way that I to get class-id<----->tcng-class-path conversation.... and vs. versa..
--__--__--
There are couple files can be created by tcc:
# cat a.tc
dev "s0e0" {
egress {
drop if ip_proto = 30;
class (<>)
if 1;
}
}
dev "s1e0" {
egress {
drop if vlan_id = 0;
class (<>)
if 1;
}
}
# cat tcc_map
device s0e0 - a.tc 1
qdisc s0e0:1 - a.tc 2
class s0e0:1:0 - a.tc 4
qdisc s0e0:2 - a.tc 2
filter s0e0:1::1 - a.tc 2
element s0e0:1::1:0 - a.tc 3
element s0e0:1::1:1 - a.tc 5
device s1e0 - a.tc 8
qdisc s1e0:1 - a.tc 9
class s1e0:1:0 - a.tc 11
qdisc s1e0:2 - a.tc 9
filter s1e0:1::1 - a.tc 9
element s1e0:1::1:0 - a.tc 10
element s1e0:1::1:1 - a.tc 12
# cat var_file
{ device s0e0
{ qdisc s0e0:1
}
}
{ device s1e0
{ qdisc s1e0:1
}
}- Jacob
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/