120
C
HAPTER
6: IP R
OUTING
P
ROTOCOL
O
PERATION
Networking diagram
Figure 31
Filtering the received routing information
Configuration procedure
1
Configure Switch A:
a
Configure the IP address of VLAN interface.
[Switch A]
interface vlan-interface 100
[Switch A-Vlan-interface100]
ip address 10.0.0.1 255.0.0.0
[Switch A]
interface vlan-interface 200
[Switch A-Vlan-interface200]
ip address 12.0.0.1 255.0.0.0
b
Configure three static routes.
[Switch A]
ip route-static 20.0.0.1 255.0.0.0 12.0.0.2
[Switch A]
ip route-static 30.0.0.1 255.0.0.0 12.0.0.2
[Switch A]
ip route-static 40.0.0.1 255.0.0.0 12.0.0.2
c
Enable RIP protocol and specifies the number of the area to which the interface
belongs.
[Switch A]
router id 1.1.1.1
[Switch A]
rip
[Switch A-rip-1]
area 0
[Switch A-rip-1-area-0.0.0.0]
network 10.0.0.0 0.255.255.255
d
Import the static routes
[Switch A-rip-1]
import-route static
2
Configure Switch B:
a
Configure the IP address of VLAN interface.
[Switch B]
interface vlan-interface 100
[Switch B-Vlan-interface100]
ip address 10.0.0.2 255.0.0.0
b
Configure the access control list.
[Switch B]
acl number 2000
[Switch B-acl-basic-2000]
rule deny source 30.0.0.0 0.255.255.255
[Switch B-acl-basic-2000]
rule permit source any
c
Enable RIP protocol and specifies the number of the area to which the interface
belongs.
[Switch B]
router id 2.2.2.2
[Switch B]
rip
[Switch B-rip-1]
area 0
[Switch B-rip-1-area-0.0.0.0]
network 10.0.0.0 0.255.255.255
d
Configure RIP to filter the external routes received.
[Switch B-rip-1]
filter-policy 2000 import
area 0
static 20.0.0.0/8
30.0.0.0/8
40.0.0.0/8
Router ID:1.1.1.1
10.0.0.2/8
Switch A
Switch B
Vlan-interface200
12.0.0.1/8
Router ID:2.2.2.2
Vlan-interface100
10.0.0.1/8
Vlan-interface100
Summary of Contents for 400 Family
Page 12: ......
Page 16: ...14 ABOUT THIS GUIDE ...
Page 58: ...56 CHAPTER 2 PORT OPERATION ...
Page 68: ...66 CHAPTER 3 VLAN OPERATION ...
Page 98: ...96 CHAPTER 5 NETWORK PROTOCOL OPERATION ...
Page 124: ...122 CHAPTER 6 IP ROUTING PROTOCOL OPERATION ...
Page 156: ...154 CHAPTER 8 ACL CONFIGURATION ...
Page 218: ...216 CHAPTER 11 802 1X CONFIGURATION ...
Page 298: ...296 CHAPTER 13 PASSWORD CONTROL CONFIGURATION OPERATIONS ...
Page 336: ...334 APPENDIX B RADIUS SERVER AND RADIUS CLIENT SETUP ...