Download Print this page

Huawei Quidway NetEngine80E Configuration Manual page 237

Universal service router, ip routing
Hide thumbs Also See for Quidway NetEngine80E:

Advertisement

HUAWEI NetEngine80E/40E Router
Configuration Guide - IP Routing
Step 4 Configure RIP to filter the imported routes.
# Configure an ACL on Router B and set a rule to deny the packets with the source address being
192.168.4.0/24.
[RouterB] acl 2000
[RouterB-acl-basic-2000] rule deny source 192.168.4.0 0.0.0.255
[RouterB-acl-basic-2000] rule permit
[RouterB-acl-basic-2000] quit
# Filter out the route 192.168.4.0/24 imported from RIP 200 on Router B according to the ACL
rule.
[RouterB] rip 100
[RouterB-rip-100] filter-policy 2000 export
Step 5 Verify the configuration.
# Check the routing table of Router A after the filtering. The route to 192.168.4.0/24 does not
exist in the routing table. This means that the route is filtered out.
[RouterA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destination/Mask
----End
Configuration Files
l
Issue 02 (2014-09-30)
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
192.168.0.0/24
Direct 0
192.168.0.1/32
Direct 0
192.168.0.1/32
Direct 0
192.168.1.0/24
Direct 0
192.168.1.1/32
Direct 0
192.168.1.1/32
Direct 0
192.168.2.0/24
RIP
192.168.3.0/24
RIP
192.168.4.0/24
RIP
Destinations : 9
Proto
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
192.168.0.0/24
Direct 0
192.168.0.1/32
Direct 0
192.168.0.1/32
Direct 0
192.168.1.0/24
Direct 0
192.168.1.1/32
Direct 0
192.168.1.1/32
Direct 0
192.168.2.0/24
RIP
192.168.3.0/24
RIP
Configuration file of Router A
#
sysname RouterA
#
interface GigabitEthernet2/0/0
undo shutdown
ip address 192.168.0.1 255.255.255.0
#
interface Pos1/0/0
link-protocol ppp
undo shutdown
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
0
D
0
D
0
D
192.168.0.1
0
D
0
D
127.0.0.1
0
D
0
D
127.0.0.1
0
D
127.0.0.1
100
4
D
100
4
D
100
4
D
Routes : 9
Pre
Cost
Flags
0
D
0
D
0
D
192.168.0.1
0
D
0
D
127.0.0.1
0
D
0
D
0
D
100
4
D
100
4
D
3 RIP Configuration
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
GigabitEthernet2/0/0
127.0.0.1
InLoopBack0
GigabitEthernet2/0/0
192.168.1.1
Pos1/0/0
InLoopBack0
Pos1/0/0
192.168.1.2
Pos1/0/0
192.168.1.2
Pos1/0/0
192.168.1.2
Pos1/0/0
NextHop
Interface
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
GigabitEthernet2/0/0
127.0.0.1
InLoopBack0
GigabitEthernet2/0/0
192.168.1.1
Pos1/0/0
127.0.0.1
InLoopBack0
127.0.0.1
Pos1/0/0
192.168.1.2
Pos1/0/0
192.168.1.2
Pos1/0/0
212

Hide quick links:

Advertisement

loading

This manual is also suitable for:

Quidway netengine40eNe40eNe80e