
182
C
HAPTER
5: IP R
OUTING
P
ROTOCOL
O
PERATION
[Switch A]
ip route-static 20.0.0.1 255.255.255.255 12.0.0.1
[Switch A]
ip route-static 30.0.0.1 255.255.255.255 12.0.0.1
[Switch A]
ip route-static 40.0.0.1 255.255.255.255 12.0.0.1
3
Enable OSPF protocol and specifies the number of the area to which the interface
belongs.
[Switch A]
router id 1.1.1.1
[Switch A]
ospf
[Switch A-ospf]
area 0
[Switch A-ospf-area-0.0.0.0]
network 10.0.0.0 0.0.0.255
4
Import the static routes
[Switch A-ospf]
import-route static
Configure Switch B:
1
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
2
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
3
Enable OSPF protocol and specifies the number of the area to which the interface
belongs.
[Switch B]
router id 2.2.2.2
[Switch B]
ospf
[Switch B-ospf]
area 0
[Switch B-ospf-area-0.0.0.0]
network 10.0.0.0 0.0.0.255
4
Configure OSPF to filter the external routes received.
[Switch B-ospf]
filter-policy 1 import
Troubleshooting Routing
Policies
Routing information filtering cannot be implemented in normal operation of the
routing protocol
Check for the following faults:
■
The if-match mode of at least one node of the Route policy should be the
permit
mode. When a Route-policy is used for the routing information
filtering, if a piece of routing information does not pass the filtering of any
node, then it means that the route information does not pass the filtering of
the Route-policy. When all the nodes of the Route-policy are in the
deny
mode, then all the routing information cannot pass the filtering of the
Route-policy.
■
The if-match mode of at least one list item of the ip-prefix should be the
permit
mode. The list items of the
deny
mode can be defined to rapidly filter
the routing information not satisfying the requirement, but if all the items are
in the deny mode, no routes will pass the ip-prefix filtering. You can define an
item of permit 0.0.0.0/0 less-equal 32 after the multiple list items in the deny
mode, so as to let all the other routes pass the filtering (If less-equal 32 is not
specified, only the default route will be matched).
Содержание Switch 7700
Страница 10: ...2 ABOUT THIS GUIDE ...
Страница 52: ...44 CHAPTER 2 PORT CONFIGURATION ...
Страница 194: ...186 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 195: ...Route Capacity 187 ...
Страница 196: ...188 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 197: ...Route Capacity 189 ...
Страница 198: ...190 CHAPTER 5 IP ROUTING PROTOCOL OPERATION ...
Страница 237: ...GMRP 229 SW7700 Ethernet1 0 1 gmrp ...
Страница 238: ...230 CHAPTER 6 MULTICAST PROTOCOL ...
Страница 270: ...262 CHAPTER 7 QOS OPERATION ...
Страница 320: ...312 CHAPTER 9 AAA AND RADIUS OPERATION ...
Страница 330: ...322 CHAPTER 10 RELIABILITY ...
Страница 390: ...382 CHAPTER 11 SYSTEM MANAGEMENT ...