发新话题
打印

求教,哪位兄弟配置过华为NE40

求教,哪位兄弟配置过华为NE40

我今天碰到一个问题:在接口上做包的过滤用ACL还是用EACL,过滤的匹配规则是什么样的,也就是匹配的次序.跟CISCO有什么差别吗?请赐教!谢谢

TOP

我配置过

!                                                                              
hostname NE40_A                                                         
!                                                                              
enable password level 15 7 LG<R7JNX30S[La4T47,`5Q!!                           
user huawei service-type exec password 7 ^=_DO9H<U_%6E,:LV/_OQQ!!              
router id 211.92.235.2                                                         
!                                                                              
nat pool akne40 211.92.x.x211.92.x.x mask 255.255.255.255 slot 2         
!                                                                              
rule-map 111 ip 221.11.92.0 0.0.0.255 any                                      
rule-map 222 ip 221.11.93.0 0.0.0.255 any                                      
rule-map 333 ip 172.10.0.0 0.0.0.255 any                                       
!                                                                              
flow-action 111 nat pool akne40 service-class 4                                
flow-action 222 nat pool akne40 service-class 4                                
flow-action 333 nat pool akne40 service-class 4                                
!                                                                              
acl acl111 111 111                                                            
acl acl222 222 222                                                            
acl acl333 333 333                                                            
!                                                                              
interface Aux0/0/1                                                              
flowcontrol normal                                                            
async mode interactive                                                         
no shutdown                                                                    
!                                                                              
interface Ethernet0/0/0                                                         
negotiation auto                                                               
                                                                                
no shutdown                                                                    
ip address 10.0.0.1 255.255.255.0                                             
!                                                                              
interface Ethernet1/0/0                                                         
nat match-host akne40                                                         
                                                                                
description "TO AKLT_ATMSWITCH 100M FE "                                       
negotiation auto                                                               
no shutdown                                                                    
                                                                                
ip address 211.92.x.x 255.255.255.248                                       
!                                                                              
interface Ethernet1/0/1                                                         
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/2                                                         
                                                                                
description "TO ZTE8220_A 100M FE "                                            
negotiation auto                                                               
no shutdown                                                                    
                                                                                
ip address 221.11.x.x 255.255.255.0                                          
access-group acl acl111                                                        
!                                                                              
interface Ethernet1/0/3                                                         
                                                                                
negotiation auto                                                               
no shutdown                                                                    
                                                                                
ip address 221.11.x.x 255.255.255.0                                          
access-group acl acl222                                                        
!                                                                              
interface Ethernet1/0/4                                                         
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/5                                                         
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/6                                                         
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/7                                                         
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/8                                                         
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/9                                                         
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/10                                                        
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/11                                                        
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/12                                                        
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/13                                                        
                                                                                
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/14                                                        
negotiation auto                                                               
shutdown                                                                       
!                                                                              
interface Ethernet1/0/15                                                        
                                                                                
negotiation auto                                                               
no shutdown                                                                    
                                                                                
ip address 172.10.0.1 255.255.255.0                                            
access-group acl acl333                                                        
!                                                                              
interface Ethernet2/1/0                                                         
!                                                                              
interface Ethernet2/1/1                                                         
!                                                                              
interface Ethernet2/1/2                                                         
!                                                                              
interface Ethernet2/1/3                                                         
!                                                                              
interface NULL0                                                                 
description ip route 211.92.x.0 255.255.255.x null 0                       
no shutdown                                                                    
!                                                                              
ip route 0.0.0.0 0.0.0.0 211.92.x.x1 preference 60                           
ip route 211.92.x.x 255.255.255.255 NULL 0 preference 60                     
!                                                                              
line con 0                                                                     
login local                                                                    
line aux 0                                                                     
line vty 0 4                                                                    
login local                                                                    
!                                                                              
end                                                                             
NE40_A#exit

TOP

发新话题