Community discussions

MikroTik App
 
cibernet
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Bridge Filter bug on Terminal

Mon Jul 31, 2006 3:28 am

2.9.27
RSTP Bridge test


There is a problem when I try to add in the terminal the pppoe-discovery and pppoe-session protocols, they dont exist... but on winbox they do..
So i add them on winbox, and the i export on terminal:
[admin@Gaona Master] interface bridge filter> export
/ interface bridge filter 
add chain=forward mac-protocol=0x8863 action=accept comment="" disabled=no 
add chain=forward mac-protocol=0x8864 action=accept comment="" disabled=no
But as i said i cannot add them on terminal..
[admin@Gaona Master] interface bridge filter> add chain=forward mac-protocol=0x8863 action=accept comment="" disabled=no
invalid value for argument protocol

It's a bug? or im just stupid :P

Best regards
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Mon Jul 31, 2006 10:35 am

It's not a bug. So the choice seems to be pretty limited, yeah? :D
[eugene@SM_BGP] interface bridge filter> add chain forward mac-protocol=       
Protocol name or number

MacProtocol ::= [!]Protocol
  Protocol ::= ProtocolName | ProtocolNumber
    ProtocolName ::= ProtocolName36 | MacProtocol
      MacProtocol ::= arp | ip | ipv6 | ipx | rarp | ...
      ProtocolName36 ::= length
    ProtocolNumber ::= 0..FFFF    (integer number)

[eugene@SM_BGP] interface bridge filter> add chain forward mac-protocol=8863 
Best regards,
Eugene
 
cibernet
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Mon Jul 31, 2006 7:34 pm

It's not a bug. So the choice seems to be pretty limited, yeah? :D
[eugene@SM_BGP] interface bridge filter> add chain forward mac-protocol=       
Protocol name or number

MacProtocol ::= [!]Protocol
  Protocol ::= ProtocolName | ProtocolNumber
    ProtocolName ::= ProtocolName36 | MacProtocol
      MacProtocol ::= arp | ip | ipv6 | ipx | rarp | ...
      ProtocolName36 ::= length
    ProtocolNumber ::= 0..FFFF    (integer number)

[eugene@SM_BGP] interface bridge filter> add chain forward mac-protocol=8863 
Best regards,
Eugene
:lol: Yea, to much limited :P BTW, when I enter the code as you said:
[admin@Gaona Master] interface bridge filter> add chain=forward mac-protocol=8863
[admin@Gaona Master] interface bridge filter> pr
Flags: X - disabled, I - invalid, D - dynamic 
0   chain=forward mac-protocol=0x229F action=accept

Best Regards
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 01, 2006 9:10 am

:oops:
anyway,
[eugene@SM_BGP] interface bridge filter> add chain forward mac-protocol=34915
Eugene
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 01, 2006 9:16 am

without the help of excellent OS X calculator I would write the following:
[eugene@SM_BGP] interface bridge filter> add chain forward mac-protocol=[:tonum 0x8863] 
Eugene
 
cmit
Forum Guru
Forum Guru
Posts: 1547
Joined: Fri May 28, 2004 12:49 pm
Location: Germany

Tue Aug 01, 2006 10:42 am

Aaah, now that sounds more like the old script-Eugene I know... :D

Best regards,
Christian Meis
 
User avatar
Eugene
Forum Veteran
Forum Veteran
Posts: 986
Joined: Mon May 31, 2004 5:06 pm
Location: Cranfield, UK

Tue Aug 01, 2006 1:20 pm

:D we will probably make a fix for this in 2.10.
 
cibernet
Long time Member
Long time Member
Topic Author
Posts: 610
Joined: Fri Jan 28, 2005 7:22 pm
Location: Marcos Juárez, Córdoba, Argentina
Contact:

Sat Aug 05, 2006 9:22 am

:D we will probably make a fix for this in 2.10.
:wink: