H3C S7500 Series Ethernet Switches Release 3135 DHCP Configuration Examples

Routing Configuration Examples
H3C S7500 Series Ethernet Switches Release 3135 Chapter 3 Comprehensive Configuration Example
3-12
[S400-bgp] peer 196.2.3.2 group 100_2 as-number 100
# Advertise networks 196.1.3.0 and 196.2.3.0.
[S400-bgp] network 196.1.3.0
[S400-bgp] network 196.2.3.0
# Set the preferences of EBGP routes, IBGP routes, and local routes to 200.
[S400-bgp] preference 200 200 200
3.2.4 RIP, Static Route, and Routing Policy Configuration Example
I. Network requirements
As shown in Figure 3-6, RIPv2 runs on S300_A/S300_B. To control the number of
routes learned by S300_B through RIP, allow S300_B to advertise routes to S300_A
and forbid S300_B to receive routes advertised by S300_A. Packets from S300_B to
S300_A are forwarded through the default route.
II. Network diagram
Device Interface IP address
S300_A Vlan-int 662 166.1.2.1/24
S300_B Vlan-int 662 166.1.2.2/24
Vlan-int 623 162.1.3.1/24
Vlan-int 624 162.1.4.1/24
Figure 3-6 Network diagram for RIP, static route, and routing policy configuration
III. Configuration procedure
# Create ACL 2000 and deny all packets.
<S300_B> system-view
[S300_B] acl number 2000
[S300_B-acl-basic-2000] rule deny source any
[S300_B-acl-basic-2000] quit