H3C S7500 Series Operation Manual page 403

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – Routing Protocol
H3C S7500 Series Ethernet Switches
II. Network diagram
Vlan -int101
Device
Switch A
Switch B
Switch C
Switch D
Figure 6-7 Diagram for BGP routing
III. Configuration procedure
1)
Configure Switch A.
[SwitchA] interface Vlan-interface 2
[SwitchA-Vlan-interface2] ip address 192.1.1.1 255.255.255.0
[SwitchA] interface Vlan-interface 3
[SwitchA-Vlan-interface3] ip address 193.1.1.1 255.255.255.0
# Enable BGP
[SwitchA] bgp 100
# Specify the destination network for BGP routes.
[SwitchA-bgp] network 1.0.0.0
# Configure BGP peers.
[SwitchA-bgp] group ex192 external
[SwitchA-bgp] peer 192.1.1.2 group ex192 as-number 200
[SwitchA-bgp] group ex193 external
[SwitchA-bgp] peer 193.1.1.2 group ex193 as-number 200
[SwitchA-bgp] quit
# Configure the MED attribute of Switch A.
Create an access control list to permit routing information sourced from the network
1.0.0.0.
[SwitchA] acl number 2000
AS 100
VLAN -int2
VLAN-int2
VLAN -int3
VLAN -int3
Switch A
Interface
Vlan-int 101
Vlan-int 2
Vlan-int 3
Vlan-int 2
Vlan-int 4
Vlan-int 3
Vlan-int 5
Vlan-int 4
Vlan-int 5
AS 200
VLAN- int4
Switch B
VLAN-int5
Switch C
IP interface
1.1.1.1/8
192.1.1.1/24
193.1.1.1/24
192.1.1.2/24
194.1.1.2/24
193.1.1.2/24
195.1.1.2/24
194.1.1.1/24
195.1.1.1/24
6-29
Chapter 6 BGP Configuration
Switch D
AS
100
200

Advertisement

Table of Contents
loading

Table of Contents