HP 6125G Configuration Manual page 192

Layer 3 - ip routing
Hide thumbs Also See for 6125G:
Table of Contents

Advertisement

Figure 70 Network diagram
AS 100
1.1.1.0/24
Device
Switch A
Switch B
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configure OSPF in AS 200 to make sure Switch A and Switch C can reach each other and
2.
configure Switch A to redistribute BGP routes. (Details not shown.)
Configure BGP on Switch A:
3.
# Establish two IBGP connections between Switch A and Switch C, and configure Switch A to
advertise itself as the next hop.
<SwitchA> system-view
[SwitchA] bgp 100
[SwitchA-bgp] peer 3.0.2.2 as-number 200
[SwitchA-bgp] peer 2.0.2.2 as-number 200
[SwitchA-bgp] peer 3.0.2.2 next-hop-local
[SwitchA-bgp] peer 2.0.2.2 next-hop-local
# Configure Switch A to redistribute OSPF routes.
[SwitchA-bgp] import-route ospf
[SwitchA-bgp] quit
# When the two links between Switch A and Switch C are both up, Switch C adopts the link Switch
A<—>Switch B<—>Switch C to exchange packets with network 1.1.1.0/24. (Set a higher MED
value for route 1.1.1.0/24 sent to peer 2.0.2.2 on Switch A.)
Create ACL 2000 to permit 1.1.1.0/24 to pass.
[SwitchA] acl number 2000
[SwitchA-acl-basic-2000] rule permit source 1.1.1.0 24
[SwitchA-acl-basic-2000] quit
Vlan-int30
Vlan-int30
Switch E
Interface
IP address
Vlan-int100
3.0.1.1/24
Vlan-int200
2.0.1.1/24
Vlan-int30
30.1.1.1/24
Vlan-int100
3.0.1.2/24
Vlan-int101
3.0.2.1/24
Switch B
Vlan-int100
Vlan-int100
AS 200
Vlan-int200
Switch A
Vlan-int200
Switch D
Device
Switch C
Switch D
Switch E
182
Vlan-int101
Vlan-int101
Vlan-int201
Switch C
Vlan-int201
Interface
Vlan-int101
Vlan-int201
Vlan-int200
Vlan-int201
Vlan-int30
AS 300
IP address
3.0.2.2/24
2.0.2.2/24
2.0.1.2/24
2.0.2.1/24
30.1.1.2/24

Advertisement

Table of Contents
loading

This manual is also suitable for:

6125 blade switch series

Table of Contents