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
    							 112 
    [SwitchD-ospf-1] return 
    # Display OSPF neighbor information on Switch A. 
    [SwitchA] display ospf peer verbose 
     
              OSPF Process 1 with Router ID 1.1.1.1 
                      Neighbors 
     
     Area 0.0.0.0 interface 192.168.1.1(Vlan-interface1)s neighbors 
     Router ID: 2.2.2.2          Address: 192.168.1.2      GR State: Normal \
       State: 2-Way  Mode: None  Priority: 1 
       DR: 192.168.1.4  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 38  sec 
       Neighbor is up for 00:01:31 
       Authentication Sequence: [ 0 ] 
     
     Router ID: 3.3.3.3          Address: 192.168.1.3      GR State: Normal \
       State: Full  Mode: Nbr is Master  Priority: 1 
       DR: 192.168.1.4  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 31  sec 
       Neighbor is up for 00:01:28 
       Authentication Sequence: [ 0 ] 
     
     Router ID: 4.4.4.4          Address: 192.168.1.4      GR State: Normal \
       State: Full  Mode: Nbr is Master  Priority: 1 
       DR: 192.168.1.4  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 31  sec 
       Neighbor is up for 00:01:28 
       Authentication Sequence: [ 0 ] 
    Switch D becomes the DR, and Switch C is the BDR. 
    3. Configure router priorities on interfaces: 
    # Configure Switch A. 
    [SwitchA] interface vlan-interface 1 
    [SwitchA-Vlan-interface1] ospf dr-priority 100 
    [SwitchA-Vlan-interface1] quit 
    # Configure Switch B. 
    [SwitchB] interface vlan-interface 1 
    [SwitchB-Vlan-interface1] ospf dr-priority 0 
    [SwitchB-Vlan-interface1] quit 
    # Configure Switch C. 
    [SwitchC] interface vlan-interface 1 
    [SwitchC-Vlan-interface1] ospf dr-priority 2 
    [SwitchC-Vlan-interface1] quit 
    # Display neighbor information on Switch D. 
     display ospf peer verbose 
     
              OSPF Process 1 with Router ID 4.4.4.4 
                      Neighbors  
    						
    							 113 
     
     Area 0.0.0.0 interface 192.168.1.4(Vlan-interface1)s neighbors 
     Router ID: 1.1.1.1      Address: 192.168.1.1      GR State: Normal 
       State: Full  Mode:Nbr is  Slave  Priority: 100 
       DR: 192.168.1.4  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 31  sec 
       Neighbor is up for 00:11:17 
       Authentication Sequence: [ 0 ] 
     
     Router ID: 2.2.2.2      Address: 192.168.1.2      GR State: Normal 
       State: Full  Mode:Nbr is  Slave  Priority: 0 
       DR: 192.168.1.4  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 35  sec 
       Neighbor is up for 00:11:19 
       Authentication Sequence: [ 0 ] 
     
     Router ID: 3.3.3.3      Address: 192.168.1.3      GR State: Normal 
       State: Full  Mode:Nbr is  Slave  Priority: 2 
       DR: 192.168.1.4  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 33  sec 
       Neighbor is up for 00:11:15 
       Authentication Sequence: [ 0 ] 
    The DR and BDR are not changed, because the new router priority settings do not take effect 
    immediately. 
    4. Restart OSPF process:  
    # Restart the OSPF process of Switch D.  
     reset ospf 1 process 
    Warning : Reset OSPF process? [Y/N]:y 
    # Display neighbor information on Switch D. 
     display ospf peer verbose 
     
              OSPF Process 1 with Router ID 4.4.4.4 
                      Neighbors 
     
     Area 0.0.0.0 interface 192.168.1.4(Vlan-interface1)s neighbors 
     Router ID: 1.1.1.1          Address: 192.168.1.1      GR State: Normal \
       State: Full  Mode: Nbr is Slave  Priority: 100 
       DR: 192.168.1.1  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 39  sec 
       Neighbor is up for 00:01:40 
       Authentication Sequence: [ 0 ] 
     
     Router ID: 2.2.2.2          Address: 192.168.1.2      GR State: Normal \
       State: 2-Way  Mode: None  Priority: 0 
       DR: 192.168.1.1  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 35  sec 
       Neighbor is up for 00:01:44 
       Authentication Sequence: [ 0 ]  
    						
    							 114 
     
     Router ID: 3.3.3.3          Address: 192.168.1.3      GR State: Normal \
       State: Full  Mode: Nbr is Slave  Priority: 2 
       DR: 192.168.1.1  BDR: 192.168.1.3  MTU: 0 
       Dead timer due in 39  sec 
       Neighbor is up for 00:01:41 
       Authentication Sequence: [ 0 ] 
    Switch A becomes the DR, and Switch C is the BDR. 
    The full neighbor state means an adjacency has been established. The  2-way neighbor state 
    means the two routers are not the DR or BDR, and they do not exchange LSAs. 
    # Display OSPF interface information. 
    [SwitchA] display ospf interface 
     
              OSPF Process 1 with Router ID 1.1.1.1 
                      Interfaces 
     
     Area: 0.0.0.0 
     IP Address      Type      State   Cost  Pri   DR             BDR 
     192.168.1.1     Broadcast DR      1     100   192.168.1.1    192.168.1.\
    3 
     
    [SwitchB] display ospf interface 
     
              OSPF Process 1 with Router ID 2.2.2.2 
                      Interfaces 
     
     Area: 0.0.0.0 
     IP Address      Type      State    Cost  Pri   DR            BDR 
    The interface state  DROther means the interface is not the DR/BDR. 
    Configuring OSPF virtual links 
    Network requirements 
    In Figure 44 , Area 2 has no direct connection to Area 0, and Area 1 acts as the Transit Area to connect 
    Area 2 to Area 0 via a configured virtual link between Switch B and Switch C. 
    After configuration, Switch B can learn routes to Area 2. 
    Figure 44  Network diagram 
     
      
    						
    							 115 
    Configuration procedure 
    1. Configure IP addresses for inte rfaces. (Details not shown.) 
    2. Configure OSPF basic functions: 
    # Configure Switch A. 
     system-view 
    [SwitchA] ospf 1 router-id 1.1.1.1 
    [SwitchA-ospf-1] area 0 
    [SwitchA-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 
    [SwitchA-ospf-1-area-0.0.0.0] quit 
    # Configure Switch B. 
     system-view 
    [SwitchB] ospf 1 router-id 2.2.2.2 
    [SwitchB-ospf-1] area 0 
    [SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255 
    [SwitchB-ospf-1-area-0.0.0.0] quit 
    [SwitchB-ospf-1] area 1 
    [SwitchB–ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255 
    [SwitchB–ospf-1-area-0.0.0.1] quit 
    [SwitchB-ospf-1] quit 
    # Configure Switch C. 
     system-view 
    [SwitchC] ospf 1 router-id 3.3.3.3 
    [SwitchC-ospf-1] area 1 
    [SwitchC-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255 
    [SwitchC-ospf-1-area-0.0.0.1] quit 
    [SwitchC-ospf-1] area 2 
    [SwitchC–ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255 
    [SwitchC–ospf-1-area-0.0.0.2] quit 
    [SwitchC-ospf-1] quit 
    # Configure Switch D. 
     system-view 
    [SwitchD] ospf 1 router-id 4.4.4.4 
    [SwitchD-ospf-1] area 2 
    [SwitchD-ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255 
    [SwitchD-ospf-1-area-0.0.0.2] quit 
    # Display the OSPF routing table of Switch B. 
    [SwitchB] display ospf routing 
     
              OSPF Process 1 with Router ID 2.2.2.2 
                       Routing Tables 
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     10.2.1.0/24        2        Transit 10.2.1.1        3.3.3.3         0.0\
    .0.1 
     10.1.1.0/24        2        Transit 10.1.1.2        2.2.2.2         0.0\
    .0.0 
     Total Nets: 2 
     Intra Area: 2  Inter Area: 0  ASE: 0  NSSA: 0  
    						
    							 116 
    Area 0 has no direct connection to Area 2, so the routing table of Switch B has no route to Area 
    2. 
    3.  Configure a virtual link: 
    # Configure Switch B. 
    [SwitchB] ospf 
    [SwitchB-ospf-1] area 1 
    [SwitchB-ospf-1-area-0.0.0.1] vlink-peer 3.3.3.3 
    [SwitchB-ospf-1-area-0.0.0.1] quit 
    [SwitchB-ospf-1] quit 
    # Configure Switch C. 
    [SwitchC] ospf 1 
    [SwitchC-ospf-1] area 1 
    [SwitchC-ospf-1-area-0.0.0.1] vlink-peer 2.2.2.2 
    [SwitchC-ospf-1-area-0.0.0.1] quit 
    # Display the OSPF routing table of Switch B. 
    [SwitchB] display ospf routing 
              OSPF Process 1 with Router ID 2.2.2.2 
                       Routing Tables 
     
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     10.2.1.0/24        2        Transit 10.2.1.1        3.3.3.3         0.0\
    .0.1 
     10.3.1.0/24        5        Inter   10.2.1.2        3.3.3.3         0.0\
    .0.0 
     10.1.1.0/24        2        Transit 10.1.1.2        2.2.2.2         0.0\
    .0.0 
     
     Total Nets: 3 
     Intra Area: 2  Inter Area: 1  ASE: 0  NSSA: 0 
    Switch B has learned the route 10.3.1.0/24 to Area 2. 
    Configuring OSPF Graceful Restart 
    Network requirements 
    As shown in Figure 45 , Switch A, Switch B, and Switch C that belong to the same autonomous system 
    and the same OSPF routing domain are GR capable.  
    Switch A acts as the non-IETF standard GR Restarter,  whereas Switch B and Switch C are the GR Helpers 
    and re-synchronize their LSDB with Switch A through OOB communication of GR.  
    						
    							 117 
    Figure 45 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 100 
    [SwitchA-ospf-100] area 0 
    [SwitchA-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255 
    [SwitchA-ospf-100-area-0.0.0.0] quit 
    # Configure Switch B 
     system-view 
    [SwitchB] router id 2.2.2.2 
    [SwitchB] ospf 100 
    [SwitchB-ospf-100] area 0 
    [SwitchB-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255 
    [SwitchB-ospf-100-area-0.0.0.0] quit 
    # Configure Switch C 
     system-view 
    [SwitchC] router id 3.3.3.3 
    [SwitchC] ospf 100 
    [SwitchC-ospf-100] area 0 
    [SwitchC-ospf-100-area-0.0.0.0] network 192.1.1.0 0.0.0.255 
    [SwitchC-ospf-100-area-0.0.0.0] quit 
    3. Configure OSPF GR: 
    # Configure Switch A as the non-IETF standard OSPF  GR Restarter: enable the link-local signaling 
    capability, the out-of-band re-syn chronization capability, and non  IETF standard Graceful Restart 
    capability for OSPF process 100.  
    [SwitchA-ospf-100] enable link-local-signaling 
    [SwitchA-ospf-100] enable out-of-band-resynchronization 
    [SwitchA-ospf-100] graceful-restart 
    [SwitchA-ospf-100] return 
    # Configure Switch B as the GR Helper: enable the link-local signaling capability and the 
    out-of-band re-synchronization c apability for OSPF process 100.   
    						
    							 118 
    [SwitchB-ospf-100] enable link-local-signaling 
    [SwitchB-ospf-100] enable out-of-band-resynchronization 
    # Configure Switch C as the GR Helper: enable the link-local signaling capability and the 
    out-of-band re-synchronization capability for OSPF process 100.  
    [SwitchC-ospf-100] enable link-local-signaling 
    [SwitchC-ospf-100] enable out-of-band-resynchronization 
    4. Verify the configuration: 
    # After the configurations on Switch A, Switch B,  and Switch C are completed and the switches are 
    running steadily, enable OSPF Graceful Restart event debugging and then restart the OSPF 
    process using GR on Switch A. 
     debugging ospf event graceful-restart 
     terminal monitor 
     terminal debugging 
     reset ospf 100 process graceful-restart  
    Warning : Reset OSPF process? [Y/N]:y 
    %Dec 12 09:36:12:500 2006 SwitchA RM/3/RMLOG:OSPF-NBRCHANGE: Process 100\
    , Neighbour 
    192.1.1.1(Vlan100) from Full to Down 
    OSPF 100: Intf 192.1.1.1 Rcv InterfaceDown State BackupDR -> Down. 
    OSPF 100 nonstandard GR Started for OSPF Router 
    OSPF 100 notify RM that OSPF process will enter GR. 
    OSPF 100 created GR wait timer, timeout interval is 40(s). 
    OSPF 100 created GR Interval timer,timeout interval is 120(s). 
    OSPF 100: Intf 192.1.1.1 Rcv InterfaceUp State Down -> Waiting. 
    OSPF 100: Intf 192.1.1.1 Rcv BackupSeen State Waiting -> BackupDR. 
    OSPF 100 created OOB Progress timer for neighbor 192.1.1.2. 
    OSPF 100 restarted OOB Progress timer for neighbor 192.1.1.2. 
    OSPF 100 restarted OOB Progress timer for neighbor 192.1.1.2. 
    %Oct 22 09:36:12:566 2008 SwitchA RM/3/RMLOG:OSPF-NBRCHANGE: Process 100\
    , Neighbour 
    192.1.1.2(Vlan100) from Loading to Full 
    OSPF 100 restarted OOB Progress timer for neighbor 192.1.1.2. 
    OSPF 100 deleted OOB Progress timer for neighbor 192.1.1.2. 
    OSPF 100 Gr Wait Timeout timer fired. 
    OSPF 100 deleted GR wait timer. 
    OSPF 100 deleted GR Interval timer. 
    OSPF 100 GR Completed for OSPF Router 
    OSPF 100 notified RM that OSPF process left GR. 
    RM notified that all protocol left GR. 
    OSPF 100 started flushing STALE LSA after all protocol left GR. 
    OSPF 100: Flush Stale Area LSAs 
    OSPF 100: Start Flush Stale ASE + NSSA LSAs 
    OSPF 100: End Flush Stale ASE + NSSA LSAs 
    Switch A completes GR with the help of Switch B.  
      
    						
    							 119 
    Configuring route filtering 
    Network requirements 
    As shown in Figure 46: 
    •   A
    ll the switches in the network run OSPF. The AS is divided into three areas.  
    •   Switch A and Switch B work as ABRs.  
    Configure Switch C as an ASBR to redistribute external  routes (static routes), and configure a filter policy 
    on Switch C to filter out redistributed route 3.1.3.0/24.  
    Configure a routing policy on Switch A to filter route 10.5.1.0/24. 
    Figure 46  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.1.0/24. 
     system-view 
    [SwitchC] ip route-static 3.1.1.0 24 10.4.1.2 
    # On Switch C, configure a static route destined for network 3.1.2.0/24. 
    [SwitchC] ip route-static 3.1.2.0 24 10.4.1.2 
    # On Switch C, configure a static route destined for network 3.1.3.0/24. 
    [SwitchC] ip route-static 3.1.3.0 24 10.4.1.2 
    # On Switch C, configure OSPF to redistribute static routes. 
    [SwitchC] ospf 1 
    [SwitchC-ospf-1] import-route static 
    [SwitchC-ospf-1] quit 
    # Display the OSPF routing table of Switch A. 
     display ip routing-table 
    Routing Tables: Public 
             Destinations : 12       Routes : 12 
     
    Destination/Mask    Proto  Pre  Cost         NextHop         Interface 
      
    						
    							 120 
    3.1.1.0/24          O_ASE  150  1            10.2.1.2        Vlan200 
    3.1.2.0/24          O_ASE  150  1            10.2.1.2        Vlan200 
    3.1.3.0/24          O_ASE  150  1            10.2.1.2        Vlan200 
    10.1.1.0/24         Direct 0    0            10.1.1.1        Vlan200 
    10.1.1.1/32         Direct 0    0            127.0.0.1       InLoop0 
    10.2.1.0/24         Direct 0    0            10.2.1.1        Vlan200 
    10.2.1.1/32         Direct 0    0            127.0.0.1       InLoop0 
    10.3.1.0/24         OSPF   10   4            10.1.1.2        Vlan100 
    10.4.1.0/24         OSPF   10   13           10.2.1.2        Vlan200 
    10.5.1.0/24         OSPF   10   14           10.1.1.2        Vlan100 
    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 
    4. On Switch C, filter out route 3.1.3.0/24: 
    # Configure the IPv4 prefix list. 
    [SwitchC] ip ip-prefix prefix1 index 1 deny 3.1.3.0 24 
    [SwitchC] ip ip-prefix prefix1 index 2 permit 3.1.1.0 24 
    [SwitchC] ip ip-prefix prefix1 index 3 permit 3.1.2.0 24 
    # Reference the prefix list to filter out route 3.1.3.0/24. 
    [SwitchC] ospf 1 
    [SwitchC-ospf-1] filter-policy ip-prefix prefix1 export static 
    # Display the OSPF routing table of Switch A. 
     display ip routing-table 
    Routing Tables: Public 
             Destinations : 11       Routes : 11 
     
    Destination/Mask    Proto  Pre  Cost         NextHop         Interface 
     
    3.1.1.0/24          O_ASE  150  1            10.2.1.2        Vlan200 
    3.1.2.0/24          O_ASE  150  1            10.2.1.2        Vlan200 
    10.1.1.0/24         Direct 0    0            10.1.1.1        Vlan100 
    10.1.1.1/32         Direct 0    0            127.0.0.1       InLoop0 
    10.2.1.0/24         Direct 0    0            10.2.1.1        Vlan200 
    10.2.1.1/32         Direct 0    0            127.0.0.1       InLoop0 
    10.3.1.0/24         OSPF   10   4            10.1.1.2        Vlan100 
    10.4.1.0/24         OSPF   10   13           10.2.1.2        Vlan200 
    10.5.1.0/24         OSPF   10   14           10.1.1.2        Vlan100 
    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 route destined for network  3.1.3.0/24 is filtered out. 
    5. On Switch A, filter out the route 10.5.1.1/24: 
    # Configure the ACL on Switch A. 
     system-view 
    [SwitchA] acl number 2000 
    [SwitchA-acl-basic-2000] rule 0 deny source 10.5.1.0 0.0.0.255 
    [SwitchA-acl-basic-2000] rule 1 permit source any 
    [SwitchA-acl-basic-2000] quit 
    # Use the ACL to filter route 10.5.1.0/24.  
    						
    							 121 
    [SwitchA] ospf 1 
    [SwitchA-ospf-1] filter-policy 2000 import 
    [SwitchA-ospf-1] quit 
    # Display the OSPF routing table of Switch A. 
    [SwitchA] display ip routing-table 
    Routing Tables: Public 
             Destinations : 10       Routes : 10 
     
    Destination/Mask    Proto  Pre  Cost         NextHop         Interface 
     
    3.1.1.0/24          O_ASE  150  1            10.2.1.2        Vlan200 
    3.1.2.0/24          O_ASE  150  1            10.2.1.2        Vlan200 
    10.1.1.0/24         Direct 0    0            10.1.1.1        Vlan100 
    10.1.1.1/32         Direct 0    0            127.0.0.1       InLoop0 
    10.2.1.0/24         Direct 0    0            10.2.1.1        Vlan200 
    10.2.1.1/32         Direct 0    0            127.0.0.1       InLoop0 
    10.3.1.0/24         OSPF   10   4            10.1.1.2        Vlan100 
    10.4.1.0/24         OSPF   10   13           10.2.1.2        Vlan200 
    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 route destined for 10.5.1.1/24 is filtered out. 
    Configuring OSPF FRR 
    Network requirements 
    Switch S, Switch A, and Switch D belong to  the same OSPF domain as illustrated in Figure 47. C onfigure 
    OSPF FRR so that when the link between Switch S and Switch D fails, traffic can be switched to Link B 
    immediately. 
    Figure 47  Network diagram 
     
     
    Configuration procedure 
    1. Configure IP addresses for the interfaces on each switch and configure OSPF. 
    Follow  Figure 47  to c
     onfigure the IP address and subnet mask of each interface on the switches. 
    (Details not shown.) 
    Configure OSPF on the switches, ensuring that Switch S, Switch A, and Switch D can communicate 
    with each other at Layer 3. (Details not shown.) 
    2.  Configure OSPF FRR:  
    						
    All HP manuals Comments (0)

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