Huawei S6700 Series Configuration Manual page 186

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
[SwitchA] bgp 10
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 2.2.2.2 as-number 10
[SwitchA-bgp] peer 2.2.2.2 connect-interface LoopBack 0
[SwitchA-bgp] peer 3.3.3.3 as-number 10
[SwitchA-bgp] peer 3.3.3.3 connect-interface LoopBack 0
[SwitchA-bgp] peer 4.4.4.4 as-number 10
[SwitchA-bgp] peer 4.4.4.4 connect-interface LoopBack 0
[SwitchA-bgp] quit
# Configure Switch B.
<SwitchB> system-view
[SwitchB] interface LoopBack 0
[SwitchB-LoopBack0] ip address 2.2.2.2 32
[SwitchB-LoopBack0] quit
[SwitchB] bgp 10
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 1.1.1.1 as-number 10
[SwitchB-bgp] peer 1.1.1.1 connect-interface LoopBack 0
[SwitchB-bgp] peer 3.3.3.3 as-number 10
[SwitchB-bgp] peer 3.3.3.3 connect-interface LoopBack 0
[SwitchB-bgp] peer 4.4.4.4 as-number 10
[SwitchB-bgp] peer 4.4.4.4 connect-interface LoopBack 0
[SwitchB-bgp] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] interface LoopBack 0
[SwitchC-LoopBack0] ip address 3.3.3.3 32
[SwitchC-LoopBack0] quit
[SwitchC] bgp 10
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 1.1.1.1 as-number 10
[SwitchC-bgp] peer 1.1.1.1 connect-interface LoopBack 0
[SwitchC-bgp] peer 2.2.2.2 as-number 10
[SwitchC-bgp] peer 2.2.2.2 connect-interface LoopBack 0
[SwitchC-bgp] peer 4.4.4.4 as-number 10
[SwitchC-bgp] peer 4.4.4.4 connect-interface LoopBack 0
[SwitchC-bgp] quit
# Configure Switch D.
<SwitchD> system-view
[SwitchD] interface LoopBack 0
[SwitchD-LoopBack0] ip address 4.4.4.4 32
[SwitchD-LoopBack0] quit
[SwitchD] bgp 10
[SwitchD-bgp] router-id 4.4.4.4
[SwitchD-bgp] peer 1.1.1.1 as-number 10
[SwitchD-bgp] peer 1.1.1.1 connect-interface LoopBack 0
[SwitchD-bgp] peer 2.2.2.2 as-number 10
[SwitchD-bgp] peer 2.2.2.2 connect-interface LoopBack 0
[SwitchD-bgp] peer 3.3.3.3 as-number 10
[SwitchD-bgp] peer 3.3.3.3 connect-interface LoopBack 0
[SwitchD-bgp] quit
Step 5 Configure an EBGP connection.
# Configure Switch D.
[SwitchD] bgp 10
[SwitchD-bgp] peer 10.2.1.2 as-number 20
[SwitchD-bgp] import-route direct
[SwitchD-bgp] import-route ospf 1
[SwitchD-bgp] quit
# Configure Switch E.
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 OSPF Configuration
167

Advertisement

Table of Contents
loading

Table of Contents