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

HP 5500 Ei 5500 Si Switch Series Configuration Guide

    Download as PDF Print this page Share this page

    Have a look at the manual HP 5500 Ei 5500 Si Switch Series Configuration Guide online for free. It’s possible to download the document as PDF or print. UserManuals.tech offer 1114 HP manuals and user’s guides for free. Share the user manual or guide on Facebook, Twitter or Google+.

    Page
    of 2513
    							 102 
     
     Total Nets: 5 
     Intra Area: 2  Inter Area: 3  ASE: 0  NSSA: 0 
    # On Switch D, ping the IP address 10.4.1.1 to check connectivity. 
    [SwitchD] ping 10.4.1.1 
      PING 10.4.1.1: 56  data bytes, press CTRL_C to break 
        Reply from 10.4.1.1: bytes=56 Sequence=2 ttl=253 time=2 ms 
        Reply from 10.4.1.1: bytes=56 Sequence=2 ttl=253 time=1 ms 
        Reply from 10.4.1.1: bytes=56 Sequence=3 ttl=253 time=1 ms 
        Reply from 10.4.1.1: bytes=56 Sequence=4 ttl=253 time=1 ms 
        Reply from 10.4.1.1: bytes=56 Sequence=5 ttl=253 time=1 ms 
     
      --- 10.4.1.1 ping statistics --- 
        5 packet(s) transmitted 
        5 packet(s) received 
        0.00% packet loss 
        round-trip min/avg/max = 1/1/2 ms 
    Configuring OSPF route redistribution 
    Network requirements 
    As shown in Figure 39, all t he switches run OSPF, and the AS is divided into three areas. Switch A and 
    Switch B act as ABRs to forward routes between areas.  Swi t ch  C  i s  c o n fi g u re d  a s  a n  AS B R  t o  re d i s t ri b u te  
    external routes (static routes). Routing information is propagated properly in the AS. 
    Figure 39  Network diagram 
     
     
    Configuration procedure 
    1. Configure IP addresses for inte rfaces. (Details not shown.) 
    2. Configure OSPF basic functions. (See  Configuring OSPF basic functions) 
    3. Configure OSPF to redistribute routes: 
    # On Switch C, configure a static ro ute destined for network 3.1.2.0/24. 
     system-view 
    [SwitchC] ip route-static 3.1.2.1 24 10.4.1.2 
    # On Switch C, configure OSPF to redistribute static routes. 
    [SwitchC] ospf 1  
    						
    							 103 
    [SwitchC-ospf-1] import-route static 
    4. Verify the configuration: 
    # Display the ABR/ASBR information of Switch D. 
     display ospf abr-asbr 
     
              OSPF Process 1 with Router ID 10.5.1.1 
                      Routing Table to ABR and ASBR 
     
     Type        Destination     Area            Cost  Nexthop         RtTyp\
    e 
     Intra       10.3.1.1        0.0.0.2         10    10.3.1.1        ABR 
     Inter       10.4.1.1        0.0.0.2         22    10.3.1.1        ASBR \
    # Display the OSPF routing table of Switch D. 
     display ospf routing 
     
              OSPF Process 1 with Router ID 10.5.1.1 
                       Routing Tables 
     
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     10.2.1.0/24        22       Inter   10.3.1.1        10.3.1.1        0.0\
    .0.2 
     10.3.1.0/24        10       Transit 10.3.1.2        10.3.1.1        0.0\
    .0.2 
     10.4.1.0/24        25       Inter   10.3.1.1        10.3.1.1        0.0\
    .0.2 
     10.5.1.0/24        10       Stub    10.5.1.1        10.5.1.1        0.0\
    .0.2 
     10.1.1.0/24        12       Inter   10.3.1.1        10.3.1.1        0.0\
    .0.2 
     
     Routing for ASEs 
     Destination        Cost     Type    Tag         NextHop         AdvRout\
    er 
     3.1.2.0/24         1        Type2   1           10.3.1.1        10.4.1.\
    1 
     
     Total Nets: 6 
     Intra Area: 2  Inter Area: 3  ASE: 1  NSSA: 0 
    Configuring OSPF to advertise a summary route 
    Network requirements 
    As shown in  Figure 40: 
    •   S
    witch A and Switch B are in AS 200, which runs OSPF.  
    •   Switch C, Switch D, and Switch E are in AS 100, which runs OSPF.  
    An EBGP connection is established between Switch B and Switch C. Switch B and Switch C are 
    configured to redistribute OSPF routes and dire ct routes into BGP and BGP routes into OSPF.  
    Switch B is configured with route summarization and advertises only the summary route 10.0.0.0/8 to 
    reduce Switch As routing table size.  
    						
    							 104 
    Figure 40 Network diagram 
     
     
    Configuration procedure 
    1. Configure IP addresses for inte rfaces. (Details not shown.) 
    2. Configure OSPF basic functions: 
    # Configure Switch A. 
     system-view 
    [SwitchA] ospf 
    [SwitchA-ospf-1] area 0 
    [SwitchA-ospf-1-area-0.0.0.0] network 11.2.1.0 0.0.0.255 
    [SwitchA-ospf-1-area-0.0.0.0] quit 
    [SwitchA-ospf-1] quit 
    # Configure Switch B. 
     system-view 
    [SwitchB] ospf 
    [SwitchB-ospf-1] area 0 
    [SwitchB-ospf-1-area-0.0.0.0] network 11.2.1.0 0.0.0.255 
    [SwitchB-ospf-1-area-0.0.0.0] quit 
    [SwitchB-ospf-1] quit 
    # Configure Switch C. 
     system-view 
    [SwitchC] ospf 
    [SwitchC-ospf-1] area 0 
    [SwitchC-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 
    [SwitchC-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255 
    [SwitchC-ospf-1-area-0.0.0.0] quit 
    [SwitchC-ospf-1] quit 
    # Configure Switch D. 
     system-view 
    [SwitchD] ospf  
    						
    							 105 
    [SwitchD-ospf-1] area 0 
    [SwitchD-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 
    [SwitchD-ospf-1-area-0.0.0.0] network 10.3.1.0 0.0.0.255 
    [SwitchD-ospf-1-area-0.0.0.0] quit 
    # Configure Switch E. 
     system-view 
    [SwitchE] ospf 
    [SwitchE-ospf-1] area 0 
    [SwitchE-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255 
    [SwitchE-ospf-1-area-0.0.0.0] network 10.4.1.0 0.0.0.255 
    [SwitchE-ospf-1-area-0.0.0.0] quit 
    [SwitchE-ospf-1] quit 
    3. Configure BGP to redistribute OS PF routes and direct routes: 
    # Configure Switch B. 
    [SwitchB] bgp 200 
    [SwitchB-bgp] peer 11.1.1.2 as 100 
    [SwitchB-bgp] import-route ospf 
    [SwitchB-bgp] import-route direct 
    [SwitchB-bgp] quit 
    # Configure Switch C. 
    [SwitchC] bgp 100 
    [SwitchC-bgp] peer 11.1.1.1 as 200 
    [SwitchC-bgp] import-route ospf 
    [SwitchC-bgp] import-route direct 
    [SwitchC-bgp] quit 
    4.  Configure Switch B and Switch C to redistribute BGP routes into OSPF: 
    # Configure OSPF to redistribute routes from BGP on Switch B. 
    [SwitchB] ospf 
    [SwitchB-ospf-1] import-route bgp 
    # Configure OSPF to redistribute routes from BGP on Switch C. 
    [SwitchC] ospf 
    [SwitchC-ospf-1] import-route bgp 
    # Display the OSPF routing table of Switch A.  
    [SwitchA] display ip routing-table 
    Routing Tables: Public 
             Destinations : 8        Routes : 8 
     
    Destination/Mask    Proto  Pre  Cost         NextHop         Interface 
     
    10.1.1.0/24         O_ASE  150  1            11.2.1.1        Vlan100 
    10.2.1.0/24         O_ASE  150  1            11.2.1.1        Vlan100 
    10.3.1.0/24         O_ASE  150  1            11.2.1.1        Vlan100 
    10.4.1.0/24         O_ASE  150  1            11.2.1.1        Vlan100 
    11.2.1.0/24         Direct 0    0            11.2.1.2        Vlan100 
    11.2.1.2/32         Direct 0    0            127.0.0.1       InLoop0 
    127.0.0.0/8         Direct 0    0            127.0.0.1       InLoop0 
    127.0.0.1/32        Direct 0    0            127.0.0.1       InLoop0  
    						
    							 106 
    5.
     
    Configure summary route 10.0.0.0/8 on Switch B and advertise it: 
    [SwitchB-ospf-1] asbr-summary 10.0.0.0 8 
    # Display the OSPF routing table of Switch A. 
    [SwitchA] display ip routing-table 
    Routing Tables: Public 
             Destinations : 5        Routes : 5 
     
    Destination/Mask    Proto  Pre  Cost         NextHop         Interface 
     
    10.0.0.0/8          O_ASE  150  2            11.2.1.1        Vlan100 
    11.2.1.0/24         Direct 0    0            11.2.1.2        Vlan100 
    11.2.1.2/32         Direct 0    0            127.0.0.1       InLoop0 
    127.0.0.0/8         Direct 0    0            127.0.0.1       InLoop0 
    127.0.0.1/32        Direct 0    0            127.0.0.1       InLoop0 
    The output shows that routes 10.1.1.0/24 , 10.2.1.0/24, 10.3.1.0/24 and 10.4.1.0/24 are 
    summarized into one route 10.0.0.0/8. 
    Configuring an OSPF stub area 
    Network requirements 
    Figure 41  shows an AS is split into three areas, where all switches run OSPF. Switch A and Switch B act 
    as ABRs to forward routing information between areas. Switch D acts as the ASBR to redistribute routes 
    (static routes). 
    Configure Area 1 as a stub area, reducing LSAs to  this area without affecting route reachability. 
    Figure 41  Network diagram 
     
     
    Configuration procedure 
    1. Configure IP addresses for inte rfaces. (Details not shown.) 
    2. Configure OSPF basic functions. (See  Configuring OSPF basic functions) 
    3. Configure Switch D to redistribute static routes: 
     system-view 
    [SwitchD] ip route-static 3.1.2.1 24 10.5.1.2 
    [SwitchD] ospf 
    [SwitchD-ospf-1] import-route static 
    [SwitchD-ospf-1] quit  
    						
    							 107 
    # Display ABR/ASBR information on Switch C. 
     display ospf abr-asbr 
     
              OSPF Process 1 with Router ID 10.4.1.1 
                      Routing Table to ABR and ASBR 
     
     Type        Destination     Area            Cost  Nexthop         RtTyp\
    e 
     Intra       10.2.1.1        0.0.0.1         3     10.2.1.1        ABR 
     Inter       10.3.1.1        0.0.0.1         5     10.2.1.1        ABR 
     Inter       10.5.1.1        0.0.0.1         7     10.2.1.1        ASBR \
    # Display OSPF routing table information on Switch C. 
     display ospf routing 
     
              OSPF Process 1 with Router ID 10.4.1.1 
                       Routing Tables 
     
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     10.2.1.0/24        3        Transit 10.2.1.2        10.2.1.1        0.0\
    .0.1 
     10.3.1.0/24        7        Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     10.4.1.0/24        3        Stub    10.4.1.1        10.4.1.1        0.0\
    .0.1 
     10.5.1.0/24        17       Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     10.1.1.0/24        5        Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     
     Routing for ASEs 
     Destination        Cost     Type    Tag         NextHop         AdvRout\
    er 
     3.1.2.0/24         1        Type2   1           10.2.1.1        10.5.1.\
    1 
     
     Total Nets: 6 
     Intra Area: 2  Inter Area: 3  ASE: 1  NSSA: 0 
    The outptu shows that because Switch C resides in a normal OSPF area, its routing table contains 
    an external route. 
    4.  Configure Area 1 as a Stub area: 
    # Configure Switch A. 
     system-view 
    [SwitchA] ospf 
    [SwitchA-ospf-1] area 1 
    [SwitchA-ospf-1-area-0.0.0.1] stub 
    [SwitchA-ospf-1-area-0.0.0.1] quit 
    [SwitchA-ospf-1] quit 
    # Configure Switch C. 
     system-view 
    [SwitchC] ospf 
    [SwitchC-ospf-1] area 1 
    [SwitchC-ospf-1-area-0.0.0.1] stub 
    [SwitchC-ospf-1-area-0.0.0.1] quit 
    [SwitchC-ospf-1] quit  
    						
    							 108 
    # Display OSPF routing information on Switch C 
    [SwitchC] display ospf routing 
     
              OSPF Process 1 with Router ID 10.4.1.1 
                       Routing Tables 
     
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     0.0.0.0/0          4        Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     10.2.1.0/24        3        Transit 10.2.1.2        10.2.1.1        0.0\
    .0.1 
     10.3.1.0/24        7        Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     10.4.1.0/24        3        Stub    10.4.1.1        10.4.1.1        0.0\
    .0.1 
     10.5.1.0/24        17       Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     10.1.1.0/24        5        Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     
     Total Nets: 6 
     Intra Area: 2  Inter Area: 4  ASE: 0  NSSA: 0 
    The output shows that when Switch C resides in the stub area, a default route takes the place of the 
    external route. 
    # Filter Type-3 LSAs out the stub area 
    [SwitchA] ospf 
    [SwitchA-ospf-1] area 1 
    [SwitchA-ospf-1-area-0.0.0.1] stub no-summary 
    [SwitchA-ospf-1-area-0.0.0.1] quit 
    # Display OSPF routing information on Switch C. 
    [SwitchC] display ospf routing 
     
              OSPF Process 1 with Router ID 10.4.1.1 
                       Routing Tables 
     
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     0.0.0.0/0          4        Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     10.2.1.0/24        3        Transit 10.2.1.2        10.4.1.1        0.0\
    .0.1 
     10.4.1.0/24        3        Stub    10.4.1.1        10.4.1.1        0.0\
    .0.1 
     
     Total Nets: 3 
     Intra Area: 2  Inter Area: 1  ASE: 0  NSSA: 0 
    After this configuration, routing entries on the stub  router are further reduced, containing only one 
    default external route. 
    Configuring an OSPF NSSA area 
    Network requirements 
    Figure 42  shows an AS is split into three areas, where all switches run OSPF. Switch A and Switch B act 
    as ABRs to forward routing information between areas.   
    						
    							 109 
    Configure Area 1 as an NSSA area and configure Switch C as the ASBR to redistribute static routes into 
    the AS. 
    Figure 42  Network diagram 
     
     
    Configuration procedure 
    1. Configure IP addresses for interfaces. 
    2. Configure OSPF basic functions. (See  Configuring OSPF basic functions) 
    3. Configure Area 1 as an NSSA area: 
    # Configure Switch A. 
     system-view 
    [SwitchA] ospf 
    [SwitchA-ospf-1] area 1 
    [SwitchA-ospf-1-area-0.0.0.1] nssa default-route-advertise no-summary 
    [SwitchA-ospf-1-area-0.0.0.1] quit 
    [SwitchA-ospf-1] quit 
    # Configure Switch C. 
     system-view 
    [SwitchC] ospf 
    [SwitchC-ospf-1] area 1 
    [SwitchC-ospf-1-area-0.0.0.1] nssa 
    [SwitchC-ospf-1-area-0.0.0.1] quit 
    [SwitchC-ospf-1] quit 
     
      NOTE: 
    •  I f  Swi tch  C  i n  the  NSSA  a re a  wa nt s  to  obta i n  routes  to  other  a re as  wi th i n  the  AS,  you  must  c on fi
    gure the
    nssa command with the keyword default-route-advertise  on Switch A (an ABR) so Switch C can obtain
    a default route.  
    •   It is recommended to configure the  nssa command with the keyword  no-summary on Switch A to 
    reduce the routing table size on NSSA switches. On other NSSA switches, you only need to confi
    gure the
    nssa command.  
     
    # Display OSPF routing information on Switch C. 
    [SwitchC] display ospf routing 
     
              OSPF Process 1 with Router ID 10.4.1.1 
                       Routing Tables  
    						
    							 110 
     
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     0.0.0.0/0          65536    Inter   10.2.1.1        10.2.1.1        0.0\
    .0.1 
     10.2.1.0/24        65535    Transit 10.2.1.2        10.4.1.1        0.0\
    .0.1 
     10.4.1.0/24        3        Stub    10.4.1.1        10.4.1.1        0.0\
    .0.1 
     
     Total Nets: 3 
     Intra Area: 2  Inter Area: 1  ASE: 0  NSSA: 0 
    4. Configure Switch C to redistribute static routes: 
    [SwitchC] ip route-static 3.1.3.1 24 10.4.1.2 
    [SwitchC] ospf 
    [SwitchC-ospf-1] import-route static 
    [SwitchC-ospf-1] quit 
    # Display OSPF routing information on Switch D. 
     display ospf routing 
     
              OSPF Process 1 with Router ID 10.5.1.1 
                       Routing Tables 
     
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     10.2.1.0/24        22       Inter   10.3.1.1        10.3.1.1        0.0\
    .0.2 
     10.3.1.0/24        10       Transit 10.3.1.2        10.3.1.1        0.0\
    .0.2 
     10.4.1.0/24        25       Inter   10.3.1.1        10.3.1.1        0.0\
    .0.2 
     10.5.1.0/24        10       Stub    10.5.1.1        10.5.1.1        0.0\
    .0.2 
     10.1.1.0/24        12       Inter   10.3.1.1        10.3.1.1        0.0\
    .0.2 
     
     Routing for ASEs 
     Destination        Cost     Type    Tag         NextHop         AdvRout\
    er 
     3.1.3.0/24         1        Type2   1           10.3.1.1        10.2.1.\
    1 
     
     Total Nets: 6 
     Intra Area: 2  Inter Area: 3  ASE: 1  NSSA: 0 
    The output shows that on Switch D an external route imported from the NSSA area. 
    Configuring OSPF DR election 
    Network requirements 
    In  Figure 43 , O SPF Switches A, B, C, and D reside on the same network segment.  
    Configure Switch A as the DR, and configure Switch C as the BDR.  
    						
    							 111 
    Figure 43 Network diagram 
     
     
    Configuration procedure 
    1. Configure IP addresses for inte rfaces. (Details not shown.) 
    2. Configure OSPF basic functions: 
    # Configure Switch A. 
     system-view 
    [SwitchA] router id 1.1.1.1 
    [SwitchA] ospf 
    [SwitchA-ospf-1] area 0 
    [SwitchA-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
    [SwitchA-ospf-1-area-0.0.0.0] quit 
    [SwitchA-ospf-1] quit 
    # Configure Switch B. 
     system-view 
    [SwitchB] router id 2.2.2.2 
    [SwitchB] ospf 
    [SwitchB-ospf-1] area 0 
    [SwitchB-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
    [SwitchB-ospf-1-area-0.0.0.0] quit 
    [SwitchB-ospf-1] quit 
    # Configure Switch C. 
     system-view 
    [SwitchC] router id 3.3.3.3 
    [SwitchC] ospf 
    [SwitchC-ospf-1] area 0 
    [SwitchC-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
    [SwitchC-ospf-1-area-0.0.0.0] quit 
    [SwitchC-ospf-1] quit 
    # Configure Switch D. 
     system-view 
    [SwitchD] router id 4.4.4.4 
    [SwitchD] ospf 
    [SwitchD-ospf-1] area 0 
    [SwitchD-ospf-1-area-0.0.0.0] network 192.168.1.0 0.0.0.255 
    [SwitchD-ospf-1-area-0.0.0.0] quit  
    						
    All HP manuals Comments (0)

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