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-16
III. Configuration procedure
# Configure a default route on S200_10 and specify the next-hop IP address as
166.1.5.2. Set the default preference to 200.
<S200_10> system-view
[S200_10] ip route-static 0.0.0.0 0.0.0.0 166.1.5.2 preference 200
# Configure a static route on S300_A and specify the destination IP addresses as
162.1.1.0/24 and 162.1.2.0/24. Specify the next-hop IP address as 166.1.5.1 and the
default preference to 200.
<S300_A> system-view
[S300_A] ip route-static 162.1.1.0 255.255.255.0 166.1.5.1 preference 200
[S300_A] ip route-static 162.1.2.0 255.255.255.0 166.1.5.1 preference 200
# Redistribute the static route into RIP.
[S300_A] rip
[S300_A-rip] import-route static
3.2.7 BGP MED Attribute Configuration Example
I. Network requirements
As shown in Figure 3-9, S100_1 forwards packets from S400 to S200_10. S100_2
forwards packets from S400 to S300_B. Modify the MED value to achieve this goal.