3Com Switch 7750 Configuration Guide Guide
272 CHAPTER 32: SELECTIVE ROUTE CONFIGURATION
Network diagram
Figure 66 Network diagram for selective route configuration
Configuration procedure
Perform the following configuration on Switch:
# Create an ACL numbered 2000 to permit the packets from HostA (whose IP ad
dress
is 59.67.69.8) and HostB (whose IP address is 59.67.70.52).
<Switch> system-view
[Switch] acl number 2000
[Switch-acl-basic-2000] rule 0 permit source 59.67.69.8 0
[Switch-acl-basic-2000] rule 1 permit source 59.67.70.52 0
[Switch-acl-basic-2000] quit
# Configure the static ARP entry of the next hop of the selective route.
[Switch] arp static 59.67.64.14 00e0-fc66-6667 1 GigabitEthernet 3/0/1
# Configure the filtering rules of the selective route.
[Switch] selective-route if-match ip-group 2000 next-hop 59.67.64.14
# Configure a static route so that users can access these external networks: 58.17
.0.0/16
and 193.194.158.0/24.
[Switch] ip route-static 58.17.0.0 16 59.67.64.14
[Switch] ip route-static 193.194.158.0 24 59.67.64.14
# Configure the selective route so that only HostA and HostB are allowed access
to
all the external network resources.