2013年9月2日 星期一

[Snmp][Settings] LLC Filter and IP Filter Examples


[Snmp][Settings] LLC Filter and IP Filter Examples



LLC Filters



Basic LLC configuration is to accept only frames which carry IP or related protocols (example, ARP). All other LLC frames will be discarded on all interfaces.



Example :





        SnmpMibObject docsDevFilterLLCIfIndex.1 Integer 0 ;

        SnmpMibObject docsDevFilterLLCProtocolType.1 Integer 1; /* ethertype */

        SnmpMibObject docsDevFilterLLCProtocol.1 Integer 2048 ;

        SnmpMibObject docsDevFilterLLCStatus.1 Integer 4; /* createAndGo */





        SnmpMibObject docsDevFilterLLCIfIndex.2 Integer 0 ;

        SnmpMibObject docsDevFilterLLCProtocolType.2 Integer 1; /* ethertype */

        SnmpMibObject docsDevFilterLLCProtocol.2 Integer 2054 ;

        SnmpMibObject docsDevFilterLLCStatus.2 Integer 4; /* createAndGo */





        SnmpMibObject docsDevFilterLLCIfIndex.3 Integer 0 ;

        SnmpMibObject docsDevFilterLLCProtocolType.3 Integer 1; /* ethertype */

        SnmpMibObject docsDevFilterLLCProtocol.3 Integer 34525 ;

        SnmpMibObject docsDevFilterLLCStatus.3 Integer 4; /* createAndGo */



Reference :



Related Posts:

0 意見:

張貼留言