Page 3
About This Manual Organization H3C S9500 Series Routing Switches Configuration Manual is organized as follows: Part Contents includes Obtaining Documentation, Product 00 Product Overview Features, and Features. includes Ethernet Port Configuration, Port Configuration, Link Aggregation Configuration, Port Isolation Configuration, VLAN Configuration, MAC...
Page 4
Part Contents includes Command Line Interface Configuration, Login and User Interface Configuration, FTP and TFTP Configuration, HA Configuration, NQA Configuration, NetStream Configuration, NTP Configuration, RMON Configuration, SNMP Configuration, Packet Statistics Accounting Configuration, Device Management 08 System Volume Configuration, Configuration File Management Configuration, File System Management Configuration, Cluster...
Page 5
Caution data loss or damage to equipment. Note Means a complementary description. Related Documentation In addition to this manual, each H3C S9500 Series Routing Switches documentation set includes the following: Manual Description It introduces the installation procedure, H3C S9500 Series Routing Switches...
Page 6
[Technical Support & Document > Product Support > Software]: Provides the documentation released with the software version. Documentation Feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
Operation Manual H3C S9500 Series Routing Switches IP Routing Volume Organization Manual Version T2-08165E-20081225-C-1.24 Product Version S9500-CMW310-R1648 Organization The IP Routing Volume is organized as follows: Features (operation Description manual) The volume describes: IP Routing Protocol Introduction to IP routing and routing table...
Page 8
Operation Manual H3C S9500 Series Routing Switches IP Routing Volume Organization Features (operation Description manual) Border gateway protocol (BGP) is an inter-autonomous system (inter-AS) dynamic route discovery protocol. The volume describes: Introduction to BGP and MBGP BGP configuration For implementing the route policy, you need to define a set of matching rules by specifying the characteristics of the routing information to be filtered.
Operation Manual – IP Routing Protocol Overview H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 IP Routing Protocol Overview ..................1-1 1.1 Introduction to IP Route and Routing Table ..............1-1 1.1.1 IP Route and Route Segment ................. 1-1 1.1.2 Route Selection through the Routing Table ............
Operation Manual – IP Routing Protocol Overview H3C S9500 Series Routing Switches Chapter 1 IP Routing Protocol Overview Chapter 1 IP Routing Protocol Overview Go to these sections for information you are interested in: Introduction to IP Route and Routing Table...
Operation Manual – IP Routing Protocol Overview H3C S9500 Series Routing Switches Chapter 1 IP Routing Protocol Overview Figure 1-1 The concept of route segment As the networks may have different sizes, the segment lengths connected between two different pairs of routers are also different. The number of route segments multiplies a weighted coefficient can serve as a weighted measurement for the actual length of the signal transmission path.
Page 12
Operation Manual – IP Routing Protocol Overview H3C S9500 Series Routing Switches Chapter 1 IP Routing Protocol Overview Output interface: It indicates an interface through which an IP packet should be forwarded. Next hop address: It indicates the IP address of the next router that an IP packet will pass through.
1.2 Routing Management Policy For S9500 series, you can configure manually the static route to a specific destination, and configure dynamic routing protocol to interact with other routers on the network. The routing algorithm can also be used to discover routes. For the configured static routes and dynamic routes discovered by the routing protocol, the S9500 series implement unified management.
By far, the S9500 series support eight routes to implement load sharing. II. Route backup The S9500 series support route backup. When the main route fails, the system will automatically switch to a backup route to improve the network reliability.
The S9500 series support the import of routes discovered by one routing protocol into another. Each protocol has its own route importing mechanism. For details, refer to the description about importing an external route in the operation manual of the corresponding routing protocol.
Page 16
Operation Manual – Static Route H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 Static Route Configuration ..................1-1 1.1 Introduction to Static Route ....................1-1 1.1.1 Static Route......................1-1 1.1.2 Default Route ......................1-2 1.2 Configuring Static Route....................1-2 1.2.1 Configuring a Static Route ..................
Operation Manual – Static Route H3C S9500 Series Routing Switches Chapter 1 Static Route Configuration Chapter 1 Static Route Configuration When configuring static route, go to these sections for information you are interested in: Introduction to Static Route Configuring Static Route...
Operation Manual – Static Route H3C S9500 Series Routing Switches Chapter 1 Static Route Configuration address, and any IP packets addressed to this destination are dropped without notifying the source host. The attributes reject and blackhole are usually used to control the range of reachable destinations of this router, and help troubleshoot the network.
1.4 Static Route Configuration Example I. Network requirements As shown in Figure 1-1, the masks of all the IP addresses are 255.255.255.0. It is required that all the hosts or S9500 series routing switches can be interconnected in pairs by static route configuration.
Operation Manual – Static Route H3C S9500 Series Routing Switches Chapter 1 Static Route Configuration II. Network diagram H ost 1 .1 .5.1 1.1 .5 .2/2 4 1.1 .3.1 /2 4 1 .1 .2.2 /24 S witch C 1.1 .3 .2/2 4 1 .1.2 .1 /24...
Page 23
Operation Manual – Static Route H3C S9500 Series Routing Switches Chapter 1 Static Route Configuration Solution: Use the display ip routing-table protocol static command to view whether the configured static route is correct and in effect.
Page 24
Operation Manual – RIP H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 RIP Configuration ......................1-1 1.1 Introduction to RIP ......................1-1 1.1.1 RIP Operation Mechanism ..................1-1 1.1.2 RIP Enabling and Running..................1-2 1.2 Configuring RIP........................1-3 1.2.1 Enabling RIP and Entering RIP View ..............
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration Chapter 1 RIP Configuration When configuring RIP, go to these sections for information you are interested in: Introduction to RIP Configuring RIP Displaying and Debugging RIP RIP Configuration Example...
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration II. RIP route database Each router running RIP manages a route database, which contains routing entries to all the reachable destinations in the network. These routing entries contain the following information: Destination address: IP address of a host or a network.
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration RIP broadcasts its routing table to the adjacent routers every 30 seconds. The adjacent routers will maintain their own routing table after receiving the packets and will select an optimal route, and then advertise the modification information to their respective adjacent network so as to make the updated route globally known.
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration Specifying the Operating State of the Interface Setting RIP-2 Packet Authentication 1.2.1 Enabling RIP and Entering RIP View Perform the following configurations in system view to enable/disable RIP: To do…...
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration To do... Use the command... Specify the RIP neighbor peer ip-address Remove the RIP neighbor undo peer ip-address By default, RIP does not send any packets to any unicast addresses.
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration By default, the additional routing metric added to the route when RIP sends a packet is 1. The additional routing metric when RIP receives the packet is 0 by default.
Page 31
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration To do... Use the command... Configure RIP to filter the received filter-policy gateway ip-prefix-name routing information advertised by the import specified address Cancel filtering the received routing...
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration 1.2.8 Disabling RIP from Receiving Host Route In some special cases, the router can receive a lot of host routes, and these routes are of little help in routing but consume a lot of network resources. Routers can be configured to reject host routes with the undo host-route command.
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration Perform the following configuration in RIP view to set/restore the RIP preference: To do… Use the command... Set the RIP Preference preference value Restore the default value of RIP preference undo preference By default, the preference of RIP is 100.
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration 1.2.14 Specifying the Operating State of the Interface In interface view, you can specify the operating state of RIP on the interface. For example, whether RIP operates on the interface, namely, whether RIP update packets are sent and received on the interface.
As shown in Figure 1-1, the S9500 series routing switch C connects to the subnet 117.102.0.0 through the Ethernet port. The Ethernet ports of the S9500 series routing switches A and Switch B are respectively connected to the network 155.10.1.0 and 1-12...
Page 37
Operation Manual – RIP H3C S9500 Series Routing Switches Chapter 1 RIP Configuration 196.38.165.0. Switch C, Switch A and Switch B are connected via Ethernet 110.11.2.0. Correctly configure RIP to ensure that Switch C, Switch A and Switch B can interconnect with each other.
[Switch C-rip] network 110.11.2.0 1.5 Troubleshooting RIP Symptom: The S9500 series cannot receive the update packets when the physical connection to the peer routing device is normal. Solution: RIP is not running on the corresponding interface (for example, the undo rip work command is executed) or this interface is not enabled through the network command.
Page 39
1.1.3 OSPF Packets......................1-2 1.1.4 LSA Type......................... 1-3 1.1.5 Basic Concepts Related to OSPF ................1-4 1.1.6 OSPF Features Supported by the S9500 Series ............ 1-6 1.2 OSPF GR Overview......................1-6 1.2.1 Working Mechanism of OSPF GR ................1-7 1.2.2 Packet Format of OSPF GR..................1-8 1.2.3 OSPF GR Features Supported by CMW ..............
Page 40
Operation Manual – OSPF H3C S9500 Series Routing Switches Table of Contents 1.3.26 Resetting the OSPF Process ................1-34 1.4 Displaying and Debugging OSPF ..................1-35 1.5 OSPF Configuration Example..................1-36 1.5.1 Configuring DR Election Based on OSPF Priority ..........1-36 1.5.2 Configuring OSPF Virtual Link ................
Page 41
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration Chapter 1 OSPF Configuration When configuring OSPF, go to these sections for information you are interested in: OSPF Overview OSPF GR Overview Configuring OSPF Displaying and Debugging OSPF...
Page 42
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration Authentication: It supports the interface-based packet authentication so as to guarantee the security of the route calculation. Multicast transmission: Support multicast address to receive and send packets.
Page 43
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration When two routers synchronize their databases, they use the DD packets to describe their own LSDBs, including the digest of each LSA. The digest refers to the HEAD of LSA, which uniquely identifies the LSA.
Page 44
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration According to RFC1587, Type-7 LSAs differ from Type-5 LSAs as follows: Type-7 LSAs are generated and released within a Not-So-Stubby Area (NSSA). Type-5 LSAs cannot be generated or released within a NSSA.
Page 45
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration III. Area The network size grows increasingly larger. If all the routers on a huge network are running OSPF, the large number of routers will result in an enormous LSDB, which will consume an enormous storage space, complicate the SPF algorithm, and add the CPU load as well.
Page 46
19.1.2. 0/24 Area 8 Figure 1-1 Area and route summary 1.1.6 OSPF Features Supported by the S9500 Series The S9500 series support the following OSPF features: Support stub areas: OSPF defines stub areas to decrease the overhead when the routers within the area receive ASE routes.
Page 47
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration 1.2.1 Working Mechanism of OSPF GR 1. Implementation standard of OSPF GR RFC3623: Graceful OSPF Restart IETF drafts: draft-nguyen-ospf-lls-05; draft-nguyen-ospf-oob-resync-05; draft-nguyen-ospf-restart-05; 2. Work mechanism of RFC3623 RFC3623 defines two main principles for GR: the network topology must remain stable and the forwarding tables can be kept when a router is being restarted.
Page 48
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration When a protocol is restarted, the protocol will notify the peer that it will be restarted and let the peer keep the neighbor relationship through the RS_bit set in the EO_TLV of a HELLO packet.
Page 49
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration III. Option fields extended by LLS Figure 1-4 Option fields with L-bit IV. Format of LLS data Figure 1-5 Format of LLS data V. TLV structure: EO_TLV and CA_TLV...
Page 50
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration Figure 1-8 Format of CA_TLV The meaning of each field in the CA_TLV: The type field refers to the type of CA_TLV, and the type of CA_TLV is 2;...
Page 51
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration Figure 1-9 Format of DD Packets with R-bit set 1.2.3 OSPF GR Features Supported by CMW The two GR methods above are supported in the implementation of CMW.
Page 52
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration Configuring OSPF Route Filtering Configuring the Route Summary of OSPF Some OSPF configurations Setting OSPF Route Preference Configuring OSPF Timers Configuring the Network Type of the OSPF Interface...
Page 53
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration the user should determine the division of router IDs and manually configure them when planning the network. 1.3.2 Enabling OSPF Perform the following configuration in system view to enable/disable OSPF: To do...
Page 54
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration 1.3.4 Specifying an Interface to Run OSPF After using the ospf command to enable OSPF in system view, you must specify the network to run OSPF. An ABR router can be in different areas, while a network segment can only belong to an area.
Page 55
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration I. Configure OSPF route redistribution Perform the following configuration in OSPF view to enable/disable OSPF route redistribution: To do... Use the command... import-route protocol [ cost value |...
Page 56
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration default route cost and default tag of route distribution. Route tag can be used to identify the protocol-related information. For example, OSPF can use it to identify the AS number when receiving BGP.
Page 57
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration By default, the interval for importing external routes is 1 second. The upper limit is 1000 at a time. 1.3.6 Configuring OSPF to Advertise Default Routes By default, there are no default routes in a common OSPF area (either a backbone area or a non-backbone area).
Page 58
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration If the router is not the ABR in the NSSA area, the command generates a default Type-7 LSA only when the default route exists in the routing table.
Page 59
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration To do... Use the command... Enable OSPF to filter the routes filter-policy { acl-number | ip-prefix advertised by other routing protocols ip-prefix-name } export [ routing-protocol ]...
Page 60
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration To do... Use the command... Enable an OSPF area to filter Type-3 filter-policy { acl-number | ip-prefix LSAs advertised to other areas ip-prefix-name } export Disable an OSPF area from filtering...
Page 61
By default, route summary is disabled on ABRs. II. Configuring summarization of imported routes by OSPF OSPF of the S9500 series supports route summary of imported routes. Perform the following configurations in OSPF view to configure/cancel summarization of imported routes by OSPF: To do...
Page 62
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration To do... Use the command... Configure a preference for OSPF for comparing preference [ ase ] preference with the other routing protocols Restore the default protocol preference...
Page 63
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration By default, the dead interval for the neighboring routers of p2p or broadcast interfaces is 40 seconds and that for the neighboring routers of p2mp or nbma interfaces is 120 seconds.
Page 64
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration NBMA means that a network is non-broadcast and multi-accessible. ATM is a typical example for it. The user can configure the polling interval to specify the interval for sending polling hello packets before the adjacency of the neighboring routers is formed.
Page 65
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration Perform the following configuration in OSPF view to configure/remove the NBMA neighbors for OSPF: To do... Use the command... peer ip-address [ dr-priority Configure the NBMA neighbors for OSPF...
Page 66
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration DR election is only required for the broadcast or NBMA interfaces. For the p2p or p2mp interfaces, DR election is not required. Perform the following configuration in interface view to set/restore the interface priority for DR election: To do...
Page 67
For S9500 series, the default cost for running OSPF on the VLAN interface is 10. 1.3.16 Configuring to Fill the MTU Field When an Interface Transmits DD Packets OSPF-running routers use Database Description (DD) packets to describe their own LSDBs during LSDB synchronization.
Page 68
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration By default, the interval of SPF recalculation is five seconds. 1.3.18 Disabling the Interface to Send OSPF Packets To prevent OSPF routing information from being acquired by the routers on a certain network, use the silent-interface command to disable the interface to transmit OSPF packets.
Page 69
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration By default, the area does not support packet authentication. II. Configuring OSPF packet authentication OSPF supports simple authentication or MD5 authentication between neighboring routers. The authentication type configured on an interface takes effect only after the area to which the interface belongs is configured with the corresponding authentication type.
Page 70
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration physical interfaces, you can also configure various interface parameters on this link, such as hello timer. The "logic channel" means that the routers running OSPF between two ABRs only take...
Page 71
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration To do... Use the command... Configure an area to be the stub area stub [ no-summary ] Remove the configured stub area undo stub Configure the cost of the default route transmitted by...
Page 72
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration Perform the following configuration in OSPF area view to configure/cancel NSSA of OSPF: To do... Use the command... nssa [ default-route-advertise | Configure an area to be the NSSA area...
Page 73
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration To do... Use the command... Description Enter system view system-view — ospf [ process-id [ router-id router-id Enter OSPF view Required | vpn-instance vpn-instance-name] ] Required Set the switch for...
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration To do... Use the command... Reset one or all OSPF processes reset ospf [ statistics ] { all | process-id } Resetting the OSPF process can immediately clear invalid LSAs, and make the modified router ID effective or the DR and BDR are re-elected.
1.5.1 Configuring DR Election Based on OSPF Priority I. Network requirements Four the S9500 series switches, Switch A, Switch B, Switch C and Switch D, which can perform the router functions and run OSPF, are located on the same segment, as shown in the following figure.
Page 77
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration III. Configuration procedure # Configure Switch A. [Switch A] interface Vlan-interface 1 [Switch A-Vlan-interface1] ip address 196.1.1.1 255.255.255.0 [Switch A-Vlan-interface1] ospf dr-priority 100 [Switch A] router id 1.1.1.1...
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration # Change the priority of Switch B to 200. [Switch B-Vlan-interface2000] ospf dr-priority 200 On Switch A, execute the display ospf peer command to show its OSPF neighbors.
Page 82
Operation Manual – OSPF H3C S9500 Series Routing Switches Chapter 1 OSPF Configuration If more than two areas are configured, at least one area should be configured as the backbone area (that is to say, the area ID is 0).
Page 83
Operation Manual – ISIS H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 IS-IS Configuration ...................... 1-1 1.1 Introduction to IS-IS ......................1-1 1.1.1 Terms of IS-IS Routing Protocol ................1-1 1.1.2 Two-level Structure of IS-IS Routing Protocol ............1-2 1.1.3 NSAP Structure of IS-IS Routing Protocol ..............
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration Chapter 1 IS-IS Configuration When configuring IS-IS, go to these sections for information you are interested in: Introduction to IS-IS Configuring IS-IS Displaying and Debugging IS-IS IS-IS Configuration Example Note: The term “router”...
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration Link State DataBase (LSDB). All the link states in the network form the LSDB. In an IS, at least one LSDB is available. The IS uses the SPF algorithm and the LSDB to generate its own routes.
Page 86
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration Level-1-2 router A Level-1-2 router is both a Level-1 router and a Level-2 router. At least one Level-1-2 router in each area connects the area to the backbone network. A Level-1-2 router maintains two LSDBs: the Level-1 LSDB for intra- area route and Level-2 LSDB for inter-area route.
System ID System ID uniquely identifies terminal system or router in a route area. You can select length for it. For S9500 series, System ID length is 48 bits (6 bytes). In general, you can obtain System ID according to Router_ID.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration NSAP selector (SEL or N-SEL) functions as the protocol identifier of an IP address. Different transmission protocols correspond to different identifiers. In IS-IS, SELs are Because the address structure defines clearly an area, a Level-1 router can easily identify the packets not sent to the area where it is located.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration III. SNP Sequence Number Packet (SNP) can confirm the LSPs last received from neighbors. SNPs function as acknowledge packets, but SNPs function more efficiently. SNP includes complete SNP (CSNP) and partial SNP (PSNP). SNP can be further divided into Level-1 CSNP, Level-2 CSNP, Level-1 PSNP and Level-2 PSNP.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration Setting the Mesh Group of the Interface Setting Overload Flag Bit Enabling to Log the Peer Changes Enabling/Disabling IS-IS Packet Transmission Configuring IS-IS GR Some operation commands...
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration To do... Use the command... Enable IS-IS on the specified Interface isis enable [ tag ] Cancel this designation undo isis enable [ tag ] 1.2.4 Setting Priority for DIS Election In the broadcast network, IS-IS needs to elect a DIS from all the routers.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration 1.2.6 Setting Interface Circuit Level Perform the following configuration in interface view to set/restore the interface circuit level: To do... Use the command... isis circuit-level [ level-1 | level-1-2 |...
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration If the level is not specified in the command for redistributing the route, it defaults to redistributing the routes into level-2. protocol specifies the routing protocol sources that can be redistributed, which can be direct, static, rip, bgp, ospf, OSPF-ASE, OSPF-NSSA, and NAT.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration Note: The filter-policy import command only filters the IS-IS routes received from the neighbors, and routes that cannot pass the filter will not be added to the routing table.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration 1.2.11 Setting to Generate Default Route In the IS-IS route domain, the Level-1 router only has the LSDB of the local area, so it can only generate the routes in the local areas. But the Level-2 router has the backbone LSDB in the IS-IS route domains and generates the backbone network routes only.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration Perform the following configuration in IS-IS view to configure/restore the style for route metric values of IS-IS packets: To do... Use the command... cost-style { narrow | wide |...
Page 97
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration To do... Use the command... Set Hello packet interval, measured in isis timer hello seconds [ level-1 | seconds level-2 ] Restore the default Hello packet interval...
Page 98
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration To do... Use the command... Restore the default CSNP packet undo isis timer csnp [ level-1 | level-2 ] broadcast interval on the interface If the level is not specified, it defaults to setting CSNP packet broadcast interval for Level-1.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration Perform the following configuration in interface view to set/restore LSP packet retransmission interval: To do... Use the command... Set the retransmission interval of the isis timer retransmit seconds...
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration 1.2.17 Setting the Age of LSPs When a router generates an LSP, it fills the maximum age into the LSP. When other routers receive this LSP, its age begins to decrease. If no updated LSP is received with the age time, this LSP will be deleted from the LSDB.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration To do… Use the command… Set the SPF calculation duration for each slice spf-slice-size seconds Restore the default undo spf-slice-size By default, an SPF calculation is not divided into slices but runs until it ends, which can also be implemented by setting the seconds argument to 0.
Page 102
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration To do... Use the command... Delete authentication-mode undo isis authentication-mode { simple | password md5 } By default, the interface is not configured with any authentication password nor performs authentication.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration Perform the following configuration in IS-IS view to configure IS-IS to use the MD5 algorithm compatible with that of the other vendors: To do... Use the command...
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration 1.2.21 Setting Overload Flag Bit Sometimes, the router in the IS-IS domain may encounter some problems in operation thus errors may occur in the whole routing area. In order to avoid this problem, you can set the overload flag bit for this router.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration To do... Use the command... Enable the interface to send IS-IS undo silent-interface interface-type packets interface-number By default, the interface is allowed to receive and send IS-IS packets.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration To do... Use the command... Description display isis You can execute the Display the IS-IS graceful display command in any graceful-restart status restart status [ l1 | l2 | level-1 | level-2 ] view.
Operation Manual – ISIS H3C S9500 Series Routing Switches Chapter 1 IS-IS Configuration 1.3 Displaying and Debugging IS-IS To do... Use the command... Remarks display isis Display the IS-IS graceful graceful-restart status Available in any view restart status [ l1 | l2 | level-1 | level-2 ]...
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration Chapter 1 BGP Configuration When configuring BGP, go to these sections for information you are interested in: BGP/MBGP Overview Configuring BGP Displaying and Debugging BGP BGP Configuration Examples...
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration BGP-4 can be extended easily to support new developments of the network. Note: CIDR handles IP addresses in an entirely new way, that is, it does not distinguish networks of Class A, Class B and Class C.
Multiple related peers compose a peer group. I. Route advertisement policy In the implementation of the S9500 series, these policies are used by BGP when advertising routes: If there are multiple routes available, a BGP speaker only selects the optimum one.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration inter-AS routing when used in the application of other network layer protocols (such as IPv6 etc). In order to support multiple network layer protocols, IETF extended BGP-4 and formed MBGP (Multiprotocol Extensions for BGP-4, multiple protocols extension of BGP-4).
II. Relationship between peer configuration and peer group configuration In S9500 series, a BGP peer must belong to a peer group. If you want to configure a BGP peer, you need first to create a peer group and then add a peer into the group.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration Others Clearing BGP Connection Refreshing BGP Routes 1.2.1 Enabling BGP To enable BGP, local AS number should be specified. After the enabling of BGP, local router listens to BGP connection requests sent by adjacent routers. To make the local router send BGP connection requests to adjacent routers, refer to the configuration of the peer command.
Page 117
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration II. Configuring AS number of an EBGP peer group You can specify AS number for an EBGP peer group, but IBGP needs no AS number. When a peer group is specified with an AS number, all its member peers inherit the AS number.
Page 118
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... Enable a peer/peer group peer { group-name | peer-address } enable Disable a peer/peer group undo peer { group-name | peer-address } enable By default, only BGP peer groups of IPv4 unicast address family are enabled.
Page 119
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... peer { group-name | peer-address } Configure description of a peer (group) description description-line undo peer { group-name | Delete description of a peer (group) peer-address } description By default, no BGP peer (group) description is set.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration 1.2.3 Configuring Application Features of a BGP Peer (Group) I. Configuring to permit connections with EBGP peer groups on indirectly connected networks Generally, EBGP peers must be connected physically. Otherwise the command below can be used to perform the configuration to make them communicate with each other normally.
Page 121
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... Configure to send default route peer group-name default-route-advertise to a peer group Configure not to send default undo peer group-name default-route-advertise route to a peer group By default, a BGP speaker does not send default route to any peer group.
Page 122
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... Remove private AS numbers while peer group-name public-as-only transmitting BGP update messages Include private AS numbers while undo peer group-name public-as-only transmitting BGP update messages By default, the private AS numbers are included during BGP update messages transmission.
The multicast extension configured in BGP view is also available in MBGP, since they use the same TCP link. 1.2.4 Configuring Route Filtering of a Peer (Group) H3C S9500 series support filtering imported and advertised routes for peers (groups) through Route-policy, AS path list, ACL and ip prefix list. 1-13...
Page 124
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration The route filtering policy of advertised routes configured for each member of a peer group must be same with that of the peer group but their route filtering policies of ingress routes may be different.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... Configure the ingress route filtering peer { group-name | peer-address } policy based on AS path list for a peer as-path-acl acl-number import...
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... Configure the local network route for network ip-address address-mask BGP distribution [ route-policy policy-name ] undo network ip-address Remove the local network route for BGP...
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... Configure to permit BGP to filter the default undo default-route imported routes of a protocol when this protocol is imported By default, BGP does not import the default routes of other protocols when BGP is importing the routes of other protocols.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... undo filter-policy Cancel the filtering of the routes acl-number | ip-prefix ip-prefix-name } advertised by other routing protocols export [ routing-protocol ] By default, BGP does not receive the routing information advertised by other routing protocols.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration When a router establishes a BGP connection with a peer, the router will compare their holdtime values and uses the smaller time as the negotiated holdtime. If the negotiation result is 0, the router will not send Keepalive message and will not detect whether the holdtime expires.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration Perform the following configuration in BGP view to configure/restore an MED metric for the system: To do... Use the command... Configure an MED metric for the system...
Page 133
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration Figure 1-1 The route reflector diagram Figure 1-1, Router C is a route reflector with two peer clients: Router A and Router B. Router A sends to Router C the update packet from an external peer. Router C sends the update packet to Router B.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration II. Configuring the route reflection between clients Perform the following configuration in BGP view to enable/disable route reflection between clients: To do... Use the command... Enable route reflection between clients...
Page 135
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration topology be basically changed. Furthermore, the path selected via confederation may not be the best path if there is no manually-set BGP policy. I. Configuring confederation_ID In the eye of the BGP speakers that are not included in the confederation, multiple sub-ASs that belong to the same confederation are a whole.
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration Perform the following configuration in BGP view to configure/cancel AS confederation attribute compatible with nonstandard: To do... Use the command... Configure AS confederation attribute confederation nonstandard compatible with nonstandard router...
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration As shown in Figure 1-2, Router D and Router E are IBGP peers of Router C. When Router A and Router B simultaneously advertise two routes to the same destination to...
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration 1.2.21 Clearing BGP Connection After the user changes BGP policy or protocol configuration, they must cut off the current connection so as to enable the new configuration.
Page 139
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... Remarks Display BGP dampened display bgp routing-table dampened paths Display the routing display bgp routing-table peer information the specified peer-address { advertised | received }...
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration To do... Use the command... Remarks Enable/disable debugging [ undo ] debugging bgp all of all BGP packets Enable/disable BGP event [ undo ] debugging bgp event...
Page 141
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration II. Network diagram A S10 0 AS1 00 1 S witch A A S10 02 Switch B 172.68.10.1 172.68.10.2 Ethernet 172.68.10.3 A S10 03 172.68.1.1 172.68.1.2 Switch C Switch D 156.10.1.1...
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration Using the display bgp routing-table command, you can view the BGP routing table on Switch D. Note: Switch D also knows the existence of network 1.0.0.0. 1.4.3 Configuring BGP Routing I.
Page 145
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration [Switch A-bgp] quit # Configure the MED attribute of Switch A. Add ACL on Switch A and permit network 1.0.0.0. [Switch A] acl number 2000 [Switch A-acl-basic-2000] rule permit source 1.0.0.0 0.255.255.255...
Page 146
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration [Switch C-Vlan-interface5] ip address 195.1.1.2 255.255.255.0 [Switch C] ospf [Switch C-ospf-1] area 0 [Switch C-ospf-1-area-0.0.0.0] network 193.1.1.0 0.0.0.255 [Switch C-ospf-1-area-0.0.0.0] network 195.1.1.0 0.0.0.255 [Switch C] bgp 200 [Switch C-bgp] group ex external [Switch C-bgp] peer 193.1.1.1 group ex as-number 100...
Page 148
Operation Manual – BGP H3C S9500 Series Routing Switches Chapter 1 BGP Configuration the interface. Consequently, the network command will fail to, or incorrectly, import routes, which can cause routing errors when some network faults exist. 1-38...
Page 149
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 IP Route Policy Configuration ..................1-1 1.1 Introduction to IP Route Policy ..................1-1 1.1.1 Filter ........................1-1 1.1.2 Route Policy Application ..................1-3 1.2 Configuring IP Route Policy....................
1.1.1 Filter In the S9500 series, five filters, Route-policy, ACL, AS-path, Community-list, and IP-prefix, are provided to be used by the routing protocols. The following sections introduce these filters respectively.
Page 151
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration I. ACL The access control lists (ACLs) used by route policy can be divided into the following types: Number-based basic ACLs Name-based basic ACLs...
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration 1.1.2 Route Policy Application Two route policy applications are as follows: When advertising/receiving routing information, the router filters the information according to the route policy, and receives or advertises the routing information which can meet the specified condition only.
Page 153
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration To do... Use the command... route-policy route-policy-name { permit Enter Route policy view | deny } node node-number undo route-policy route-policy-name Remove the specified route-policy...
Page 154
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration To do... Use the command... Disable matching the community undo if-match community attribute of the BGP routing information Match the destination address of the...
Page 155
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration III. Defining apply clauses for a route-policy The apply clauses specify actions, which are the configuration commands executed after a route satisfies the filtering conditions specified by the if-match clauses. Thereby, some attributes of the route can be modified.
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration To do... Use the command... Set the route origin of the BGP routing apply origin { igp | egp as-number | information incomplete }...
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration Note that if more than one ip-prefix item are defined, then the match mode of at least one list item should be the permit mode. The list items of the deny mode can be firstly defined to rapidly filter the routing information not satisfying the requirement, but if all the items are in the deny mode, no route will pass the ip-prefix filtering.
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration To do... Use the command... Cancel a undo ip community-list { basic-comm-list-number | community-list adv-comm-list-number } By default, a BGP community attribute list is not configured.
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration To do... Use the command... undo filter-policy { acl-number | Cancel the filtering of the received global ip-prefix ip-prefix-name [ gateway routing information ip-prefix-name] } import II.
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration To do… Use the command… Remarks Display the address prefix display ip ip-prefix Available in any view list information [ ip-prefix-name ] 1.4 IP Route Policy Configuration Example 1.4.1 Configuring to Filter the Received Routing Information...
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration [Switch A] router id 1.1.1.1 [Switch A] ospf [Switch A-ospf-1] area 0 [Switch A-ospf-1-area-0.0.0.0] network 10.0.0.0 0.255.255.255 # Redistribute the static routes. [Switch A-ospf-1] import-route static Configure Switch B.
Page 162
Operation Manual – IP Route Policy H3C S9500 Series Routing Switches Chapter 1 IP Route Policy Configuration as to let all the other routes pass the filtering (If less-equal 32 is not specified, only the default route will be matched).
Page 163
Operation Manual – Route Capacity H3C S9500 Series Routing Switches Table of Contents Table of Contents Chapter 1 Route Capacity Configuration ..................1-1 1.1 Introduction to Route Capacity ..................1-1 1.2 Route Capacity Configuration.................... 1-1 1.2.1 Route Capacity Configuration Task List..............1-1 1.2.2 Setting the Maximum Number of Route Entries Supported by the System ....
Page 164
Operation Manual – Route Capacity H3C S9500 Series Routing Switches Chapter 1 Route Capacity Configuration Chapter 1 Route Capacity Configuration When configuring route capacity, go to these sections for information you are interested Introduction to Route Capacity Route Capacity Configuration Note: The term “router”...
Page 165
Operation Manual – Route Capacity H3C S9500 Series Routing Switches Chapter 1 Route Capacity Configuration 1.2.2 Setting the Maximum Number of Route Entries Supported by the System Follow these steps to set the maximum number of route entries supported by the system: To do…...
Page 167
Operation Manual – Recursive Routing H3C S9500 Series Routing Switches Chapter 1 Recursive Routing Configuration Chapter 1 Recursive Routing Configuration When configuring recursive routing, go to these sections for information you are interested in: Recursive Routing Overview Recursive Routing Configuration Note: The term “router”...
Need help?
Do you have a question about the S9500 Series and is the answer not in the manual?
Questions and answers