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
    							 92 
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.  Enter OSPF view.  ospf 
    [ process-id  | router-id  router-id  | 
    vpn-instance  vpn-instance-name ] *
     N/A
     
    3.  Enable the advertisement and 
    reception of opaque LSAs.  opaque-capability enable  Optional. 
    Disabled by default. 
     
    Configuring OSPF to give priority to receiving and processing 
    hello packets 
    To ensure OSPF runs properly, a router receives an
    d processes hello packets and other protocol packets 
    at the same time. When the router has established neighbor relationships with multiple routers, and the 
    routing table size is big, the router must receive and process large numbers of packets. In this case, you 
    can configure OSPF to give priority to receiving and processing hello packets to ensure stable neighbor 
    relationships. 
    To configure OSPF to give priority to receiving and processing hello packets: 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Configure OSPF to 
    give priority to 
    receiving and 
    processing hello 
    packets.  ospf packet-process prioritized-treatment 
    Not configured by default. 
     
    Configuring the LSU transmit rate 
    Sending large numbers of LSU packets affects rout er performance and consumes too much network 
    bandwidth. You can configure the router to send LSU packets at a proper interval and limit the maximum 
    number of LSU packets sent out of an OSPF interface each time.  
    To configure the LSU transmit rate: 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Enter OSPF view.  ospf 
    [ process-id  | router-id  router-id  | 
    vpn-instance  vpn-instance-name  ] *
      N/A
     
    3.  Configure the LSU 
    transmit rate.  transmit-pacing interval
     interval  count  count  Optional. 
    By default, an OSPF interface 
    sends up to three LSU packets 
    every 20 milliseconds. 
      
    						
    							 93 
    Setting the DSCP value for OSPF packets 
    An IPv4 packet header contains an 8-bit TOS field. As defined in RFC 2474, the first six bits set the 
    Differentiated Services Code Point (DSCP) value and the last two bits are reserved. Network devices use 
    the DSCP value as a reference to determ ine the packet priority for transmission. 
    You can set the DSCP value for OSPF packets. 
    To set the DSCP value for OSPF packets: 
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Enable an OSPF 
    process and enter 
    OSPF view.   ospf 
    [ process-id  | router-id  router-id  | 
    vpn-instance  vpn-instance-name  ] *
      By default, OSPF is not enabled.
     
    3.  Set the DSCP value 
    for OSPF packets.  dscp
     dscp-value   Optional. 
    By default, the DSCP value in OSPF 
    packets is 48. 
     
    Enabling OSPF ISPF 
    When a network topology is changed, Incremental Shortest Path First (ISPF) allows the system to 
    recomputes only the affected part of the shortest path tree (SPT), instead of the entire SPT.  
    To enable OSPF ISPF:  
     
    Step Command Remarks 
    1.
      Enter system view. 
    system-view  N/A 
    2.  Enter OSPF view.  ospf 
    [ process-id  | router-id  router-id  | 
    vpn-instance  vpn-instance-name  ] *
      N/A
     
    3.  Enable OSPF ISPF. 
    ispf enable  Optional. 
    Disabled by default. 
     
    Configuring OSPF FRR 
    When a link fails, the packets on the link are discarded, and a routing loop may occur until OSPF 
    completes routing convergence based on the new network topology.  
    You can enable OSPF fast reroute (FRR) to solve this problem. 
    Figure 37
     Network diagram for OSPF FRR 
     
      
    						
    							 94 
    In Figure 37 , af ter you enable FRR on Router B, OSPF au tomatically calculates or designates a backup 
    next hop when a link failure is detected. Packets are  directed to the backup next hop. At the same time, 
    OSPF calculates the shortest path based on the ne w network topology, and forwards packets over the 
    path after routing convergence.  
    You can either configure OSPF FRR to calculate a backup next hop automatically, or to designate a 
    backup next hop by using a routing policy. 
    Configuration prerequisites 
    Before you configure OSPF FRR, complete the following tasks: 
    •   Configure network layer addresses for interfaces. 
    •   Enable OSPF. 
    Configuration guideliens 
    •  Do not use FRR and BFD at the same time. Otherwise, FRR may fail to take effect.  
    •   Do not use the  fast-reroute auto  command together with the commands vlink-peer . 
    Configuring OSPF FRR to automatically calculate a backup next hop 
     
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.  Configure the source address 
    of echo packets.  bfd echo-source-ip 
    ip-address Not configured by default. 
    3.  Enter OSPF view.  ospf 
    [ process-id  | router-id  
    router-id  | vpn-instance  
    vpn-instance-name  ] *
      N/A
     
    4.  Enable OSPF FRR to 
    automatically calculate a 
    backup next hop.  fast-reroute 
    auto [ abr-only  ] Not configured by default. 
    If 
    abr-only  is specified, the route to the 
    ABR is selected as the backup path. 
     
    Configuring OSPF FRR to designate a backup next hop with a routing policy 
    Before configuring this task, you need to use the  apply fast-reroute backup-interface command to specify 
    a backup next hop in the routing policy to be referenced. For more information about the  apply 
    fast-reroute backup-interface  command and routing policy configuration, see  Configuring routing 
    poli
    
    cies . 
    To configure OSPF FRR:  
     
    Step Command Remarks 
    1.   Enter system view. 
    system-view  N/A 
    2.  Configure the source address 
    of echo packets.  bfd echo-source-ip 
    ip-address Not configured by default. 
    3.  Enter OSPF view.  ospf 
    [ process-id  | router-id  
    router-id  | vpn-instance  
    vpn-instance-name  ] *
      N/A
     
    4.  Enable OSPF FRR to 
    designate a backup next hop 
    by using a routing policy.  fast-reroute 
    route-policy 
    route-policy-name   Not configured by default. 
      
    						
    							 95 
    Configuring OSPF Graceful Restart 
    OSPF GR involves the following: 
    •  IETF standard GR —Uses Opaque LSAs to implement GR.  
    •   Non IETF standard GR—Uses link local signaling (LLS) to advertise GR capability and uses out of 
    band synchronization to synchronize the LSDB.  
    A device can act as a GR Restarter and GR Helper at the same time. 
    Configuring the OSPF GR Restarter 
    You can configure the IETF standard or  non IETF standard OSPF GR Restarter. 
    Configuring the IETF standard OSPF GR Restarter 
     
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.  Enable OSPF and enter its 
    view.  ospf 
    [ process-id  | router-id  
    router-id  | vpn-instance  
    vpn-instance-name  ] *  N/A 
    3.
      Enable opaque LSA 
    advertisement capability.  opaque-capability enable 
    Disabled by default. 
    4.  Enable the IETF standard 
    Graceful Restart capability.  graceful-restart ietf 
    Disabled by default. 
    5.  Configure the Graceful Restart 
    interval.  graceful-restart interval
     timer   Optional. 
    120 seconds by default. 
     
    Configuring the non-IETF standard OSPF GR Restarter 
     
    Step Command Remarks 
    1.
      Enter system view. 
    system-view  N/A 
    2.  Enable OSPF and enter its 
    view.  ospf 
    [ process-id  | router-id  
    router-id  | vpn-instance  
    vpn-instance-name  ] *  N/A 
    3.
      Enable the link-local signaling 
    capability.  enable link-local-signaling 
    Disabled by default. 
    4.  Enable the out-of-band 
    re -synchronization capability.  enable 
    out-of-band-resynchronization 
    Disabled by default. 
    5.
      Enable non-IETF standard 
    Graceful Restart capability for 
    OSPF.  graceful-restart
     [ nonstandard ]  Disabled by default. 
    6.  Configure Graceful Restart 
    interval for OSPF.  graceful-restart
     interval  timer   Optional. 
    120 seconds by default. 
      
    						
    							 96 
    Configuring the OSPF GR Helper 
    You can configure the IETF standard or non-IETF standard OSPF GR Helper. 
    Configuring the IETF standard OSPF GR Helper 
     
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.  Enable OSPF and enter its 
    view.  ospf 
    [ process-id  | router-id  
    router-id  | vpn-instance  
    vpn-instance-name  ] *  N/A 
    3.
      Enable opaque LSA reception 
    and advertisement.  opaque
    -capability  enable  Not enabled by default. 
    4.  Configure the neighbors for 
    which the router can serve as 
    a GR Helper.  graceful-restart help 
    { acl-number 
    |  prefix  prefix-list  }  Optional. 
    The router can serve as a GR 
    Helper for any OSPF neighbor by 
    default.
     
     
    Configuring the non IETF standard OSPF GR Helper 
     
    Step Command Remarks 
    1.  Enter system view. 
    system-view  N/A 
    2.
      Enable OSPF and enter its 
    view.  ospf 
    [ process-id  | router-id  
    router-id  | vpn-instance  
    vpn-instance-name  ] *  N/A 
    3.
      Enable the link-local signaling 
    capability.  enable link-local-signaling 
    Disabled by default. 
    4.  Enable the out-of-band 
    re -synchronization capability.  enable 
    out-of-band-resynchronization 
    Disabled by default. 
    5.
      Configure the neighbors for 
    which the router can serve as 
    a GR Helper.  graceful-restart help 
    { acl-number 
    |  prefix  prefix-list  }  Optional. 
    The router can serve as a GR 
    Helper for any OSPF neighbor by 
    default.
     
     
    Triggering OSPF Graceful Restart 
    Performing a Master/Slave switchover, or performing  the following configuration on an OSPF router, will 
    trigger OSPF Graceful Restart. 
    To trigger OSPF Graceful Restart: 
     
    Task Command Remarks 
    Trigger OSPF Graceful Restart.  reset ospf
     [ process -id  ] process 
    graceful-restart   Available in user view
     
      
    						
    							 97 
    Configuring BFD for OSPF 
    OSPF supports the following BFD detection methods: 
    •  Control packet bidirectional detection, which requir es BFD configuration to be made on both OSPF 
    routers on the link.  
    •   Echo packet single-hop detection, which requires BF D configuration to be made on one OSPF router 
    on the link.  
    Configuring control packet bidirectional detection 
    Both ends of a BFD session must be on the same  network segment and in the same area. One network 
    segment can only belong to one area. 
    To enable BFD control packet bidirectional detection on an OSPF interface: 
     
    Step Command Description 
    1.   Enter system view. 
    system-view N/A 
    2.  Enter interface view.  interface
     interface-type 
    interface-number   N/A 
    3.
      Enable BFD control packet bidirectional 
    detection on the interface.  ospf bfd enable Not enabled by 
    default. 
     
    Configuring echo packet single-hop detection  
    Step Command Description 
    1.
      Enter system view. 
    system-view N/A 
    2.  Configure the source address of echo 
    packets.  bfd echo-source-ip 
    ip-address  Not configured by 
    default. 
    3.
      Enter interface view.  interface
     interface-type 
    interface-number   N/A 
    4.
      Enable BFD echo packet single-hop 
    detection on the interface.  ospf bfd enable echo Not enabled by 
    default. 
     
    Displaying and maintaining OSPF 
     
    Task Command Remarks 
    Display OSPF brief information.
     display ospf [ process-id
     ] brief [ | { begin  | 
    exclude  | include  } regular-expression ]
     Available in any 
    view 
    Display OSPF statistics.
     display ospf [ 
    process-id ] cumulative [ |  { begin | 
    exclude  | include  } regular-expression ]
     Available in any 
    view
      
    						
    							 98 
    Task Command Remarks 
    Display Link State Database 
    information.  display ospf
     [ process-id  ] lsdb [ brief | [ { ase | 
    router  | network  | summary |  asbr | nssa  | 
    opaque-link  | opaque-area  | opaque-as  } 
    [ link-state-id  ] ] [ originate-router 
    advertising-router-id  | self-originate  ] ] [ | { begin 
    |  exclude  | include  } regular-expression ]
     Available in any 
    view
     
    Display OSPF neighbor 
    information.
      display ospf [
     process-id ] peer [ verbose  ] 
    [  interface-type interface-number  ] [  neighbor-id  ] 
    [ |  { begin |  exclude | include } 
    regular-expression  ]
      Available in any 
    view
     
    Display neighbor statistics of OSPF 
    areas.  display ospf
     [ process-id  ] peer  statistics  [ | { begin  
    |  exclude  | include  } regular-expression ]  Available in any 
    view
     
    Display next hop information.
     display ospf
     [ process-id  ] nexthop [ | { begin | 
    exclude  | include  } regular-expression ]
     Available in any 
    view
     
    Display routing table information.
     display ospf
     [ process-id  ] routing  [ interface 
    interface-type interface-number  ] [ nexthop 
    nexthop-address  ] [ | { begin |  exclude | include  } 
    regular-expression  ]  Available in any 
    view
     
    Display virtual link information.
     display ospf
     [ process-id  ] vlink  [ | { begin | 
    exclude  | include  } regular-expression ]  Available in any 
    view
     
    Display OSPF request queue 
    information.
      display ospf [
     process-id ] request-queue 
    [ interface-type interface-number  ] [ neighbor-id ] 
    [ |  { begin |  exclude | include } 
    regular-expression  ]  Available in any 
    view
     
    Display OSPF retransmission 
    queue information.
     display ospf [ process-id
     ] retrans-queue 
    [  interface-type interface-number  ] [ neighbor-id ] 
    [ |  { begin |  exclude | include } 
    regular-expression  ]  Available in any 
    view
     
    Display OSPF ABR and ASBR 
    information.
      display ospf
     [ process-id  ] abr-asbr [ | { begin | 
    exclude  | include  } regular-expression ]  Available in any 
    view
     
    Display OSPF interface 
    information.
      display ospf [ process-id 
    ] interface [ all  | 
    interface-type  interface-number  ] [ | { begin | 
    exclude  | include  } regular-expression ]  Available in any 
    view
     
    Display OSPF error information.
     display ospf
     [ process-id  ] error [ | { begin | 
    exclude  | include  } regular-expression ]  Available in any 
    view
     
    Display OSPF ASBR 
    summarization information.  display ospf [
     process-id  ]  asbr-summary  
    [ ip-address  { mask  | mask-length  } ] [ | { begin  | 
    exclude  | include  } regular-expression ]  Available in any 
    view
     
    Display the global router ID.  display router id
     [ | { begin |  exclude | include  } 
    regular-expression  ]  Available in any 
    view
     
    Reset OSPF counters.  reset ospf
     [ process-id  ] counters [ neighbor 
    [ interface-type interface-number  ] [ router-id ] ]  Available in user 
    view 
    Reset an OSPF process. 
    reset ospf  [ process-id  ] process [ graceful-restart  ] Available in user 
    view
     
    Re-enable OSPF route 
    redistribution.  reset
     ospf  [ process-id  ] redistribution
     Available in user 
    view
     
      
    						
    							 99 
    OSPF configuration examples 
    These examples only cover commands for OSPF configuration. 
    Configuring OSPF basic functions 
    Network requirements 
    As shown in Figure 38, all s witches run OSPF. The AS is split into three areas, where Switch A and Switch 
    B act as ABRs to forward routing information between areas. 
    After configuration, all switches can learn routes to every network segment in the AS. 
    Figure 38  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 10.1.1.0 0.0.0.255 
    [SwitchA-ospf-1-area-0.0.0.0] quit 
    [SwitchA-ospf-1] area 1 
    [SwitchA-ospf-1-area-0.0.0.1] network 10.2.1.0 0.0.0.255 
    [SwitchA-ospf-1-area-0.0.0.1] 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 10.1.1.0 0.0.0.255 
    [SwitchB-ospf-1-area-0.0.0.0] quit 
    [SwitchB-ospf-1] area 2 
    [SwitchB-ospf-1-area-0.0.0.2] network 10.3.1.0 0.0.0.255 
    [SwitchB-ospf-1-area-0.0.0.2] quit 
    [SwitchB-ospf-1] quit 
    Area 0
    Area 1 Area 2
    Switch C
    Vlan-int100 10.1.1.2/24
    Vlan-int100
    10.1.1.1/24
    Vlan-int300
    10.4.1.1/24
    Vlan-int200
    10.2.1.2/24
    Switch B
    Vlan-int200
    10.3.1.1/24
    Vlan-int200
    10.3.1.2/24
    Switch A
    Vlan-int20010.2.1.1/24
    Vlan-int30010.5.1.1/24
    Switch D 
    						
    							 100 
    # Configure Switch C 
     system-view 
    [SwitchC] ospf 
    [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] network 10.4.1.0 0.0.0.255 
    [SwitchC-ospf-1-area-0.0.0.1] quit 
    [SwitchC-ospf-1] quit 
    # Configure Switch D 
     system-view 
    [SwitchD] ospf 
    [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] network 10.5.1.0 0.0.0.255 
    [SwitchD-ospf-1-area-0.0.0.2] quit 
    [SwitchD-ospf-1] quit 
    3. Verify the configuration: 
    # Display information about neighbors on Switch A. 
    [SwitchA] display ospf peer verbose 
     
              OSPF Process 1 with Router ID 10.2.1.1 
                      Neighbors 
     
     Area 0.0.0.0 interface 10.1.1.1(Vlan-interface100)s neighbors 
     Router ID: 10.3.1.1         Address: 10.1.1.2         GR State: Normal \
       State: Full  Mode: Nbr is Master  Priority: 1 
       DR: 10.1.1.1  BDR: 10.1.1.2  MTU: 0 
       Dead timer due in 37  sec 
       Neighbor is up for 06:03:59 
       Authentication Sequence: [ 0 ] 
       Neighbor state change count: 5 
     
                      Neighbors 
     
     Area 0.0.0.1 interface 10.2.1.1(Vlan-interface200)s neighbors 
     Router ID: 10.4.1.1         Address: 10.2.1.2         GR State: Normal \
       State: Full  Mode: Nbr is Master  Priority: 1 
       DR: 10.2.1.1  BDR: 10.2.1.2  MTU: 0 
       Dead timer due in 32  sec 
       Neighbor is up for 06:03:12 
       Authentication Sequence: [ 0 ] 
       Neighbor state change count: 5 
    # Display OSPF routing information on Switch A. 
    [SwitchA] display ospf routing 
     
              OSPF Process 1 with Router ID 10.2.1.1 
                       Routing Tables  
    						
    							 101 
     
     Routing for Network 
     Destination        Cost     Type    NextHop         AdvRouter       Are\
    a 
     10.2.1.0/24        10       Transit 10.2.1.1        10.2.1.1        0.0\
    .0.1 
     10.3.1.0/24        4        Inter   10.1.1.2        10.3.1.1        0.0\
    .0.0 
     10.4.1.0/24        13       Stub    10.2.1.2        10.4.1.1        0.0\
    .0.1 
     10.5.1.0/24        14       Inter   10.1.1.2        10.3.1.1        0.0\
    .0.0 
     10.1.1.0/24        2        Transit 10.1.1.1        10.2.1.1        0.0\
    .0.0 
     
     Total Nets: 5 
     Intra Area: 3  Inter Area: 2  ASE: 0  NSSA: 0 
    # Display the Link State Database on Switch A. 
    [SwitchA] display ospf lsdb 
     
              OSPF Process 1 with Router ID 10.2.1.1 
                      Link State Database 
     
                              Area: 0.0.0.0 
     Type      LinkState ID    AdvRouter          Age  Len   Sequence   Metr\
    ic 
     Router    10.2.1.1        10.2.1.1          1069  36    80000012       \
    0 
     Router    10.3.1.1        10.3.1.1           780  36    80000011       \
    0 
     Network   10.1.1.1        10.2.1.1          1069  32    80000010       \
    0 
     Sum-Net   10.5.1.0        10.3.1.1           780  28    80000003      1\
    2 
     Sum-Net   10.2.1.0        10.2.1.1          1069  28    8000000F      1\
    0 
     Sum-Net   10.3.1.0        10.3.1.1           780  28    80000014       \
    2 
     Sum-Net   10.4.1.0        10.2.1.1           769  28    8000000F      1\
    3 
                              Area: 0.0.0.1 
     Type      LinkState ID    AdvRouter          Age  Len   Sequence   Metr\
    ic 
     Router    10.2.1.1        10.2.1.1           769  36    80000012       \
    0 
     Router    10.4.1.1        10.4.1.1          1663  48    80000012       \
    0 
     Network   10.2.1.1        10.2.1.1           769  32    80000010       \
    0 
     Sum-Net   10.5.1.0        10.2.1.1           769  28    80000003      1\
    4 
     Sum-Net   10.3.1.0        10.2.1.1          1069  28    8000000F       \
    4 
     Sum-Net   10.1.1.0        10.2.1.1          1069  28    8000000F       \
    2 
     Sum-Asbr  10.3.1.1        10.2.1.1          1069  28    8000000F       \
    2 
    # Display OSPF routing information on Switch D. 
    [SwitchD] 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  
    						
    All HP manuals Comments (0)

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