Home > HP > Printer > HP 5500 Ei 5500 Si Switch Series Configuration Guide

HP 5500 Ei 5500 Si Switch Series Configuration Guide

Here you can view all the pages of manual HP 5500 Ei 5500 Si Switch Series Configuration Guide. The HP manuals for Printer are available online for free. You can easily download all the documents as PDF.

Page 921

 232 
 
BGP local router ID : 3.3.3.3 
 Local AS number : 65009 
 Total number of peers : 1                 Peers in established state : \
1 
 
  Peer                    AS  MsgRcvd  MsgSent OutQ PrefRcv Up/Down  Sta\
te 
 
  2.2.2.2              65009        2        2    0       0 00:00:13 Est\
ablished 
The output shows that Switch C has established an IBGP peer relationship with Switch B. 
3. Configure EBGP: 
{  The EBGP peers, Switch A and Switch B (usually  belong to different carriers), are...

Page 922

 233 
               Origin : i - IGP, e - EGP, ? - incomplete 
 
     Network            NextHop         MED        LocPrf     PrefVal Pa\
th/Ogn 
 
 *>  8.1.1.0/24         0.0.0.0         0                     0       i \
# Display the BGP routing table on Switch B. 
[SwitchB] display bgp routing-table 
 
 Total Number of Routes: 1 
 
 BGP Local router ID is 2.2.2.2 
 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, 
               h - history,  i - internal, s - suppressed, S - Stale...

Page 923

 234 
               Origin : i - IGP, e - EGP, ? – incomplete 
 
     Network            NextHop         MED        LocPrf     PrefVal Pa\
th/Ogn 
 
 *>  2.2.2.2/32         3.1.1.1         0                     0       65\
009? 
 *   3.1.1.0/24         3.1.1.1         0                     0       65\
009? 
 *>  8.1.1.0/24         0.0.0.0         0                     0       i \
 *>  9.1.1.0/24         3.1.1.1         0                     0       65\
009? 
Two routes 2.2.2.2/32 and 9.1.1.0/24 have...

Page 924

 235 
A  m u s t  b e  a b l e  t o  a c c e s s  n e t w o r k  9.1. 2. 0 / 24  i n  A S  65 0 0 9,  a n d  Sw i t c h  C  m u s t  a c c e s s  n e t w o r k  8 .1.1. 0 / 24  
in AS 65008.  
Figure 91 Network diagram 
 
 
Configuration procedure 
1. Configure IP addresses for inte rfaces. (Details not shown.) 
2. Configure OSPF:  
Enable OSPF in AS 65009, so that Switch  B can obtain the route to 9.1.2.0/24.  
# Configure Switch B.  
 system-view 
[SwitchB] ospf 1 
[SwitchB-ospf-1] area 0...

Page 925

 236 
4.
 
Configure BGP and IGP synchronization: 
{  Configure BGP to redistribute routes from OSPF on Switch B, so that Switch A can obtain the 
ro u t e  t o  9.1. 2.0 / 24 .   
{ Configure OSPF to redistribute routes from BGP on Switch B, so that Switch C can obtain the 
r o u t e  t o  8 .1.1. 0 / 2 4 .   
# Configure BGP to redistribute ro utes from OSPF on Switch B. 
[SwitchB-bgp] import-route ospf 1 
[SwitchB-bgp] quit 
[SwitchB] ospf 1 
[SwitchB-ospf-1] import-route bgp 
[SwitchB-ospf-1] quit 
#...

Page 926

 237 
    Reply from 9.1.2.1: bytes=56 Sequence=2 ttl=254 time=31 ms 
    Reply from 9.1.2.1: bytes=56 Sequence=3 ttl=254 time=47 ms 
    Reply from 9.1.2.1: bytes=56 Sequence=4 ttl=254 time=46 ms 
    Reply from 9.1.2.1: bytes=56 Sequence=5 ttl=254 time=47 ms 
 
  --- 9.1.2.1 ping statistics --- 
    5 packet(s) transmitted 
    5 packet(s) received 
    0.00% packet loss 
    round-trip min/avg/max = 15/37/47 ms 
[SwitchC] ping -a 9.1.2.1 8.1.1.1 
  PING 8.1.1.1: 56  data bytes, press CTRL_C to break...

Page 927

 238 
Configuration procedure 
1. Configure IP addresses for inte rfaces. (Details not shown.) 
2. Configure BGP connections: 
{  On Switch A, establish EBGP connections with Switch B and Switch C; configure BGP to 
advertise network 8.1.1.0/24 to Switch B and Sw itch C, so that Switch B and Switch C can 
access the internal network connected to Switch A.  
{  On Switch B, establish an EBGP connection with Switch A and an IBGP connection with Switch 
C; configure BGP to adver tise network 9.1.1.0/24 to...

Page 928

 239 
 BGP Local router ID is 1.1.1.1 
 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, 
               h - history,  i - internal, s - suppressed, S - Stale 
               Origin : i - IGP, e - EGP, ? – incomplete 
 
     Network            NextHop         MED        LocPrf     PrefVal Pa\
th/Ogn 
 
 *>  8.1.1.0/24         0.0.0.0         0                     0       i \
 *>  9.1.1.0/24         3.1.1.1         0                     0       65\
009i 
 *                      3.1.2.1...

Page 929

 240 
BGP community configuration 
Network requirements 
As shown in Figure 93, Switch B establishes EBGP connections with Switch A and C. Configure 
No_Export community attribute on Switch A to make routes from AS 10 not advertised by AS 20 to any 
other AS. 
Figure 93  Network diagram 
 
 
Configuration procedure 
1. Configure IP addresses for inte rfaces. (Details not shown.) 
2. Configure EBGP: 
# Configure Switch A. 
 system-view 
[SwitchA] bgp 10 
[SwitchA-bgp] router-id 1.1.1.1 
[SwitchA-bgp] peer...

Page 930

 241 
 Local AS number : 20 
 Paths:   1 available, 1 best 
 
BGP routing table entry information of 9.1.1.0/24: 
 From            : 200.1.2.1 (1.1.1.1) 
 Original nexthop: 200.1.2.1 
 AS-path         : 10 
 Origin          : igp 
 Attribute value : MED 0, pref-val 0, pre 255 
 State           : valid, external, best, 
 Advertised to such 1 peers: 
    200.1.3.2 
Switch B advertised routes to Switch C in AS30. 
# Display the routing table on Switch C. 
[SwitchC] display bgp routing-table 
 
 Total Number...
Start reading HP 5500 Ei 5500 Si Switch Series Configuration Guide

Related Manuals for HP 5500 Ei 5500 Si Switch Series Configuration Guide

All HP manuals