EasyManuals Logo

Huawei Quidway S5600 Series User Manual

Huawei Quidway S5600 Series
991 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #388 background imageLoading...
Page #388 background image
Operation Manual – Routing Protocol
Quidway S5600 Series Ethernet Switches-Release 1510 Chapter 5 BGP Configuration
Huawei Technologies Proprietary
5-43
Define two routing policies, named apply_med_50 and apply_med_100 respectively.
The first routing policy apply_med_50 configures the MED attribute as 50 for network
1.0.0.0, and the second one apply_med_100 configures the MED attribute for the
network as 100.
[SwitchA] route-policy apply_med_50 permit node 10
[SwitchA-route-policy] if-match acl 2000
[SwitchA-route-policy] apply cost 50
[SwitchA-route-policy] quit
[SwitchA] route-policy apply_med_100 permit node 10
[SwitchA-route-policy] if-match acl 2000
[SwitchA-route-policy] apply cost 100
[SwitchA-route-policy] quit
# Apply apply_med_50 to the outbound routing update of neighbor SwitchC (193.1.1.2),
and apply apply_med_100 to the outbound routing update of neighbor SwitchB
(192.1.1.2).
[SwitchA] bgp 100
[SwitchA-bgp] peer 193.1.1.2 route-policy apply_med_50 export
[SwitchA-bgp] peer 192.1.1.2 route-policy apply_med_100 export
(2) Configure SwitchB.
[SwitchB] interface vlan 2
[SwitchB-Vlan-interface2] ip address 192.1.1.2 255.255.255.0
[SwitchB] interface vlan-interface 4
[SwitchB-Vlan-interface4] ip address 194.1.1.2 255.255.255.0
[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 194.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] network 192.1.1.0 0.0.0.255
[SwitchB] bgp 200
[SwitchB-bgp] undo synchronization
[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 194.1.1.1 group in
[SwitchB-bgp] peer 195.1.1.2 group in
(3) Configure SwitchC.
[SwitchC] interface Vlan-interface 3
[SwitchC-Vlan-interface3] ip address 193.1.1.2 255.255.255.0
[SwitchC] interface vlan-interface 5
[SwitchC-Vlan-interface5] ip address 195.1.1.2 255.255.255.0
[SwitchC] ospf
[SwitchC-ospf-1] area 0

Table of Contents

Other manuals for Huawei Quidway S5600 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Huawei Quidway S5600 Series and is the answer not in the manual?

Huawei Quidway S5600 Series Specifications

General IconGeneral
BrandHuawei
ModelQuidway S5600 Series
CategorySwitch
LanguageEnglish

Related product manuals