background image

 

517 

 

Step 

Command 

Remarks 

1. 

Enter system view. 

system-view 

N/A 

2. 

Create a VPN instance and 
enter its view. 

ip vpn-instance 
vpn-instance-name

 

By default, no VPN instances 
exist. 

3. 

Quit VPN instance view. 

quit 

N/A 

4. 

Create a loopback interface 
and enter its view. 

interface loopback

 

interface-number

 

By default, no loopback 
interfaces exist. 

5. 

Associate the loopback 
interface with a VPN 
instance. 

ip binding vpn-instance 
vpn-instance-name

 

By default, the loopback interface 
is not associated with a VPN 
instance. 

 

Enabling the automatic report feature 

Perform this task to enable the GNE to automatically report online or offline events of NEs to the 
NMS. 

To enable the automatic report feature: 

 

Step 

Command 

Remarks 

1. 

Enter system view. 

system-view 

N/A 

2. 

Enter DCN view. 

dcn 

N/A 

3. 

Enable the automatic 
report feature. 

auto-report 

By default, the automatic report 
feature is disabled. 

 

Configuring the source MAC address of LLDP 
frames 

Perform this task to configure the MAC address of the subinterface that runs Dot1q termination in the 
specified VLAN as the source MAC address of LLDP frames. For more information about LLDP, see 

Layer 2—LAN Switching Configuration Guide

.  

 

Step 

Command 

Remarks 

1. 

Enter system view.

 

system-view 

N/A 

2. 

Enter Layer 3 Ethernet 
interface view. 

interface interface-type interface-number

  N/A 

3. 

Configure the MAC 
address of the Dot1q 
termination-enabled 
subinterface in the 
specified VLAN as the 
source MAC address of 
LLDP frames. 

lldp source-mac vlan

 

vlan-id 

By default, the MAC address of 
the current Ethernet interface is 
specified as the source MAC 
address of LLDP frames. 

 

Summary of Contents for HPE FlexNetwork 7500 series

Page 1: ...HPE FlexNetwork 7500 Switch Series Layer 3 IP Routing Configuration Guide Part number 5200 1940a Software version 7500 CMW710 R7557P01 Document version 6W101 20171020 ...

Page 2: ...nd 12 212 Commercial Computer Software Computer Software Documentation and Technical Data for Commercial Items are licensed to the U S Government under vendor s standard commercial license Links to third party websites take you outside the Hewlett Packard Enterprise website Hewlett Packard Enterprise has no control over and is not responsible for information outside the Hewlett Packard Enterprise ...

Page 3: ...1 Single hop echo mode 12 Configuring static route FRR 13 Configuration guidelines 13 Configuring static route FRR by specifying a backup next hop 13 Configuring static route FRR to automatically select a backup next hop 14 Enabling BFD echo packet mode for static route FRR 14 Displaying and maintaining static routes 14 Static route configuration examples 15 Basic static route configuration exampl...

Page 4: ...guring bidirectional control detection 41 Configuring RIP FRR 41 Configuration restrictions and guidelines 41 Configuration prerequisites 42 Configuring RIP FRR 42 Enabling BFD for RIP FRR 42 Displaying and maintaining RIP 42 RIP configuration examples 43 Configuring basic RIP 43 Configuring RIP route redistribution 46 Configuring an additional metric for a RIP interface 48 Configuring RIP to adve...

Page 5: ...receiving and sending OSPF packets 87 Configuring stub routers 88 Configuring OSPF authentication 88 Adding the interface MTU into DD packets 89 Setting a DSCP value for OSPF packets 90 Setting the maximum number of external LSAs in LSDB 90 Setting OSPF exit overflow interval 90 Enabling compatibility with RFC 1583 90 Logging neighbor state changes 91 Configuring OSPF network management 91 Setting...

Page 6: ...outes 146 Configuring IS IS route summarization 146 Advertising a default route 147 Configuring IS IS route redistribution 147 Configuring IS IS route filtering 148 Configuring IS IS route leaking 149 Advertising IS IS link state information to BGP 149 Tuning and optimizing IS IS networks 150 Configuration prerequisites 150 Specifying the interval for sending IS IS hello packets 150 Specifying the...

Page 7: ...d standards 207 BGP configuration task list 208 Configuring basic BGP 211 Enabling BGP 212 Configuring a BGP peer 213 Configuring dynamic BGP peers 214 Configuring a BGP peer group 217 Specifying the source address of TCP connections 227 Generating BGP routes 228 Injecting a local network 228 Redistributing IGP routes 230 Controlling route distribution and reception 232 Configuring BGP route summa...

Page 8: ...nfiguring BGP community 294 Configuring BGP route reflection 296 Configuring a BGP confederation 299 Configuring BGP GR 300 Configuring BGP NSR 301 Enabling SNMP notifications for BGP 302 Enabling logging for session state changes 302 Enabling logging for BGP route flapping 303 Configuring BFD for BGP 304 Configuring BGP FRR 305 Configuring 6PE 308 Configuring basic 6PE 308 Configuring optional 6P...

Page 9: ...ol mode 396 Single hop echo mode 396 Displaying and maintaining IPv6 static routes 397 IPv6 static routing configuration examples 397 Basic IPv6 static route configuration example 397 BFD for IPv6 static routes configuration example direct next hop 399 BFD for IPv6 static routes configuration example indirect next hop 402 Configuring an IPv6 default route 405 Configuring RIPng 406 Overview 406 RIP...

Page 10: ...432 Configuring OSPFv3 route control 432 Configuration prerequisites 432 Configuring OSPFv3 route summarization 433 Configuring OSPFv3 received route filtering 433 Configuring Inter Area Prefix LSA filtering 434 Setting an OSPFv3 cost for an interface 434 Setting the maximum number of OSPFv3 ECMP routes 435 Setting a preference for OSPFv3 435 Configuring OSPFv3 route redistribution 435 Tuning and ...

Page 11: ...lling SPF calculation interval 478 Enabling IPv6 IS IS ISPF 478 Enabling prefix suppression 478 Configuring BFD for IPv6 IS IS 479 Configuring IPv6 IS IS FRR 479 Configuration prerequisites 480 Configuration procedure 480 Enabling IPv6 IS IS MTR 482 Displaying and maintaining IPv6 IS IS 483 IPv6 IS IS configuration examples 483 IPv6 IS IS basic configuration example 483 BFD for IPv6 IS IS configur...

Page 12: ...oute redistribution 513 Configuring DCN 515 Overview 515 Basic concepts 515 Basic features 515 DCN configuration task list 515 Enabling DCN 516 Configuring the NE ID and NE IP 516 Configuring DCN VPN 516 Enabling the automatic report feature 517 Configuring the source MAC address of LLDP frames 517 Advertising the LLDP management address 518 Enabling the system to issue the generated ARP entry to ...

Page 13: ...Direct route The destination is directly connected Indirect route The destination is indirectly connected Origin Direct route A direct route is discovered by the data link protocol on an interface and is also called an interface route Static route A static route is manually configured by an administrator Dynamic route A dynamic route is dynamically discovered by a routing protocol To view brief in...

Page 14: ...Distance vector protocols Examples include RIP and BGP BGP is also considered a path vector protocol Link state protocols Examples include OSPF and IS IS Destination address type Unicast routing protocols Examples include RIP OSPF BGP and IS IS Multicast routing protocols Examples include PIM SM and PIM DM IP version IPv4 routing protocols Examples include RIP OSPF BGP and IS IS IPv6 routing proto...

Page 15: ...o use a BGP static or RIP route that has an indirectly connected next hop a router must perform route recursion to find the output interface to reach the next hop Link state routing protocols such as OSPF and IS IS do not need route recursion because they obtain directly connected next hops through route calculation The RIB records and saves route recursion information including brief information ...

Page 16: ... RIB is 480 seconds To set the maximum route lifetime for routes and labels in the RIB IPv6 Step Command Remarks 1 Enter system view system view N A 2 Enter RIB view rib N A 3 Create the RIB IPv6 address family and enter its view address family ipv6 By default no RIB IPv6 address family exists 4 Set the maximum lifetime for IPv6 routes and labels in the RIB protocol protocol instance instance name...

Page 17: ...to monitor BGP traffic For more information about BGP path attributes and sFlow see Layer 3 IP Routing Configuration Guide and Network Management and Monitoring Configuration Guide To enable RIB to flush route attribute information to the FIB Step Command Remarks 1 Enter system view system view N A 2 Enter RIB view rib N A 3 Create the RIB IPv4 address family and enter its view address family ipv4...

Page 18: ...d enter its view address family ipv6 By default no RIB IPv6 address family exists 4 Enable IPv6 RIB NSR non stop routing By default RIB NSR is disabled Configuring inter protocol FRR CAUTION This feature uses the next hop of a route from a different protocol as the backup next hop for the faulty route which might cause loops Inter protocol fast reroute FRR enables fast rerouting between routes of ...

Page 19: ... instance vpn instance name By default inter protocol FRR is disabled If you do not specify a VPN instance inter protocol FRR is enabled for the public network Configuring routing policy based recursive lookup When a route changes the routing protocol has to perform a route recursion if the next hop is indirectly connected The routing protocol might select an incorrect path which can cause traffic...

Page 20: ...ip routing table vpn instance vpn instance name statistics Display brief IPv4 routing table information display ip routing table vpn instance vpn instance name summary Display the maximum number of ECMP routes display max ecmp num Display route attribute information in the RIB display rib attribute attribute id Display RIB GR state information display rib graceful restart Display next hop informat...

Page 21: ...ance vpn instance name summary Display route attribute information in the IPv6 RIB display ipv6 rib attribute attribute id Display IPv6 RIB GR state information display ipv6 rib graceful restart Display next hop information in the IPv6 RIB display ipv6 rib nib self originated nib id verbose display ipv6 rib nib protocol protocol verbose Display next hop information for IPv6 direct routes display i...

Page 22: ...iew ip route static group group name By default no static route group is configured 3 Optional Add a static route prefix to the static route group prefix dest address mask length mask By default no static route prefix is added to the static route group 4 Optional Return to system view quit N A 5 Configure a static route Method 1 ip route static dest address mask length mask group group name interf...

Page 23: ...ormation about BFD see High Availability Configuration Guide Bidirectional control mode To use BFD bidirectional control detection between two devices enable BFD control mode for each device s static route destined to the peer To configure a static route and enable BFD control mode use one of the following methods Specify an output interface and a direct next hop Specify an indirect next hop and a...

Page 24: ...e sends BFD echo packets to the destination device which loops the packets back to test the link reachability IMPORTANT Do not use BFD for a static route with the output interface in spoofing state To configure BFD echo mode for a static route 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 By default the source ...

Page 25: ...nge the backup output interface or next hop you must first remove the current setting Static route FRR is available only when the state of primary link with Layer 3 interfaces staying up changes from bidirectional to unidirectional or down Configuring static route FRR by specifying a backup next hop Step Command Remarks 1 Enter system view system view N A 2 Configure static route FRR Method 1 ip r...

Page 26: ...figure the source IP address of BFD echo packets bfd echo source ip ip address By default the source IP address of BFD echo packets is not configured The source IP address cannot be on the same network segment as any local interface s IP address For more information about this command see High Availability Command Reference 3 Enable BFD echo packet mode for static route FRR ip route static primary...

Page 27: ...atic 1 1 2 0 255 255 255 0 1 1 4 1 SwitchB ip route static 1 1 3 0 255 255 255 0 1 1 5 6 Configure a default route on Switch C SwitchC system view SwitchC ip route static 0 0 0 0 0 0 0 0 1 1 5 5 3 Configure the default gateways of Host A Host B and Host C as 1 1 2 3 1 1 6 1 and 1 1 3 1 Details not shown Verifying the configuration Display static routes on Switch A SwitchA display ip routing table ...

Page 28: ...r ping 1 1 2 2 Pinging 1 1 2 2 with 32 bytes of data Reply from 1 1 2 2 bytes 32 time 1ms TTL 126 Reply from 1 1 2 2 bytes 32 time 1ms TTL 126 Reply from 1 1 2 2 bytes 32 time 1ms TTL 126 Reply from 1 1 2 2 bytes 32 time 1ms TTL 126 Ping statistics for 1 1 2 2 Packets Sent 4 Received 4 Lost 0 0 loss Approximate round trip times in milli seconds Minimum 1ms Maximum 1ms Average 1ms Use the tracert c...

Page 29: ...nfiguration procedure 1 Configure IP addresses for the interfaces Details not shown 2 Configure static routes and BFD Configure static routes on Switch A and enable BFD control mode for the static route that traverses the Layer 2 switch SwitchA system view SwitchA interface vlan interface 10 SwitchA vlan interface10 bfd min transmit interval 500 SwitchA vlan interface10 bfd min receive interval 50...

Page 30: ...tive IPv4 Session Working Under Ctrl Mode LD RD SourceAddr DestAddr State Holdtime Interface 4 7 12 1 1 1 12 1 1 2 Up 2000ms Vlan10 The output shows that the BFD session has been created Display the static routes on Switch A SwitchA display ip routing table protocol static Summary Count 1 Static Routing table Status Active Summary Count 1 Destination Mask Proto Pre Cost NextHop Interface 120 1 1 0...

Page 31: ... 1 0 24 on Switch A Configure a static route to subnet 121 1 1 0 24 on Switch B Enable BFD for both routes Configure a static route to subnet 120 1 1 0 24 and a static route to subnet 121 1 1 0 24 on both Switch C and Switch D When the link between Switch A and Switch B through Switch D fails BFD can detect the failure immediately Switch A then communicates with Switch B through Switch C Figure 4 ...

Page 32: ...trol mode for the static route that traverses Switch D SwitchB system view SwitchB bfd multi hop min transmit interval 500 SwitchB bfd multi hop min receive interval 500 SwitchB bfd multi hop detect multiplier 9 SwitchB ip route static 121 1 1 0 24 1 1 1 9 bfd control packet bfd source 2 2 2 9 SwitchB ip route static 121 1 1 0 24 vlan interface 13 13 1 1 2 preference 65 SwitchB quit Configure stat...

Page 33: ... static Summary Count 1 Static Routing table Status Active Summary Count 1 Destination Mask Proto Pre Cost NextHop Interface 120 1 1 0 24 Static 65 0 10 1 1 100 Vlan11 Static Routing table Status Inactive Summary Count 0 The output shows that Switch A communicates with Switch B through VLAN interface 11 Static route FRR configuration example Network requirements As shown in Figure 5 configure stat...

Page 34: ...put interface and 24 24 24 2 as the backup next hop SwitchB system view SwitchB ip route static 1 1 1 1 32 vlan interface 200 13 13 13 1 backup interface vlan interface 101 backup nexthop 24 24 24 2 Method 2 Configure static route FRR to automatically select a backup next hop Configure static routes on Switch A and enable static route FRR SwitchA system view SwitchA ip route static 4 4 4 4 32 vlan...

Page 35: ... TrafficIndex N A Connector N A Display route 1 1 1 1 32 on Switch B to view the backup next hop information SwitchB display ip routing table 1 1 1 1 verbose Summary Count 1 Destination 1 1 1 1 32 Protocol Static Process ID 0 SubProtID 0x0 Age 04h20m37s Cost 0 Preference 60 IpPre N A QosLocalID N A Tag 0 State Active Adv OrigTblID 0x0 OrigVrf default vrf TableID 0x2 OrigAs 0 NibID 0x26000002 LastA...

Page 36: ...owing ways The network administrator can configure a default route with both destination and mask being 0 0 0 0 For more information see Configuring static routing Some dynamic routing protocols such as OSPF RIP and IS IS can generate a default route For example an upstream router running OSPF can generate a default route and advertise it to other routers These routers install the default route wi...

Page 37: ...echanisms to prevent routing loops Counting to infinity A destination with a metric value of 16 is considered unreachable When a routing loop occurs the metric value of a route will increment to 16 to avoid endless looping Triggered updates RIP immediately advertises triggered updates for topology changes to reduce the possibility of routing loops and to speed up convergence Split horizon Disables...

Page 38: ...supports two transmission modes broadcast and multicast Multicast is the default mode using 224 0 0 9 as the multicast address An interface operating in RIPv2 broadcast mode can also receive RIPv1 messages Protocols and standards RFC 1058 Routing Information Protocol RFC 1723 RIP Version 2 Carrying Additional Information RFC 1721 RIP Version 2 Protocol Analysis RFC 1722 RIP Version 2 Protocol Appl...

Page 39: ...yer protocol Configure IP addresses for interfaces to ensure IP connectivity between neighboring routers Enabling RIP Follow these guidelines when you enable RIP To enable multiple RIP processes on a router you must specify an ID for each process A RIP process ID has only local significance Two RIP routers having different process IDs can also exchange RIP packets If you configure RIP settings in ...

Page 40: ... interface rip process id enable exclude subip By default RIP is disabled on an interface Controlling RIP reception and advertisement on interfaces Step Command Remarks 1 Enter system view system view N A 2 Enter RIP view rip process id vpn instance vpn instance name N A 3 Disable an interface from sending RIP messages silent interface interface type interface number all By default all RIP enabled...

Page 41: ...face view interface interface type interface number N A 6 Specify a RIP version for the interface rip version 1 2 broadcast multicast By default no interface specific RIP version is specified The interface sends RIPv1 broadcasts and can receive RIPv1 broadcasts and unicasts and RIPv2 broadcasts multicasts and unicasts Configuring RIP route control Before you configure RIP route control complete th...

Page 42: ...mary route 10 0 0 0 8 instead of the more specific routes To enable RIPv2 automatic route summarization Step Command Remarks 1 Enter system view system view N A 2 Enter RIP view rip process id vpn instance vpn instance name N A 3 Optional Enable RIPv2 automatic route summarization summary By default RIPv2 automatic route summarization is enabled If subnets in the routing table are not contiguous d...

Page 43: ...interface view setting takes precedence over the RIP view settings To disable an interface from advertising a default route use the rip default route no originate command on the interface To configure RIP to advertise a default route Step Command Remarks 1 Enter system view system view N A 2 Enter RIP view rip process id vpn instance vpn instance name N A 3 Enable RIP to advertise a default route ...

Page 44: ...ss id interface type interface number By default the filtering of redistributed routes is not configured This command filters redistributed routes including routes redistributed with the import route command Setting a preference for RIP If multiple IGPs find routes to the same destination the route found by the IGP that has the highest priority is selected as the optimal route Perform this task to...

Page 45: ...e following RIP timers Update timer Specifies the interval between route updates Timeout timer Specifies the route aging time If no update for a route is received within the aging time the metric of the route is set to 16 Suppress timer Specifies how long a RIP route stays in suppressed state When the metric of a route is 16 the route enters the suppressed state A suppressed route can be replaced ...

Page 46: ...ers To enable split horizon Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Enable split horizon rip split horizon By default split horizon is enabled Enabling poison reverse Poison reverse allows RIP to send routes through the interface where the routes were learned The metric of these routes is always set to 16 unrea...

Page 47: ...zero field check on incoming RIPv1 messages checkzero The default setting is enabled Enabling source IP address check on incoming RIP updates Perform this task to enable source IP address check on incoming RIP updates Upon receiving a message RIP compares the source IP address of the message with the IP address of the receiving interface If they are not in the same network segment RIP discards the...

Page 48: ...ered update interval Step Command Remarks 1 Enter system view system view N A 2 Enter RIP view rip process id vpn instance vpn instance name N A 3 Set the RIP triggered update interval timer triggered maximum interval minimum interval incremental interval By default The maximum interval is 5 seconds The minimum interval is 50 milliseconds The incremental interval is 200 milliseconds Specifying a R...

Page 49: ... maximum number of RIP packets that can be sent at each interval This feature can avoid excessive RIP packets from affecting system performance and consuming too much bandwidth To configure the RIP packet sending rate Step Command Remarks 1 Enter system view system view N A 2 Enter RIP view rip process id vpn instance vpn instance name N A 3 Set the interval for sending RIP packets and the maximum...

Page 50: ...interface type interface number N A 3 Set the maximum length of RIP packets rip max packet length value By default the maximum length of RIP packets is 512 bytes Setting the DSCP value for outgoing RIP packets The DSCP value specifies the precedence of outgoing packets To set the DSCP value for outgoing RIP packets Step Command Remarks 1 Enter system view system view N A 2 Enter RIP view rip proce...

Page 51: ...Enabling RIP NSR Nonstop Routing NSR allows the device to back up the routing information from the active RIP process to the standby RIP process After an active standby switchover NSR can complete route regeneration without tearing down adjacencies or impacting forwarding services NSR does not require the cooperation of neighboring devices to recover routing information and it is typically used mo...

Page 52: ...ddress By default the source IP address of BFD echo packets is not configured 3 Enter interface view interface interface type interface number N A 4 Enable BFD for RIP rip bfd enable By default BFD for RIP is disabled Configuring single hop echo detection for a specific destination When a unidirectional link occurs between the local device and a specific neighbor BFD can detect the failure The loc...

Page 53: ...ntil RIP completes routing convergence based on the new network topology FRR enables fast rerouting to minimize the impact of link or node failures Figure 6 Network diagram for RIP FRR As shown in Figure 6 configure FRR on Router B by using a routing policy to specify a backup next hop When the primary link fails RIP directs packets to the backup next hop At the same time RIP calculates the shorte...

Page 54: ...IP FRR Step Command Remarks 1 Enter system view system view N A 2 Configure the source IP address of BFD echo packets bfd echo source ip ip address By default the source IP address of BFD echo packets is not configured The source IP address cannot be on the same network segment as any local interface s IP address For more information about this command see High Availability Command Reference 3 Ent...

Page 55: ...B Configure Switch B to not advertise route 10 2 1 0 24 to Switch A and to accept only route 2 1 1 0 24 from Switch A Figure 7 Network diagram Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Configure basic RIP by using either of the following methods Method 1 Enable RIP on the specified networks on Switch A SwitchA system view SwitchA rip SwitchA rip 1 network ...

Page 56: ... 0 0 0 RDOF The output shows that RIPv1 uses a natural mask 3 Configure a RIP version Configure RIPv2 on Switch A SwitchA rip SwitchA rip 1 version 2 SwitchA rip 1 undo summary SwitchA rip 1 quit Configure RIPv2 on Switch B SwitchB rip SwitchB rip 1 version 2 SwitchB rip 1 undo summary SwitchB rip 1 quit Display the RIP routing table on Switch A SwitchA display rip 1 route Route Flags R RIP T TRIP...

Page 57: ...eived and redistributed routes SwitchB ip prefix list aaa index 10 permit 2 1 1 0 24 SwitchB ip prefix list bbb index 10 deny 10 2 1 0 24 SwitchB ip prefix list bbb index 11 permit 0 0 0 0 0 less equal 32 SwitchB rip 1 SwitchB rip 1 filter policy prefix list aaa import SwitchB rip 1 filter policy prefix list bbb export SwitchB rip 1 quit Display the RIP routing table on Switch A SwitchA display ri...

Page 58: ...e 8 Network diagram Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Configure basic RIP Enable RIP 100 and configure RIPv2 on Switch A SwitchA system view SwitchA rip 100 SwitchA rip 100 network 10 0 0 0 SwitchA rip 100 network 11 0 0 0 SwitchA rip 100 version 2 SwitchA rip 100 undo summary SwitchA rip 100 quit Enable RIP 100 and RIP 200 and configure RIPv2 on S...

Page 59: ...Loop0 16 4 1 255 32 Direct 0 0 16 4 1 1 Vlan400 127 0 0 0 8 Direct 0 0 127 0 0 1 InLoop0 127 0 0 0 32 Direct 0 0 127 0 0 1 InLoop0 127 0 0 1 32 Direct 0 0 127 0 0 1 InLoop0 127 255 255 255 32 Direct 0 0 127 0 0 1 InLoop0 3 Configure route redistribution Configure RIP 200 to redistribute routes from RIP 100 and direct routes on Switch B SwitchB rip 200 SwitchB rip 200 import route rip 100 SwitchB r...

Page 60: ...e 200 on Switch A so Switch A prefers route 1 1 5 0 24 learned from Switch B Figure 9 Network diagram Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Configure basic RIP Configure Switch A SwitchA system view SwitchA rip 1 SwitchA rip 1 network 1 0 0 0 SwitchA rip 1 version 2 SwitchA rip 1 undo summary SwitchA rip 1 quit Configure Switch B SwitchB system view Sw...

Page 61: ...tional metric of 3 for RIP enabled interface VLAN interface 200 on Switch A SwitchA interface vlan interface 200 SwitchA Vlan interface200 rip metricin 3 Display all active routes in the RIP database on Switch A SwitchA Vlan interface200 display rip 1 database 1 0 0 0 8 auto summary 1 1 1 0 24 cost 0 nexthop 1 1 1 1 RIP interface 1 1 2 0 24 cost 0 nexthop 1 1 2 1 RIP interface 1 1 3 0 24 cost 1 ne...

Page 62: ...0 0 255 SwitchB ospf 1 area 0 0 0 0 quit Configure Switch C SwitchC 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 3 Configure basic RIP Configure Switch C SwitchC rip 1 SwitchC rip 1 network 11 3 1 0 SwitchC rip 1 version 2 SwitchC rip ...

Page 63: ...00 11 4 1 0 32 Direct 0 0 11 4 1 2 Vlan400 11 4 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 0 32 Direct 0 0 127 0 0 1 InLoop0 127 0 0 1 32 Direct 0 0 127 0 0 1 InLoop0 127 255 255 255 32 Direct 0 0 127 0 0 1 InLoop0 4 Configure route summarization Configure route summarization on Switch C and advertise only the summary route 10 0 0 0 8 SwitchC interface vla...

Page 64: ...Switch B and Switch C can communicate with each other at Layer 3 Dynamic route update can be implemented among them with RIPv2 3 Enable RIP GR on Switch A SwitchA system view SwitchA rip SwitchA rip 1 graceful restart Verifying the configuration Trigger a routing protocol restart or active standby switchover and display GR status on Switch A SwitchA display rip graceful restart RIP process 1 Grace...

Page 65: ...lacement reoptimize Predicted changes to the placement Program Current location New location lb 0 0 0 0 lsm 0 0 0 0 slsp 0 0 0 0 rib6 0 0 0 0 routepolicy 0 0 0 0 rib 0 0 0 0 staticroute6 0 0 0 0 staticroute 0 0 0 0 eviisis 0 0 0 0 ospf 0 0 1 0 Continue y n y Re optimization of the placement start You will be notified on completion Re optimization of the placement complete Use display placement to ...

Page 66: ... Flags Sec 12 0 0 0 8 14 14 14 2 1 0 RAOF 1 22 0 0 0 8 14 14 14 2 2 0 RAOF 1 Local route Destination Mask Nexthop Cost Tag Flags Sec 44 44 44 44 32 0 0 0 0 0 0 RDOF 14 14 14 0 24 0 0 0 0 0 0 RDOF The output shows that the neighbor and route information on Switch A and Switch B keep unchanged during the active standby switchover on Switch S The traffic from Switch A to Switch B has not been impacte...

Page 67: ...do summary SwitchA rip 1 network 192 168 1 0 SwitchA rip 1 quit SwitchA interface vlan interface 100 SwitchA Vlan interface100 rip bfd enable SwitchA Vlan interface100 quit SwitchA rip 2 SwitchA rip 2 version 2 SwitchA rip 2 undo summary SwitchA rip 2 network 192 168 2 0 SwitchA rip 2 quit Configure Switch B SwitchB system view SwitchB rip 1 SwitchB rip 1 version 2 SwitchB rip 1 undo summary Switc...

Page 68: ...ch A SwitchA display bfd session Total Session Num 1 Up Session Num 1 Init Mode Active IPv4 Session Working Under Echo Mode LD SourceAddr DestAddr State Holdtime Interface 4 192 168 1 1 192 168 1 2 Up 2000ms Vlan100 Display RIP routes destined for 120 1 1 0 24 on Switch A SwitchA display ip routing table 120 1 1 0 24 Summary count 1 Destination Mask Proto Pre Cost NextHop Interface 120 1 1 0 24 RI...

Page 69: ...can quickly detect the link failure and notify RIP Switch B then deletes the neighbor relationship and the route information learned on VLAN interface 100 It does not receive or send any packets from VLAN interface 100 When the route learned from Switch A ages out Switch B uses the route destined for 100 1 1 1 24 through VLAN interface 200 Figure 14 Network diagram Configuration procedure 1 Config...

Page 70: ...tic 100 1 1 0 24 null 0 Verifying the configuration Display BFD session information on Switch A SwitchA display bfd session Total Session Num 1 Up Session Num 1 Init Mode Active IPv4 session working under Echo mode LD SourceAddr DestAddr State Holdtime Interface 3 192 168 2 1 192 168 2 2 Up 2000ms vlan100 Display routes destined for 100 1 1 0 24 on Switch B SwitchB display ip routing table 100 1 1...

Page 71: ...nal detection in BFD control packet mode Network requirements As shown in Figure 15 VLAN interface 100 of Switch A and VLAN interface 200 of Switch C run RIP process 1 VLAN interface 300 of Switch A runs RIP process 2 VLAN interface 400 of Switch C and VLAN interface 300 and VLAN interface 400 of Switch D run RIP process 1 Configure a static route destined for 100 1 1 0 24 on Switch A Configure a ...

Page 72: ...onfigure basic RIP and enable static route redistribution into RIP so Switch A and Switch C have routes to send to each other Configure Switch A SwitchA system view SwitchA rip 1 SwitchA rip 1 version 2 SwitchA rip 1 undo summary SwitchA rip 1 network 192 168 1 0 SwitchA rip 1 network 101 1 1 0 SwitchA rip 1 peer 192 168 2 2 SwitchA rip 1 undo validate source address SwitchA rip 1 import route sta...

Page 73: ...192 168 4 0 3 Configure BFD parameters Configure Switch A SwitchA bfd session init mode active SwitchA interface vlan interface 100 SwitchA Vlan interface100 bfd min transmit interval 500 SwitchA Vlan interface100 bfd min receive interval 500 SwitchA Vlan interface100 bfd detect multiplier 7 SwitchA Vlan interface100 quit Configure Switch C SwitchC bfd session init mode active SwitchC interface vl...

Page 74: ...ink over VLAN interface 100 fails Display RIP routes destined for 100 1 1 0 24 on Switch A SwitchA display ip routing table 100 1 1 0 24 Summary count 1 Destination Mask Proto Pre Cost NextHop Interface 100 1 1 0 24 RIP 100 2 192 168 3 2 vlan interface 300 The output shows that Switch A communicates with Switch C through VLAN interface 300 Configuring RIP FRR Network requirements As shown in Figur...

Page 75: ...tchA route policy frr 10 if match ip address prefix list abc SwitchA route policy frr 10 apply fast reroute backup interface vlan interface 100 backup nexthop 12 12 12 2 SwitchA route policy frr 10 quit SwitchA rip 1 SwitchA rip 1 fast reroute route policy frr SwitchA rip 1 quit Configure Switch B SwitchB system view SwitchB ip prefix list abc index 10 permit 1 1 1 1 32 SwitchB route policy frr pe...

Page 76: ...or N A Display route 1 1 1 1 32 on Switch B to view the backup next hop information SwitchB display ip routing table 1 1 1 1 verbose Summary Count 1 Destination 1 1 1 1 32 Protocol RIP Process ID 1 SubProtID 0x1 Age 04h20m37s Cost 1 Preference 100 IpPre N A QosLocalID N A Tag 0 State Active Adv OrigTblID 0x0 OrigVrf default vrf TableID 0x2 OrigAs 0 NibID 0x26000002 LastAs 0 AttrID 0xffffffff Neigh...

Page 77: ...for multicasting Multicasts protocol packets on some types of links to avoid impacting other devices OSPF packets OSPF messages are carried directly over IP The protocol number is 89 OSPF uses the following packet types Hello Periodically sent to find and maintain neighbors containing timer values information about the DR BDR and known neighbors Database description DD Describes the digest of each...

Page 78: ...o other ASs Opaque LSA A proposed type of LSA Its format consists of a standard LSA header and application specific information Opaque LSAs are used by the OSPF protocol or by some applications to distribute information into the OSPF routing domain The opaque LSA includes Type 9 Type 10 and Type 11 The Type 9 opaque LSA is flooded into the local subnet the Type 10 is flooded into the local area an...

Page 79: ...physical link failure breaks the internal connectivity of the backbone area you can configure a virtual link to replace the failed physical link as shown in Figure 19 Figure 19 Virtual link application 2 The virtual link between the two ABRs acts as a point to point connection You can configure interface parameters such as hello interval on the virtual link as they are configured on a physical int...

Page 80: ...s in Type 5 LSAs into the OSPF routing domain However Area 1 does not receive Type 5 LSAs because it is an NSSA area Figure 20 NSSA area Router types OSPF routers are classified into the following types based on their positions in the AS Internal router All interfaces on an internal router belong to one OSPF area ABR Belongs to more than two areas one of which must be the backbone area ABR connect...

Page 81: ... Type 2 external route is much greater than the cost from the ASBR to an OSPF internal router The cost of a Type 2 external route the cost from the ASBR to the destination of the Type 2 external route If two Type 2 routes to the same destination have the same cost OSPF takes the cost from the router to the ASBR into consideration to determine the best route Route calculation OSPF computes routes i...

Page 82: ...nually configured On a P2MP network OSPF packets are multicast by default and you can configure OSPF to unicast protocol packets DR and BDR DR and BDR mechanism On a broadcast or NBMA network any two routers must establish an adjacency to exchange routing information with each other If n routers are present on the network n n 1 2 adjacencies are established Any topology change on the network resul...

Page 83: ...rs on the network declare themselves as the DR the router with the higher router priority wins If router priorities are the same the router with the higher router ID wins If a router with a higher router priority becomes active after DR and BDR election the router cannot replace the DR or BDR until a new election is performed Therefore the DR of a network might not be the router with the highest p...

Page 84: ...F route control Configuring OSPF route summarization Configuring route summarization on an ABR Configuring route summarization on an ASBR Configuring received OSPF route filtering Configuring Type 3 LSA filtering Setting an OSPF cost for an interface Setting the maximum number of ECMP routes Setting OSPF preference Configuring discard routes for summary networks Configuring OSPF route redistributi...

Page 85: ...ion Configuring prefix prioritization Configuring OSPF PIC Setting the number of OSPF logs Filtering outbound LSAs on an interface Filtering LSAs for the specified neighbor Configuring GTSM for OSPF Optional Configuring OSPF GR Configuring OSPF GR restarter Configuring OSPF GR helper Triggering OSPF GR Optional Configuring OSPF NSR Optional Configuring BFD for OSPF Optional Configuring OSPF FRR Op...

Page 86: ... no global router ID is configured If no global router ID is configured the highest loopback interface IP address if any is used as the router ID If no loopback interface IP address is available the highest physical interface IP address is used regardless of the interface status up or down 3 Enable an OSPF process and enter OSPF view ospf process id router id router id vpn instance vpn instance na...

Page 87: ...o the stub area so all packets destined outside of the AS are sent through the default route To further reduce the routing table size and routing information exchanged in the stub area configure a totally stub area by using the stub no summary command on the ABR AS external routes and inter area routes will not be distributed into the area All the packets destined outside of the AS or area will be...

Page 88: ... name type type no import route no summary suppress fa translate always translate ignore checking bac kbone translate never translator stability interval value By default no area is configured as an NSSA area 5 Optional Set a cost for the default route advertised to the NSSA area default cost cost value The default setting is 1 This command takes effect only on the ABR ASBR of an NSSA or totally N...

Page 89: ...ation prerequisites Before you configure OSPF network types perform the following tasks Configure IP addresses for interfaces to ensure IP connectivity between neighboring nodes Enable OSPF Configuring the broadcast network type for an interface Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Configure the OSPF network...

Page 90: ...o packets to the neighbor for neighbor relationship establishment Configuring the P2MP network type for an interface Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Configure the OSPF network type for the interface as P2MP ospf network type p2mp unicast By default the network type of an interface is broadcast After you...

Page 91: ...guous networks into a single network and advertise the network to other areas Route summarization reduces the routing information exchanged between areas and the size of routing tables and improves routing performance For example three internal networks 19 1 1 0 24 19 1 2 0 24 and 19 1 3 0 24 are available within an area You can summarize the three networks into network 19 1 0 0 16 and advertise t...

Page 92: ...ived OSPF route filtering Perform this task to filter routes calculated using received LSAs The following filtering methods are available Use an ACL or IP prefix list to filter routing information by destination address Use the gateway keyword to filter routing information by next hop Use an ACL or IP prefix list to filter routing information by destination address At the same time use the gateway...

Page 93: ...he bandwidth command see Interface Command Reference If the calculated cost is greater than 65535 the value of 65535 is used If the calculated cost is less than 1 the value of 1 is used If no cost or bandwidth reference value is configured for an interface OSPF computes the interface cost based on the interface bandwidth and default bandwidth reference value To set an OSPF cost for an interface St...

Page 94: ...rence 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 Set a preference for OSPF preference ase preference route policy route policy name By default the preference of OSPF internal routes is 10 and the preference of OSPF external routes is 150 Configuring discard routes for summary networks Perform t...

Page 95: ...ve routes To view information about active routes use the display ip routing table protocol command 4 Optional Configure OSPF to filter redistributed routes filter policy ipv4 acl number prefix list prefix list name export protocol process id By default OSPF accepts all redistributed routes Redistributing a default route The import route command cannot redistribute a default external route Perform...

Page 96: ...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 Enter area view area area id N A 4 Exclude interfaces from the base topology capability default exclusion By default interfaces in an OSPF area belong to the base topology Tuning and optimizing OSPF networks You can use one of the following methods to ...

Page 97: ...l on P2P and broadcast interfaces is 10 seconds The hello interval on P2MP and NBMA interfaces is 30 seconds The default hello interval is restored when the network type for an interface is changed 4 Set the poll interval ospf timer poll seconds The default setting is 120 seconds The poll interval is a minimum of four times the hello interval 5 Set the dead interval ospf timer dead seconds By defa...

Page 98: ...s incremented by the incremental interval 2 n 2 for each calculation until the maximum interval is reached The value n is the number of calculation times To set the SPF calculation interval 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 Set the SPF calculation interval spf schedule interval maximum...

Page 99: ... 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 Set the LSA generation interval lsa generation interval maximum interval minimum interval incremental interval By default The maximum interval is 5 seconds The minimum interval is 50 milliseconds The incremental interval is 200 milliseconds Disabling interfaces from receivi...

Page 100: ...5535 is used Neighbors do not send packets to the stub router as long as they have a route with a smaller cost To configure a router as a stub router 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 router as a stub router stub router external lsa max metric value include stub on startu...

Page 101: ...nterface view interface interface type interface number N A 3 Configure interface authentication mode Configure simple authentication ospf authentication mode simple cipher plain string Configure MD5 authentication ospf authentication mode hmac md5 md5 key id cipher plain string Configure keychain authentication ospf authentication mode keychain keychain name By default no authentication is config...

Page 102: ...erflow state To save resources OSPF does not receive any external LSAs and deletes the external LSAs generated by itself when in this state Perform this task to configure the interval that OSPF exits overflow state To set the OSPF exit overflow interval 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 ...

Page 103: ... defined output rules whether and where to output logs For more information about the information center see Network Management and Monitoring Configuration Guide To enable the logging of neighbor state changes 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 logging of neighbor state chan...

Page 104: ...s within 10 seconds Setting the LSU transmit rate During LSDB synchronization if the local router has multiple neighbors it must send many LSUs to each neighbor When a neighbor receives excessive LSUs within a short time period the following events might occur The performance of the neighbor is degraded because too much system resources are used to process the received LSU packets The neighbor dro...

Page 105: ...advertising all of their prefixes This feature helps improve network security by preventing IP routing to the suppressed networks When prefix suppression is enabled On P2P and P2MP networks OSPF does not advertise Type 3 links in Type 1 LSAs Other routing information can still be advertised to ensure traffic forwarding On broadcast and NBMA networks the DR generates Type 2 LSAs with a mask length ...

Page 106: ...ice to install prefixes in descending priority order critical high medium and low The prefix priorities are assigned through routing policies When a route is assigned multiple prefix priorities the route uses the highest priority By default the 32 bit OSPF host routes have a medium priority and other routes a low priority To configure prefix prioritization Step Command Remarks 1 Enter system view ...

Page 107: ...e BFD echo packet mode for OSPF PIC Step Command Remarks 1 Enter system view system view N A 2 Configure the source IP address of BFD echo packets bfd echo source ip ip address By default the source IP address of BFD echo packets is not configured The source IP address cannot be on the same network segment as any local interface s IP address For more information about this command see High Availab...

Page 108: ...sk to prevent the router from sending LSAs to the specified neighbor To filter LSAs for the specified neighbor 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 Filter LSAs for the specified neighbor database filter peer ip address all ase acl ipv4 acl number nssa acl ipv4 acl number summary acl ipv4 ...

Page 109: ... view system view N A 2 Enter interface view interface interface type interface number N A 3 Enable GTSM for the interface ospf ttl security hops hop count disable By default GTSM is disabled for the interface Configuring OSPF GR GR ensures forwarding continuity when a routing protocol restarts or an active standby switchover occurs Two routers are required to complete a GR process The following a...

Page 110: ...uter id router id vpn instance vpn instance name N A 3 Enable the link local signaling capability enable link local signaling By default the link local signaling capability is disabled 4 Enable the out of band re synchronization capability enable out of band resynchronization By default the out of band re synchronization capability is disabled 5 Enable non IETF GR graceful restart nonstandard glob...

Page 111: ...ful restart helper enable By default GR helper is enabled 6 Optional Enable strict LSA checking for the GR helper graceful restart helper strict lsa checking By default strict LSA checking for the GR helper is disabled Triggering OSPF GR OSPF GR is triggered by an active standby switchover or when the following command is executed To trigger OSPF GR perform the following command in user view Task ...

Page 112: ... routers on the link Single hop echo detection Requires BFD configuration to be made on one OSPF router on the link Configuring bidirectional control detection Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Enable BFD bidirectional control detection ospf bfd enable By default BFD bidirectional control detection is dis...

Page 113: ...sing a routing policy Configuration prerequisites Before you configure OSPF FRR perform the following tasks Configure IP addresses for interfaces to ensure IP connectivity between neighboring nodes Enable OSPF Configuration guidelines Do not use the fast reroute lfa command together with the vlink peer command When both OSPF PIC and OSPF FRR are configured OSPF FRR takes effect Configuration proce...

Page 114: ...licy fast reroute route policy route policy name By default OSPF FRR is disabled Configuring BFD for OSPF FRR By default OSPF FRR does not use BFD to detect primary link failures To speed up OSPF convergence enable BFD for OSPF FRR to detect primary link failures To configure BFD control packet mode for OSPF FRR Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interf...

Page 115: ...d graceful restart verbose Display OSPF FRR backup next hop information display ospf process id area area id fast reroute lfa candidate topology topo name Display OSPF LSDB information display ospf process id lsdb brief originate router advertising router id self originate display ospf process id lsdb opaque as ase link state id originate router advertising router id self originate display ospf pr...

Page 116: ...k verbose Display OSPF interface information display ospf process id interface interface type interface number verbose Display OSPF log information display ospf process id event log lsa flush peer spf Display OSPF ASBR route summarization information display ospf process id asbr summary ip address mask length mask Display the global route ID display router id Clear OSPF statistics reset ospf proce...

Page 117: ...witchB 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 Configure Switch C SwitchC system view SwitchC router id 10 4 1 1 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...

Page 118: ...d timer due in 37 sec Neighbor is up for 06 03 59 Authentication Sequence 0 Neighbor state change count 5 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 Options is 0x02 E Dead timer due in 32 sec Neighbor is up for 06 03 12 Authentication Sequence 0 Neighbor st...

Page 119: ...he IP address 10 4 1 1 to test reachability SwitchD ping 10 4 1 1 Ping 10 4 1 1 10 4 1 1 56 data bytes press CTRL_C to break 56 bytes from 10 4 1 1 icmp_seq 0 ttl 253 time 1 549 ms 56 bytes from 10 4 1 1 icmp_seq 1 ttl 253 time 1 539 ms 56 bytes from 10 4 1 1 icmp_seq 2 ttl 253 time 0 779 ms 56 bytes from 10 4 1 1 icmp_seq 3 ttl 253 time 1 702 ms 56 bytes from 10 4 1 1 icmp_seq 4 ttl 253 time 1 47...

Page 120: ...ess 1 with Router ID 10 5 1 1 Routing Table to ABR and ASBR Topology base MTID 0 Type Destination Area Cost Nexthop RtType 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 on Switch D SwitchD display ospf routing OSPF Process 1 with Router ID 10 5 1 1 Routing Table Topology base MTID 0 Routing for network Destination Cost Type NextHop Ad...

Page 121: ...Switch B and Switch C Configure Switch B and Switch C to redistribute OSPF routes and direct routes into BGP and BGP routes into OSPF Configure Switch B to advertise only summary route 10 0 0 0 8 to Switch A Figure 26 Network diagram Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Enable OSPF Configure Switch A SwitchA system view SwitchA router id 11 2 1 2 Swit...

Page 122: ...witchD system view SwitchD router id 10 3 1 1 SwitchD ospf 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 SwitchD ospf 1 quit Configure Switch E SwitchE system view SwitchE router id 10 4 1 1 SwitchE ospf SwitchE ospf 1 area 0 SwitchE ospf 1 area 0 0 0 0 network 10 2 1 0 0 0 0 255 ...

Page 123: ...11 2 1 1 Vlan100 10 3 1 0 24 O_ASE2 150 1 11 2 1 1 Vlan100 10 4 1 0 24 O_ASE2 150 1 11 2 1 1 Vlan100 11 2 1 0 24 Direct 0 0 11 2 1 2 Vlan100 11 2 1 0 32 Direct 0 0 11 2 1 2 Vlan100 11 2 1 2 32 Direct 0 0 127 0 0 1 InLoop0 11 2 1 255 32 Direct 0 0 11 2 1 2 Vlan100 127 0 0 0 8 Direct 0 0 127 0 0 1 InLoop0 127 0 0 0 32 Direct 0 0 127 0 0 1 InLoop0 127 0 0 1 32 Direct 0 0 127 0 0 1 InLoop0 127 255 255...

Page 124: ...figure Switch A and Switch B as ABRs to forward routing information between areas Configure Switch D as the ASBR to redistribute static routes Configure Area 1 as a stub area to reduce advertised LSAs without influencing reachability Figure 27 Network diagram Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Enable OSPF see Basic OSPF configuration example 3 Confi...

Page 125: ... 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 AdvRouter 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 output shows that Switch C s routing table contains an AS external route 4 Configure Area 1 as a stub area Configure Switch A Switc...

Page 126: ... Configure Area 1 as a totally 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 SwitchA ospf 1 quit Display OSPF routing information on Switch C SwitchC display ospf routing OSPF Process 1 with Router ID 10 4 1 1 Routing Table Topology base MTID 0 Routing for network Destination Cost Type NextHop AdvRouter Area 0 0 0 0 0 4 In...

Page 127: ... ospf 1 quit Configure Switch C SwitchC 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 Display OSPF routing information on Switch C SwitchC display ospf routing OSPF Process 1 with Router ID 10 4 1 1 Routing Table Topology base MTID 0 Routing for network Destination Cost Type NextHop AdvRouter Area 10 2 1 0 24 3 ...

Page 128: ...ination Cost Type NextHop AdvRouter Area 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 AdvRouter 3 1 3 0 24 1 Type2 1 10 3 1 1 10 2 1 1 Total nets 6 Intra area...

Page 129: ...a 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 SwitchC 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 SwitchD system view SwitchD router id 4 4 4 4 SwitchD ospf SwitchD ospf 1 are...

Page 130: ...d timer due in 31 sec Neighbor is up for 00 01 28 Authentication Sequence 0 Neighbor state change count 6 BFD status Disabled 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 Options is 0x02 E Dead timer due in 31 sec Neighbor is up for 00 01 28 Authentication Sequence 0 Neighbor state change count 6 BFD status Disa...

Page 131: ...ve Priority 0 DR 192 168 1 4 BDR 192 168 1 3 MTU 0 Options is 0x02 E Dead timer due in 35 sec Neighbor is up for 00 11 19 Authentication Sequence 0 Neighbor state change count 6 BFD status Disabled 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 Options is 0x02 E Dead timer due in 33 sec Neighbor is up for 00 11 15 ...

Page 132: ...D status Disabled 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 Options is 0x02 E Dead timer due in 39 sec Neighbor is up for 00 01 41 Authentication Sequence 0 Neighbor state change count 6 BFD status Disabled The output shows that Switch A becomes the DR and Switch C becomes the BDR If the neighbor state is full...

Page 133: ...ure Switch A SwitchA 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 SwitchA ospf 1 quit Configure Switch B SwitchB 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 ...

Page 134: ...D 0 Routing for network Destination Cost Type NextHop AdvRouter Area 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 The output shows that Switch B does not have routes to Area 2 because Area 0 is not directly connected to Area 2 3 Configure a virtual link Configure Switch B SwitchB ospf SwitchB ospf ...

Page 135: ... acts as the non IETF GR restarter Switch B and Switch C are the GR helpers and synchronize their LSDBs with Switch A through OOB communication of GR Figure 31 Network diagram Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Enable OSPF Configure Switch A SwitchA system view SwitchA router id 1 1 1 1 SwitchA ospf 100 SwitchA ospf 100 area 0 SwitchA ospf 100 area ...

Page 136: ...witch 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 Verifying the configuration Enable OSPF GR event debugging and restart the OSPF process by using GR on Switch A SwitchA debugging ospf event graceful restart Swit...

Page 137: ...OSPF_NBR_CHG MDC 1 OSPF 100 Neighbor 192 1 1 3 Vlan interface100 from Full to Down Oct 21 15 29 33 815 2011 SwitchA OSPF 5 OSPF_NBR_CHG MDC 1 OSPF 100 Neighbor 192 1 1 3 Vlan interface100 from Loading to Full Oct 21 15 29 35 578 2011 SwitchA OSPF 5 OSPF_NBR_CHG MDC 1 OSPF 100 Neighbor 192 1 1 2 Vlan interface100 from Loading to Full The output shows that Switch A completes GR OSPF NSR configuratio...

Page 138: ...y OSPF neighbors on Switch A to verify the neighbor relationship between Switch A and Switch S SwitchA display ospf peer OSPF Process 1 with Router ID 2 2 2 1 Neighbor Brief Information Area 0 0 0 0 Router ID Address Pri Dead Time State Interface 3 3 3 1 12 12 12 2 1 37 Full BDR Vlan100 Display OSPF routes on Switch A to verify if Switch A has a route to the loopback interface on Switch B SwitchA ...

Page 139: ... 4 1 0 0 0 0 14 14 14 0 24 1 Transit 14 14 14 1 4 4 4 1 0 0 0 0 22 22 22 22 32 2 Stub 14 14 14 2 2 2 2 1 0 0 0 0 12 12 12 0 24 2 Transit 14 14 14 2 2 2 2 1 0 0 0 0 Total nets 4 Intra area 4 Inter area 0 ASE 0 NSSA 0 The output shows the following when an active standby switchover occurs on Switch S The neighbor relationships and routing information on Switch A and Switch B have not changed The tra...

Page 140: ... system view SwitchA ospf SwitchA ospf 1 area 0 SwitchA ospf 1 area 0 0 0 0 network 192 168 0 0 0 0 0 255 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 network 121 1 1 1 0 0 0 0 SwitchA ospf 1 area 0 0 0 0 quit SwitchA ospf 1 quit Configure Switch B SwitchB system view SwitchB ospf SwitchB ospf 1 area 0 SwitchB ospf 1 area 0 0 0 0 network 192 168 0 0 0 0 0 255 ...

Page 141: ...s SwitchB bfd session init mode active SwitchB interface vlan interface 10 SwitchB Vlan interface10 ospf bfd enable SwitchB Vlan interface10 bfd min transmit interval 500 SwitchB Vlan interface10 bfd min receive interval 500 SwitchB Vlan interface10 bfd detect multiplier 6 SwitchB Vlan interface10 quit Verifying the configuration Display the BFD information on Switch A SwitchA display bfd session ...

Page 142: ...1 1 1 32 Protocol O_INTRA Process ID 1 SubProtID 0x1 Age 04h20m37s Cost 2 Preference 10 IpPre N A QosLocalID N A Tag 0 State Active Adv OrigTblID 0x0 OrigVrf default vrf TableID 0x2 OrigAs 0 NibID 0x26000002 LastAs 0 AttrID 0xffffffff Neighbor 0 0 0 0 Flags 0x1008c OrigNextHop 10 1 1 100 Label NULL RealNextHop 10 1 1 100 BkLabel NULL BkNextHop N A Tunnel ID Invalid Interface Vlan interface11 BkTun...

Page 143: ...lculate the backup next hop You can enable OSPF FRR to either calculate a backup next hop by using the LFA algorithm or specify a backup next hop by using a routing policy Method 1 Enable OSPF FRR to calculate the backup next hop by using the LFA algorithm Configure Switch A SwitchA system view SwitchA ospf 1 SwitchA ospf 1 fast reroute lfa SwitchA ospf 1 quit Configure Switch B SwitchB system vie...

Page 144: ...g the configuration Display route 4 4 4 4 32 on Switch A to view the backup next hop information SwitchA display ip routing table 4 4 4 4 verbose Summary Count 1 Destination 4 4 4 4 32 Protocol O_INTRA Process ID 1 SubProtID 0x1 Age 04h20m37s Cost 1 Preference 10 IpPre N A QosLocalID N A Tag 0 State Active Adv OrigTblID 0x0 OrigVrf default vrf TableID 0x2 OrigAs 0 NibID 0x26000002 LastAs 0 AttrID ...

Page 145: ...ameters configured on interfaces Two neighbors must have the same parameters such as the area ID network segment and mask A P2P or virtual link can have different network segments and masks Solution To resolve the problem 1 Use the display ospf peer command to verify OSPF neighbor information 2 Use the display ospf interface command to verify OSPF interface information 3 Ping the neighbor router s...

Page 146: ...mation 2 Use the display ospf interface command to verify OSPF interface information 3 Use the display ospf lsdb command to verify the LSDB 4 Use the display current configuration configuration ospf command to verify area configuration If more than two areas are configured a minimum of one area is connected to the backbone 5 In a stub area all routers attached are configured with the stub command ...

Page 147: ... All link states in the network form the LSDB Each IS has a minimum of one LSDB An IS uses the SPF algorithm and LSDB to generate IS IS routes Link State Protocol Data Unit or Link State Packet An IS advertises link state information in an LSP Network Protocol Data Unit An NPDU is a network layer protocol packet in OSI similar to an IP packet in TCP IP Designated IS A DIS is elected on a broadcast...

Page 148: ...SEL or the NSAP selector SEL is similar to the protocol identifier in IP Different transport layer protocols correspond to different SELs All SELs in IP are 00 Routing method The IS IS address format identifies the area so a Level 1 router can easily identify packets destined to other areas IS IS routers perform routing as follows A Level 1 router performs intra area routing according to the syste...

Page 149: ...ontaining inter area routing information All the Level 2 and Level 1 2 routers must be contiguous to form the backbone of the IS IS routing domain Level 2 routers can establish neighbor relationships even if they are in different areas Level 1 2 router A router with both Level 1 and Level 2 router functions is a Level 1 2 router It can establish Level 1 neighbor relationships with Level 1 and Leve...

Page 150: ...es a Level 1 2 router to advertise the routes of other areas to the connected Level 1 area so that the Level 1 routers can select the optimal routes IS IS network types Network types IS IS supports only broadcast networks for example Ethernet and Token Ring DIS and pseudonodes IS IS routers on a broadcast network must elect a DIS The Level 1 and Level 2 DISs are elected separately You can assign d...

Page 151: ...ulated into link layer frames An IS IS PDU has two parts the headers and the variable length fields The headers comprise the PDU common header and the PDU specific header All PDUs have the same PDU common header The specific headers vary by PDU type Figure 39 PDU format Table 11 PDU types Type PDU Type Acronym 15 Level 1 LAN IS IS hello PDU L1 LAN IIH 16 Level 2 LAN IS IS hello PDU L2 LAN IIH 17 P...

Page 152: ...eriodically every 10 seconds by default A PSNP only contains the sequence numbers of one or multiple latest received LSPs It can acknowledge multiple LSPs at one time When LSDBs are not synchronized a PSNP is used to request missing LSPs from a neighbor CLV The variable fields of PDU comprise multiple Code Length Value CLV triplets Figure 40 CLV format Table 12 shows that different PDUs contain di...

Page 153: ...cksums in ISIS RFC 3373 Three Way Handshake for IS IS Point to Point Adjacencies RFC 3567 Intermediate System to Intermediate System IS IS Cryptographic Authentication RFC 3719 Recommendations for Interoperable Networks using IS IS RFC 3786 Extending the Number of IS IS LSP Fragments Beyond the 256 Limit RFC 3787 Recommendations for Interoperable IP Networks using IS IS RFC 3847 Restart Signaling ...

Page 154: ...ts Configuring LSP parameters Controlling SPF calculation interval Configuring convergence priorities for specific routes Setting the LSDB overload bit Configuring the ATT bit Configuring the tag value for an interface Configuring system ID to host name mappings Enabling the logging of neighbor state changes Enabling IS IS ISPF Enabling prefix suppression Configuring IS IS network management Confi...

Page 155: ... level is Level 1 2 If the router only needs to form Level 1 or Level 2 neighbor relationships set the circuit level for its interfaces to Level 1 or Level 2 This will limit neighbor relationship establishment To configure the IS level and circuit level Step Command Remarks 1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Specify the IS le...

Page 156: ...n neighboring nodes Enable IS IS Configuring IS IS link cost The IS IS cost of an interface is determined in the following order 1 IS IS cost specified in interface view 2 IS IS cost specified in system view The cost is applied to the interfaces associated with the IS IS process 3 Automatically calculated cost If the cost style is wide or wide compatible IS IS automatically calculates the cost usi...

Page 157: ...arrow compatible relax spf limit By default the IS IS cost type is narrow 4 Specify a global IS IS cost circuit cost cost value level 1 level 2 By default no global cost is specified Enabling automatic IS IS cost calculation Step Command Remarks 1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Enable automatic IS IS cost calculation auto c...

Page 158: ...atible c address family ipv4 unicast N A 3 Specify the maximum number of ECMP routes maximum load balancing number By default the maximum number of ECMP routes supported by IS IS equals the maximum number of ECMP routes supported by the system Configuring IS IS route summarization Perform this task to summarize specific routes including IS IS routes and redistributed routes into a single route Rou...

Page 159: ...sis process id vpn instance vpn instance name b cost style wide wide compatible c address family ipv4 unicast N A 3 Advertise a Level 1 or Level 2 default route default route advertise level 1 level 1 2 level 2 route policy route policy name By default IS IS does not advertise a Level 1 or Level 2 default route Configuring IS IS route redistribution Perform this task to redistribute routes from ot...

Page 160: ...orithm to calculate the shortest path tree with itself as the root IS IS installs the calculated routes to the IS IS routing table and the optimal routes to the IP routing table Perform this task to filter calculated routes Only routes that are not filtered can be added to the IP routing table The filtered routes retain in the IS IS routing table and can be advertised to neighbors To filter routes...

Page 161: ...ress family ipv4 unicast N A 3 Configure route leaking from Level 1 to Level 2 import route isis level 1 into level 2 filter policy ipv4 acl number prefix list prefix list name route policy route policy name tag tag By default IS IS advertises routes from Level 1 to Level 2 4 Configure route leaking from Level 2 to Level 1 import route isis level 2 into level 1 filter policy ipv4 acl number prefix...

Page 162: ...econds The interval between hello packets sent by the DIS is 1 3 the hello interval set with the isis timer hello command Specifying the IS IS hello multiplier The hello multiplier is the number of hello packets a neighbor must miss before it declares that the router is down If a neighbor receives no hello packets from the router within the advertised hold time it considers the router down and rec...

Page 163: ...er with the highest MAC address becomes the DIS To configure a DIS priority for an interface Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Configure a DIS priority for the interface isis dis priority priority level 1 level 2 The default setting is 64 Disabling an interface from sending receiving IS IS packets After b...

Page 164: ...nstance vpn instance name N A 3 Specify the maximum LSP age timer lsp max age seconds The default setting is 1200 seconds 2 Specify the LSP refresh interval and generation interval Each router needs to refresh its LSPs at a configurable interval and send them to other routers to prevent valid routes from aging out A smaller refresh interval speeds up network convergence but consumes more bandwidth...

Page 165: ...at can be sent at a time isis timer lsp time count count By default the minimum interval is 33 milliseconds and the maximum LSP number that can be sent at a time is 5 4 Specify the LSP retransmission interval on a P2P link isis timer retransmit seconds By default the LSP retransmission interval on a P2P link is 5 seconds Specifying LSP lengths IS IS messages cannot be fragmented at the IP layer be...

Page 166: ... less than 512 Otherwise LSP fragment extension does not take effect To enable LSP fragment extension Step Command Remarks 1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Enable LSP fragment extension lsp fragments extend level 1 level 1 2 level 2 By default this feature is disabled 4 Configure a virtual system ID virtual system virtual s...

Page 167: ...sh group and is not blocked The mesh group feature takes effect only on P2P interfaces Controlling SPF calculation interval Based on the LSDB an IS IS router uses the SPF algorithm to calculate the shortest path tree with itself being the root and uses the shortest path tree to determine the next hop to a destination network By adjusting the SPF calculation interval you can prevent bandwidth and r...

Page 168: ...Enter IS IS IPv4 unicast address family view a isis process id vpn instance vpn instance name b cost style wide wide compatible c address family ipv4 unicast N A 3 Assign convergence priorities to specific IS IS routes Method 1 prefix priority critical high medium prefix list prefix list name tag tag value Method 2 prefix priority route policy route policy name By default IS IS routes except IS IS...

Page 169: ... IS uses the ATT bit to calculate the default route Setting the ATT bit of Level 1 LSPs Step Command Remarks 1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Set the ATT bit of Level 1 LSPs set att always never By default the ATT bit is not set for Level 1 LSPs Configuring the tag value for an interface Perform this task when the link cost...

Page 170: ...o host name mapping is configured for a remote IS A system ID can correspond to only one host name Configuring dynamic system ID to host name mapping Static system ID to host name mapping requires you to manually configure a mapping for each router in the network When a new router is added to the network or a mapping must be modified you must configure all routers manually When you use dynamic sys...

Page 171: ...arks 1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Enable the logging of neighbor state changes log peer change By default the logging of neighbor state changes is enabled Enabling IS IS ISPF When the network topology changes Incremental Shortest Path First ISPF computes only the affected part of the SPT instead of the entire SPT To ena...

Page 172: ...ment Step Command Remarks 1 Enter system view system view N A 2 Bind MIB to an IS IS process isis mib binding process id By default MIB is bound to the IS IS process with the smallest process ID 3 Enable IS IS notification sending snmp agent trap enable isis adjacency state change area mismatch authentication authentication type buffsize mismatch id length mismatch lsdboverload state change lsp co...

Page 173: ...IC isis primary path detect bfd ctrl By default BFD control packet mode is disabled for IS IS PIC To configure BFD echo packet mode for IS IS PIC Step Command Remarks 1 Enter system view system view N A 2 Configure the source IP address of BFD echo packets bfd echo source ip ip address By default the source IP address of BFD echo packets is not configured The source IP address cannot be on the sam...

Page 174: ...ac sha 1 hmac sha 224 hmac sha 256 hmac sha 384 hmac sha 512 nonstandard md5 simple cipher plain string keychain keychain name level 1 level 2 ip osi By default no authentication is configured 4 Optional Configure the interface not to check the authentication information in the received hello packets isis authentication send only level 1 level 2 When the authentication mode and key are configured ...

Page 175: ...igure IS IS not to check the authentication information in the received packets To configure routing domain authentication Step Command Remarks 1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Specify the routing domain authentication mode and key domain authentication mode gca key id hmac sha 1 hmac sha 224 hmac sha 256 hmac sha 384 hmac ...

Page 176: ...IS and enter IS IS view isis process id vpn instance vpn instance name N A 3 Enable IS IS GR graceful restart By default the GR capability for IS IS is disabled 4 Optional Suppress the SA bit during restart graceful restart suppress sa By default the SA bit is not suppressed By enabling the GR restarter to suppress the Suppress Advertisement SA bit in the hello PDUs the neighbors will still advert...

Page 177: ...D see High Availability Configuration Guide To configure BFD for IS IS Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Enable IS IS on an interface isis enable process id N A 4 Enable BFD on an IS IS interface isis bfd enable By default an IS IS interface is not enabled with BFD Configuring IS IS FRR A link or router f...

Page 178: ...view system view N A 2 Enter interface view interface interface type interface number N A 3 Optional Disable LFA calculation on the interface isis fast reroute lfa backup exclude By default the interface participates in LFA calculation and can be elected as a backup interface 4 Return to system view quit N A 5 Enter IS IS IPv4 unicast address family view a isis process id vpn instance vpn instance...

Page 179: ...or IS IS FRR to detect primary link failures To enable BFD control packet mode for IS IS FRR Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Enable BFD control packet mode for IS IS FRR isis primary path detect bfd ctrl By default BFD control packet mode is disabled for IS IS FRR To enable BFD echo packet mode for IS I...

Page 180: ... mode Display IS IS NSR log information display isis non stop routing event log chassis chassis number slot slot number Display the IS IS NSR status display isis non stop routing status Display IS IS packet statistics display isis packet csnp hello lsp psnp verbose interface type interface number process id Display IS IS neighbor information display isis peer statistics verbose process id Display ...

Page 181: ...e information of an IS IS neighbor reset isis peer system id process id Clear OSI connection statistics reset osi statistics IS IS configuration examples Basic IS IS configuration example Network requirements As shown in Figure 43 Switch A Switch B Switch C and Switch D reside in an IS IS AS Switch A and B are Level 1 switches Switch D is a Level 2 switch and Switch C is a Level 1 2 switch Switch ...

Page 182: ... vlan interface 100 SwitchC Vlan interface100 isis enable 1 SwitchC Vlan interface100 quit SwitchC interface vlan interface 200 SwitchC Vlan interface200 isis enable 1 SwitchC Vlan interface200 quit SwitchC interface vlan interface 300 SwitchC Vlan interface300 isis enable 1 SwitchC Vlan interface300 quit Configure Switch D SwitchD system view SwitchD isis 1 SwitchD isis 1 is level level 2 SwitchD...

Page 183: ...60 988 68 0 0 0 0000 0000 0002 00 00 0x00000008 0xe651 1189 68 0 0 0 0000 0000 0002 01 00 0x00000005 0xd2b3 1188 55 0 0 0 0000 0000 0003 00 00 0x00000014 0x194a 1190 111 1 0 0 0000 0000 0003 01 00 0x00000002 0xabdb 995 55 0 0 0 Self LSP Self LSP Extended ATT Attached P Partition OL Overload SwitchC display isis lsdb Database information for IS IS 1 Level 1 Link State Database LSPID Seq Num Checksu...

Page 184: ...0004 00 00 0x0000003c 0xd647 1194 84 0 0 0 0000 0000 0004 01 00 0x00000002 0xec96 1007 55 0 0 0 Self LSP Self LSP Extended ATT Attached P Partition OL Overload Display the IS IS routing information on each switch SwitchA display isis route Route information for IS IS 1 Level 1 IPv4 Forwarding Table IPv4 Destination IntCost ExtCost ExitInterface NextHop Flags 10 1 1 0 24 10 NULL Vlan100 Direct D L ...

Page 185: ...Cost ExtCost ExitInterface NextHop Flags 192 168 0 0 24 10 NULL Vlan300 Direct D L 10 1 1 0 24 20 NULL Vlan300 192 168 0 1 R 10 1 2 0 24 20 NULL Vlan300 192 168 0 1 R 172 16 0 0 16 10 NULL Vlan100 Direct D L Flags D Direct R Added to Rib L Advertised in LSPs U Up Down Bit Set The output shows that the routing table of Level 1 switches contains a default route with the next hop as the Level 1 2 swi...

Page 186: ...B isis 1 quit SwitchB interface vlan interface 100 SwitchB Vlan interface100 isis enable 1 SwitchB Vlan interface100 quit Configure Switch C SwitchC system view SwitchC isis 1 SwitchC isis 1 network entity 10 0000 0000 0003 00 SwitchC isis 1 is level level 1 SwitchC isis 1 quit SwitchC interface vlan interface 100 SwitchC Vlan interface100 isis enable 1 SwitchC Vlan interface100 quit Configure Swi...

Page 187: ...00 0004 01 State Up HoldTime 28s Type L2 L1L2 PRI 64 System Id 0000 0000 0004 Interface Vlan interface100 Circuit Id 0000 0000 0004 01 State Up HoldTime 30s Type L2 PRI 64 Display information about IS IS interfaces on Switch A SwitchA display isis interface Interface information for IS IS 1 Interface Vlan interface100 Index IPv4 State IPv6 State CircuitID MTU Type DIS 00001 Up Down 1 1497 L1 L2 No...

Page 188: ...2 PRI 64 System Id 0000 0000 0003 Interface Vlan interface100 Circuit Id 0000 0000 0001 01 State Up HoldTime 27s Type L1 PRI 64 System Id 0000 0000 0002 Interface Vlan interface100 Circuit Id 0000 0000 0001 01 State Up HoldTime 28s Type L2 L1L2 PRI 64 System Id 0000 0000 0004 Interface Vlan interface100 Circuit Id 0000 0000 0001 01 State Up HoldTime 30s Type L2 PRI 64 Display information about IS ...

Page 189: ...000 0001 Interface Vlan interface100 Circuit Id 0000 0000 0001 01 State Up HoldTime 9s Type L2 PRI 100 System Id 0000 0000 0002 Interface Vlan interface100 Circuit Id 0000 0000 0001 01 State Up HoldTime 28s Type L2 PRI 64 SwitchD display isis interface Interface information for IS IS 1 Interface Vlan interface100 Index IPv4 State IPv6 State CircuitID MTU Type DIS 00001 Up Down 1 1497 L1 L2 No No I...

Page 190: ...erface 200 SwitchB Vlan interface200 isis enable 1 SwitchB Vlan interface200 quit Configure Switch C SwitchC system view SwitchC isis 1 SwitchC isis 1 network entity 10 0000 0000 0003 00 SwitchC isis 1 quit SwitchC interface vlan interface 200 SwitchC Vlan interface200 isis enable 1 SwitchC Vlan interface200 quit SwitchC interface vlan interface 100 SwitchC Vlan interface100 isis enable 1 SwitchC ...

Page 191: ...play isis route Route information for IS IS 1 Level 1 IPv4 Forwarding Table IPv4 Destination IntCost ExtCost ExitInterface NextHop Flags 10 1 1 0 24 10 NULL VLAN100 Direct D L 10 1 2 0 24 20 NULL VLAN100 10 1 1 1 R 192 168 0 0 24 20 NULL VLAN100 10 1 1 1 R 0 0 0 0 0 10 NULL VLAN100 10 1 1 1 R Flags D Direct R Added to Rib L Advertised in LSPs U Up Down Bit Set SwitchC display isis route Route info...

Page 192: ...Added to Rib L Advertised in LSPs U Up Down Bit Set 3 Run RIPv2 between Switch D and Switch E and configure IS IS to redistribute RIP routes on Switch D Configure RIPv2 on Switch D SwitchD rip 1 SwitchD rip 1 network 10 0 0 0 SwitchD rip 1 version 2 SwitchD rip 1 undo summary Configure RIPv2 on Switch E SwitchE rip 1 SwitchE rip 1 network 10 0 0 0 SwitchE rip 1 version 2 SwitchE rip 1 undo summary...

Page 193: ...N300 192 168 0 2 R L 10 1 6 0 24 10 0 VLAN300 192 168 0 2 R L Flags D Direct R Added to Rib L Advertised in LSPs U Up Down Bit Set IS IS authentication configuration example Network requirements As shown in Figure 46 Switch A Switch B Switch C and Switch D reside in the same IS IS routing domain Run IS IS among them Switch A Switch B and Switch C belong to Area 10 and Switch D belongs to Area 20 C...

Page 194: ... SwitchB Vlan interface200 isis enable 1 SwitchB Vlan interface200 quit Configure Switch C SwitchC system view SwitchC isis 1 SwitchC isis 1 network entity 10 0000 0000 0003 00 SwitchC isis 1 quit SwitchC interface vlan interface 200 SwitchC Vlan interface200 isis enable 1 SwitchC Vlan interface200 quit SwitchC interface vlan interface 300 SwitchC Vlan interface300 isis enable 1 SwitchC Vlan inter...

Page 195: ...tchB Vlan interface200 quit SwitchC interface vlan interface 200 SwitchC Vlan interface200 isis authentication mode md5 plain t5Hr SwitchC Vlan interface200 quit Set the authentication mode to MD5 and set the plaintext key to hSec on VLAN interface 300 of Switch D and on VLAN interface 300 of Switch C SwitchC interface vlan interface 300 SwitchC Vlan interface300 isis authentication mode md5 plain...

Page 196: ...IS IS Details not shown 3 Enable IS IS GR on Switch A SwitchA system view SwitchA isis 1 SwitchA isis 1 graceful restart SwitchA isis 1 return Verifying the configuration Restart the IS IS process on Switch A SwitchA reset isis all 1 graceful restart Reset IS IS process Y N y Check the GR state of the IS IS process on Switch A SwitchA display isis graceful restart status Restart information for IS...

Page 197: ...ake sure Switch S Switch A and Switch B can communicate with each other at Layer 3 and dynamic route update can be implemented among them with IS IS Details not shown 3 Enable IS IS NSR on Switch S SwitchS system view SwitchS isis 1 SwitchS isis 1 non stop routing SwitchS isis 1 return Verifying the configuration Reoptimize process placement on Switch S to trigger an active standby switchover Swit...

Page 198: ...cement to view the new placement During the switchover period display IS IS neighbor information on Switch A to verify the neighborship between Switch A and Switch S SwitchA display isis peer Peer information for IS IS 1 System Id 0000 0000 0001 Interface vlan100 Circuit Id 0000 0000 0001 01 State Up HoldTime 25s Type L1 L1L2 PRI 64 System Id 0000 0000 0001 Interface vlan100 Circuit Id 0000 0000 0...

Page 199: ...lags D Direct R Added to Rib L Advertised in LSPs U Up Down Bit Set Display IS IS neighbor information on Switch B to verify the neighborship between Switch B and Switch S SwitchB display isis peer Peer information for IS IS 1 System Id 0000 0000 0001 Interface vlan200 Circuit Id 0000 0000 0001 01 State Up HoldTime 25s Type L1 L1L2 PRI 64 System Id 0000 0000 0001 Interface vlan200 Circuit Id 0000 ...

Page 200: ...ing the active standby switchover on Switch S The neighbors are unaware of the switchover BFD for IS IS configuration example Network requirements As shown in Figure 49 run IS IS on Switch A Switch B and Switch C so that can reach each other at the network layer After the link over which Switch A and Switch B communicate through the Layer 2 switch fails BFD can quickly detect the failure and notif...

Page 201: ...witchA Vlan interface11 isis enable SwitchA Vlan interface11 quit Configure Switch B SwitchB system view SwitchB isis SwitchB isis 1 network entity 10 0000 0000 0002 00 SwitchB isis 1 quit SwitchB interface loopback 0 SwitchB LoopBack0 isis enable SwitchB LoopBack0 quit SwitchB interface vlan interface 10 SwitchB Vlan interface10 isis enable SwitchB Vlan interface10 quit SwitchB interface vlan int...

Page 202: ...lan interface10 return Verifying the configuration Display the BFD session information on Switch A SwitchA display bfd session Total Session Num 1 Up Session Num 1 Init Mode Active IPv4 Session Working Under Ctrl Mode LD RD SourceAddr DestAddr State Holdtime Interface 3 1 192 168 0 102 192 168 0 100 Up 1700ms Vlan10 Display routes destined for 120 1 1 1 32 on Switch A SwitchA display ip routing ta...

Page 203: ...rID 0xffffffff Neighbor 0 0 0 0 Flags 0x1008c OrigNextHop 10 1 1 100 Label NULL RealNextHop 10 1 1 100 BkLabel NULL BkNextHop N A Tunnel ID Invalid Interface Vlan interface11 BkTunnel ID Invalid BkInterface N A FtnIndex 0x0 TrafficIndex N A Connector N A The output shows that Switch A and Switch B communicate through VLAN interface 11 IS IS FRR configuration example Network requirements As shown i...

Page 204: ...xt hop through LFA calculation Configure Switch A SwitchA system view SwitchA isis 1 SwitchA isis 1 address family ipv4 SwitchA isis 1 ipv4 fast reroute lfa SwitchA isis 1 ipv4 quit SwitchA isis 1 quit Configure Switch B SwitchB system view SwitchB isis 1 SwitchB isis 1 address family ipv4 SwitchB isis 1 ipv4 fast reroute lfa SwitchB isis 1 ipv4 quit SwitchB isis 1 quit Method 2 Enable IS IS FRR t...

Page 205: ...tion 4 4 4 4 32 Protocol IS_L1 Process ID 1 SubProtID 0x1 Age 04h20m37s Cost 10 Preference 10 IpPre N A QosLocalID N A Tag 0 State Active Adv OrigTblID 0x0 OrigVrf default vrf TableID 0x2 OrigAs 0 NibID 0x26000002 LastAs 0 AttrID 0xffffffff Neighbor 0 0 0 0 Flags 0x1008c OrigNextHop 13 13 13 2 Label NULL RealNextHop 13 13 13 2 BkLabel NULL BkNextHop 12 12 12 2 Tunnel ID Invalid Interface Vlan inte...

Page 206: ...ffff Neighbor 0 0 0 0 Flags 0x1008c OrigNextHop 13 13 13 1 Label NULL RealNextHop 13 13 13 1 BkLabel NULL BkNextHop 24 24 24 2 Tunnel ID Invalid Interface Vlan interface200 BkTunnel ID Invalid BkInterface Vlan interface101 FtnIndex 0x0 TrafficIndex N A Connector N A ...

Page 207: ...BGP peer A router running BGP is a BGP speaker A BGP speaker establishes peer relationships with other BGP speakers to exchange routing information over TCP connections BGP peers include the following types IBGP peers Reside in the same AS as the local router EBGP peers Reside in different ASs from the local router BGP message types BGP uses the following message types Open After establishing a TC...

Page 208: ...ollowing functions Avoid routing loops A BGP router does not receive routes containing the local AS number to avoid routing loops Affect route selection BGP gives priority to the route with the shortest AS_PATH length if other factors are the same As shown in Figure 51 the BGP router in AS 50 gives priority to the route passing AS 40 for sending data to the destination 8 0 0 0 In some applications...

Page 209: ... to any other AS Similar to metrics used by IGPs MED is used to determine the optimal route for traffic going into an AS When a BGP router obtains multiple routes to the same destination but with different next hops it considers the route with the smallest MED value as the optimal route As shown in Figure 53 traffic from AS 10 to AS 20 travels through Router B that is selected according to MED Fig...

Page 210: ...ues each of which is represented by a 4 byte integer A router uses the COMMUNITY attribute to determine whether to advertise the route and the advertising scope without using complex filters such as ACLs This mechanism simplifies routing policy configuration management and maintenance Well known COMMUNITY attributes involve the following INTERNET By default all routes belong to the Internet commun...

Page 211: ...optimal route in the following sequence 1 The route with the highest Preferred_value 2 The route with the highest LOCAL_PREF 3 The route generated by the network command the route redistributed by the import route command or the summary route in turn 4 The route with the shortest AS_PATH 5 The IGP EGP or INCOMPLETE route in turn 6 The route with the lowest MED value 7 The route learned from EBGP c...

Page 212: ...GP load balancing based on route recursion is always enabled in the system BGP load balancing through route selection IGP routing protocols such as RIP and OSPF can use route metrics as criteria to load balance between routes that have the same metric BGP cannot load balance between routes by route metrics as an IGP protocol does because BGP does not have a route computation algorithm BGP uses the...

Page 213: ...ases BGP runs in complex networks where route changes are more frequent To solve the problem caused by route flapping you can use BGP route dampening to suppress unstable routes BGP route dampening uses a penalty value to judge the stability of a route The bigger the value the less stable the route Each time a route state changes from reachable to unreachable or a reachable route s attribute chang...

Page 214: ...P peers exist large amounts of network and CPU resources are consumed to maintain sessions Using route reflectors can solve this issue In an AS a router acts as a route reflector and other routers act as clients connecting to the route reflector The route reflector forwards routing information received from a client to other clients In this way all clients can receive routing information from one ...

Page 215: ...ou can use commands to disable route reflection instead of modifying network configuration or changing network topology After route reflection is disabled between clients routes can still be reflected between a client and a non client Confederation Confederation is another method to manage growing IBGP connections in an AS It splits an AS into multiple sub ASs In each sub AS IBGP peers are fully m...

Page 216: ...apply to inter AS Option C for MPLS L3VPN Labeled IPv6 unicast routes apply to 6PE and inter AS Option C for MPLS L3VPN For more information about inter AS Option C see MPLS Configuration Guide L2VPN address family L2VPN information includes label block information and remote peer information For more information about L2VPN and VPLS see MPLS Configuration Guide EVPN address family MP BGP advertis...

Page 217: ...erent BGP instances can have the same AS number but cannot have the same name BGP configuration views BGP uses different views to manage routing information for different BGP instances address families and VPN instances Most BGP commands are available in all BGP views BGP supports multiple VPN instances by establishing a separate routing table for each VPN instance Table 16 describes different BGP...

Page 218: ...ce For more information about BGP VPNv6 address family view see MPLS Configuration Guide BGP L2VPN address family view Sysname system view Sysname bgp 100 instance abc Sysname bgp abc address family l2vpn Sysname bgp abc l2vpn Configurations in this view apply to L2VPN information and L2VPN peers of the specified BGP instance For more information about BGP L2VPN address family view see MPLS Config...

Page 219: ...information about BGP MDT address family view see IP Multicast Configuration Guide BGP LS address family view Sysname system view Sysname bgp 100 instance abc Sysname bgp abc address family link state Sysname bgp abc ls Configurations in this view apply to LS messages and peers of the specified BGP instance BGP IPv4 RT filter address family view Sysname system view Sysname bgp 100 instance abc Sys...

Page 220: ...networks for easy configuration and maintenance Perform at least one of the following tasks to generate BGP routes Injecting a local network Redistributing IGP routes N A Optional Controlling route distribution and reception Configuring BGP route summarization Advertising optimal routes in the IP routing table Advertising a default route to a peer or peer group Configuring BGP to first send update...

Page 221: ... local MPLS labels Flushing the suboptimal BGP route to the RIB Setting a DSCP value for outgoing BGP packets Disabling route recursion policy control for routes received from a peer or peer group Enabling per prefix label allocation Disabling optimal route selection for labeled routes without tunnel information N A Optional Configuring a large scale BGP network Configuring BGP community Configuri...

Page 222: ...sing optimal routes in the IP routing table Advertising a default route to a peer or peer group Configuring BGP to first send updates of the default route Limiting routes received from a peer or peer group Configuring BGP route filtering policies Setting the BGP route sending rate Configuring BGP route update delay Configuring a startup policy for BGP route updates Configuring BGP route dampening ...

Page 223: ...bels Flushing the suboptimal BGP route to the RIB Setting a DSCP value for outgoing BGP packets Disabling route recursion policy control for routes received from a peer or peer group Enabling per prefix label allocation Disabling optimal route selection for labeled routes without tunnel information N A Optional Configuring a large scale BGP network Configuring BGP community Configuring BGP route r...

Page 224: ...rface IP address is available BGP uses the highest physical interface IP address as the route ID regardless of the interface status 3 Enable BGP and enter BGP instance view bgp as number instance instance name By default BGP is disabled and no BGP instances exist 4 Optional Configure an SNMP context for the BGP instance snmp context name context name By default no SNMP context is configured for a ...

Page 225: ... family exists 6 Enable the router to exchange IPv4 unicast routing information with the specified peer peer ipv4 address enable By default the router cannot exchange IPv4 unicast routing information with the peer Configuring a BGP peer IPv6 unicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN instance view Enter BGP instance view bgp...

Page 226: ...on used for RPF check with the peer Configuring a BGP peer IPv6 multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view bgp as number instance instance name N A 3 Create an IPv6 BGP peer and specify its AS number peer ipv6 address as number as number By default no IPv6 BGP peers exist 4 Optional Configure a description for the peer peer ipv6 addr...

Page 227: ...rs 5 Create the BGP IPv4 unicast address family or BGP VPN IPv4 unicast address family and enter its view address family ipv4 unicast By default no BGP IPv4 unicast address family or BGP VPN IPv4 unicast address family exists 6 Enable BGP to exchange IPv4 unicast routing information with dynamic BGP peers in the specified network peer ipv4 address mask length enable By default BGP cannot exchange ...

Page 228: ...lt no description is configured for dynamic BGP peers 5 Create the BGP IPv4 multicast address family and enter its view address family ipv4 multicast By default no BGP IPv4 multicast address family exists 6 Enable BGP to exchange IPv4 unicast routing information used for RPF check with dynamic BGP peers in the specified network peer ipv4 address mask length enable By default BGP cannot exchange IP...

Page 229: ...IPv4 unicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN instance view Enter BGP instance view bgp as number instance instance name Enter BGP VPN instance view a bgp as number instance instance name b ip vpn instance vpn instance name N A 3 Create an IBGP peer group group group name internal By default no IBGP peer groups exist 4 Add...

Page 230: ...ly or BGP VPN IPv6 unicast address family and enter its view address family ipv6 unicast By default no BGP IPv6 unicast address family or BGP VPN IPv6 unicast address family exists 7 Enable the router to exchange IPv6 unicast routing information with peers in the specified peer group peer group name enable By default the router cannot exchange IPv6 unicast routing information with the peers To con...

Page 231: ...view address family ipv6 multicast By default no BGP IPv6 multicast address family exists 7 Enable the router to exchange IPv6 unicast routing information used for RPF check with peers in the specified peer group peer group name enable By default the router cannot exchange IPv6 unicast routing information used for RPF check with the peers in the peer group Configuring an EBGP peer group If peers i...

Page 232: ...re a description for the peer group peer group name description text By default no description is configured for the peer group 7 Create the BGP IPv4 unicast address family or BGP VPN IPv4 unicast address family and enter its view address family ipv4 unicast By default no BGP IPv4 unicast address family or BGP VPN IPv4 unicast address family exists 8 Enable the router to exchange IPv4 unicast rout...

Page 233: ... group name enable By default the router cannot exchange IPv6 unicast routing information with the peers To configure an EBGP peer group by using Method 1 IPv4 multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view bgp as number instance instance name N A 3 Create an EBGP peer group group group name external By default no EBGP peer groups exist ...

Page 234: ...er By default no peers exist in the peer group The as number as number option if used must specify the same AS number as the peer group name as number as number command 6 Optional Configure a description for the peer group peer group name description text By default no description is configured for the peer group 7 Create the BGP IPv6 multicast address family and enter its view address family ipv6...

Page 235: ...mily exists 8 Enable the router to exchange IPv4 unicast routing information with peers in the specified peer group peer group name enable By default the router cannot exchange IPv4 unicast routing information with the peers To configure an EBGP peer group by using Method 2 IPv6 unicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN ins...

Page 236: ...ber as number By default no IPv4 BGP peers exist 5 Add the peer into the EBGP peer group peer ipv4 address mask length group group name as number as number By default no peers exist in the peer group The as number as number option if used must specify the same AS number as the peer ipv4 address mask length as number as number command 6 Optional Configure a description for the peer group peer group...

Page 237: ...e peers in the group To configure an EBGP peer group by using Method 3 IPv4 unicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN instance view Enter BGP instance view bgp as number instance instance name Enter BGP VPN instance view a bgp as number instance instance name b ip vpn instance vpn instance name N A 3 Create an EBGP peer gro...

Page 238: ... exchange IPv6 unicast routing information with peers in the specified peer group peer group name enable By default the router cannot exchange IPv6 unicast routing information with the peers To configure an EBGP peer group by using Method 3 IPv4 multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view bgp as number instance instance name N A 3 Cre...

Page 239: ... peer group You can change the source address in the following scenarios If the peer s IPv4 IPv6 address belongs to an interface indirectly connected to the local router specify that interface as the source interface for TCP connections on the peer For example interface A on the local end is directly connected to interface B on the peer If you use the peer x x x x as number as number command on th...

Page 240: ...iew or BGP VPN instance view Enter BGP instance view bgp as number instance instance name Enter BGP VPN instance view a bgp as number instance instance name b ip vpn instance vpn instance name N A 3 Specify the source IPv6 address of TCP connections to a peer or peer group peer group name ipv6 address prefix length source address source ipv6 address By default BGP uses the IPv6 address of the outp...

Page 241: ...e instance name b address family ipv4 unicast Enter BGP VPN IPv4 unicast address family view c bgp as number instance instance name d ip vpn instance vpn instance name e address family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Configure BGP to advertise a local network network ipv4 address mask length mask...

Page 242: ... a local network network ipv6 address prefix length route policy route policy name By default BGP does not advertise local networks Redistributing IGP routes Perform this task to configure route redistribution from an IGP to BGP By default BGP does not redistribute default IGP routes You can use the default route imported command to redistribute default IGP routes into the BGP routing table Only a...

Page 243: ...nicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Enable route redistribution from the specified IGP into BGP import route protocol process id all processes allow direct med med value route policy route policy name By default BGP does not redistribute IGP routes 4 Optional Enable default route redistribution into BGP de...

Page 244: ...how to control route distribution and reception Configuring BGP route summarization Route summarization can reduce the number of redistributed routes and the routing table size IPv4 BGP supports automatic route summarization and manual route summarization Manual summarization takes precedence over automatic summarization IPv6 BGP supports only manual route summarization The output interface of a B...

Page 245: ...s family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Configure automatic route summarization summary automatic By default automatic route summarization is not configured Configuring manual route summarization By configuring manual route summarization you can do the following Summarize both redistributed rout...

Page 246: ...e vpn instance name e address family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Create a summary route in the BGP routing table aggregate ipv4 address mask length mask as set attribute policy route policy name detail suppressed origin policy route policy name suppress policy route policy name By default no ...

Page 247: ...ipv6 address prefix length as set attribute policy route policy name detail suppressed origin policy route policy name suppress policy route policy name By default no summary routes are configured Advertising optimal routes in the IP routing table By default BGP advertises optimal routes in the BGP routing table which may not be optimal in the IP routing table This task allows you to advertise BGP...

Page 248: ...se optimal routes in the IPv6 routing table advertise rib active By default BGP advertises optimal routes in the BGP routing table 4 Enter BGP IPv6 unicast address family view or BGP VPN IPv6 unicast address family view Enter BGP IPv6 unicast address family view address family ipv6 unicast Enter BGP VPN IPv6 unicast address family view a ip vpn instance vpn instance name b address family ipv6 unic...

Page 249: ... instance name d ip vpn instance vpn instance name e address family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Advertise a default route to a peer or peer group peer group name ipv4 address mask length default route advertise route policy route policy name By default no default route is advertised To advert...

Page 250: ...P to first send updates of the default route Typically a BGP router does not first send update messages of the default route to its peers If the peer relationship is down the default route cannot be withdrawn first Traffic interruption might occur Perform this task to configure BGP to first send the update message of the default route This can reduce the traffic interruption time when the peer rel...

Page 251: ... Tears down the BGP session to the peer or peer group and does not attempt to re establish the session Continues to receive routes from the peer or peer group and generates a log message Retains the session to the peer or peer group but it discards excess routes and generates a log message Tears down the BGP session to the peer or peer group and after a specific period of time re establishes a BGP...

Page 252: ...ddress family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Specify the maximum number of routes that a router can receive from a peer or peer group peer group name ipv4 address mask length route limit prefix number alert only discard reconnect reconnect time percentage value By default the number of routes th...

Page 253: ...he number of routes that a router can receive from a peer or peer group is not limited Configuring BGP route filtering policies Configuration prerequisites Before you configure BGP routing filtering policies configure the following filters used for route filtering as needed ACL see ACL and QoS Configuration Guide Prefix list see Configuring routing policies Routing policy see Configuring routing p...

Page 254: ...s family view BGP VPN IPv4 unicast address family view or BGP IPv4 multicast address family view Enter BGP IPv4 unicast address family view a bgp as number instance instance name b address family ipv4 unicast Enter BGP VPN IPv4 unicast address family view c bgp as number instance instance name d ip vpn instance vpn instance name e address family ipv4 unicast Enter BGP IPv4 multicast address family...

Page 255: ... advertised to a peer or peer group peer group name ipv4 address mask length filter policy ipv4 acl number export Reference an AS path list to filter BGP routes advertised to a peer or peer group peer group name ipv4 address mask length as path acl as path acl number export Reference an IPv4 prefix list to filter BGP routes advertised to a peer or peer group peer group name ipv4 address mask lengt...

Page 256: ... unicast address family view a bgp as number instance instance name b address family ipv6 unicast Enter BGP VPN IPv6 unicast address family view c bgp as number instance instance name d ip vpn instance vpn instance name e address family ipv6 unicast Enter BGP IPv6 multicast address family view f bgp as number instance instance name g address family ipv6 multicast N A ...

Page 257: ...xport Reference an IPv6 prefix list to filter BGP routes advertised to a peer or peer group peer group name ipv6 address prefix length prefix list ipv6 prefix name export Use at least one method By default no BGP distribution filtering policy is configured Configuring BGP route reception filtering policies You can use the following methods to configure BGP route reception filtering policies Use an...

Page 258: ...cy ipv4 acl number prefix list prefix list name import Reference a routing policy to filter BGP routes received from a peer or peer group peer group name ipv4 address mask length route policy route policy name import Reference an ACL to filter BGP routes received from a peer or peer group peer group name ipv4 address mask length filter policy ipv4 acl number import Reference an AS path list to fil...

Page 259: ...rom a peer or peer group peer group name ipv6 address prefix length route policy route policy name import Reference an ACL to filter BGP routes received from a peer or peer group peer group name ipv6 address prefix length filter policy ipv6 acl number import Reference an AS path list to filter BGP routes received from a peer or peer group peer group name ipv6 address prefix length as path acl as p...

Page 260: ...e view bgp as number instance instance name N A 3 Configure BGP to delay sending route updates on reboot bgp update delay on startup seconds By default BGP immediately sends route updates on reboot 4 Optional Configure BGP to immediately send route updates for routes that match a prefix list bgp update delay on startup prefix list prefix list name By default no prefix list is specified to filter r...

Page 261: ...ot take effect 4 Specify a MED attribute bgp policy on startup med med value By default the MED attribute is 4294967295 Configuring BGP route dampening Route dampening enables BGP to not select unstable routes as optimal routes This feature applies to EBGP routes but not to IBGP routes If an EBGP peer goes down after you configure this feature routes coming from the peer are not deleted and they a...

Page 262: ...efault BGP route dampening is not configured To configure BGP route dampening IPv6 unicast multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP IPv6 unicast address family view BGP VPN IPv6 unicast address family view or BGP IPv6 multicast address family view Enter BGP IPv6 unicast address family view a bgp as number instance instance name b address family ...

Page 263: ...s family view BGP VPN IPv4 unicast address family view or BGP IPv4 multicast address family view Enter BGP IPv4 unicast address family view a bgp as number instance instance name b address family ipv4 unicast Enter BGP VPN IPv4 unicast address family view c bgp as number instance instance name d ip vpn instance vpn instance name e address family ipv4 unicast Enter BGP IPv4 multicast address family...

Page 264: ...ocols each have a default preference If they find multiple routes destined for the same network the route found by the routing protocol with the highest preference is selected as the optimal route You can use the preference command to modify preferences for EBGP IBGP and local BGP routes or use a routing policy to set a preference for matching routes For routes not matching the routing policy the ...

Page 265: ...P IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Configure preferences for EBGP IBGP and local BGP routes preference external preference internal preference local preference route policy route policy name The default preferences for EBGP IBGP and local BGP routes are 255 255 and 130 4 Configure an EBGP route as a shortcut route netwo...

Page 266: ...l preference local preference route policy route policy name The default preferences for EBGP IBGP and local BGP routes are 255 255 and 130 4 Configure an EBGP route as a shortcut route network ipv6 address prefix length short cut By default an EBGP route has a preference of 255 Configuring the default local preference The local preference is used to determine the optimal route for traffic leaving...

Page 267: ...st address family view c bgp as number instance instance name d ip vpn instance vpn instance name e address family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Configure the default local preference default local preference value The default local preference is 100 To specify the default local preference IPv6...

Page 268: ... view f bgp as number instance instance name g address family ipv6 multicast N A 3 Configure the default local preference default local preference value The default local preference is 100 Configuring the MED attribute BGP uses MED to determine the optimal route for traffic going into an AS When a BGP router obtains multiple routes with the same destination but with different next hops it consider...

Page 269: ... VPN IPv4 unicast address family view c bgp as number instance instance name d ip vpn instance vpn instance name e address family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Configure the default MED value default med med value The default MED value is 0 To configure the default MED value IPv6 unicast multic...

Page 270: ...ue default med med value The default MED value is 0 Enabling MED comparison for routes from different ASs This task enables BGP to compare the MEDs of routes from different ASs To enable MED comparison for routes from different ASs Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN instance view Enter BGP instance view bgp as number instance instance name...

Page 271: ...outes The route from Router C has a smaller IGP metric than the route from Router B so the route from Router C becomes optimal The following output shows the BGP routing table on Router D Network NextHop MED LocPrf PrefVal Path Ogn e 10 0 0 0 1 1 1 1 60 0 200 400e e 10 0 0 0 2 2 2 2 50 0 300 400e e 3 3 3 3 50 0 200 400e However Router C and Router A reside in the same AS and Router C has a greater...

Page 272: ...eration peers The AS_PATH attributes of these routes are 65006 65009 65007 65009 and 65008 65009 and the MED values of them are 2 3 and 1 Because the third route s AS_PATH attribute contains AS number 65008 that does not belong to the confederation BGP does not compare it with other routes As a result the first route becomes the optimal route To enable MED comparison for routes from confederation ...

Page 273: ...lationship They are on the same broadcast network 1 1 1 0 24 When Router B sends EBGP routes to Router A it does not set itself as the next hop by default However you can configure Router B to set it 1 1 1 2 24 as the next hop for routes sent to Router A by using the peer next hop local command as needed Figure 64 NEXT_HOP attribute configuration IMPORTANT If you have configured BGP load balancing...

Page 274: ...ss family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Specify the router as the next hop for routes sent to a peer or peer group peer group name ipv4 address mask length next hop local By default the router sets itself as the next hop for routes sent to an EBGP peer or peer group However it does not set itse...

Page 275: ...fault the router sets itself as the next hop for routes sent to an EBGP peer or peer group However it does not set itself as the next hop for routes sent to an IBGP peer or peer group Configuring the AS_PATH attribute Permitting local AS number to appear in routes from a peer or peer group In general BGP checks whether the AS_PATH attribute of a route from a peer contains the local AS number If ye...

Page 276: ...ess family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Permit the local AS number to appear in routes from a peer or peer group and set the appearance times peer group name ipv4 address mask length allow as loop number By default the local AS number is not allowed in routes from a peer or peer group To permi...

Page 277: ...er group Ignoring the AS_PATH attribute during optimal route selection Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN instance view Enter BGP instance view bgp as number instance instance name Enter BGP VPN instance view a bgp as number instance instance name b ip vpn instance vpn instance name N A 3 Configure BGP to ignore the AS_PATH attribute durin...

Page 278: ...ce instance name Enter BGP VPN instance view a bgp as number instance instance name b ip vpn instance vpn instance name N A 3 Advertise a fake AS number to a peer or peer group peer group name ipv6 address prefix length fake as as number By default no fake AS number is advertised to a peer or peer group This command applies only to EBGP peers or EBGP peer groups Configuring AS number substitution ...

Page 279: ... vpn instance vpn instance name N A 3 Configure AS number substitution for a peer or peer group peer group name ipv4 address mask length substitute as By default AS number substitution is not configured To configure AS number substitution for a peer or peer group IPv6 unicast multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN inst...

Page 280: ... name b address family ipv4 unicast Enter BGP VPN IPv4 unicast address family view c bgp as number instance instance name d ip vpn instance vpn instance name e address family ipv4 unicast Enter BGP IPv4 multicast address family view f bgp as number instance instance name g address family ipv4 multicast N A 3 Configure BGP to remove private AS numbers from the AS_PATH attribute of updates sent to a...

Page 281: ...ix length public as only By default BGP updates sent to an EBGP peer or peer group can carry both public and private AS numbers This command is applicable only to EBGP peers or peer groups Ignoring the first AS number of EBGP route updates By default BGP checks the first AS number of a received EBGP route update If the first AS number is neither the AS number of the BGP peer nor a private AS numbe...

Page 282: ...P peer or peer group In addition before advertising route updates to the peer or peer group BGP checks the SoO attribute of the route update against the configured SoO attribute If they are the same BGP does not advertise the route updates to the BGP peer or peer group To configure the SoO attribute IPv4 unicast multicast address family Step Command Remarks 1 Enter system view system view N A 2 En...

Page 283: ...tance name g address family ipv6 multicast N A 3 Configure the SoO attribute for a peer or peer group peer group name ipv6 address prefix length soo site of origin By default no SoO attribute is configured for a peer or peer group Tuning and optimizing BGP networks This section describes how to tune and optimize BGP networks Configuring the keepalive interval and hold time BGP sends keepalive mess...

Page 284: ...and hold time for a peer or peer group peer group name ipv4 address mask length timer keepalive keepalive hold holdtime Use at least one method By default the keepalive interval is 60 seconds and hold time is 180 seconds The timer command takes effect for new BGP sessions and does not affect existing sessions The timers configured with the timer and peer timer commands do not take effect until a s...

Page 285: ...mer To speed up session establishment to a peer or peer group set a small session retry timer If the BGP session flaps you can set a large session retry timer to reduce the impact and speed up route convergence Restrictions and guidelines The timer set by the peer timer connect retry command takes precedence over the timer set by the timer connect retry command Procedure Step Command Remarks 1 Ent...

Page 286: ...e name b ip vpn instance vpn instance name N A 3 Configure the interval for sending updates for the same route to a peer or peer group peer group name ipv4 address mask length route update interval interval By default the interval is 15 seconds for an IBGP peer and 30 seconds for an EBGP peer To configure the interval for sending the same update to a peer or peer group IPv6 unicast multicast addre...

Page 287: ...s number instance instance name b ip vpn instance vpn instance name N A 3 Enable BGP to establish an EBGP session to an indirectly connected peer or peer group and specify the maximum hop count peer group name ipv4 address mask length ebgp max hop hop count By default BGP cannot establish an EBGP session to an indirectly connected peer or peer group To enable BGP to establish an indirect EBGP sess...

Page 288: ...ng BGP ORF capabilities About BGP ORF BGP Outbound Route Filtering ORF saves the system resources by reducing the route updates that are sent between BGP peers The BGP peers negotiate the ORF capabilities through Open messages After completing the negotiation process the BGP peers can exchange ORF information local route reception filtering policy through route refresh messages Then only routes th...

Page 289: ...eive send By default BGP ORF capabilities are disabled To enable BGP ORF capabilities IPv6 unicast IPv6 multicast Step Command Remarks 1 Enter system view system view N A 2 Enter BGP IPv6 unicast address family view BGP VPN IPv6 unicast address family view or BGP IPv6 multicast address family view Enter BGP IPv6 unicast address family view a bgp as number instance instance name b address family ip...

Page 290: ... message indicates that the device supports 4 byte AS numbers If the peer device supports 2 byte AS numbers instead of 4 byte AS numbers the session cannot be established To resolve this issue enable the 4 byte AS number suppression feature The device then sends an Open message to inform the peer that it does not support 4 byte AS numbers so the BGP session can be established If the peer device su...

Page 291: ...at have the same password can establish TCP connections Integrity check ensures that BGP packets exchanged between peers are intact To enable MD5 authentication for BGP peers IPv4 unicast multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN instance view Enter BGP instance view bgp as number instance instance name Enter BGP VPN inst...

Page 292: ... used by the BGP peers have the same authentication algorithm and key string Before configuring keychain authentication make sure the specified keychain has been created For more information about keychains see Security Configuration Guide To enable keychain authentication for BGP peers IPv4 unicast multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP insta...

Page 293: ...ystem view system view N A 2 Enter BGP IPv4 unicast address family view BGP VPN IPv4 unicast address family view or BGP IPv4 multicast address family view Enter BGP IPv4 unicast address family view a bgp as number instance instance name b address family ipv4 unicast Enter BGP VPN IPv4 unicast address family view c bgp as number instance instance name d ip vpn instance vpn instance name e address f...

Page 294: ...p as number instance instance name g address family ipv6 multicast N A 3 Specify the maximum number of BGP ECMP routes for load balancing balance ebgp eibgp ibgp number By default load balancing is disabled 4 Optional Enable BGP to ignore the AS_PATH attribute when it implements load balancing balance as path neglect By default BGP does not ignore the AS_PATH attribute when it implements load bala...

Page 295: ...h a session to a peer or peer group peer group name ipv6 address prefix length ignore By default BGP can establish a session to a peer Configuring GTSM for BGP The Generalized TTL Security Mechanism GTSM protects a BGP session by comparing the TTL value in the IP header of incoming BGP packets against a valid TTL range If the TTL value is within the valid TTL range the packet is accepted If not th...

Page 296: ...group name ipv6 address prefix length ttl security hops hop count By default GTSM is disabled Configuring BGP soft reset After you modify the route selection policy for example modify the preferred value you must reset BGP sessions to apply the new policy The reset operation tears down and re establishes BGP sessions To avoid tearing down BGP sessions you can use one of the following soft reset me...

Page 297: ... instance instance name b ip vpn instance vpn instance name N A 3 Enable BGP route refresh for a peer or peer group Enable BGP route refresh for the specified peer or peer group peer group name ipv4 address mask length capability advertise route refresh Enable the BGP route refresh multi protocol extension and 4 byte AS number features for the specified peer or peer group undo peer group name ipv4...

Page 298: ...ast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP IPv4 unicast address family view BGP VPN IPv4 unicast address family view or BGP IPv4 multicast address family view Enter BGP IPv4 unicast address family view a bgp as number instance instance name b address family ipv4 unicast Enter BGP VPN IPv4 unicast address family view c bgp as number instance instance nam...

Page 299: ...ddress family view c bgp as number instance instance name d ip vpn instance vpn instance name e address family ipv6 unicast Enter BGP IPv6 multicast address family view f bgp as number instance instance name g address family ipv6 multicast N A 3 Save all route updates from the peer or peer group peer group name ipv6 address prefix length keep all routes By default the routes are not saved This com...

Page 300: ...BGP route refresh multi protocol extension and 4 byte AS number features for the specified peer or peer group undo peer group name ipv4 address mask length capability advertise conventional By default the BGP route refresh multi protocol extension and 4 byte AS number features are enabled 4 Return to user view return N A 5 Perform manual soft reset refresh bgp instance instance name ipv4 address m...

Page 301: ...er group undo peer group name ipv6 address prefix length capability advertise conventional By default the BGP route refresh multi protocol extension and 4 byte AS number features are enabled 4 Return to user view return N A 5 Perform manual soft reset refresh bgp instance instance name ipv6 address prefix length all external group group name internal export import ipv6 multicast unicast vpn instan...

Page 302: ... state N A Protecting an EBGP peer when memory usage reaches level 2 threshold Memory usage includes the following threshold levels normal level 1 level 2 and level 3 When the level 2 threshold is reached BGP periodically tears down an EBGP session to release memory resources until the memory usage falls below the level 2 threshold You can configure this feature to avoid tearing down the EBGP sess...

Page 303: ... periodically when level 2 threshold is reached Configuring an update delay for local MPLS labels BGP includes local MPLS labels in advertised VPNv4 routes VPNv6 routes labeled IPv4 unicast routes and labeled IPv6 unicast routes When a local label is changed BGP removes the old label and advertises the new label Traffic interruption occurs if BGP peers use the old label to forward packets before t...

Page 304: ...lushed to the RIB Setting a DSCP value for outgoing BGP packets The DSCP value of an IP packet specifies the priority level of the packet and affects the transmission priority of the packet To set a DSCP value for outgoing BGP packets Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view or BGP VPN instance view Enter BGP instance view bgp as number instance instance n...

Page 305: ...to allocate a label to each route prefix To enable per prefix label allocation Step Command Remarks 1 Enter system view system view N A 2 Enter BGP instance view bgp as number instance instance name N A 3 Enable per prefix label allocation label allocation mode per prefix By default BGP allocates labels on a per next hop basis Disabling optimal route selection for labeled routes without tunnel inf...

Page 306: ... routing policy to add or modify the COMMUNITY or extended community attribute for specific routes For more information about routing policy see Configuring routing policies To configure BGP community IPv4 unicast multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP IPv4 unicast address family view BGP VPN IPv4 unicast address family view or BGP IPv4 multic...

Page 307: ...4 address mask length route policy route policy name export By default no routing policy is applied To configure BGP community IPv6 unicast multicast address family Step Command Remarks 1 Enter system view system view N A 2 Enter BGP IPv6 unicast address family view BGP VPN IPv6 unicast address family view or BGP IPv6 multicast address family view Enter BGP IPv6 unicast address family view a bgp a...

Page 308: ...oup name ipv6 address prefix length route policy route policy name export By default no routing policy is applied Configuring BGP route reflection Configuring a BGP route reflector Perform this task to configure a BGP route reflector and its clients The route reflector and its clients automatically form a cluster identified by the router ID of the route reflector The route reflector forwards route...

Page 309: ...stance instance name g address family ipv4 multicast N A 3 Configure the router as a route reflector and specify a peer or peer group as its client peer group name ipv4 address mask length reflect client By default no route reflector or client is configured 4 Enable route reflection between clients reflect between clients By default route reflection between clients is enabled 5 Optional Configure ...

Page 310: ...s the cluster ID Ignoring the ORIGINATOR_ID attribute By default BGP drops incoming route updates whose ORIGINATOR_ID attribute is the same as the local router ID Some special networks require BGP to accept such route updates To meet the requirement you must configure BGP to ignore the ORIGINATOR_ID attribute To ignore the ORIGINATOR_ID attribute IPv4 unicast multicast address family Step Command ...

Page 311: ...ring a BGP confederation After you split an AS into multiple sub ASs configure a router in a sub AS as follows 1 Enable BGP and specify the AS number of the router For more information see Enabling BGP 2 Specify the confederation ID From an outsider s perspective the sub ASs of the confederation is a single AS which is identified by the confederation ID 3 If the router needs to establish EBGP conn...

Page 312: ...arding and it starts the RIB purge timer set by the graceful restart timer purge time command The GR helper marks all routes learned from the GR restarter as stale instead of deleting them It continues to use these routes for packet forwarding During the GR process packet forwarding is not interrupted 3 After the active standby switchover or BGP restart completes the GR restarter re establishes a ...

Page 313: ... a minimum of two MPUs NSR ensures nonstop services when BGP has redundant processes on multiple MPUs In contrast to GR NSR does not require a neighbor device to recover routing information BGP NSR backs up BGP state and data information from the active BGP process to the standby BGP process The standby BGP process takes over when any of the following events occurs The active BGP process restarts ...

Page 314: ...ent to the information center The output rules of the logs whether to output the logs and where to output are determined by the information center configuration For more information about information center configuration see Network Management and Monitoring Configuration Guide To enable logging for session state changes IPv4 unicast IPv4 multicast Step Command Remarks 1 Enter system view system v...

Page 315: ...GP route flapping IPv4 unicast IPv4 multicast Step Command Remarks 1 Enter system view system view N A 2 Enter BGP IPv4 unicast address family view BGP VPN IPv4 unicast address family view or BGP IPv4 multicast address family view Enter BGP IPv4 unicast address family view a bgp as number instance instance name b address family ipv4 unicast Enter BGP VPN IPv4 unicast address family view c bgp as n...

Page 316: ...with caution because BFD might detect a failure before the system performs GR which will result in GR failure If you have enabled both BFD and GR for BGP do not disable BFD during a GR process to avoid GR failure BGP maintains neighbor relationships based on the keepalive timer and hold timer in seconds It requires that the hold time must be at least three times the keepalive interval This mechani...

Page 317: ...able BFD to detect the link to the specified IPv6 BGP peer or peer group peer group name ipv6 address prefix length bfd multi hop single hop By default BFD is disabled Configuring BGP FRR When a link fails the packets on the link are discarded and a routing loop might occur until BGP completes routing convergence based on the new network topology You can enable BGP fast reroute FRR to resolve this...

Page 318: ...ce address is specified for echo packets This step is required when echo mode BFD is used to detect the connectivity to the next hop of the primary route Specify a source IP address that does not belong to any local network For more information about this command see High Availability Command Reference 3 Create a routing policy and enter routing policy view route policy route policy name permit no...

Page 319: ... A 2 Create a routing policy and enter routing policy view route policy route policy name permit node node number By default no routing policies exist This step is required when Method 2 is used to enable BGP FRR For more information about this command see Layer 3 IP Routing Command Reference 3 Set the backup next hop for FRR apply ipv6 fast reroute backup nexthop ipv6 address By default no backup...

Page 320: ...wards the IPv6 routing information to the attached customer site 6PE provides tunnels over the IPv4 backbone so the IPv4 backbone can forward packets for IPv6 networks The tunnels can be GRE tunnels MPLS LSPs or MPLS TE tunnels Upon receiving an IPv6 packet 6PE adds an inner tag corresponding to the IPv6 packet and then an outer tag corresponding to the public network tunnel to the IPv6 packet Dev...

Page 321: ...stance view bgp as number instance instance name N A 3 Enter BGP IPv6 unicast address family view address family ipv6 unicast N A 4 Advertise COMMUNITY attribute to the 6PE peer or peer group peer group name ipv4 address mask length advertise community By default the COMMUNITY attribute is not advertised 5 Advertise extended community attribute to the 6PE peer or peer group peer group name ipv4 ad...

Page 322: ...ect reconnect time percentage value By default the number of routes that a router can receive from the 6PE peer or peer group is not limited 15 Specify a preferred value for routes received from the 6PE peer or peer group peer group name ipv4 address mask length preferred value value By default the preferred value is 0 16 Configure the device as a route reflector and the 6PE peer or peer group as ...

Page 323: ...ength enable By default the device cannot exchange LS information with the peer or peer group Configuring BGP LS route reflection Perform this task to configure a BGP route reflector and its clients The route reflector and its clients automatically form a cluster identified by the router ID of the route reflector The route reflector forwards route updates among its clients To configure BGP LS rout...

Page 324: ...routing information The BMP client communicates with the BMP servers through TCP connections To configure BMP Step Command Remarks 1 Enter system view system view N A 2 Create a BMP server and enter BMP server view bmp server server number By default no BMP servers exist 3 Configure an IP address and port number for the BMP server server address ipv4 address port port number By default no IP addre...

Page 325: ...Display dampened BGP IPv4 unicast routing information display bgp instance instance name routing table dampened ipv4 unicast vpn instance vpn instance name Display BGP dampening parameter information display bgp instance instance name dampening parameter ipv4 unicast vpn instance vpn instance name Display BGP IPv4 unicast routing flap statistics display bgp instance instance name routing table fla...

Page 326: ... routes received routes ipv6 address prefix length statistics Display dampened BGP IPv6 unicast routing information display bgp instance instance name routing table dampened ipv6 unicast vpn instance vpn instance name Display BGP dampening parameter information display bgp instance instance name dampening parameter ipv6 unicast vpn instance vpn instance name Display BGP IPv6 unicast routing flap s...

Page 327: ...ertised routes received routes ipv4 address mask length mask statistics statistics Display dampened BGP IPv4 multicast routing information display bgp instance instance name routing table dampened ipv4 multicast Display BGP dampening parameter information display bgp instance instance name dampening parameter ipv4 multicast Display BGP IPv4 multicast routing flap statistics display bgp instance in...

Page 328: ...th acl number Display information about routes advertised by the network command and shortcut routes configured by the network short cut command display bgp instance instance name network ipv6 multicast Display BGP path attribute information display bgp instance instance name paths as regular expression Display BGP IPv6 multicast address family update group information display bgp instance instanc...

Page 329: ...er ipv4 address mask length ipv6 address prefix length all external group group name internal export import link state Reset BGP sessions for IPv4 multicast address family reset bgp instance instance name as number ipv4 address mask length all external group group name internal ipv4 multicast Reset BGP sessions for IPv6 multicast address family reset bgp instance instance name as number ipv6 addre...

Page 330: ... configuration examples Basic BGP configuration example Network requirements As shown in Figure 68 all switches run BGP Run EBGP between Switch A and Switch B and run IBGP between Switch B and Switch C to allow Switch C to access network 8 1 1 0 24 connected to Switch A Figure 68 Network diagram Requirements analysis To prevent route flapping caused by port state changes this example uses loopback...

Page 331: ...iew SwitchC bgp 65009 SwitchC bgp default router id 3 3 3 3 SwitchC bgp default peer 2 2 2 2 as number 65009 SwitchC bgp default peer 2 2 2 2 connect interface loopback 0 SwitchC bgp default address family ipv4 unicast SwitchC bgp default ipv4 peer 2 2 2 2 enable SwitchC bgp default ipv4 quit SwitchC bgp default quit SwitchC ospf 1 SwitchC ospf 1 area 0 SwitchC ospf 1 area 0 0 0 0 network 3 3 3 3 ...

Page 332: ...GP local router ID 2 2 2 2 Local AS number 65009 Total number of peers 2 Peers in established state 2 Dynamically created peer Peer AS MsgRcvd MsgSent OutQ PrefRcv Up Down State 3 3 3 3 65009 4 4 0 0 00 02 49 Established 3 1 1 2 65008 2 2 0 0 00 00 05 Established The output shows that Switch B has established an IBGP peer relationship with Switch C and an EBGP peer relationship with Switch A Displ...

Page 333: ...1 0 but the next hop 3 1 1 2 is unreachable As a result the route is invalid 4 Redistribute direct routes Configure BGP to redistribute direct routes on Switch B so that Switch A can obtain the route to 9 1 1 0 24 and Switch C can obtain the route to 3 1 1 0 24 Configure Switch B SwitchB bgp 65009 SwitchB bgp default address family ipv4 unicast SwitchB bgp default ipv4 import route direct SwitchB ...

Page 334: ...00 ms 56 bytes from 8 1 1 1 icmp_seq 1 ttl 254 time 4 000 ms 56 bytes from 8 1 1 1 icmp_seq 2 ttl 254 time 4 000 ms 56 bytes from 8 1 1 1 icmp_seq 3 ttl 254 time 3 000 ms 56 bytes from 8 1 1 1 icmp_seq 4 ttl 254 time 3 000 ms Ping statistics for 8 1 1 1 5 packet s transmitted 5 packet s received 0 0 packet loss round trip min avg max std dev 3 000 4 800 10 000 2 638 ms BGP and IGP route redistribu...

Page 335: ...work 9 1 1 0 0 0 0 255 SwitchC ospf 1 area 0 0 0 0 quit SwitchC ospf 1 quit 3 Configure the EBGP connection Configure the EBGP connection and inject network 8 1 1 0 24 to the BGP routing table of Switch A so that Switch B can obtain the route to 8 1 1 0 24 Configure Switch A SwitchA system view SwitchA bgp 65008 SwitchA bgp default router id 1 1 1 1 SwitchA bgp default peer 3 1 1 1 as number 65009...

Page 336: ...ing for Network Destination Cost Type NextHop AdvRouter Area 9 1 1 0 24 1 Transit 9 1 1 2 3 3 3 3 0 0 0 0 2 2 2 2 32 1 Stub 9 1 1 1 2 2 2 2 0 0 0 0 Routing for ASEs Destination Cost Type Tag NextHop AdvRouter 8 1 1 0 24 1 Type2 1 9 1 1 1 2 2 2 2 Total Nets 3 Intra Area 2 Inter Area 0 ASE 1 NSSA 0 Verifying the configuration Use ping for verification SwitchA ping a 8 1 1 1 9 1 2 1 Ping 9 1 2 1 9 1 ...

Page 337: ... Configure static routing between Switch A and Switch B Configure OSPF between Switch B and Switch C Configure OSPF to redistribute static routes Configure route summarization on Switch C so BGP advertises a summary route instead of advertising routes to the 192 168 64 0 24 192 168 74 0 24 and 192 168 99 0 24 networks to Switch D Figure 70 Network diagram Configuration procedure 1 Configure IP add...

Page 338: ... 0 0 0 0 network 172 17 100 0 0 0 0 255 SwitchC ospf 1 area 0 0 0 0 network 10 220 2 0 0 0 0 255 SwitchC ospf 1 area 0 0 0 0 quit SwitchC ospf 1 quit Display the IP routing table on Switch C SwitchC display ip routing table protocol ospf Summary count 5 OSPF Routing table Status Active Summary count 3 Destination Mask Proto Pre Cost NextHop Interface 192 168 64 0 24 OSPF 150 1 172 17 100 1 Vlan100...

Page 339: ...24 BGP 255 1 10 220 2 16 Vlan200 BGP Routing table Status Inactive Summary count 0 The output shows that Switch D has learned routes to 192 168 64 0 24 192 168 74 0 24 and 192 168 99 0 24 through BGP Verify that Switch D can ping hosts on networks 192 168 74 0 24 192 168 99 0 24 and 192 168 64 0 18 Details not shown 5 Configure route summarization on Switch C to summarize 192 168 64 0 24 192 168 7...

Page 340: ...tween Switch B and Switch C Configure load balancing over the two EBGP links on Switch A Figure 71 Network diagram Configuration considerations 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 Switch C so that Switch B and Switch C can access the internal network connected to Switch A On Switch B Establish an EBGP conne...

Page 341: ...A bgp default ipv4 peer 3 1 1 1 enable SwitchA bgp default ipv4 peer 3 1 2 1 enable SwitchA bgp default ipv4 network 8 1 1 0 24 SwitchA bgp default ipv4 quit SwitchA bgp default quit Configure Switch B SwitchB system view SwitchB bgp 65009 SwitchB bgp default router id 2 2 2 2 SwitchB bgp default peer 3 1 1 2 as number 65008 SwitchB bgp default peer 3 3 3 3 as number 65009 SwitchB bgp default peer...

Page 342: ...Switch B is smaller The route with next hop 3 1 2 1 is marked with an asterisk indicating that it is a valid route but not the optimal route By using the display ip routing table command you can find only one route to 9 1 1 0 24 with next hop 3 1 1 1 and output interface VLAN interface 200 3 Configure loading balancing Because Switch A has two routes to reach AS 65009 configuring load balancing ov...

Page 343: ...r AS Figure 72 Network diagram Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Configure EBGP connections Configure Switch A SwitchA system view SwitchA bgp 10 SwitchA bgp default router id 1 1 1 1 SwitchA bgp default peer 200 1 2 2 as number 20 SwitchA bgp default address family ipv4 unicast SwitchA bgp default ipv4 peer 200 1 2 2 enable SwitchA bgp default ipv...

Page 344: ...al AS number 20 Paths 1 available 1 best BGP routing table information of 9 1 1 0 24 From 200 1 2 1 1 1 1 1 Rely nexthop 200 1 2 1 Original nexthop 200 1 2 1 OutLabel NULL AS path 10 Origin igp Attribute value pref val 0 State valid external best IP precedence N A QoS local ID N A Traffic index N A Display advertisement information of network 9 1 1 0 on Switch B SwitchB display bgp routing table i...

Page 345: ...witchA bgp default address family ipv4 unicast SwitchA bgp default ipv4 peer 200 1 2 2 route policy comm_policy export SwitchA bgp default ipv4 peer 200 1 2 2 advertise community Verifying the configuration Display the routing table on Switch B SwitchB display bgp routing table ipv4 9 1 1 0 BGP local router ID 2 2 2 2 Local AS number 20 Paths 1 available 1 best BGP routing table information of 9 1...

Page 346: ...igure 73 Network diagram Configuration procedure 1 Configure IP addresses for interfaces and configure OSPF in AS 200 Details not shown 2 Configure BGP connections Configure Switch A SwitchA system view SwitchA bgp 100 SwitchA bgp default router id 1 1 1 1 SwitchA bgp default peer 192 1 1 2 as number 200 SwitchA bgp default address family ipv4 unicast SwitchA bgp default ipv4 peer 192 1 1 2 enable...

Page 347: ... enable SwitchC bgp default ipv4 peer 194 1 1 2 enable SwitchC bgp default ipv4 quit SwitchC bgp default quit Configure Switch D SwitchD system view SwitchD bgp 200 SwitchD bgp default router id 4 4 4 4 SwitchD bgp default peer 194 1 1 1 as number 200 SwitchD bgp default address family ipv4 unicast SwitchD bgp default ipv4 peer 194 1 1 1 enable SwitchD bgp default ipv4 quit SwitchD bgp default qui...

Page 348: ...quirements As shown in Figure 74 split AS 200 into three sub ASs AS 65001 AS 65002 and AS 65003 to reduce IBGP connections Switches in AS 65001 are fully meshed Figure 74 Network diagram Table 17 Interface and IP address assignment Device Interface IP address Device Interface IP address Switch A Vlan int100 200 1 1 1 24 Switch D Vlan int200 10 1 5 1 24 Vlan int200 10 1 1 1 24 Vlan int400 10 1 3 2 ...

Page 349: ...ault ipv4 peer 10 1 1 2 next hop local SwitchA bgp default ipv4 peer 10 1 2 2 next hop local SwitchA bgp default ipv4 quit SwitchA bgp default quit Configure Switch B SwitchB system view SwitchB bgp 65002 SwitchB bgp default router id 2 2 2 2 SwitchB bgp default confederation id 200 SwitchB bgp default confederation peer as 65001 65003 SwitchB bgp default peer 10 1 1 1 as number 65001 SwitchB bgp ...

Page 350: ...ble SwitchD bgp default ipv4 peer 10 1 5 2 enable SwitchD bgp default ipv4 quit SwitchD bgp default quit Configure Switch E SwitchE system view SwitchE bgp 65001 SwitchE bgp default router id 5 5 5 5 SwitchE bgp default confederation id 200 SwitchE bgp default peer 10 1 4 1 as number 65001 SwitchE bgp default peer 10 1 5 1 as number 65001 SwitchE bgp default address family ipv4 unicast SwitchE bgp...

Page 351: ...Path Ogn i 9 1 1 0 24 10 1 1 1 0 100 0 65001 100i SwitchB display bgp routing table ipv4 9 1 1 0 BGP local router ID 2 2 2 2 Local AS number 65002 Paths 1 available 1 best BGP routing table information of 9 1 1 0 24 From 10 1 1 1 1 1 1 1 Rely nexthop 10 1 1 1 Original nexthop 10 1 1 1 OutLabel NULL AS path 65001 100 Origin igp Attribute value MED 0 localpref 100 pref val 0 pre 255 State valid exte...

Page 352: ... send route information to Switch B and Switch C through the confederation by establishing only an EBGP connection with Switch A Switch B and Switch D are in the same confederation but belong to different sub ASs They obtain external route information from Switch A and generate identical BGP route entries although they have no direct connection in between BGP path selection configuration example N...

Page 353: ... ospf SwitchB ospf area 0 SwitchB ospf 1 area 0 0 0 0 network 192 1 1 0 0 0 0 255 SwitchB ospf 1 area 0 0 0 0 network 194 1 1 0 0 0 0 255 SwitchB ospf 1 area 0 0 0 0 quit SwitchB ospf 1 quit Configure Switch C SwitchC system view SwitchC ospf SwitchC ospf area 0 SwitchC ospf 1 area 0 0 0 0 network 193 1 1 0 0 0 0 255 SwitchC ospf 1 area 0 0 0 0 network 195 1 1 0 0 0 0 255 SwitchC ospf 1 area 0 0 0...

Page 354: ...witchB bgp default ipv4 quit SwitchB bgp default quit Configure Switch C SwitchC bgp 200 SwitchC bgp default peer 193 1 1 1 as number 100 SwitchC bgp default peer 195 1 1 1 as number 200 SwitchC bgp default address family ipv4 unicast SwitchC bgp default ipv4 peer 193 1 1 1 enable SwitchC bgp default ipv4 peer 195 1 1 1 enable SwitchC bgp default ipv4 quit SwitchC bgp default quit Configure Switch...

Page 355: ...odes valid best d dampened h history s suppressed S stale i internal e external Origin i IGP e EGP incomplete Network NextHop MED LocPrf PrefVal Path Ogn i 1 0 0 0 193 1 1 1 200 0 100i i 192 1 1 1 100 0 100i Route 1 0 0 0 8 learned from Switch C is the optimal BGP GR configuration example Network requirements As shown in Figure 76 all switches run BGP EBGP runs between Switch A and Switch B IBGP r...

Page 356: ...graceful restart Inject networks 200 1 1 0 24 and 9 1 1 0 24 to the BGP routing table SwitchB bgp default address family ipv4 SwitchB bgp default ipv4 network 200 1 1 0 24 SwitchB bgp default ipv4 network 9 1 1 0 24 Enable Switch B to exchange IPv4 unicast routing information with Switch A and Switch C SwitchB bgp default ipv4 peer 200 1 1 2 enable SwitchB bgp default ipv4 peer 9 1 1 2 enable 3 Co...

Page 357: ...1 24 Switch C Vlan int101 3 0 2 2 24 Vlan int200 2 0 1 1 24 Vlan int201 2 0 2 2 24 Switch B Vlan int100 3 0 1 2 24 Switch D Vlan int200 2 0 1 2 24 Vlan int101 3 0 2 1 24 Vlan int201 2 0 2 1 24 Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Configure OSPF to ensure that Switch A and Switch C are reachable to each other Details not shown 3 Configure BGP on Switch...

Page 358: ...utgoing to peer 3 0 2 2 and apply routing policy apply_med_100 to routes outgoing to peer 2 0 2 2 SwitchA bgp 200 SwitchA bgp default address family ipv4 unicast SwitchA bgp default ipv4 peer 3 0 2 2 route policy apply_med_50 export SwitchA bgp default ipv4 peer 2 0 2 2 route policy apply_med_100 export SwitchA bgp default ipv4 quit Enable BFD for peer 3 0 2 2 SwitchA bgp default peer 3 0 2 2 bfd ...

Page 359: ...eated peer Peer AS MsgRcvd MsgSent OutQ PrefRcv Up Down State 2 0 1 1 200 4 5 0 0 00 01 55 Established 3 0 1 1 200 4 5 0 0 00 01 52 Established The output shows that Switch C has established two BGP connections with Switch A and both connections are in Established state Display route 1 1 1 0 24 on Switch C SwitchC display ip routing table 1 1 1 0 24 verbose Summary count 1 Destination 1 1 1 0 24 P...

Page 360: ... A Tag 0 State Active Adv OrigTblID 0x1 OrigVrf default vrf TableID 0x2 OrigAs 0 NibID 0x15000000 LastAs 0 AttrID 0x0 Neighbor 2 0 1 1 Flags 0x10060 OrigNextHop 2 0 1 1 Label NULL RealNextHop 2 0 2 1 BkLabel NULL BkNextHop N A Tunnel ID Invalid Interface Vlan interface201 BkTunnel ID Invalid BkInterface N A FtnIndex 0x0 TrafficIndex N A Connector N A The output shows that Switch C communicates wit...

Page 361: ...2 Configure Switch B to establish an EBGP session to Switch A and an IBGP session to Switch D SwitchB system view SwitchB bgp 200 SwitchB bgp default router id 2 2 2 2 SwitchB bgp default peer 10 1 1 1 as number 100 SwitchB bgp default peer 4 4 4 4 as number 200 SwitchB bgp default peer 4 4 4 4 connect interface loopback 0 SwitchB bgp default address family ipv4 unicast SwitchB bgp default ipv4 pe...

Page 362: ...ss family ipv4 unicast SwitchD bgp default ipv4 peer 2 2 2 2 enable SwitchD bgp default ipv4 peer 3 3 3 3 enable SwitchD bgp default ipv4 network 4 4 4 4 32 4 Configure preferred values so Link B is used to forward traffic between Switch A and Switch D Configure Switch A to set the preferred value to 100 for routes received from Switch B SwitchA bgp default ipv4 peer 10 1 1 2 preferred value 100 S...

Page 363: ...200 SwitchD bgp default primary path detect bfd echo Apply the routing policy to BGP FRR for BGP IPv4 unicast address family SwitchD bgp default address family ipv4 unicast SwitchD bgp default ipv4 fast reroute route policy frr SwitchD bgp default ipv4 quit SwitchD bgp default quit Verifying the configuration Display detailed information about the route to 4 4 4 4 32 on Switch A The output shows t...

Page 364: ... NULL RealNextHop 20 1 1 2 BkLabel NULL BkNextHop 40 1 1 3 Tunnel ID Invalid Interface Vlan interface 101 BkTunnel ID Invalid BkInterface Vlan interface 201 FtnIndex 0x0 TrafficIndex N A Connector N A Multicast BGP configuration example Network requirements As shown in Figure 79 OSPF runs within AS 100 and AS 200 to ensure intra AS connectivity MBGP runs between the two ASs to exchange IPv4 unicas...

Page 365: ...AS connectivity Details not shown 2 Enable IP multicast routing PIM SM and IGMP and configure BSR boundaries On Switch A enable multicast routing globally and enable PIM SM on interfaces SwitchA system view SwitchA multicast routing SwitchA mrib quit SwitchA interface vlan interface 100 SwitchA Vlan interface100 pim sm SwitchA Vlan interface100 quit SwitchA interface vlan interface 101 SwitchA Vla...

Page 366: ... 3 Configure Loopback 0 C BSR and C RP Configure the Loopback 0 interface and specify it as the C BSR and C RP on Switch A SwitchA interface loopback 0 SwitchA LoopBack0 ip address 1 1 1 1 32 SwitchA LoopBack0 pim sm SwitchA LoopBack0 quit SwitchA pim SwitchA pim c bsr 1 1 1 1 SwitchA pim c rp 1 1 1 1 SwitchA pim quit Configure the Loopback 0 interface and specify it as the C BSR and C RP on Switc...

Page 367: ...efault quit 5 Configure MSDP peers Configure an MSDP peer on Switch A SwitchA msdp SwitchA msdp peer 192 168 1 2 connect interface vlan interface 101 SwitchA msdp quit Configure an MSDP peer on Switch B SwitchB msdp SwitchB msdp peer 192 168 1 1 connect interface vlan interface 101 SwitchB msdp quit Verifying the configuration Verify the BGP IPv4 multicast peer information on Switch B SwitchB disp...

Page 368: ...witchA bgp 200 SwitchA bgp default router id 1 1 1 1 SwitchA bgp default peer 10 1 0 0 16 as number 200 SwitchA bgp default address family ipv4 SwitchA bgp default ipv4 peer 10 1 0 0 16 enable Configure Switch B to establish an IBGP peer relationship with Switch A SwitchB system view SwitchB bgp 200 SwitchB bgp default router id 2 2 2 2 SwitchB bgp default peer 10 1 1 1 as number 200 SwitchB bgp d...

Page 369: ...ically created peer Peer AS MsgRcvd MsgSent OutQ PrefRcv Up Down State 10 1 1 2 200 7 10 0 0 00 06 09 Established 10 1 2 2 200 7 10 0 0 00 06 09 Established 10 1 3 2 200 7 10 0 0 00 06 09 Established 3 Configure Switch A as the route reflector and configure peers in network 10 1 0 0 16 as its clients SwitchA bgp default ipv4 peer 10 1 0 0 16 reflect client 4 Configure Switch C to advertise network...

Page 370: ...ate SwitchA bgp default ls peer 192 1 1 2 enable SwitchA bgp default ls quit SwitchA bgp default quit Configure Switch B SwitchB system view SwitchB bgp 100 SwitchB bgp default peer 192 1 1 1 as number 100 SwitchB bgp default peer 193 1 1 1 as number 100 SwitchB bgp default peer 194 1 1 1 as number 100 SwitchB bgp default address family link state SwitchB bgp default ls peer 192 1 1 1 enable Switc...

Page 371: ...itchB bgp 100 SwitchB bgp default address family link state SwitchB bgp default ls peer 192 1 1 1 reflect client SwitchB bgp default ls quit SwitchB bgp default quit Verifying the configuration Verify that Switch A has learned LS information advertised by Switch C and Switch D SwitchA display bgp link state Total number of routes 4 BGP local Switch ID is 192 1 1 1 Status codes valid best d dampene...

Page 372: ...igure 82 all switches run BGP Run EBGP between Switch A and Switch B and run IBGP between Switch B and Switch C to allow Switch C to access network 50 64 connected to Switch A Figure 82 Network diagram Configuration procedure 1 Configure IP addresses for interfaces Details not shown 2 Configure IBGP Configure Switch B SwitchB system view SwitchB bgp 65009 SwitchB bgp default router id 2 2 2 2 Swit...

Page 373: ... network routes to the BGP routing table Configure Switch A SwitchA bgp default ipv6 network 10 64 SwitchA bgp default ipv6 network 50 64 SwitchA bgp default ipv6 quit SwitchA bgp default quit Configure Switch B SwitchB bgp default ipv6 network 10 64 SwitchB bgp default ipv6 network 9 64 SwitchB bgp default ipv6 quit SwitchB bgp default quit Configure Switch C SwitchC bgp default ipv6 network 9 64...

Page 374: ...Label NULL MED 0 Path Ogn 65009i Network 10 PrefixLen 64 NextHop LocPrf PrefVal 32768 OutLabel NULL MED 0 Path Ogn i e Network 10 PrefixLen 64 NextHop 10 1 LocPrf PrefVal 0 OutLabel NULL MED 0 Path Ogn 65009i Network 50 PrefixLen 64 NextHop LocPrf PrefVal 32768 OutLabel NULL MED 0 Path Ogn i The output shows that Switch A has learned routing information of AS 65009 Display IPv6 BGP routing table i...

Page 375: ...rements As shown in Figure 83 run EBGP between Switch A and Switch B run IBGP between Switch C and Switch B and between Switch C and Switch D Configure Switch C as a route reflector with clients Switch B and Switch D Figure 83 Network diagram Configuration procedure 1 Configure IPv6 addresses for interfaces and IPv4 addresses for loopback interfaces Details not shown 2 Configure IBGP and EBGP conn...

Page 376: ...hB bgp default ipv6 network 101 96 SwitchB bgp default ipv6 quit SwitchB bgp default quit Configure Switch C SwitchC system view SwitchC bgp 200 SwitchC bgp default router id 3 3 3 3 SwitchC bgp default peer 101 2 as number 200 SwitchC bgp default peer 102 2 as number 200 SwitchC bgp default address family ipv6 SwitchC bgp default ipv6 peer 101 2 enable SwitchC bgp default ipv6 peer 102 2 enable S...

Page 377: ... PrefixLen 64 NextHop 101 2 LocPrf 100 PrefVal 0 OutLabel NULL MED 0 Path Ogn 100i i Network 100 PrefixLen 96 NextHop 101 2 LocPrf 100 PrefVal 0 OutLabel NULL MED 0 Path Ogn i i Network 101 PrefixLen 96 NextHop 102 1 LocPrf 100 PrefVal 0 OutLabel NULL MED 0 Path Ogn i Network 102 PrefixLen 96 NextHop LocPrf PrefVal 32768 OutLabel NULL MED 0 Path Ogn i i Network 102 PrefixLen 96 NextHop 102 1 LocPr...

Page 378: ... lsr id 2 2 2 2 PE1 mpls ldp PE1 ldp lsp trigger all PE1 ldp quit Enable MPLS and LDP on VLAN interface 30 PE1 interface vlan interface 30 PE1 Vlan interface30 mpls enable PE1 Vlan interface30 mpls ldp enable PE1 Vlan interface30 quit Configure IBGP enable the peer s 6PE capabilities and redistribute IPv6 direct and static routes PE1 bgp 65100 PE1 bgp default router id 2 2 2 2 PE1 bgp default peer...

Page 379: ...lan interface30 mpls ldp enable PE2 Vlan interface30 quit Configure IBGP enable the peer s 6PE capabilities and redistribute IPv6 direct and static routes PE2 bgp 65100 PE2 bgp default router id 3 3 3 3 PE2 bgp default peer 2 2 2 2 as number 65100 PE2 bgp default peer 2 2 2 2 connect interface loopback 0 PE2 bgp default address family ipv6 PE2 bgp default ipv6 import route direct PE2 bgp default i...

Page 380: ...id best d dampened h history s suppressed S stale i internal e external Origin i IGP e EGP incomplete Network 1 1 PrefixLen 128 NextHop 10 1 LocPrf PrefVal 32768 OutLabel NULL MED 0 Path Ogn i Network 4 4 PrefixLen 128 NextHop FFFF 3 3 3 3 LocPrf 100 PrefVal 0 OutLabel 1279 MED 0 Path Ogn Network 10 PrefixLen 64 NextHop LocPrf PrefVal 32768 OutLabel NULL MED 0 Path Ogn Network 10 2 PrefixLen 128 N...

Page 381: ...64 Switch C Vlan int101 3001 3 64 Vlan int200 2000 1 64 Vlan int201 2001 3 64 Switch B Vlan int100 3000 2 64 Switch D Vlan int200 2000 2 64 Vlan int101 3001 2 64 Vlan int201 2001 2 64 Configuration procedure 1 Configure IPv6 addresses for interfaces Details not shown 2 Configure OSPFv3 so that Switch A and Switch C can reach each other Details not shown 3 Configure IPv6 BGP on Switch A Establish t...

Page 382: ... apply routing policy apply_med_100 to routes outgoing to peer 2001 3 SwitchA bgp 200 SwitchA bgp default address family ipv6 unicast SwitchA bgp default ipv6 peer 3001 3 route policy apply_med_50 export SwitchA bgp default ipv6 peer 2001 3 route policy apply_med_100 export SwitchA bgp default ipv6 quit Enable BFD for peer 3001 3 SwitchA bgp default peer 3001 3 bfd SwitchA bgp default quit 4 Confi...

Page 383: ...ically created peer Peer AS MsgRcvd MsgSent OutQ PrefRcv Up Down State 2000 1 200 8 8 0 0 00 04 45 Established 3000 1 200 5 4 0 0 00 01 53 Established The output shows that Switch C has established two BGP connections with Switch A and both connections are in Established state Display route 1200 0 64 on Switch C SwitchC display ipv6 routing table 1200 0 64 verbose Summary count 1 Destination 1200 ...

Page 384: ...bel NULL RealNextHop FE80 20C 29FF FE40 715 BkLabel NULL BkNextHop N A Tunnel ID Invalid Interface Vlan interface201 BkTunnel ID Invalid BkInterface N A The output shows that Switch C communicates with network 1200 0 64 through the path Switch C Switch D Switch A IPv6 BGP FRR configuration example Network requirements As shown in Figure 86 configure BGP FRR so that when Link B fails BGP uses Link ...

Page 385: ...tem view SwitchB bgp 200 SwitchB router id 2 2 2 2 SwitchB bgp default peer 3001 1 as number 100 SwitchB bgp default peer 3002 2 as number 200 SwitchB bgp default address family ipv6 unicast SwitchB bgp default ipv6 peer 3001 1 enable SwitchB bgp default ipv6 peer 3002 2 enable SwitchB bgp default ipv6 peer 3002 2 next hop local SwitchB bgp default ipv6 quit SwitchB bgp default quit Configure Swit...

Page 386: ...ned for 4 64 SwitchA system view SwitchA ipv6 prefix list abc index 10 permit 4 64 SwitchA route policy frr permit node 10 SwitchA route policy if match ipv6 address prefix list abc SwitchA route policy apply ipv6 fast reroute backup nexthop 2001 2 SwitchA route policy quit Apply the routing policy to BGP FRR for BGP IPv6 unicast address family SwitchA bgp 100 SwitchA bgp default address family ip...

Page 387: ...001 2 Tunnel ID Invalid Interface Vlan interface 100 BkTunnel ID Invalid BkInterface Vlan interface 200 FtnIndex 0x0 Display detailed information about the route to 1 64 on Switch D The output shows the backup next hop for the route SwitchD display ipv6 routing table 1 64 verbose Summary count 1 Destination 1 64 Protocol BGP4 Process ID 0 SubProtID 0x1 Age 00h03m24s Cost 0 Preference 255 IpPre N A...

Page 388: ... Vlan int102 2001 2 64 Vlan int104 3001 2 64 Vlan int104 3001 1 64 Configuration procedure 1 Configure IPv6 addresses for interfaces and configure OSPFv3 this example uses OSPFv3 process 1 in AS 200 to ensure intra AS connectivity Details not shown 2 Enable IPv6 multicast routing IPv6 PIM SM and MLD and configure BSR boundaries On Switch A enable IPv6 multicast routing globally and enable IPv6 PIM...

Page 389: ...terface200 ipv6 pim sm SwitchC Vlan interface200 mld enable SwitchC Vlan interface200 quit Configure the BSR boundary on Switch A SwitchA interface vlan interface 101 SwitchA Vlan interface101 ipv6 pim bsr boundary SwitchA Vlan interface101 quit Configure the BSR boundary on Switch B SwitchB interface vlan interface 101 SwitchB Vlan interface101 ipv6 pim bsr boundary SwitchB Vlan interface101 quit...

Page 390: ...st peer relationships between Switch A and Switch B and redistribute routes On Switch A enable BGP to exchange IPv6 unicast routes with Switch B and redistribute direct routes into BGP SwitchA bgp default address family ipv6 unicast SwitchA bgp default ipv6 peer 1001 2 enable SwitchA bgp default ipv6 import route direct SwitchA bgp default ipv6 quit SwitchA bgp default quit On Switch B enable BGP ...

Page 391: ...the peer s AS number is correct b Use the display bgp peer ipv4 unicast or display bgp peer ipv6 unicast command to verify that the peer s IP IPv6 address is correct c If a loopback interface is used verify that the loopback interface is specified with the peer connect interface command d If the peer is a non direct EBGP peer verify that the peer ebgp max hop command is configured e If the peer tt...

Page 392: ...identified by a node number A smaller node number has a higher priority A node contains if match and apply clauses An if match clause specifies a match criterion and an apply clause specifies an action A node has a match mode of permit or deny A policy compares packets with nodes in priority order If a packet matches the criteria on a node it is processed by the action on the node Otherwise it goe...

Page 393: ... Deny Yes If the node is configured with apply clauses PBR executes the apply clauses on the node If the PBR based forwarding succeeds PBR does not compare the packet with the next node If the PBR based forwarding fails PBR does not compare the packet with the next node If the node is configured with no apply clauses the packet is forwarded according to the routing table The packet is forwarded ac...

Page 394: ...Command Remarks 1 Enter system view system view N A 2 Enter policy node view policy based route policy name deny permit node node number N A 3 Set an ACL match criterion if match acl acl number name acl name By default no ACL match criterion is set 4 Set a service chain match criterion if match service chain path id service path id path index service patch index By default no service chain match c...

Page 395: ... hops apply default next hop vpn instance vpn instance name ip address direct track track entry number 1 2 By default no default next hop is specified You can specify two default next hops for backup in one command line or by executing this command twice You can specify a maximum of two default next hops for a node The vpn instance vpn instance name option does not take effect 7 Set the service ch...

Page 396: ...ype interface number N A 3 Apply a policy to the interface ip policy based route policy name By default no policy is applied to the interface Displaying and maintaining PBR Execute display commands in any view and reset commands in user view Task Command Display PBR policy information display ip policy based route policy policy name Display PBR configuration display ip policy based route setup In ...

Page 397: ... 2 1 24 SwitchA Vlan interface10 quit SwitchA interface vlan interface 20 SwitchA Vlan interface20 ip address 1 1 3 1 24 SwitchA Vlan interface20 quit Configure ACL 3101 to match TCP packets SwitchA acl advanced 3101 SwitchA acl adv 3101 rule permit tcp SwitchA acl adv 3101 quit Configure Node 5 for policy aaa to forward TCP packets to next hop 1 1 2 2 SwitchA policy based route aaa permit node 5 ...

Page 398: ...peration succeeds Telnet to Switch C on Switch A The operation fails Ping Switch C from Switch A The operation succeeds Telnet uses TCP and ping uses ICMP The results show the following All TCP packets sent from Switch A are forwarded to the next hop 1 1 2 2 Other packets are forwarded through VLAN interface 20 The local PBR configuration is effective Packet type based interface PBR configuration ...

Page 399: ...CL 3101 to match TCP packets SwitchA acl advanced 3101 SwitchA acl adv 3101 rule permit tcp SwitchA acl adv 3101 quit Configure Node 5 for policy aaa to forward TCP packets to next hop 1 1 2 2 SwitchA policy based route aaa permit node 5 SwitchA pbr aaa 5 if match acl 3101 SwitchA pbr aaa 5 apply next hop 1 1 2 2 SwitchA pbr aaa 5 quit Configure interface PBR by applying policy aaa to VLAN interfa...

Page 400: ...Verifying the configuration Configure the IP address 10 110 0 20 24 for Host A and specify its gateway address as 10 110 0 10 On Host A Telnet to Switch B that is directly connected to Switch A The operation succeeds On Host A Telnet to Switch C that is directly connected to Switch A The operation fails Ping Switch C from Host A The operation succeeds Telnet uses TCP and ping uses ICMP The results...

Page 401: ...tchA vsi vpna evpn vxlan route distinguisher auto SwitchA vsi vpna evpn vxlan vpn target auto SwitchA vsi vpna evpn vxlan quit Create VXLAN 10 SwitchA vsi vpna vxlan 10 SwitchA vsi vpna vxlan 10 quit SwitchA vsi vpna quit Configure BGP to advertise EVPN routes SwitchA bgp 200 SwitchA bgp default peer 4 4 4 4 as number 200 Switch A Switch B Switch C Switch D IP transport network GE1 0 1 GE1 0 1 Vla...

Page 402: ...terface with VPN instance vpna and set the L3 VXLAN ID to 1000 SwitchA interface vsi interface 3 SwitchA Vsi interface3 ip binding vpn instance vpna SwitchA Vsi interface3 l3 vni 1000 SwitchA Vsi interface3 quit Associate VSI instance vpna with VSI interface 1 SwitchA vsi vpna SwitchA vsi vpna gateway vsi interface 1 SwitchA vsi vpna quit Configure VLAN interface 11 SwitchA interface vlan interfac...

Page 403: ...T and RD SwitchB vsi vpna SwitchB vsi vpna evpn encapsulation vxlan SwitchB vsi vpna evpn vxlan route distinguisher auto SwitchB vsi vpna evpn vxlan vpn target auto SwitchB vsi vpna evpn vxlan quit Configure VXLAN 10 SwitchB vsi vpna vxlan 10 SwitchB vsi vpna vxlan 10 quit SwitchB vsi vpna quit Configure BGP to advertise EVPN routes SwitchB bgp 200 SwitchB bgp default peer 4 4 4 4 as number 200 Sw...

Page 404: ...gabitEthernet1 0 1 quit Create node 0 and apply next hop 10 1 1 11 to packets with service chain path ID 1 SwitchB policy based route aa permit node 0 SwitchB pbr aa 0 if match service chain path id 1 SwitchB pbr aa 0 apply next hop vpn instance vpna 10 1 1 11 SwitchB pbr aa 0 quit Apply policy aa to VSI interface 3 SwitchB interface vsi interface 3 SwitchB Vsi interface3 ip policy based route aa ...

Page 405: ... ip address 10 1 1 1 255 255 255 0 SwitchC Vsi interface1 mac address 0001 0001 0001 SwitchC Vsi interface1 local proxy arp enable SwitchC Vsi interface1 distributed gateway local SwitchC Vsi interface1 quit Associate VSI instance vpna with VSI interface 1 SwitchC vsi vpna SwitchC vsi vpna gateway vsi interface 1 SwitchC vsi vpna quit Bind VSI instance vpna to GigabitEthernet 1 0 1 SwitchC interfa...

Page 406: ...5 255 255 0 SwitchD Vlan interface11 ospf 1 area 0 0 0 0 SwitchD Vlan interface11 quit Configure VLAN interface 12 SwitchD interface vlan interface 12 SwitchD Vlan interface12 ip address 12 1 1 4 255 255 255 0 SwitchD Vlan interface12 ospf 1 area 0 0 0 0 SwitchD Vlan interface12 quit Configure VLAN interface 13 SwitchD interface Vlan interface 13 SwitchD Vlan interface13 ip address 13 1 1 4 255 25...

Page 407: ...on text Method 2 ipv6 route static vpn instance s vpn instance name ipv6 address prefix length interface type interface number next hop address next hop address public vpn instance d vpn instance name next hop address permanent preference preference tag tag value description text By default no IPv6 static route is configured 3 Optional Set the default preference for IPv6 static routes ipv6 route s...

Page 408: ... tag value description text By default BFD control mode for an IPv6 static route is not configured To configure BFD control mode for an IPv6 static route indirect next hop Step Command Remarks 1 Enter system view system view N A 2 Configure BFD control mode for an IPv6 static route ipv6 route static vpn instance s vpn instance name ipv6 address prefix length vpn instance d vpn instance name next h...

Page 409: ...e description text By default BFD echo mode for an IPv6 static route is not configured The next hop IPv6 address must be a global unicast address Displaying and maintaining IPv6 static routes Execute display commands in any view Task Command Display IPv6 static route information display ipv6 routing table protocol static inactive verbose Display IPv6 static route next hop information display ipv6 ...

Page 410: ...he hosts and configure the default gateway of Host A Host B and Host C as 1 1 2 1 and 3 1 Verifying the configuration Display the IPv6 static route information on Switch A SwitchA display ipv6 routing table protocol static Summary Count 1 Static Routing table Status Active Summary Count 1 Destination Protocol Static NextHop 4 2 Preference 60 Interface Vlan interface200 Cost 0 Static Routing table ...

Page 411: ...8 ms 56 bytes from 3 1 icmp_seq 3 hlim 62 time 0 373 ms 56 bytes from 3 1 icmp_seq 4 hlim 62 time 0 316 ms Ping6 statistics for 3 1 5 packet s transmitted 5 packet s received 0 0 packet loss round trip min avg max std dev 0 316 0 416 0 700 0 143 ms BFD for IPv6 static routes configuration example direct next hop Network requirements As shown in Figure 92 Configure an IPv6 static route to subnet 12...

Page 412: ...lan interface10 bfd detect multiplier 9 SwitchA vlan interface10 quit SwitchA ipv6 route static 120 64 vlan interface 10 12 2 bfd control packet SwitchA ipv6 route static 120 64 10 100 preference 65 SwitchA quit Configure IPv6 static routes on Switch B and enable BFD control mode for the static route that traverses the Layer 2 switch SwitchB system view SwitchB interface vlan interface 10 SwitchB ...

Page 413: ...Switch A SwitchA display ipv6 routing table protocol static Summary Count 1 Static Routing table Status Active Summary Count 1 Destination 120 64 Protocol Static NextHop 12 2 Preference 60 Interface Vlan10 Cost 0 Direct Routing table Status Inactive Summary Count 0 The output shows that Switch A communicates with Switch B through VLAN interface 10 The link over VLAN interface 10 fails Display IPv6...

Page 414: ...re an IPv6 static route to subnet 121 64 on Switch B Enable BFD for both routes Configure an IPv6 static route to subnet 120 64 and an IPv6 static route to subnet 121 64 on both Switch C and Switch D When the link between Switch A and Switch B through Switch D fails BFD can detect the failure immediately and Switch A and Switch B can communicate through Switch C Figure 93 Network diagram Table 25 ...

Page 415: ...he static route that traverses Switch D SwitchB system view SwitchB bfd multi hop min transmit interval 500 SwitchB bfd multi hop min receive interval 500 SwitchB bfd multi hop detect multiplier 9 SwitchB ipv6 route static 121 64 1 9 bfd control packet bfd source 2 9 SwitchB ipv6 route static 121 64 13 2 preference 65 SwitchB ipv6 route static 1 9 128 11 1 SwitchB quit Configure IPv6 static routes...

Page 416: ... Cost 0 Static Routing table Status Inactive Summary Count 0 The output shows that Switch A communicates Switch B through VLAN interface 10 The link over VLAN interface 10 fails Display IPv6 static routes on Switch A again SwitchA display ipv6 routing table protocol static Summary Count 1 Static Routing table Status Active Summary Count 1 Destination 120 64 Protocol Static NextHop 10 100 Preferenc...

Page 417: ...refix of 0 For more information see Configuring IPv6 static routing Some dynamic routing protocols such as OSPFv3 IPv6 IS IS and RIPng can generate a default IPv6 route For example an upstream router running OSPFv3 can generate a default IPv6 route and advertise it to other routers These routers install the default IPv6 route with the next hop being the upstream router For more information see the...

Page 418: ... address prefix Next hop 128 bit IPv6 address Source address RIPng uses FE80 10 as the link local source address RIPng route entries RIPng stores route entries in a database Each route entry contains the following elements Destination address IPv6 address of a destination host or a network Next hop address IPv6 address of the next hop Egress interface Egress interface of the route Metric Cost from...

Page 419: ...imers Configuring split horizon and poison reverse Configuring zero field check on RIPng packets Setting the maximum number of ECMP routes Configuring the RIPng packet sending rate Setting the interval for sending triggered updates Optional Configuring RIPng GR Optional Configuring RIPng NSR Optional Configuring RIPng FRR Configuring basic RIPng Before you configure basic RIPng configure IPv6 addr...

Page 420: ...d or outbound additional routing metric Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Specify an inbound additional routing metric ripng metricin value The default setting is 0 4 Specify an outbound additional routing metric ripng metricout value The default setting is 1 Configuring RIPng route summarization Configur...

Page 421: ...rform this task to filter received or redistributed routes by using an IPv6 ACL or IPv6 prefix list You can also configure RIPng to filter routes redistributed from other routing protocols and routes from a specified neighbor To configure a RIPng route filtering policy Step Command Remarks 1 Enter system view system view N A 2 Enter RIPng view ripng process id vpn instance vpn instance name N A 3 ...

Page 422: ...ic for redistributed routes default cost cost value The default metric of redistributed routes is 0 Tuning and optimizing the RIPng network This section describes how to tune and optimize the performance of the RIPng network as well as applications under special network environments Before you tune and optimize the RIPng network complete the following tasks Configure IPv6 addresses for interfaces ...

Page 423: ...ace type interface number N A 3 Enable split horizon ripng split horizon By default split horizon is enabled Configuring poison reverse Poison reverse enables a route learned from an interface to be advertised through the interface However the metric of the route is set to 16 which means the route is unreachable To configure poison reverse Step Command Remarks 1 Enter system view system view N A 2...

Page 424: ... that can be sent at each interval This feature can avoid excessive RIPng packets from affecting system performance and consuming too much bandwidth To configure the RIPng packet sending rate Step Command Remarks 1 Enter system view system view N A 2 Enter RIPng view ripng process id vpn instance vpn instance name N A 3 Set the interval for sending RIPng packets and the maximum number of RIPng pac...

Page 425: ...ntal interval is 200 milliseconds Configuring RIPng GR GR ensures forwarding continuity when a routing protocol restarts or an active standby switchover occurs Two routers are required to complete a GR process The following are router roles in a GR process GR restarter Graceful restarting router It must have GR capability GR helper A neighbor of the GR restarter It helps the GR restarter to comple...

Page 426: ...on and it is typically used more often than GR IMPORTANT A device that has RIPng NSR enabled cannot act as GR restarter To enable RIPng NSR Step Command Remarks 1 Enter system view system view N A 2 Enter RIPng view ripng process id vpn instance vpn instance name N A 3 Enable RIPng NSR non stop routing By default RIPng NSR is disabled RIPng NSR enabled for a RIPng process takes effect only on that...

Page 427: ...figuration see Configuring routing policies Configuring RIPng FRR Step Command Remarks 1 Enter system view system view N A 2 Enter RIPng view ripng process id vpn instance vpn instance name N A 3 Configure RIPng FRR fast reroute route policy route policy name By default RIPng FRR is disabled Enabling BFD for RIPng FRR By default RIPng FRR does not use BFD to detect primary link failures To speed u...

Page 428: ...splay ripng process id route ipv6 address prefix length verbose peer ipv6 address statistics Restart a RIPng process reset ripng process id process Clear statistics for a RIPng process reset ripng process id statistics RIPng configuration examples Basic RIPng configuration example Network requirements As shown in Figure 95 Switch A Switch B and Switch C run RIPng Configure Switch B to filter the r...

Page 429: ... interface vlan interface 500 SwitchC Vlan interface500 ripng 1 enable SwitchC Vlan interface500 quit SwitchC interface vlan interface 600 SwitchC Vlan interface600 ripng 1 enable SwitchC Vlan interface600 quit Display the RIPng routing table on Switch B SwitchB display ripng 1 route Route Flags A Aging S Suppressed G Garbage collect D Direct O Optimal F Flush to RIB Peer FE80 20F E2FF FE23 82F5 o...

Page 430: ...B ipv6 prefix list bbb deny 2 64 SwitchB ipv6 prefix list bbb permit 0 less equal 128 SwitchB ripng 1 SwitchB ripng 1 filter policy prefix list aaa export SwitchB ripng 1 filter policy prefix list bbb import SwitchB ripng 1 quit Display RIPng routing tables on Switch B and Switch A SwitchB display ripng 1 route Route Flags A Aging S Suppressed G Garbage collect D Direct O Optimal F Flush to RIB Pe...

Page 431: ...witchA interface vlan interface 100 SwitchA Vlan interface100 ripng 100 enable SwitchA Vlan interface100 quit SwitchA interface vlan interface 200 SwitchA Vlan interface200 ripng 100 enable SwitchA Vlan interface200 quit Enable RIPng 100 and RIPng 200 on Switch B SwitchB system view SwitchB ripng 100 SwitchB ripng 100 quit SwitchB interface vlan interface 100 SwitchB Vlan interface100 ripng 100 en...

Page 432: ... NextHop 1 Preference 0 Interface InLoop0 Cost 0 Destination 2 64 Protocol Direct NextHop 2 1 Preference 0 Interface Vlan200 Cost 0 Destination 2 1 128 Protocol Direct NextHop 1 Preference 0 Interface InLoop0 Cost 0 Destination FE80 10 Protocol Direct NextHop Preference 0 Interface NULL0 Cost 0 Destination FF00 8 Protocol Direct NextHop Preference 0 Interface NULL0 Cost 0 3 Configure RIPng route r...

Page 433: ...p 1 Preference 0 Interface InLoop0 Cost 0 Destination 4 64 Protocol RIPng NextHop FE80 200 BFF FE01 1C02 Preference 100 Interface Vlan100 Cost 1 Destination FE80 10 Protocol Direct NextHop Preference 0 Interface NULL0 Cost 0 Destination FF00 8 Protocol Direct NextHop Preference 0 Interface NULL0 Cost 0 RIPng GR configuration example Network requirements As shown in Figure 97 Switch A Switch B and ...

Page 434: ...hA reset ripng 1 process Reset RIPng process Y N y Display GR information on Switch A SwitchA display ripng 1 graceful restart RIPng process 1 Graceful Restart capability Enabled Current GR state Normal Graceful Restart period 60 seconds Graceful Restart remaining time 0 seconds RIPng NSR configuration example Network requirements As shown in Figure 98 Switch S Switch A and Switch B learn IPv6 rou...

Page 435: ...utepolicy 0 0 0 0 rib 0 0 0 0 staticroute6 0 0 0 0 staticroute 0 0 0 0 eviisis 0 0 0 0 ospf 0 0 1 0 Continue y n y Re optimization of the placement start You will be notified on completion Re optimization of the placement complete Use display placement to view the new placement During the switchover period display RIPng neighbors on Switch A to verify the neighbor relationship between Switch A and...

Page 436: ...h B has a route to the loopback interface on Switch A SwitchB display ripng 1 route Route Flags A Aging S Suppressed G Garbage collect D Direct O Optimal F Flush to RIB Peer FE80 20C 29FF FECE 6277 on Vlan interface200 Destination 2002 2 128 via FE80 20C 29FF FECE 6277 cost 2 tag 0 AOF 24 secs Destination 1200 1 64 via FE80 20C 29FF FECE 6277 cost 1 tag 0 AOF 24 secs Local route Destination 4004 4...

Page 437: ...permit 20 128 SwitchA route policy frr permit node 10 SwitchA route policy frr 10 if match ipv6 address prefix list abc SwitchA route policy frr 10 apply ipv6 fast reroute backup interface vlan interface 100 backup nexthop 1 2 SwitchA route policy frr 10 quit SwitchA ripng 1 SwitchA ripng 1 fast reroute route policy frr SwitchA ripng 1 quit Configure Switch B SwitchB system view SwitchB ipv6 prefi...

Page 438: ...lid Interface Vlan interface200 BkTunnel ID Invalid BkInterface Vlan interface100 FtnIndex 0x0 TrafficIndex N A Connector N A Display the route 10 1 128 on Switch B to view the backup next hop information SwitchB display ipv6 routing table 10 1 128 verbose Summary count 1 Destination 10 1 128 Protocol RIPng Process ID 1 SubProtID 0x0 Age 00h22m34s Cost 1 Preference 100 IpPre N A QosLocalID N A Tag...

Page 439: ...o routers for data synchronization LSR Requests needed LSAs from the neighbor After exchanging the DD packets the two routers know which LSAs of the neighbor are missing from their LSDBs They then send an LSR packet to each other requesting the missing LSAs The LSA packet contains the digest of the missing LSAs LSU Transmits the requested LSAs to the neighbor LSAck Acknowledges received LSU packet...

Page 440: ...race LSA Type 11 LSA generated by a GR restarter at reboot and transmitted on the local link The GR restarter describes the cause and interval of the reboot in the Grace LSA to notify its neighbors that it performs a GR operation Protocols and standards RFC 5340 OSPF for IPv6 RFC 2328 OSPF Version 2 RFC 3101 OSPF Not So Stubby Area NSSA Option RFC 5187 OSPFv3 Graceful Restart OSPFv3 configuration ...

Page 441: ...bling OSPFv3 Before you enable OSPFv3 configure IPv6 addresses for interfaces to ensure IPv6 connectivity between neighboring nodes To enable an OSPFv3 process on a router Enable the OSPFv3 process globally Assign the OSPFv3 process a router ID Enable the OSPFv3 process on related interfaces The router ID uniquely identifies the router within an AS If a router runs multiple OSPFv3 processes you mu...

Page 442: ...ation prerequisites Before you configure OSPFv3 area parameters enable OSPFv3 Configuring a stub area All the routers attached to a stub area must be configured with the stub command The no summary keyword is only available on the ABR of the stub area If you use the stub command with the no summary keyword on an ABR the ABR advertises a default route in an Inter Area Prefix LSA into the stub area ...

Page 443: ...and takes effect only on the ABR ASBR of an NSSA or totally NSSA area Configuring an OSPFv3 virtual link You can configure a virtual link to maintain connectivity between a non backbone area and the backbone or in the backbone itself IMPORTANT Both ends of a virtual link are ABRs that must be configured with the vlink peer command Do not configure virtual links in the areas of a GR capable process...

Page 444: ... unicast p2p instance instance id By default the network type of an OSPFv3 interface is broadcast Configuring an NBMA or P2MP neighbor For NBMA and P2MP interfaces only when in unicast mode you must specify the link local IP addresses of their neighbors because these interfaces cannot find neighbors through broadcasting hello packets For NBMA interfaces you can also specify DR priorities for neigh...

Page 445: ...mmarization is not configured on an ABR Configuring route summarization on an ASBR Perform this task to enable an ASBR to summarize external routes within the specified address range into a single route An ASBR can summarize routes in the following LSAs Type 5 LSAs Type 7 LSAs in an NSSA area Type 5 LSAs translated by the ASBR also an ABR from Type 7 LSAs in an NSSA area If the ASBR ABR is not a t...

Page 446: ...nly on ABRs Setting an OSPFv3 cost for an interface You can set an OSPFv3 cost for an interface with one of the following methods Set the cost value in interface view Set a bandwidth reference value for the interface and OSPFv3 computes the cost automatically based on the bandwidth reference value by using the following formula Interface OSPFv3 cost Bandwidth reference value 100 Mbps Interface ban...

Page 447: ... OSPFv3 A router can run multiple routing protocols The system assigns a priority for each protocol When these routing protocols find the same route the route found by the protocol with the highest priority is selected To set a preference for OSPFv3 Step Command Remarks 1 Enter system view system view N A 2 Enter OSPFv3 view ospfv3 process id vpn instance vpn instance name N A 3 Set a preference f...

Page 448: ...es This command filters only routes redistributed with the import route command If the import route command is not configured executing this command does not take effect Redistributing a default route The import route command cannot redistribute a default external route Perform this task to redistribute a default route To redistribute a default route Step Command Remarks 1 Enter system view system...

Page 449: ... is 10 seconds 4 Set the dead interval ospfv3 timer dead seconds instance instance id By default the dead interval on P2P and broadcast interfaces is 40 seconds The dead interval set on neighboring interfaces cannot be too short Otherwise a neighbor is easily considered down 5 Set the poll interval ospfv3 timer poll seconds instance instance id By default the poll interval is 120 seconds 6 Set the...

Page 450: ...e name N A 3 Set the SPF calculation interval spf schedule interval maximum interval minimum interval incremental interval By default The maximum interval is 5 seconds The minimum interval is 50 milliseconds The incremental interval is 200 milliseconds Setting the LSA generation interval You can adjust the LSA generation interval to protect network resources and routers from being over consumed by...

Page 451: ... 1 Enter system view system view N A 2 Enter interface view interface interface type interface number N A 3 Ignore MTU check for DD packets ospfv3 mtu ignore instance instance id By default OSPFv3 does not ignore MTU check for DD packets Disabling interfaces from receiving and sending OSPFv3 packets After an OSPFv3 interface is set to silent direct routes of the interface can still be advertised i...

Page 452: ... logging for neighbor state changes log peer change By default this feature is enabled Configuring OSPFv3 network management This task involves the following configurations Bind an OSPFv3 process to MIB so that you can use network management software to manage the specified OSPFv3 process Enable SNMP notifications for OSPFv3 to report important events Set the SNMP notification output interval and ...

Page 453: ...ximum of seven SNMP notifications within 10 seconds Setting the LSU transmit rate Sending large numbers of LSU packets affects router performance and consumes a large amount of network bandwidth You can configure the router to send LSU packets at an interval and to limit the maximum number of LSU packets sent out of an OSPFv3 interface at each interval To set the LSU transmit rate Step Command Rem...

Page 454: ...rfaces from advertising all of their prefixes This feature helps improve network security by preventing IP routing to the suppressed networks When prefix suppression is enabled OSPFv3 does not advertise the prefixes of suppressed interfaces in Type 8 LSAs On broadcast and NBMA networks the DR does not advertise the prefixes of suppressed interfaces in Type 9 LSAs that reference Type 2 LSAs On P2P ...

Page 455: ... established The authentication mode specified for an OSPFv3 interface has a higher priority than the mode specified for an OSPFv3 area Configuring OSPFv3 area authentication Step Command Remarks 1 Enter system view system view N A 2 Enter OSPFv3 view ospfv3 process id vpn instance vpn instance name N A 3 Enter OSPFv3 area view area area id N A 4 Specify an authentication mode for the area authent...

Page 456: ...lity enter the helper mode and are called GR helpers Then the GR restarter retrieves its adjacencies and LSDB with the help of the GR helpers Configuring GR restarter You can configure the GR restarter capability on a GR restarter IMPORTANT You cannot enable OSPFv3 NSR on a device that acts as GR restarter To configure GR restarter Step Command Remarks 1 Enter system view system view N A 2 Enter O...

Page 457: ... To enable OSPFv3 NSR Step Command Remarks 1 Enter system view system view N A 2 Enter OSPFv3 view ospfv3 process id vpn instance vpn instance name N A 3 Enable OSPFv3 NSR non stop routing By default OSPFv3 NSR is disabled This command takes effect only for the current process As a best practice enable OSPFv3 NSR for each process if multiple OSPFv3 processes exist Configuring BFD for OSPFv3 Bidire...

Page 458: ...logy OSPFv3 FRR enables fast rerouting to minimize the failover time Figure 100 Network diagram for OSPFv3 FRR As shown in Figure 100 configure FRR on Router B OSPFv3 FRR automatically calculates a backup next hop or specifies a backup next hop by using a routing policy When the primary link fails OSPFv3 directs packets to the backup next hop At the same time OSPFv3 calculates the shortest path ba...

Page 459: ...he apply ipv6 fast reroute backup interface command to specify a backup next hop in the routing policy to be used For more information about the apply ipv6 fast reroute backup interface command and routing policy configuration see Configuring routing policies To configure OSPFv3 FRR to specify a backup next hop using a routing policy Step Command Remarks 1 Enter system view system view N A 2 Enter...

Page 460: ...PFv3 FRR is disabled Displaying and maintaining OSPFv3 Execute display commands in any view and reset commands in user view Task Command Display information about the routes to OSPFv3 ABR and ASBR display ospfv3 process id abr asbr Display summary route information on the OSPFv3 ABR display ospfv3 process id area area id abr summary ipv6 address prefix length verbose Display summary route informat...

Page 461: ...y OSPFv3 virtual link information display ospfv3 process id vlink Clear OSPFv3 log information reset ospfv3 process id event log lsa flush peer spf Restart an OSPFv3 process reset ospfv3 process id process graceful restart Restart OSPFv3 route redistribution reset ospfv3 process id redistribution Clear OSPFv3 statistics reset ospfv3 process id statistics OSPFv3 configuration examples OSPFv3 stub a...

Page 462: ...00 ospfv3 1 area 0 SwitchB Vlan interface100 quit SwitchB interface vlan interface 200 SwitchB Vlan interface200 ospfv3 1 area 1 SwitchB Vlan interface200 quit On Switch C enable OSPFv3 and specify the router ID as 3 3 3 3 SwitchC system view SwitchC ospfv3 SwitchC ospfv3 1 router id 3 3 3 3 SwitchC ospfv3 1 quit SwitchC interface vlan interface 100 SwitchC Vlan interface100 ospfv3 1 area 0 Switch...

Page 463: ...ime InstID Interface 4 4 4 4 1 Full BDR 00 00 40 0 Vlan400 Display OSPFv3 routing table information on Switch D SwitchD display ospfv3 routing OSPFv3 Process 1 with Router ID 4 4 4 4 I Intra area route E1 Type 1 external route N1 Type 1 NSSA route IA Inter area route E2 Type 2 external route N2 Type 2 NSSA route Selected route Destination 2001 64 Type IA Cost 2 NextHop FE80 F40D 0 93D0 1 Interface...

Page 464: ... 0 0 0 2 stub SwitchC ospfv3 1 area 0 0 0 2 default cost 10 Display OSPFv3 routing table information on Switch D SwitchD display ospfv3 routing OSPFv3 Process 1 with Router ID 4 4 4 4 I Intra area route E1 Type 1 external route N1 Type 1 NSSA route IA Inter area route E2 Type 2 external route N2 Type 2 NSSA route Selected route Destination 0 Type IA Cost 11 NextHop FE80 F40D 0 93D0 1 Interface Vla...

Page 465: ... SwitchC ospfv3 1 area 0 0 0 2 stub no summary Display OSPFv3 routing table information on Switch D SwitchD display ospfv3 routing OSPFv3 Process 1 with Router ID 4 4 4 4 I Intra area route E1 Type 1 external route N1 Type 1 NSSA route IA Inter area route E2 Type 2 external route N2 Type 2 NSSA route Selected route Destination 0 Type IA Cost 11 NextHop FE80 F40D 0 93D0 1 Interface Vlan400 AdvRoute...

Page 466: ...tchA ospfv3 SwitchA ospfv3 1 area 1 SwitchA ospfv3 1 area 0 0 0 1 nssa SwitchA ospfv3 1 area 0 0 0 1 quit SwitchA ospfv3 1 quit Configure Switch B SwitchB ospfv3 SwitchB ospfv3 1 area 1 SwitchB ospfv3 1 area 0 0 0 1 nssa SwitchB ospfv3 1 area 0 0 0 1 quit SwitchB ospfv3 1 quit Display OSPFv3 routing information on Switch A SwitchA display ospfv3 1 routing OSPFv3 Process 1 with Router ID 1 1 1 1 I ...

Page 467: ...e OSPFv3 to redistribute the static route on Switch A SwitchA ipv6 route static 1234 64 null 0 SwitchA ospfv3 1 SwitchA ospfv3 1 import route static SwitchA ospfv3 1 quit Display OSPFv3 routing information on Switch D SwitchD display ospfv3 1 routing OSPFv3 Process 1 with Router ID 4 4 4 4 I Intra area route E1 Type 1 external route N1 Type 1 NSSA route IA Inter area route E2 Type 2 external route...

Page 468: ...r Switch A the highest priority on the network so it will become the DR Configure router priority 2 for Switch C the second highest priority on the network so it will become the BDR Configure router priority 0 for Switch B so it cannot become a DR or BDR Switch D uses the default router priority 1 Figure 103 Network diagram Configuration procedure 1 Configure IPv6 addresses for interfaces Details ...

Page 469: ...100 quit On Switch D enable OSPFv3 and specify the router ID as 4 4 4 4 SwitchD system view SwitchD ospfv3 SwitchD ospfv3 1 router id 4 4 4 4 SwitchD ospfv3 1 quit SwitchD interface vlan interface 200 SwitchD Vlan interface200 ospfv3 1 area 0 SwitchD Vlan interface200 quit Display neighbor information on Switch A The switches have the same default DR priority 1 so Switch D the switch with the high...

Page 470: ...ay neighbor information on Switch A Router priorities have been updated but the DR and BDR are not changed SwitchA display ospfv3 peer OSPFv3 Process 1 with Router ID 1 1 1 1 Area 0 0 0 0 Router ID Pri State Dead Time InstID Interface 2 2 2 2 0 2 Way DROther 00 00 36 0 Vlan200 3 3 3 3 2 Full BDR 00 00 35 0 Vlan200 4 4 4 4 1 Full DR 00 00 33 0 Vlan200 Display neighbor information on Switch D Switch...

Page 471: ...SPFv3 process 1 and OSPFv3 process 2 run on Switch B Switch B communicates with Switch A and Switch C through OSPFv3 process 1 and OSPFv3 process 2 Configure OSPFv3 process 2 to redistribute direct routes and the routes from OSPFv3 process 1 on Switch B and set the default metric for redistributed routes to 3 Switch C can then learn the routes destined for 1 0 64 and 2 0 64 and Switch A cannot lea...

Page 472: ...nterface vlan interface 300 SwitchB Vlan interface300 ospfv3 2 area 2 SwitchB Vlan interface300 quit Enable OSPFv3 process 2 on Switch C SwitchC system view SwitchC ospfv3 2 SwitchC ospfv3 2 router id 4 4 4 4 SwitchC ospfv3 2 quit SwitchC interface vlan interface 300 SwitchC Vlan interface300 ospfv3 2 area 2 SwitchC Vlan interface300 quit SwitchC interface vlan interface 400 SwitchC Vlan interface...

Page 473: ...2 SwitchB ospfv3 2 default cost 3 SwitchB ospfv3 2 import route ospfv3 1 SwitchB ospfv3 2 import route direct SwitchB ospfv3 2 quit Display the routing table on Switch C SwitchC display ipv6 routing table Destinations 9 Routes 9 Destination 1 128 Protocol Direct NextHop 1 Preference 0 Interface InLoop0 Cost 0 Destination 1 64 Protocol O_ASE2 NextHop FE80 200 CFF FE01 1C03 Preference 150 Interface ...

Page 474: ...nd OSPFv3 process 2 respectively On Switch A configure IPv6 addresses 2 1 1 1 64 2 1 2 1 64 and 2 1 3 1 64 for VLAN interface 200 On Switch B configure OSPFv3 process 2 to redistribute direct routes and the routes from OSPFv3 process 1 Switch C can then learn the routes destined for 2 64 2 1 1 64 2 1 2 64 and 2 1 3 64 On Switch B configure route summarization to advertise only summary route 2 16 t...

Page 475: ...SwitchB ospfv3 2 SwitchB ospfv3 2 router id 3 3 3 3 SwitchB ospfv3 2 quit SwitchB interface vlan interface 300 SwitchB Vlan interface300 ospfv3 2 area 2 SwitchB Vlan interface300 quit Enable OSPFv3 process 2 on Switch C SwitchC system view SwitchC ospfv3 2 SwitchC ospfv3 2 router id 4 4 4 4 SwitchC ospfv3 2 quit SwitchC interface vlan interface 300 SwitchC Vlan interface300 ospfv3 2 area 2 SwitchC...

Page 476: ... Preference 150 Interface Vlan300 Cost 1 Destination 2 1 3 64 Protocol O_ASE2 NextHop FE80 200 CFF FE01 1C03 Preference 150 Interface Vlan300 Cost 1 Destination 3 64 Protocol Direct NextHop 3 2 Preference 0 Interface Vlan300 Cost 0 Destination 3 2 128 Protocol Direct NextHop 1 Preference 0 Interface InLoop0 Cost 0 Destination 4 64 Protocol Direct NextHop 4 1 Preference 0 Interface Vlan400 Cost 0 D...

Page 477: ...terface Vlan300 Cost 1 Destination 2 16 Protocol O_ASE2 NextHop FE80 200 CFF FE01 1C03 Preference 150 Interface Vlan300 Cost 1 Destination 3 64 Protocol Direct NextHop 3 2 Preference 0 Interface Vlan300 Cost 0 Destination 3 2 128 Protocol Direct NextHop 1 Preference 0 Interface InLoop0 Cost 0 Destination 4 64 Protocol Direct NextHop 4 1 Preference 0 Interface Vlan400 Cost 0 Destination 4 1 128 Pro...

Page 478: ...l restart enable SwitchA ospfv3 1 quit SwitchA interface vlan interface 100 SwitchA Vlan interface100 ospfv3 1 area 1 SwitchA Vlan interface100 quit On Switch B enable OSPFv3 and set the router ID to 2 2 2 2 By default GR helper is enabled on Switch B SwitchB system view SwitchB ospfv3 1 SwitchB ospfv3 1 router id 2 2 2 2 SwitchB ospfv3 1 quit SwitchB interface vlan interface 100 SwitchB Vlan inte...

Page 479: ...with each other at Layer 3 Details not shown 3 Configure OSPFv3 On Switch A enable OSPFv3 and set the router ID to 1 1 1 1 SwitchA system view SwitchA ospfv3 1 SwitchA ospfv3 1 router id 1 1 1 1 SwitchA ospfv3 1 quit SwitchA interface vlan interface 100 SwitchA Vlan interface100 ospfv3 1 area 1 SwitchA Vlan interface100 quit On Switch B enable OSPFv3 and set the router ID to 2 2 2 2 SwitchB system...

Page 480: ...SPFv3 on Switch A Switch B and Switch C and configure BFD over the link Switch A L2 Switch Switch B After the link Switch A L2 Switch Switch B fails BFD can quickly detect the failure and notify OSPFv3 of the failure Then Switch A and Switch B communicate through Switch C Figure 108 Network diagram Table 26 Interface and IP address assignment Device Interface IPv6 address Switch A Vlan int10 2001 ...

Page 481: ...the router ID as 3 3 3 3 SwitchC system view SwitchC ospfv3 SwitchC ospfv3 1 router id 3 3 3 3 SwitchC ospfv3 1 quit SwitchC interface vlan interface 11 SwitchC Vlan interface11 ospfv3 1 area 0 SwitchC Vlan interface11 quit SwitchC interface vlan interface 13 SwitchC Vlan interface13 ospfv3 1 area 0 SwitchC Vlan interface13 quit 3 Configure BFD Enable BFD and configure BFD parameters on Switch A S...

Page 482: ...ummary Count 1 Destination 2001 4 64 Protocol O_INTRA NextHop FE80 20F FF FE00 1200 Preference 10 Interface Vlan10 Cost 1 The output information shows that Switch A communicates with Switch B through VLAN interface 10 The link over VLAN interface 10 fails Display routes to 2001 4 0 64 on Switch A SwitchA display ipv6 routing table 2001 4 0 64 Summary Count 1 Destination 2001 4 64 Protocol O_INTRA ...

Page 483: ...by using the LFA algorithm or specify a backup next hop by using a routing policy Method 1 Enable OSPFv3 FRR to calculate the backup next hop by using the LFA algorithm Configure Switch A SwitchA system view SwitchA ospfv3 1 SwitchA ospfv3 1 fast reroute lfa SwitchA ospfv3 1 quit Configure Switch B SwitchB system view SwitchB ospfv3 1 SwitchB ospfv3 1 fast reroute lfa SwitchB ospfv3 1 quit Method ...

Page 484: ... information SwitchA display ipv6 routing table 20 1 128 verbose Summary count 1 Destination 20 1 128 Protocol O_INTRA Process ID 1 SubProtID 0x1 Age 00h03m45s Cost 6 Preference 10 IpPre N A QosLocalID N A Tag 0 State Active Adv OrigTblID 0x0 OrigVrf default vrf TableID 0xa OrigAs 0 NibID 0x23000005 LastAs 0 AttrID 0xffffffff Neighbor Flags 0x10041 OrigNextHop FE80 7685 45FF FEAD 102 Label NULL Re...

Page 485: ...gth values TLVs and a new network layer protocol identifier NLPID The TLVs are as follows IPv6 Reachability Contains routing prefix and metric information to describe network reachability and has a type value of 236 0xEC IPv6 Interface Address Same as the IP Interface Address TLV in IPv4 ISIS except that the 32 bit IPv4 address is translated to the 128 bit IPv6 address The new NLPID is an 8 bit fi...

Page 486: ...gure an IPv6 IS IS summary route summary ipv6 prefix prefix length avoid feedback generate_null0_route level 1 level 1 2 level 2 tag tag By default no IPv6 IS IS summary route is configured 6 Configure IPv6 IS IS to advertise a default route default route advertise avoid learning level 1 level 1 2 level 2 route policy route policy name tag tag By default IPv6 IS IS does not advertise Level 1 and L...

Page 487: ...mum number of ECMP routes supported by the system Configuring IPv6 IS IS link cost Configuring an IPv6 IS IS cost for an interface Step Command Remarks 1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Specify an IS IS cost style cost style narrow wide wide compatible compatible narrow compatible relax spf limit By default the IS IS cost ty...

Page 488: ... IS IS MTR is disabled 6 Enable automatic IPv6 IS IS cost calculation auto cost enable By default automatic IPv6 IS IS cost calculation is disabled 7 Optional Configure a bandwidth reference value for automatic IPv6 IS IS cost calculation bandwidth reference value The default setting is 100 Mbps Tuning and optimizing IPv6 IS IS networks Configuration prerequisites Before you tune and optimize IPv6...

Page 489: ...1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Specify an IS IS cost style cost style wide wide compatible compatible By default the IS IS cost style is narrow 4 Enter IPv6 address family view address family ipv6 unicast N A 5 Enable IPv6 IS IS MTR multi topology compatible By default IPv6 IS IS MTR is disabled 6 Set the overload bit set...

Page 490: ...By default The maximum interval is 5 seconds The minimum interval is 50 milliseconds The incremental interval is 200 milliseconds Enabling IPv6 IS IS ISPF Step Command Remarks 1 Enter system view system view N A 2 Enter IS IS view isis process id vpn instance vpn instance name N A 3 Specify an IS IS cost style cost style wide wide compatible compatible By default the IS IS cost style is narrow 4 E...

Page 491: ...iew N A 2 Enable an IS IS process and enter IS IS view isis process id vpn instance vpn instance name N A 3 Configure the NET for the IS IS process network entity net By default no NET is configured 4 Enter IPv6 address family view address family ipv6 unicast N A 5 Return to system view quit N A 6 Enter interface view interface interface type interface number N A 7 Enable IPv6 for IS IS on the int...

Page 492: ...complete the following tasks Configure IPv6 addresses for interfaces to ensure IP connectivity between neighboring nodes Enable IPv6 IS IS Make sure the backup next hop is reachable Configuration procedure Configuring IPv6 IS IS FRR to calculate a backup next hop through LFA calculation Step Command Remarks 1 Enter system view system view N A 2 Enter interface view interface interface type interfa...

Page 493: ...me N A address family ipv6 unicast 6 Enable IPv6 IS IS FRR using a routing policy fast reroute route policy route policy name By default IPv6 IS IS FRR is disabled Enabling BFD for IPv6 IS IS FRR By default IPv6 IS IS FRR does not use BFD to detect primary link failures To speed up IPv6 IS IS convergence enable BFD for IPv6 IS IS FRR to detect primary link failures To enable BFD control packet mod...

Page 494: ...he link costs Router A Router B and Router D support both IPv4 and IPv6 Router C supports only IPv4 and cannot forward IPv6 packets Enable IPv6 IS IS MTR on Router A Router B Router C and Router D to make them perform route calculation separately in IPv4 and IPv6 topologies With this configuration Router A does not forward IPv6 packets destined to Router D through Router B avoiding packet loss Con...

Page 495: ... calculation log information display isis event log spf ipv6 level 1 level 2 verbose process id IPv6 IS IS configuration examples IPv6 IS IS basic configuration example Network requirements As shown in Figure 112 Switch A Switch B Switch C and Switch D all enabled with IPv6 reside in the same AS Configure IPv6 IS IS on the switches so that they can reach each other Switch A and Switch B are Level ...

Page 496: ...lan interface200 quit Configure Switch C SwitchC system view SwitchC isis 1 SwitchC isis 1 network entity 10 0000 0000 0003 00 SwitchC isis 1 address family ipv6 SwitchC isis 1 ipv6 quit SwitchC isis 1 quit SwitchC interface vlan interface 100 SwitchC Vlan interface100 isis ipv6 enable 1 SwitchC Vlan interface100 quit SwitchC interface vlan interface 200 SwitchC Vlan interface200 isis ipv6 enable ...

Page 497: ...n 64 Flag D L Cost 10 Next Hop Direct Interface Vlan100 Destination 2001 2 PrefixLen 64 Flag R Cost 20 Next Hop FE80 200 FF FE0F 4 Interface Vlan100 Destination 2001 3 PrefixLen 64 Flag R Cost 20 Next Hop FE80 200 FF FE0F 4 Interface Vlan100 Flags D Direct R Added to Rib L Advertised in LSPs U Up Down Bit Set Display the IPv6 IS IS routing table on Switch B SwitchB display isis route ipv6 Route in...

Page 498: ...efixLen 64 Flag D L Cost 10 Next Hop Direct Interface Vlan100 Destination 2001 2 PrefixLen 64 Flag D L Cost 10 Next Hop Direct Interface Vlan200 Destination 2001 3 PrefixLen 64 Flag D L Cost 10 Next Hop Direct Interface Vlan300 Flags D Direct R Added to Rib L Advertised in LSPs U Up Down Bit Set Level 2 IPv6 Forwarding Table Destination 2001 1 PrefixLen 64 Flag D L Cost 10 Next Hop Direct Interfac...

Page 499: ...rface Vlan300 Destination 2001 3 PrefixLen 64 Flag D L Cost 10 Next Hop Direct Interface Vlan300 Destination 2001 4 1 PrefixLen 128 Flag D L Cost 0 Next Hop Direct Interface Loop1 Flags D Direct R Added to Rib L Advertised in LSPs U Up Down Bit Set BFD for IPv6 IS IS configuration example Network requirements As shown in Figure 113 Configure IPv6 IS IS on Switch A and Switch B so that they can rea...

Page 500: ...l 1 SwitchA isis 1 network entity 10 0000 0000 0001 00 SwitchA isis 1 address family ipv6 SwitchA isis 1 ipv6 quit SwitchA isis 1 quit SwitchA interface vlan interface 10 SwitchA Vlan interface10 isis ipv6 enable 1 SwitchA Vlan interface10 quit SwitchA interface vlan interface 11 SwitchA Vlan interface11 isis ipv6 enable 1 SwitchA Vlan interface11 quit Configure Switch B SwitchB system view Switch...

Page 501: ...witchA bfd session init mode active SwitchA interface vlan interface 10 SwitchA Vlan interface10 isis ipv6 bfd enable SwitchA Vlan interface10 bfd min transmit interval 500 SwitchA Vlan interface10 bfd min receive interval 500 SwitchA Vlan interface10 bfd detect multiplier 7 SwitchA Vlan interface10 return Enable BFD and configure BFD parameters on Switch B SwitchB bfd session init mode active Swi...

Page 502: ... Protocol IS_L1 NextHop FE80 BAAF 67FF FE27 DCD0 Preference 15 Interface Vlan11 Cost 20 The output shows that Switch A and Switch B communicate through VLAN interface 11 IPv6 IS IS FRR configuration example Network requirements As shown in Figure 114 Switch A Switch B and Switch C belong to the same IS IS routing domain Configure IPv6 IS IS FRR so that when the Link A fails traffic can be switched...

Page 503: ... ipv6 fast reroute lfa Method 2 Enable IPv6 IS IS FRR to designate a backup next hop by using a routing policy Configure Switch A SwitchA system view SwitchA ipv6 prefix list abc index 10 permit 20 1 128 SwitchA route policy frr permit node 10 SwitchA route policy frr 10 if match ipv6 address prefix list abc SwitchA route policy frr 10 apply ipv6 fast reroute backup interface vlan interface 100 ba...

Page 504: ...D 102 Tunnel ID Invalid Interface Vlan interface200 BkTunnel ID Invalid BkInterface Vlan interface100 FtnIndex 0x0 TrafficIndex N A Connector N A Display route 10 1 128 on Switch B to view the backup next hop information SwitchB display ipv6 routing table 10 1 128 verbose Summary count 1 Destination 10 1 128 Protocol IS_L1 Process ID 1 SubProtID 0x1 Age 00h33m23s Cost 10 Preference 15 IpPre N A Qo...

Page 505: ...493 Connector N A ...

Page 506: ...s a higher priority A node contains if match and apply clauses An if match clause specifies a match criterion and an apply clause specifies an action A node has a match mode of permit or deny An IPv6 policy compares packets with nodes in priority order If a packet matches the criteria on a node it is processed by the action on the node Otherwise it goes to the next node for a match If the packet d...

Page 507: ... the packet with the next node IPv6 PBR compares the packet with the next node A node that has no if match clauses matches any packet PBR and Track PBR can work with the Track feature to dynamically adapt the availability status of an apply clause to the link status of a tracked next hop When the track entry associated with an object changes to Negative the apply clause is invalid When the track e...

Page 508: ...s are compared with the ACL rules and the permit or deny action and the time range of the specified ACL are ignored If the specified ACL does not exist no packet is matched Configuring actions for an IPv6 node Step Command Remarks 1 Enter system view system view N A 2 Enter IPv6 policy node view ipv6 policy based route policy name deny permit node node number N A 3 Set an IP precedence apply prece...

Page 509: ...e the forwarding of IPv6 packets received on the interface The specified policy must already exist Otherwise the IPv6 interface PBR configuration fails You can apply only one policy to an interface Before you apply a new policy you must first remove the current policy from the interface You can apply a policy to multiple interfaces To configure IPv6 interface PBR Step Command Remarks 1 Enter syste...

Page 510: ...re IPv6 PBR on Switch A to forward all TCP packets to the next hop 1 2 Switch A forwards other packets according to the routing table Figure 115 Network diagram Configuration procedure 1 Configure Switch A Create VLAN 10 and VLAN 20 SwitchA system view SwitchA vlan 10 SwitchA vlan10 quit SwitchA vlan 20 SwitchA vlan20 quit Configure the IPv6 addresses of VLAN interface 10 and VLAN interface 20 Swi...

Page 511: ...f VLAN interface 20 SwitchC interface vlan interface 20 SwitchC Vlan interface20 ipv6 address 2 2 64 Verifying the configuration Telnet to Switch B on Switch A The operation succeeds Telnet to Switch C on Switch A The operation fails Ping Switch C from Switch A The operation succeeds Telnet uses TCP and ping uses ICMP The results show the following All TCP packets sent from Switch A are forwarded ...

Page 512: ...ce 20 SwitchA Vlan interface20 ipv6 address 2 1 64 SwitchA Vlan interface20 ripng 1 enable SwitchA Vlan interface20 quit Configure ACL 3001 to match TCP packets SwitchA acl ipv6 advanced 3001 SwitchA acl ipv6 adv 3001 rule permit tcp SwitchA acl ipv6 adv 3001 quit Configure Node 5 for policy aaa to forward TCP packets to next hop 1 2 SwitchA ipv6 policy based route aaa permit node 5 SwitchA pbr6 a...

Page 513: ...view SwitchC vlan 20 SwitchC vlan20 quit Configure RIPng SwitchC ripng 1 SwitchC ripng 1 quit SwitchC interface vlan interface 20 SwitchC Vlan interface20 ipv6 address 2 2 64 SwitchC Vlan interface20 ripng 1 enable SwitchC Vlan interface20 quit Verifying the configuration Enable IPv6 and configure the IPv6 address 10 3 for Host A C ipv6 install Installing Succeeded C ipv6 adu 4 10 3 On Host A Teln...

Page 514: ...ormation about the gateway option see Configuring RIP and Configuring OSPF An IP prefix list can contain multiple items that specify prefix ranges Each destination IP address prefix of a route is compared with these items in ascending order of their index numbers A prefix matches the IP prefix list if it matches one item in the list AS path list An AS path list matches the AS_PATH attribute of BGP...

Page 515: ...utes The if match clauses are in a logical AND relationship A route must meet all the if match clauses to match the node apply clauses Specify the actions to be taken on permitted routes such as modifying a route attribute continue clause Specifies the next node A route that matches the current node permit node must match the specified next node in the same routing policy The continue clause combi...

Page 516: ...path list that is identified by a number The relationship between the items is logical OR A route matches the AS path list if it matches one item in the list To configure an AS path list Step Command Remarks 1 Enter system view system view N A 2 Configure an AS path list ip as path as path number deny permit regular expression By default no AS path lists exist Configuring a community list You can ...

Page 517: ...ly to EVI IS IS For information about EVI IS IS see EVI Configuration Guide To configure a MAC list Step Command Remarks 1 Enter system view system view N A 2 Configure a MAC list mac list mac list name index index number deny permit mac address mask length By default no MAC lists exist Configuring a routing policy Configuration prerequisites Configure filters and routing protocols and determine t...

Page 518: ... hop or source address matches an ACL or IPv6 prefix list if match ipv6 address next hop route source acl ipv6 acl number prefix list prefix list name By default no ACL or prefix list match criterion is configured If the ACL used by an if match clause does not exist the clause is always matched If no rules of the specified ACL are matched or the match rules are inactive the clause is not matched T...

Page 519: ...al type1 nssa external type1or2 nssa external type2 By default no route type match criterion is configured 13 Match IGP routes having the specified tag value if match tag tag value By default no tag match criterion is configured 14 Match VLANs in EVI IS IS packets if match vlan vlan list By default no VLAN match criterion is configured The VLAN match criterion applies only to EVI IS IS For informa...

Page 520: ...pply ip precedence value clear By default no IP precedence is set 11 Redistribute routes to the specified IS IS level apply isis level 1 level 1 2 level 2 By default routes are not redistributed into the specified IS IS level 12 Set a local preference for BGP routes apply local preference preference By default no local preference is set for BGP routes 13 Set MPLS labels apply mpls label By default...

Page 521: ...you configure the following apply clauses on all the nodes the apply clause of each node takes effect apply as path without the replace keyword apply cost with the or keyword apply community with the additive keyword apply extcommunity with the additive keyword The apply comm list delete clause configured on the current node cannot delete the community attributes set by the apply community clauses...

Page 522: ...efix list statistics reset ipv6 prefix list prefix list name Clear MAC list statistics reset mac list mac list name Routing policy configuration examples Routing policy configuration example for IPv4 route redistribution Network requirements As shown in Figure 117 Switch B exchanges routing information with Switch A by using OSPF and with Switch C by using IS IS On Switch B enable route redistribu...

Page 523: ... 0000 0000 0002 00 SwitchB isis 1 quit SwitchB interface vlan interface 200 SwitchB Vlan interface200 isis enable SwitchB Vlan interface200 quit 3 Configure OSPF and route redistribution Configure OSPF on Switch A SwitchA system view 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 On Switch B configur...

Page 524: ...ospf 10 apply cost 100 SwitchB route policy isis2ospf 10 quit SwitchB route policy isis2ospf permit node 20 SwitchB route policy isis2ospf 20 if match ip address acl 2002 SwitchB route policy isis2ospf 20 apply tag 20 SwitchB route policy isis2ospf 20 quit SwitchB route policy isis2ospf permit node 30 SwitchB route policy isis2ospf 30 quit 6 Apply the routing policy to route redistribution On Swit...

Page 525: ...an interface100 ipv6 address 10 1 32 SwitchA Vlan interface100 quit SwitchA interface vlan interface 200 SwitchA Vlan interface200 ipv6 address 11 1 32 SwitchA Vlan interface200 quit Enable RIPng on VLAN interface 100 SwitchA interface vlan interface 100 SwitchA Vlan interface100 ripng 1 enable SwitchA Vlan interface100 quit Configure three static routes with next hop 11 2 and make sure the static...

Page 526: ...pv6 address 10 2 32 Enable RIPng SwitchB ripng SwitchB ripng 1 quit Enable RIPng on VLAN interface 100 SwitchB interface vlan interface 100 SwitchB Vlan interface100 ripng 1 enable SwitchB Vlan interface100 quit Verifying the configuration Display the RIPng routing table on Switch B SwitchB display ripng 1 route Route Flags A Aging S Suppressed G Garbage collect Peer FE80 7D58 0 CA03 1 on Vlan int...

Page 527: ...mappings with other NEs in the DCN domain The NE IP in the Type 10 Opaque LSA might be inconsistent with the NE s router ID when DCN is enabled on an OSPF network Devices from other vendors will fail to identify the NE To avoid this problem make sure the following requirements are met Change the router ID by modifying the NE IP Do not change the default IP address of the DCN s loopback interface D...

Page 528: ...figuring the NE ID and NE IP Typically an NE automatically generates an NE IP according to its NE ID The automatically generated NE IP changes when the NE ID changes When you replan your network or an NE ID conflict occurs you can manually configure the NE ID and NE IP The manually configured NE IP does not change when the NE ID changes To configure the NE ID and NE IP Step Command Remarks 1 Enter...

Page 529: ...ommand Remarks 1 Enter system view system view N A 2 Enter DCN view dcn N A 3 Enable the automatic report feature auto report By default the automatic report feature is disabled Configuring the source MAC address of LLDP frames Perform this task to configure the MAC address of the subinterface that runs Dot1q termination in the specified VLAN as the source MAC address of LLDP frames For more infor...

Page 530: ...following operations when an interface receives an LLDP frame carrying a management address TLV in IPv4 format Generates an ARP entry that contains the management address and the source MAC address of the frame Issues the ARP entry to the Layer 3 subinterface associated with the specified VLAN ID in Dot1q termination For more information about LLDP see Layer 2 LAN Switching Configuration Guide To ...

Page 531: ...NE dcn ne ip 11 1 1 1 32 GNE dcn auto report GNE dcn quit Create a VPN instance named dcn_vpn GNE ip vpn instance dcn_vpn GNE vpn instance dcn_vpn quit Create interface Loopback 1023 and associate it with VPN instance dcn_vpn GNE interface loopback 1023 GNE LoopBack1023 ip binding vpn instance dcn_vpn GNE LoopBack1023 quit Enable LLDP globally GNE lldp global enable Enable the nearest bridge agent...

Page 532: ...tethernet 1 0 1 GNE GigabitEthernet1 0 1 ip binding vpn instance dcn_vpn GNE GigabitEthernet1 0 1 ip address unnumbered interface loopback 1023 GNE GigabitEthernet1 0 1 quit Create GigabitEthernet 1 0 2 that borrows the IP address of Loopback 1023 GNE interface gigabitethernet 1 0 2 GNE GigabitEthernet1 0 2 ip binding vpn instance dcn_vpn GNE GigabitEthernet1 0 2 ip address unnumbered interface lo...

Page 533: ...s DeviceA interface gigabitethernet 1 0 2 DeviceA GigabitEthernet1 0 2 port link mode route DeviceA GigabitEthernet1 0 2 lldp tlv enable basic tlv management address tlv interface loopback 1023 Configure the system to issue the generated ARP entry to the Layer 3 Ethernet subinterface associated with VLAN 4094 in Dot1q termination after GigabitEthernet 1 0 2 receives an LLDP frame DeviceA GigabitEt...

Page 534: ...hernet 1 0 1 DeviceB GigabitEthernet1 0 1 port link mode route DeviceB GigabitEthernet1 0 1 lldp tlv enable basic tlv management address tlv interface loopback 1023 Configure the system to issue the generated ARP entry to the Layer 3 Ethernet subinterface associated with VLAN 4094 in Dot1q termination after GigabitEthernet 1 0 1 receives an LLDP frame DeviceB GigabitEthernet1 0 1 lldp management a...

Page 535: ...abitEthernet 1 0 1 to P2P DeviceB interface gigabitethernet 1 0 1 DeviceB GigabitEthernet1 0 1 ospf network type p2p DeviceB GigabitEthernet1 0 1 quit Set the OSPF network type for GigabitEthernet 1 0 2 to P2P DeviceB interface gigabitethernet 1 0 2 DeviceB GigabitEthernet1 0 2 ospf network type p2p DeviceB GigabitEthernet1 0 2 quit Verifying the configuration Display brief DCN information on the ...

Page 536: ... Network Elements Information NE ID NE IP Metric Device Type 0x100001 11 1 1 1 0 HPE 7502 0x200002 22 2 2 2 1 HPE 7503 Total number 2 The output shows that GNE and Device A are online The GNE notifies the NMS of the offline event of Device B You can still successfully ping the NE IP address of Device A from the GNE ...

Page 537: ...ntax choices separated by vertical bars from which you select one choice multiple choices or none 1 n The argument or keyword and argument combination before the ampersand sign can be entered 1 to n times A line that starts with a pound sign is comments GUI conventions Convention Description Boldface Window names button names field names and menu items are in Boldface For example the New User wind...

Page 538: ...epresents a wireless terminator unit Represents a wireless terminator Represents a mesh access point Represents omnidirectional signals Represents directional signals Represents a security product such as a firewall UTM multiservice security gateway or load balancing device Represents a security module such as a firewall load balancing NetStream SSL VPN IPS or ACG module Examples provided in this ...

Page 539: ...s provide a mechanism for accessing software updates through the product interface Review your product documentation to identify the recommended software update method To download product updates go to either of the following Hewlett Packard Enterprise Support Center Get connected with updates page www hpe com support e updates Software Depot website www hpe com support softwaredepot To view and u...

Page 540: ...r self repair CSR programs allow you to repair your product If a CSR part needs to be replaced it will be shipped directly to you so that you can install it at your convenience Some parts do not qualify for CSR Your Hewlett Packard Enterprise authorized service provider will determine whether a repair can be accomplished by CSR For more information about CSR contact your local service provider or ...

Page 541: ...number edition and publication date located on the front cover of the document For online help content include the product name product version help edition and publication date located on the legal notices page ...

Page 542: ... BGP route advertisement rules 199 BGP route generation 228 DCN LLDP management address 518 IPv4 BGP basic configuration 318 IPv4 BGP BFD configuration 345 IPv4 BGP COMMUNITY configuration 331 IPv4 BGP confederation 336 IPv4 BGP configuration 318 IPv4 BGP GR configuration 343 IPv4 BGP load balancing configuration 328 IPv4 BGP path selection 340 IPv4 BGP route reflector configuration 334 IPv4 BGP r...

Page 543: ...asic configuration 360 IPv6 BGP BFD configuration 369 IPv6 BGP configuration 360 IPv6 BGP FRR configuration 372 IPv6 BGP route reflector configuration 363 IPv6 multicast BGP configuration 376 IS IS basic configuration 142 IS IS basics configuration 169 IS IS configuration 135 141 169 IS IS DIS election configuration 173 OSPF areas 66 OSPF AS External LSA 65 routing policy AS_PATH list 502 504 AS_P...

Page 544: ...ion 39 RIP BFD configuration bidirectional control detection 41 RIP BFD configuration bidirectional detection control packet mode 59 RIP BFD configuration single hop echo detection 54 RIP BFD configuration single hop echo detection neighbor 40 RIP BFD configuration single hop echo detection specific destination 40 57 RIP FRR BFD enable 42 RIPng FRR BFD enable 415 static routing BFD bidirectional c...

Page 545: ... 271 NEXT_HOP attribute 260 nonstop routing NSR configuration 301 optimal route advertisement 235 optimal route selection disable for labeled routes 293 ORIGINATOR_ID attribute ignore 298 outgoing packet DSCP value 292 path attributes 195 path selection control 251 peer 195 peer configuration 213 peer configuration IPv4 unicast address 213 peer configuration IPv6 unicast address 213 peer group con...

Page 546: ...on 317 IPv6 BGP information 317 CLNP IS IS configuration 141 CLV IS IS PDU 140 COMMUNITY BGP COMMUNITY path attribute 195 IPv4 BGP COMMUNITY configuration 331 community routing policy extended community list 502 routing policy list 502 COMMUNITY BGP COMMUNITY configuration 294 routing policy COMMUNITY list 504 community routing policy extended community list 505 comparing BGP MED route comparison ...

Page 547: ...DCN NE ID IP 516 DCN VPN 516 EBGP peer group IPv4 multicast address 219 EBGP peer group IPv4 unicast address 219 EBGP peer group IPv6 multicast address 219 EBGP peer group IPv6 unicast address 219 EVPN based service chain PBR 388 IBGP peer group IPv4 multicast address 217 IBGP peer group IPv4 unicast address 217 IBGP peer group IPv6 multicast address 217 IBGP peer group IPv6 unicast address 217 in...

Page 548: ... IS IS LSP calculated route filtering 148 IS IS network management 160 IS IS NSR 164 185 IS IS PIC 160 IS IS redistributed route filtering 148 IS IS route control 144 IS IS route convergence priority 156 IS IS route filtering 148 IS IS route leaking 149 IS IS route redistribution 147 177 IS IS route summarization 146 IS IS system ID host name mapping 158 IS IS system ID host name mapping dynamic 1...

Page 549: ...432 OSPFv3 preference 435 OSPFv3 prefix suppression interface 443 OSPFv3 prefix suppression OSPFv3 process 442 OSPFv3 received route filtering 433 OSPFv3 redistributed route tag 436 OSPFv3 route control 432 OSPFv3 route redistribution 459 OSPFv3 route redistribution another routing protocol 436 OSPFv3 route redistribution default route 436 OSPFv3 route summarization 462 OSPFv3 route summarization ...

Page 550: ...t hop 13 connecting BGP TCP connection source address 227 EBGP direct connections after link failure 276 continue clause routing policy 503 509 controlling BGP path selection 251 BGP route distribution 232 BGP route reception 232 IPv6 IS IS route control 474 IPv6 IS IS SPF calculation interval 478 IPv6 static route BFD control mode direct next hop 396 IPv6 static route BFD control mode indirect ne...

Page 551: ...on 356 IPv4 BGP GR configuration 343 IPv4 BGP load balancing configuration 328 IPv4 BGP path selection 340 IPv4 BGP route reflector configuration 334 IPv4 BGP route summarization 325 IPv4 BGP IGP route redistribution 322 IPv4 multicast BGP configuration 352 IPv6 BGP 6PE configuration 366 IPv6 BGP basic configuration 360 IPv6 BGP BFD configuration 369 IPv6 BGP configuration 360 IPv6 BGP route refle...

Page 552: ...38 IS IS DIS election configuration 173 IS IS interface DIS priority 151 disabling BGP optimal route selection for labeled routes 293 BGP session establishment IPv4 282 BGP session establishment IPv6 282 IS IS interface packet send receive 151 OSPF interface packet send receive disable 87 OSPFv3 interface packet send receive 439 recursion policy for routes received from a peer or peer group 292 RI...

Page 553: ... route comparison per AS 258 BGP ORF capabilities 276 BGP peer keychain authentication IPv4 280 BGP peer keychain authentication IPv6 280 BGP peer MD5 authentication IPv4 279 BGP peer MD5 authentication IPv6 279 BGP per prefix label allocation 293 BGP route flapping logging IPv4 303 BGP route flapping logging IPv6 303 BGP route refresh IPv4 285 BGP route refresh IPv6 285 BGP session state change l...

Page 554: ...SPF outbound LSAs specified neighbor 96 OSPF received route filtering 80 OSPF Type 3 LSA filtering 80 OSPFv3 Inter Area Prefix LSA filtering 434 OSPFv3 received route filtering 433 RIP received redistributed route filtering 32 RIPng received redistributed route filtering 409 routing policy ACLs 502 routing policy apply clause 507 routing policy AS_PATH list 502 504 routing policy COMMUNITY list 50...

Page 555: ...routing policy 102 OSPF backup next hop calculation LFA algorithm 101 OSPF FRR BFD 102 OSPF FRR configuration 101 130 OSPFv3 backup next hop routing policy 447 OSPFv3 backup next hop calculation LFA algorithm 447 OSPFv3 FRR BFD 447 OSPFv3 FRR configuration 446 470 RIP configuration 41 62 414 RIPng configuration 424 static routing FRR configuration 13 21 G garbage collect timer RIP 33 gateway netwo...

Page 556: ...107 OSPF route summarization configuration 109 OSPF virtual link configuration 121 OSPFv3 FRR configuration 470 OSPFv3 route summarization 462 ID BGP link state LS router ID 312 DCN NE ID IP configuration 516 IS IS system ID 136 IDP IS IS area address 136 IETF OSPF GR 97 OSPF GR helper 98 OSPF GR restarter 97 ignoring BGP AS_PATH attribute 265 BGP first AS number of EBGP route updates 269 BGP IGP ...

Page 557: ...oute advertisement peer peer group 236 BGP display 313 BGP dynamic peer 214 BGP first AS number of EBGP route update ignore 269 BGP first send default route update 238 BGP FRR 305 BGP GR 300 BGP GTSM configuration 283 BGP large scale network management 201 BGP large scale network 293 BGP load balancing 200 281 BGP maintain 313 BGP MED attribute 256 BGP MPLS local label update delay 291 BGP network...

Page 558: ...ation 191 IS IS global cost 145 IS IS GR 163 IS IS GR configuration 184 IS IS hello multiplier 150 IS IS hello packet send interval 150 IS IS interface cost 145 IS IS interface DIS priority 151 IS IS interface hello packet send 152 IS IS interface packet send receive 151 IS IS interface tag value 157 IS IS ISPF 159 IS IS link cost 144 IS IS LSDB overload bit 156 IS IS LSP flash flooding 154 IS IS ...

Page 559: ...SCP value 90 OSPF PIC configuration 94 OSPF preference 82 OSPF prefix priority 94 OSPF prefix suppression 93 OSPF protocols and standards 71 OSPF received route filtering 80 OSPF RFC 1583 compatibility 90 OSPF route control 79 OSPF route redistribution 83 OSPF route redistribution configuration 107 OSPF route summarization 79 OSPF route summarization configuration 109 OSPF SPF calculation interval...

Page 560: ... configuration 27 43 RIP BFD configuration 39 RIP BFD configuration bidirectional control detection 41 RIP BFD configuration bidirectional detection control packet mode 59 RIP BFD configuration single hop echo detection 54 RIP BFD configuration single hop echo detection neighbor 40 RIP BFD configuration single hop echo detection specific destination 40 57 RIP configuration 25 26 43 RIP default rou...

Page 561: ...RR configuration 13 21 troubleshooting BGP 379 troubleshooting BGP peer connection state 379 troubleshooting OSPF configuration 133 troubleshooting OSPF incorrect routing information 133 troubleshooting OSPF no neighbor relationship established 133 IPv4 BGP 6PE optional capabilities 309 BGP dynamic peer configuration IPv4 unicast address 215 BGP peer configuration IPv4 multicast address 214 BGP So...

Page 562: ...efresh enable 285 route summarization 325 route summarization automatic 232 route summarization manual 233 route update interval 274 route update save 286 routes received peer peer group 239 session establishment disable 282 session reset 317 session retry timer 273 session state change logging 302 TCP connection source address 227 IPv6 EBGP peer group configuration IPv6 multicast address 219 EBGP...

Page 563: ... 263 local network injection 228 manual soft reset configuration 287 MED default value 256 multicast configuration 376 NEXT_HOP attribute 260 optimal route advertisement 235 ORIGINATOR_ID attribute ignore 298 peer configuration IPv6 multicast address 214 peer keychain authentication 280 peer MD5 authentication 279 private AS number removal 268 received route preferred value 251 route dampening 249...

Page 564: ...configuration 135 141 169 CSNP packet send interval 151 default route advertisement 147 DIS election 138 DIS election configuration 173 display 168 ECMP routes max 146 enable 143 enabling automatic cost calculation 145 FRR backup next hop configuration LFA calculation 166 FRR BFD enable control packet mode 167 FRR BFD enable echo packet mode 167 FRR configuration 165 191 FRR configuration routing ...

Page 565: ...up IPv6 239 IS IS LSP flooding 154 link BGP BFD 304 EBGP direct connection after link failure 276 IPv6 IS IS automatic link cost calculation 476 IPv6 IS IS link cost 475 IS IS automatic cost calculation 145 IS IS global cost 145 IS IS interface cost 145 IS IS link cost 144 IS IS NSR 164 OSPF BFD 100 OSPF configuration 65 71 OSPF FRR 101 OSPF virtual link 67 76 OSPF virtual link configuration 121 O...

Page 566: ... OSPFv3 inter area prefix LSA 427 OSPFv3 Inter Area Prefix LSA filtering 434 OSPFv3 inter area router LSA 427 OSPFv3 intra area prefix LSA 427 OSPFv3 link LSA 427 OSPFv3 LSA generation interval 438 OSPFv3 LSA transmission delay 437 OSPFv3 network LSA 427 OSPFv3 NSSA LSA 427 OSPFv3 router LSA 427 LSAck OSPF LSAck packet 65 OSPFv3 packet type 427 LSDB IPv6 IS IS LSDB overload bit 477 IS IS LSDB over...

Page 567: ...direct next hop 11 static routing BFD single hop echo mode 12 MP_REACH_NLRI MP BGP 204 MP_UNREACH_NLRI MP BGP 204 MP BGP 195 See also BGP address family 205 BGP configuration 195 208 extended attributes 204 IPv4 BGP basic configuration 318 IPv4 BGP BFD configuration 345 IPv4 BGP COMMUNITY configuration 331 IPv4 BGP confederation 336 IPv4 BGP configuration 318 IPv4 BGP FRR configuration 348 IPv4 BG...

Page 568: ...ng OSPF link state information to BGP 103 BGP 4 byte AS number suppression 278 BGP 6PE configuration 308 BGP 6PE optional capabilities 309 BGP AS number substitution 266 BGP AS_PATH attribute 263 BGP AS_PATH attribute ignore 265 BGP basic configuration 211 BGP BFD configuration 304 BGP community configuration 294 BGP confederation 299 BGP default local preference 254 BGP default route advertisemen...

Page 569: ...tribution 3 IPv4 BGP basics 318 IPv4 BGP BFD configuration 345 IPv4 BGP COMMUNITY configuration 331 IPv4 BGP confederation 336 IPv4 BGP configuration 318 IPv4 BGP dynamic peer configuration 356 IPv4 BGP FRR configuration 348 IPv4 BGP GR configuration 343 IPv4 BGP load balancing configuration 328 IPv4 BGP path selection 340 IPv4 BGP received route preferred value 251 IPv4 BGP route reflector config...

Page 570: ...twork management 160 IS IS network optimization 150 IS IS network tuning 150 IS IS NSR 164 IS IS NSR configuration 185 IS IS PIC BFD 161 IS IS PIC configuration 160 IS IS point to point type 138 IS IS preference 145 IS IS prefix suppression 159 IS IS pseudonode 138 IS IS route control 144 IS IS route convergence priority 156 IS IS route leaking 138 IS IS route redistribution 177 IS IS routing doma...

Page 571: ... LSA filtering 434 OSPFv3 interface cost 434 OSPFv3 interface DR priority 439 OSPFv3 interface packet send receive disable 439 OSPFv3 LSA generation interval 438 OSPFv3 LSA transmission delay 437 OSPFv3 LSU transmit rate 441 OSPFv3 NBMA neighbor 432 OSPFv3 neighbor state change logging 440 OSPFv3 network management 440 OSPFv3 network type 431 OSPFv3 network type interface 432 OSPFv3 NSR 445 OSPFv3...

Page 572: ...onfiguration 30 routing policy apply clause 507 routing policy AS_PATH list 504 routing policy COMMUNITY list 504 routing policy configuration 505 routing policy configuration IPv4 route redistribution 510 routing policy configuration IPv6 route redistribution 513 routing policy continue clause 509 routing policy creation 505 routing policy extended community list 505 routing policy filter configu...

Page 573: ... 503 507 routing policy continue clause 503 509 routing policy deny match 503 routing policy if match clause 503 506 routing policy permit match 503 non IETF OSPF GR 97 OSPF GR helper 98 OSPF GR restarter 97 nonstop routing Use NSR nonstop routing NSR BGP configuration 301 RIP NSR enable 39 notifying BGP notification message 195 BGP SNMP notification enable 302 OSPF network management 91 NSAP IS I...

Page 574: ...ork type NBMA 77 interface network type P2MP 78 interface network type P2P 79 interface packet send receive disable 87 IS IS BFD 165 IS IS DIS election 138 ISPF enable 93 log count configuration 95 LSA arrival interval 86 LSA generation interval 87 LSA transmission delay 86 LSA types 65 LSDB external LSAs max 90 LSU transmit rate configuration 92 maintain 103 neighbor state change logging 91 netwo...

Page 575: ...ce 432 nonstop routing NSR configuration 445 467 P2MP neighbor configuration 432 packet types 427 preference configuration 435 prefix suppression 442 protocols and standards 428 received route filtering 433 redistributed route tag 436 route control configuration 432 route redistribution 435 459 route redistribution another routing protocol 436 route redistribution default route 436 route summariza...

Page 576: ...l 383 PBR configuration local packet type based 385 PBR policy configuration 382 RIP BFD configuration bidirectional control detection 41 RIP BFD configuration single hop echo detection neighbor 40 RIP BFD configuration single hop echo detection specific destination 40 RIP network management configuration 37 RIP packet max length 38 RIP packet send rate configuration 37 RIPng 406 RIPng packet send...

Page 577: ...ion routing policy 481 IPv6 PBR 494 IPv6 PBR apply clause 494 IPv6 PBR configuration 494 495 497 498 IPv6 PBR if match clause 494 IPv6 PBR interface configuration 497 IPv6 PBR interface configuration packet type based 499 IPv6 PBR local configuration 497 IPv6 PBR local configuration packet type based 498 IPv6 PBR match mode node clause relationship 495 IPv6 PBR policy configuration 496 IS IS FRR c...

Page 578: ...GP 208 configuring BGP 6PE 308 configuring BGP 6PE basics 308 configuring BGP 6PE optional capabilities 309 configuring BGP AS number substitution IPv4 266 configuring BGP AS number substitution IPv6 266 configuring BGP AS_PATH attribute 263 configuring BGP basics 211 configuring BGP BFD IPv4 304 configuring BGP BFD IPv6 304 configuring BGP COMMUNITY IPv4 294 configuring BGP COMMUNITY IPv6 294 con...

Page 579: ...e chain PBR 388 configuring IBGP peer group IPv4 multicast address 217 configuring IBGP peer group IPv4 unicast address 217 configuring IBGP peer group IPv6 multicast address 217 configuring IBGP peer group IPv6 unicast address 217 configuring inter protocol FRR 6 configuring IP routing BGP LS 311 configuring IP routing RIB NSR 6 configuring IP routing RIP GR 52 configuring IP routing RIP NSR 52 c...

Page 580: ...ing IS IS LSP timer 152 configuring IS IS LSP calculated route filtering 148 configuring IS IS network management 160 configuring IS IS NSR 164 185 configuring IS IS PIC 160 configuring IS IS redistributed route filtering 148 configuring IS IS route control 144 configuring IS IS route convergence priority 156 configuring IS IS route filtering 148 configuring IS IS route leaking 149 configuring IS ...

Page 581: ...ring OSPFv3 Inter Area Prefix LSA filtering 434 configuring OSPFv3 interface cost 434 configuring OSPFv3 interface DR priority 439 configuring OSPFv3 LSU transmit rate 441 configuring OSPFv3 NBMA neighbor 432 configuring OSPFv3 network management 440 configuring OSPFv3 network type 431 configuring OSPFv3 network type interface 432 configuring OSPFv3 NSR 445 467 configuring OSPFv3 P2MP neighbor 432...

Page 582: ...iguring routing policy MAC list 505 configuring routing policy based recursive lookup 7 configuring startup policy for BGP route updates 248 configuring static route 10 configuring static route BFD 11 configuring static route FRR auto backup next hop 14 configuring static routing 15 configuring static routing basics 15 configuring static routing BFD direct next hop 16 configuring static routing BF...

Page 583: ...ink cost calculation 476 enabling IPv6 IS IS FRR BFD 481 enabling IPv6 IS IS ISPF 478 enabling IPv6 IS IS MTR 482 enabling IPv6 IS IS prefix suppression 478 enabling IS IS 143 enabling IS IS automatic cost calculation 145 enabling IS IS FRR BFD control packet mode 167 enabling IS IS FRR BFD echo packet mode 167 enabling IS IS interface hello packet send 152 enabling IS IS ISPF 159 enabling IS IS L...

Page 584: ...ue IPv4 251 setting BGP received route preferred value IPv6 251 setting BGP session retry timer IPv4 273 setting BGP session retry timer IPv6 273 setting IP routing ECMP route max number 5 setting IP routing FIB route max lifetime 4 setting IP routing RIB label max lifetime 4 setting IP routing RIB route max lifetime 4 setting IPv6 IS IS LSDB overload bit 477 setting IS IS ATT bit Level 1 LSP 157 ...

Page 585: ...eration 228 IP routing extension attribute redistribution 3 IP routing route redistribution 3 IPv4 BGP IGP route redistribution 322 IS IS redistributed route filtering 148 IS IS route redistribution 147 177 OSPF redistributed route default parameters 83 OSPF route redistribution 83 OSPF route redistribution configuration 107 OSPFv3 redistributed route tag 436 OSPFv3 route redistribution 435 459 OS...

Page 586: ...tion 30 route control configuration 29 route entries 25 route redistribution 46 route redistribution configuration 32 routing loop prevention 25 split horizon configuration 34 split horizon enable 34 summary route advertisement configuration 49 timer configuration 33 triggered update interval configuration 36 update source IP address check 35 version configuration 29 versions 26 RIPng 406 See also...

Page 587: ...B label max lifetime 4 IP routing RIB NSR 6 IP routing RIB route max lifetime 4 IP routing route backup 3 IP routing route preference 2 IP routing route recursion 3 IP routing route redistribution 3 IPv4 BGP route reflector configuration 334 IPv4 BGP route summarization 325 IPv4 BGP IGP route redistribution 322 IPv6 BGP route reflector configuration 363 IPv6 default route configuration 405 IPv6 IS...

Page 588: ...ing configuration 10 10 15 static routing default route configuration 24 static routing FRR configuration 13 21 router BGP link state LS router ID 312 BGP peer 195 BGP speaker 195 EBGP peer 195 IBGP peer 195 IS IS interface P2P network type 143 IS IS IS circuit level 143 IS IS Level 1 router 137 IS IS Level 1 2 router 137 IS IS Level 2 router 137 IS IS route leaking 138 IS IS routing method 136 IS...

Page 589: ...e 4 IP routing RIB route max lifetime 4 IPv4 BGP session reset 317 IPv6 BGP session reset 317 IPv6 IS IS LSDB overload bit 477 IS IS ATT bit Level 1 LSP 157 IS IS IS circuit level 143 IS IS LSDB overload bit 156 OSPF ECMP routes max 82 OSPF exit overflow interval 90 OSPF log count 95 OSPF LSA transmission delay 86 OSPF LSDB external LSAs max 90 OSPF timer 85 OSPFv3 ECMP route max 435 OSPFv3 LSA ge...

Page 590: ...ted route summarization ASBR 80 OSPF route summarization 79 OSPF route summarization ABR 79 OSPF route summarization configuration 109 OSPF summary network discard route 82 OSPFv3 route summarization 462 OSPFv3 route summarization ABR 433 OSPFv3 route summarization ASBR 433 RIPng route summarization 408 RIPv2 automatic route summarization enable 30 RIPv2 route summarization configuration 30 RIPv2 ...

Page 591: ... default route configuration 405 IPv6 IS IS ISPF 478 IPv6 IS IS MTR 482 IPv6 static route configuration 395 IPv6 static routing basic configuration 397 IPv6 static routing BFD direct next hop 399 IPv6 static routing BFD indirect next hop 402 IPv6 static routing configuration 395 397 IS IS ISPF 159 Track IPv6 PBR collaboration 495 PBR collaboration 381 static routing configuration 10 transmitting O...

Page 592: ...3 IP routing load sharing 3 IP routing route backup 3 IP routing route preference 2 IP routing route recursion 3 IP routing route redistribution 3 OSPF network type 70 updating BGP first send default route update 238 BGP MPLS local label update delay 291 BGP route update delay 248 BGP route update interval 274 BGP route update save 286 BGP update message 195 RIP source IP address check 35 RIP trig...

Reviews: