EasyManua.ls Logo

Huawei S6700 Series - Page 75

Huawei S6700 Series
664 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
[Switch B-rip-100] import-route rip 200
[Switch B-rip-100] quit
[Switch B] rip 200
[Switch B-rip-200] import-route rip 100
[Switch B-rip-200] quit
# View the routing table of Switch A after the routes are imported.
[Switch A] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost Flags NextHop Interface
192.168.0.0/24 Direct 0 0 D 192.168.0.1 Vlanif50
192.168.0.1/32 Direct 0 0 D 127.0.0.1 Vlanif50
192.168.1.0/24 Direct 0 0 D 192.168.1.1 Vlanif10
192.168.1.1/32 Direct 0 0 D 127.0.0.1 Vlanif10
192.168.1.255/32 Direct 0 0 D 192.168.1.2 Vlanif10
192.168.2.0/24 RIP 100 4 D 192.168.1.2 Vlanif10
192.168.3.0/24 RIP 100 4 D 192.168.1.2 Vlanif10
192.168.4.0/24 RIP 100 4 D 192.168.1.2 Vlanif10
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
127.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
255.255.255.255/32 Direct 0 0 D 127.0.0.1 InLoopBack0
Step 5 Configure Switch B to filter the imported routes.
# Configure an ACL on Switch B and add a rule to the ACL. The rule denies the packets sent
from 192.168.4.0/24.
[Switch B] acl 2000
[Switch B-acl-basic-2000] rule deny source 192.168.4.0 0.0.0.255
[Switch B-acl-basic-2000] rule permit
[Switch B-acl-basic-2000] quit
# Configure Switch B to filter the route to 192.168.4.0/24 that is imported from RIP200 according
to the ACL rule.
[Switch B] rip 100
[Switch B-rip-100] filter-policy 2000 export
[Switch B-rip-100] quit
Step 6 Verify the configuration.
# View the RIP routing table of Switch A after the routes are filtered.
[Switch A] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 9 Routes : 9
Destination/Mask Proto Pre Cost Flags NextHop Interface
192.168.0.0/24 Direct 0 0 D 192.168.0.1 Vlanif50
192.168.0.1/32 Direct 0 0 D 127.0.0.1 Vlanif50
192.168.1.0/24 Direct 0 0 D 192.168.1.1 Vlanif10
192.168.1.1/32 Direct 0 0 D 127.0.0.1 Vlanif10
192.168.1.255/32 Direct 0 0 D 192.168.1.2 Vlanif10
192.168.2.0/24 RIP 100 4 D 192.168.1.2 Vlanif10
192.168.3.0/24 RIP 100 4 D 192.168.1.2 Vlanif10
127.0.0.0/8 Direct 0 0 D 127.0.0.1 InLoopBack0
127.0.0.1/32 Direct 0 0 D 127.0.0.1 InLoopBack0
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 2 RIP Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
56

Table of Contents

Other manuals for Huawei S6700 Series

Related product manuals