Configuring Bgp Path Selection - H3C S5600 SERIES Operation Manual

Hide thumbs Also See for S5600 SERIES:
Table of Contents

Advertisement

[SwitchB] bgp 200
[SwitchB-bgp] group ex external
[SwitchB-bgp] peer 192.1.1.1 group ex as-number 100
[SwitchB-bgp] group in internal
[SwitchB-bgp] peer 193.1.1.1 group in
3)
Configure Switch C.
# Configure VLAN interface IP addresses.
<SwitchC> system-view
[SwitchC] interface Vlan-interface 3
[SwitchC-Vlan-interface3] ip address 193.1.1.1 255.255.255.0
[SwitchC-Vlan-interface3] quit
[SwitchC] interface vlan-Interface 4
[SwitchC-Vlan-interface4] ip address 194.1.1.1 255.255.255.0
[SwitchC-Vlan-interface4] quit
# Configure BGP peers and RR.
[SwitchC] bgp 200
[SwitchC-bgp] group rr internal
[SwitchC-bgp] peer rr reflect-client
[SwitchC-bgp] peer 193.1.1.2 group rr
[SwitchC-bgp] peer 194.1.1.2 group rr
4)
Configure Switch D.
# Configure VLAN interface IP address.
<SwitchD> system-view
[SwitchD] interface vlan-interface 4
[SwitchD-Vlan-interface4] ip address 194.1.1.2 255.255.255.0
[SwitchD-Vlan-interface4] quit
# Configure a BGP peer.
[SwitchD] bgp 200
[SwitchD-bgp] group in internal
[SwitchD-bgp] peer 194.1.1.1 group in
Use the display bgp routing command to display the BGP routing table on Switch B. Note that, Switch
B has already known the existence of network 1.0.0.0.
Use the display bgp routing command to display the BGP routing table on Switch D. Note that, Switch
D knows the existence of network 1.0.0.0, too.

Configuring BGP Path Selection

Network requirements
A network consists of two ASs, which run BGP to communicate with each other. OSPF runs in one of
them.
The requirement is to control the data forwarding path from AS 200 to AS 100.
The following gives two plans to meet the requirement :
Use the MED attribute to control the forwarding path for packets from AS 200 to AS 100.
Use the LOCAL_PREF attribute to control the forwarding path for packets from AS 200 to AS 100.
5-33

Advertisement

Table of Contents
loading

Table of Contents