H3C S12500 Configuration Examples

H3C S12500 Configuration Examples

Ip frr
Hide thumbs Also See for S12500:

Advertisement

Quick Links

H3C S12500 IP FRR Configuration Examples
Copyright © 2013 Hangzhou H3C Technologies Co., Ltd. All rights reserved.
No part of this manual may be reproduced or transmitted in any form or by any means
without prior written consent of Hangzhou H3C Technologies Co., Ltd.
The information in this document is subject to change without notice.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the S12500 and is the answer not in the manual?

Questions and answers

Summary of Contents for H3C S12500

  • Page 1 H3C S12500 IP FRR Configuration Examples Copyright © 2013 Hangzhou H3C Technologies Co., Ltd. All rights reserved. No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of Hangzhou H3C Technologies Co., Ltd.
  • Page 2: Table Of Contents

    Contents Introduction ··································································································································································· 1   Prerequisites ·································································································································································· 1   General configuration restrictions and guidelines ····································································································· 1   Example: Configuring static route FRR ······················································································································· 1   Network requirements ······················································································································································ 1   Requirements analysis ······················································································································································· 2   Configuration restrictions and guidelines ······················································································································· 2  ...
  • Page 3: Introduction

    Introduction This document provides configuration examples for static route FRR, OSPF FRR, IS-IS FRR, and RIP FRR. IP FRR was introduced to meet the requirement of speeding up route convergence by providing backup routes. When a router detects a failure, it handles the failure locally by replacing the invalid route with the backup route, instead of flooding the routing information or performing route calculation.
  • Page 4: Requirements Analysis

    Do not use static route FRR and static route BFD at the same time. Software version used This configuration example was created and verified on S12500-CMW520-R1825P01. Configuration procedures Configure IP addresses and subnet masks for interfaces on the switches, as shown in Figure (Details not shown.)
  • Page 5: Verifying The Configuration

    Configure static routes on Switch S: # Configure a static route with a higher priority. [SwitchS] ip route-static 4.4.4.4 255.255.255.255 Vlan-interface100 12.12.12.2 preference 30 # Configure a static route with a lower priority to serve as a backup. [SwitchS] ip route-static 4.4.4.4 255.255.255.255 Vlan-interface200 13.13.13.2 preference 40 Configure the source IP address of BFD echo packets and relevant BFD parameters.
  • Page 6: Configuration Files

    BkNextHop: BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Inactive Adv Age: 00h31m40s Tag: 0 # Display the status of the BFD session automatically created by FRR. <SwitchS> display bfd session verbose Total Session Num: 1 Init Mode: Active Session Working Under Echo Mode: Local Discr: 1...
  • Page 7: Example: Configuring Ospf Frr

    vlan 100 vlan 200 interface Vlan-interface100 ip address 12.12.12.1 255.255.255.0 bfd min-echo-receive-interval 10 bfd detect-multiplier 3 interface Vlan-interface200 ip address 13.13.13.1 255.255.255.0 interface GigabitEthernet3/0/1 port link-mode bridge port access vlan 100 interface GigabitEthernet3/0/2 port link-mode bridge port access vlan 200 route-policy rp_frr permit node 10 if-match ip-prefix pf_frr apply fast-reroute backup-interface Vlan-interface200 backup-nexthop 13.13.13.2...
  • Page 8: Requirements Analysis

    To configure the backup route for link switchover, specify both the output interface and next hop of the route in the routing policy. Software version used This configuration example was created and verified on S12500-CMW520-R1825P01. Configuration restrictions and guidelines When you configure OSPF FRR, follow these restrictions and guidelines: •...
  • Page 9: Verifying The Configuration

    OSPF. (Details not shown.) Configure the source IP address for BFD echo packets and relevant BFD parameters. ICMP redirection might be enabled on the peer device, so H3C recommends configuring an IP address that is not in use as the source IP address.
  • Page 10: Configuration Files

    <SwitchS> display bfd session verbose Total session number: 1 Up session number: 1 Init mode: Active IPv4 session working under Echo mode: Local Discr: 12 Source IP: 12.12.12.1 Destination IP: 12.12.12.2 Session State: Up Interface: Vlan-interface100 Min Recv Inter: 10ms Act Trans Inter: 10ms Act Detect Inter: 30ms Running Up for: 00:42:20...
  • Page 11 area 0.0.0.0 network 12.12.12.0 0.0.0.255 network 13.13.13.0 0.0.0.255 network 1.1.1.1 0.0.0.0 Method 2: • bfd echo-source-ip 67.67.67.67 vlan 100 vlan 200 interface Vlan-interface100 ip address 12.12.12.1 255.255.255.0 bfd min-echo-receive-interval 10 bfd detect-multiplier 3 interface Vlan-interface200 ip address 13.13.13.1 255.255.255.0 ospf cost 3 interface GigabitEthernet3/0/1 port link-mode bridge port access vlan 100...
  • Page 12: Example: Configuring Is-Is Frr

    • of the route in the routing policy. Software version used This configuration example was created and verified on S12500-CMW520-R1825P01. Configuration restrictions and guidelines When you configure IS-IS FRR, follow these restrictions and guidelines: Do not use IS-IS FRR and IS-IS BFD at the same time.
  • Page 13: Configuration Procedures

    20, so Link A is preferred by IS-IS. (Details not shown.) Configure the source IP address for BFD echo packets and relevant BFD parameters. ICMP redirection might be enabled on the peer device, so H3C recommends configuring an IP address that is not in use as the source IP address.
  • Page 14: Configuration Files

    Protocol: ISIS Process ID: 1 Preference: 15 Cost: 20 NextHop: 12.12.12.2 Interface: Vlan-interface100 BkNextHop: 13.13.13.2 BkInterface: Vlan-interface200 RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active Adv Age: 00h36m27s Tag: 0 # Display the status of the BFD session automatically created by FRR. <SwitchS>...
  • Page 15 bfd detect-multiplier 3 interface Vlan-interface200 ip address 13.13.13.1 255.255.255.0 isis enable 1 isis cost 30 interface GigabitEthernet3/0/1 port link-mode bridge port access vlan 100 interface GigabitEthernet3/0/2 port link-mode bridge port access vlan 200 Method 2: • bfd echo-source-ip 67.67.67.67 vlan 100 vlan 200 isis 1 is-level level-2...
  • Page 16: Example: Configuring Rip Frr

    To allow only matching packets to be switched to the backup link, specify an IP prefix list. • To configure the backup static route for link switchover, specify both the output interface and next • hop of the static route in the routing policy. Software version used This configuration example was created and verified on S12500-CMW520-R1825P01.
  • Page 17: Configuration Restrictions And Guidelines

    2, so Link A is preferred by RIP. (Details not shown.) Configure the source IP address for BFD echo packets and relevant BFD parameters. ICMP redirection might be enabled on the peer device, so H3C recommends configuring an IP address that is not in use as the source IP address.
  • Page 18: Configuration Files

    Preference: 100 Cost: 2 NextHop: 12.12.12.2 Interface: Vlan-interface100 BkNextHop: 13.13.13.2 BkInterface: Vlan-interface200 RelyNextHop: 0.0.0.0 Neighbor : 12.12.12.2 Tunnel ID: 0x0 Label: NULL State: Active Adv Age: 00h25m59s Tag: 0 # Display the status of the BFD session automatically created by FRR. <SwitchS>...
  • Page 19: Related Documentation

    Vlan-interface200 backup-nexthop 13.13.13.2 ip ip-prefix pf_frr index 10 permit 4.4.4.4 32 Related documentation H3C S12500 Routing Switch Series Layer 3—IP Routing Configuration Guide • • H3C S12500 Routing Switch Series Layer 3—IP Routing Command Reference H3C S12500 Routing Switch Series High Availability Configuration Guide •...

Table of Contents