H3C S3610-28P Operation Manual page 367

S3610 & s5510 series
Table of Contents

Advertisement

Operation Manual – IPv4 Routing
H3C S3610&S5510 Series Ethernet Switches
[SwitchB-rip-100] import-route rip 200
[SwitchB-rip-100] quit
[SwitchB] rip 200
[SwitchB-rip-200] import-route rip 100
[SwitchB-rip-200] quit
# Display the routing table of Switch A.
[SwitchA] display ip routing-table
Routing Tables: Public
Destination/Mask
1.1.1.0/24
1.1.1.1/32
2.1.1.0/24
2.1.1.1/32
3.1.1.0/24
4.1.1.0/24
5.1.1.0/24
127.0.0.0/8
127.0.0.1/32
4)
Configure an filtering policy to filter redistributed routes
# Define ACL 2000 and reference it to a filtering policy to filter routes redistributed from
RIP 200 on Switch B.
[SwitchB] acl number 2000
[SwitchB-acl-basic-2000] rule deny source 4.1.1.1 0.0.0.255
[SwitchB-acl-basic-2000] rule permit
[SwitchB-acl-basic-2000] quit
[SwitchB] rip 100
[SwitchB-rip-100] filter-policy 2000 export rip 200
# Display the routing table of Switch A.
[SwitchA] display ip routing-table
Routing Tables: Public
Destination/Mask
1.1.1.0/24
1.1.1.1/32
2.1.1.0/24
2.1.1.1/32
3.1.1.0/24
5.1.1.0/24
127.0.0.0/8
127.0.0.1/32
Destinations : 9
Proto
Pre
Direct 0
Direct 0
Direct 0
Direct 0
RIP
100
RIP
100
RIP
100
Direct 0
Direct 0
Destinations : 8
Proto
Pre
Direct 0
Direct 0
Direct 0
Direct 0
RIP
100
RIP
100
Direct 0
Direct 0
Routes : 9
Cost
NextHop
0
1.1.1.1
0
127.0.0.1
0
2.1.1.1
0
127.0.0.1
4
1.1.1.2
4
1.1.1.2
4
1.1.1.2
0
127.0.0.1
0
127.0.0.1
Routes : 8
Cost
NextHop
0
1.1.1.1
0
127.0.0.1
0
2.1.1.1
0
127.0.0.1
4
1.1.1.2
4
1.1.1.2
0
127.0.0.1
0
127.0.0.1
2-21
Chapter 2 RIP Configuration
Interface
Vlan100
InLoop0
Vlan101
InLoop0
Vlan100
Vlan100
Vlan100
InLoop0
InLoop0
Interface
Vlan100
InLoop0
Vlan101
InLoop0
Vlan100
Vlan100
InLoop0
InLoop0

Advertisement

Table of Contents
loading

Table of Contents