Huawei S6700 Series Configuration Manual page 75

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
[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
Destination/Mask
192.168.1.255/32
127.255.255.255/32
255.255.255.255/32
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
Destination/Mask
192.168.1.255/32
Issue 01 (2012-03-15)
Destinations : 10
Proto
192.168.0.0/24
Direct 0
192.168.0.1/32
Direct 0
192.168.1.0/24
Direct 0
192.168.1.1/32
Direct 0
Direct 0
192.168.2.0/24
RIP
192.168.3.0/24
RIP
192.168.4.0/24
RIP
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Direct 0
Direct 0
Destinations : 9
Proto
192.168.0.0/24
Direct 0
192.168.0.1/32
Direct 0
192.168.1.0/24
Direct 0
192.168.1.1/32
Direct 0
Direct 0
192.168.2.0/24
RIP
192.168.3.0/24
RIP
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 10
Pre
Cost
Flags
0
D
0
D
0
D
0
D
0
D
100
4
D
100
4
D
100
4
D
0
D
0
D
0
D
0
D
Routes : 9
Pre
Cost
Flags
0
D
0
D
0
D
0
D
0
D
100
4
D
100
4
D
0
D
0
D
2 RIP Configuration
NextHop
Interface
192.168.0.1
Vlanif50
127.0.0.1
Vlanif50
192.168.1.1
Vlanif10
127.0.0.1
Vlanif10
192.168.1.2
Vlanif10
192.168.1.2
Vlanif10
192.168.1.2
Vlanif10
192.168.1.2
Vlanif10
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
NextHop
Interface
192.168.0.1
Vlanif50
127.0.0.1
Vlanif50
192.168.1.1
Vlanif10
127.0.0.1
Vlanif10
192.168.1.2
Vlanif10
192.168.1.2
Vlanif10
192.168.1.2
Vlanif10
127.0.0.1
InLoopBack0
127.0.0.1
InLoopBack0
56

Advertisement

Table of Contents
loading

Table of Contents