HP 6125XLG Blade Switch Layer 3—IP Routing Command Reference Part number: 5998-3734 Software version: Rlease 2306 Document version: 6W100-20130912...
Page 2
HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.
Basic IP routing commands display ip routing-table Use display ip routing-table to display routing table information. Syntax display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Page 13
Table 1 Command output Field Description Destinations Number of destination addresses. Routes Number of routes. Destination/Mask Destination address/mask length. Proto Protocol that installed the route. Preference of the route. Cost Cost of the route. NextHop Next hop address of the route. Interface Output interface for packets to be forwarded along the route.
Page 14
BkTunnel ID: Invalid BkInterface: N/A Table 2 Command output Field Description Destinations Number of destination addresses. Routes Number of routes. Destination Destination address/mask length. Protocol Protocol that installed the route. SubProtID ID of the subprotocol for routing. Time for which the route has been in the routing table. Cost Cost of the route.
display ip routing-table acl Use display ip routing-table acl to display information about routes permitted by a specific basic ACL. Syntax display ip routing-table [ vpn-instance vpn-instance-name ] acl acl-number [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string...
Page 18
Usage guidelines Executing the command with different parameters yields different outputs: display ip routing-table ip-address: • The system ANDs the entered destination IP address with the subnet mask in each active route entry. The system ANDs the destination IP address in each active route entry with its own subnet mask. If the two operations yield the same result for an entry, the entry is displayed.
Destination/Mask Proto Cost NextHop Interface 11.0.0.0/8 Static 60 0.0.0.0 NULL0 11.0.0.0/16 Static 60 0.0.0.0 NULL0 # Display brief information about the most specific route to the destination address 1 1.0.0.1. <Sysname> display ip routing-table 11.0.0.1 longer-match Summary Count : 1 Destination/Mask Proto Cost...
Page 20
Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays routing information for the public network. prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. verbose: Displays detailed information about all routes permitted by the IP prefix list.
display ip routing-table protocol Use display ip routing-table protocol to display information about routes installed by a protocol. Syntax display ip routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive | verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies MPLS L3VPN instance by its name, a case-sensitive string of...
Table 3 Command output Field Description Proto Protocol that installed the route. route Number of routes installed by the protocol. active Number of active routes. Number of routes added to the routing table after the router started up or the routing table was added last cleared.
Page 24
Destination: FF00::/8 Protocol : Direct NextHop : :: Preference: 0 Interface : NULL0 Cost Table 4 Command output Field Description Destinations Number of destination addresses. Routes Number of routes. Destination IPv6 address and prefix of the destination network or host. NextHop Next hop address of the route.
Field Description AttrID Attribute ID. Neighbor Address of the neighbor determined by the routing protocol. Flags Flags of the route. OrigNextHop Next hop address of the route. RealNextHop Real next hop of the route. BkLabel Backup label. BkNexthop Backup next hop. Interface Output interface for packets to be forwarded along the route.
Page 27
Destination : ::1/128 Protocol : Direct NextHop : ::1 Preference: 0 Interface : InLoop0 Cost Destination : 1:1::/64 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0 Cost For command output, see Table # Display detailed information about all routes permitted by IPv6 ACL 2000. <Sysname>...
display ipv6 routing-table ipv6-address Use display ipv6 routing-table ipv6-address to display information about routes to an IPv6 destination address. Use display ipv6 routing-table ipv6-address1 to ipv6-address2 to display information about routes to a range of IPv6 destination addresses. Syntax display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address [ prefix-length ] [ longer-match ] [ verbose ] display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address1 to ipv6-address2 [ verbose ]...
Page 29
display ipv6 routing-table ipv6-address longer-match: • The system ANDs the entered destination IPv6 address with the prefix length in each active route entry. The system ANDs the destination IPv6 address in each active route entry with the prefix length in the entry. If the two operations yield the same result for multiple entries, the one that has the longest prefix length is displayed.
Routes Matched by Prefix list : test Summary Count : 1 Destination: ::1/128 Protocol : Direct NextHop : ::1 Preference: 0 Interface : InLoop0 Cost For command output, see Table # Display detailed information about all routes permitted by the IPv6 prefix list. [Sysname] display ipv6 routing-table prefix-list test verbose Routes Matched by Prefix list : test Summary Count : 1...
inactive: Displays information about inactive routes. Without this keyword, the command displays information about both active and inactive routes. verbose: Displays detailed routing table information. Without this keyword, the command displays brief routing information. Examples # Display brief information about direct routes. <Sysname>...
Summary Count : 0 For command output, see Table display ipv6 routing-table statistics Use display ipv6 routing-table statistics to display IPv6 route statistics. Syntax display ipv6 routing-table [ vpn-instance vpn-instance-name ] statistics Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
display max-ecmp-num Use display max-ecmp-num to display the maximum number of ECMP routes. Syntax display max-ecmp-num Views Any view Predefined user roles network-admin network-operator Examples # Display the maximum number of ECMP routes. <Sysname> display max-ecmp-num Max-ECMP-Num in use: 6 Max-ECMP-Num at the next reboot: 10 Table 7 Command output Field...
<Sysname> system-view [Sysname] max-ecmp-num 10 The configuration will take effect at the next reboot. Continue? [Y/N]:y Reboot device to make the configuration take effect. After reboot, the maximum number of ECMP routes is 10. reset ip routing-table statistics protocol Use reset ip routing-table statistics protocol to clear IPv4 route statistics. Syntax reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } Views...
Page 36
all: Clears route statistics for all IPv6 routing protocols. Examples # Clear all IPv6 route statistics for the public network. <Sysname> reset ipv6 routing-table statistics protocol all...
Static routing commands delete static-routes all Use delete static-routes all to delete all static routes. Syntax delete [ vpn-instance vpn-instance-name ] static-routes all Views System view Predefined user roles network-admin Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Page 39
track track-entry-number: Associates the static route with a track entry specified by its number in the range of 1 to 1024. For more information about track, see High Availability Configuration Guide. echo-packet: Specifies the BFD echo mode. public: Indicates that the specified next hop address is on the public network. interface-type interface-number: Specifies an output interface by its type and number.
Related commands display ip routing-table protocol ip route-static default-preference Use ip route-static default-preference to configure a default preference for static routes. Use undo ip route-static default-preference to restore the default. Syntax ip route-static default-preference default-preference-value undo ip route-static default-preference Default The default preference of static routes is 60.
RIP commands checkzero Use checkzero to enable zero field check on RIPv1 messages. Use undo checkzero to disable zero field check. Syntax checkzero undo checkzero Default The zero field check function is enabled. Views RIP view Predefined user roles network-admin Usage guidelines When the zero field check is enabled, the router discards RIPv1 messages in which zero fields contain non-zero values.
Predefined user roles network-admin Parameters value: Specifies a default metric for redistributed routes, in the range of 0 to 16. Usage guidelines When you use the import-route command to redistribute routes from another routing protocol without specifying a metric, the metric specified by the default cost command applies. Examples # Configure a default metric of 3 for redistributed routes.
[Sysname] rip 100 [Sysname-rip-100] default-route only cost 2 Related commands rip default-route display rip Use display rip to display state and configuration information for a RIP process. Syntax display rip [ process-id ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535.
Page 44
Number of routes changes: 1 Number of replies to queries: 0 Table 8 Command output Field Description Public VPN-instance name/Private VPN-instance Public network or VPN where the RIP process runs. name RIP process RIP process ID. RIP version RIP version 1 or 2. Preference RIP preference.
display rip database Use display rip database to display active routes for a RIP process. RIP advertises active routes in RIP routing updates. Syntax display rip process-id database Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. Examples # Display active routes for RIP process 100.
Page 46
Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, the command displays information about all RIP interfaces for the RIP process. Examples # Display information about all interfaces for RIP process 1.
Field Description Indicates whether to send a default route to RIP neighbors: • Only—Advertises only a default route. • Default route Originate—Advertises both a default route and other routes. • No-originate—Advertises only non-default routes. • Off—Advertises no default route. Default route cost Metric for a default route.
Table 11 Command output Field Description • R—RIP route. • A—The route is aging. Route Flags • S—The route is suppressed. • G—The route is in Garbage-collect state. Routing information learned from a neighbor on a RIP Peer X.X.X.X on interface-type interface-number interface.
Predefined user roles network-admin Parameters route-policy route-policy-name: Uses the specified routing policy to designate a backup next hop. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. Usage guidelines RIP FRR is only effective for RIP routes that are learned from directly connected neighbors. Do not use RIP FRR and BFD for RIP at the same time.
Page 50
protocol: Filters redistributed routes redistributed from the specified routing protocol, which can be bgp, direct, isis, ospf, rip, and static. process-id: Specifies the process ID of the specified routing protocol, in the range of 1 to 65535. Specify a process ID when the routing protocol is rip, ospf, or isis. If no process ID is specified, the default process ID is 1.
[Sysname-rip-1] filter-policy 2000 import # Use IP prefix list abc to filter received RIP routes. <Sysname> system-view [Sysname] ip prefix-list abc index 10 permit 11.0.0.0 8 [Sysname] rip 1 [Sysname-rip-1] filter-policy prefix-list abc import # Configure ACL 3000 to permit only route 1 13.0.0.0/16 to pass. Use ACL 3000 to filter received routes. <Sysname>...
Syntax host-route undo host-route Default RIP receives host routes. Views RIP view Predefined user roles network-admin Usage guidelines A router might receive many host routes from the same subnet. These routes are not helpful for routing and occupy many resources. To solve this problem, use the undo host-route command to disable RIP from receiving host routes.
all-processes: Enables route redistribution from all the processes of the specified protocol. This keyword takes effect only when the protocol is rip, ospf, or isis. allow-ibgp: Allows redistribution of IBGP routes. This keyword is available when the protocol argument is set to bgp. cost cost: Specifies a cost for redistributed routes, in the range of 0 to 16.
Parameters number: Specifies the maximum number of ECMP routes. Usage guidelines The value range for the number argument and the default setting depend on the max-ecmp-num command. If you set the maximum number of ECMP routes to m by using the max-ecmp-num command, the number argument in the maximum load-balancing command is in the range of 1 to m and defaults to m.
[Sysname] rip 100 [Sysname-rip-100] network 129.102.0.0 output-delay Use output-delay to configure the rate at which an interface sends RIP packets. Use undo output-delay to restore the default. Syntax output-delay time count count undo output-delay Default An interface sends up to three RIP packets every 20 milliseconds. Views RIP view Predefined user roles...
Parameters route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. value: Specifies a preference for RIP routes, in the range of 1 to 255. The smaller the value, the higher the preference. Usage guidelines You can specify a routing policy by using the keyword route-policy to set a preference for matching RIP routes.
Views User view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. Examples # Clear statistics for RIP process 100. <Sysname> reset rip 100 statistics Use rip to create a RIP process and enter RIP view. Use undo rip to disable a RIP process.
rip bfd enable Use rip bfd enable to enable BFD for RIP on an interface. Use undo rip bfd enable to restore the default. Syntax rip bfd enable undo rip bfd enable Default BFD for RIP is disabled on an interface. Views Interface view Predefined user roles...
cost: Specifies a cost for the default route, in the range of 1 to 15. The default is 1. no-originate: Advertises only non-default routes. Usage guidelines An interface that is enabled to advertise a default route does not receive any default route from RIP neighbors.
Syntax rip metricin [ route-policy route-policy-name ] value undo rip metricin Default The additional metric of an inbound route is 0. Views Interface view Predefined user roles network-admin Parameters route-policy route-policy-name: Uses the specified routing policy to add an additional metric for the routes matching it.
Use undo rip metricout to restore the default. Syntax rip metricout [ route-policy route-policy-name ] value undo rip metricout Default The additional metric for outbound routes is 1. Views Interface view Predefined user roles network-admin Parameters route-policy route-policy-name: Uses the specified routing policy to add an additional metric for the routes matching it.
Syntax rip split-horizon undo rip split-horizon Default The split horizon function is enabled. Views Interface view Predefined user roles network-admin Usage guidelines The split horizon function prevents routing loops. If you want to disable the function, make sure that • the operation is dispensable.
Examples # Advertise a summary route on VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip summary-address 10.0.0.0 255.255.255.0 Related commands summary rip version Use rip version to specify a RIP version on an interface. Use undo rip version to restore the default. Syntax rip version { 1 | 2 [ broadcast | multicast ] } undo rip version...
Examples # Configure RIPv2 in broadcast mode on VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip version 2 broadcast Related commands version silent-interface Use silent-interface to disable an interface from sending RIP messages. The interface can still receive RIP messages.
undo summary Default Automatic RIPv2 route summarization is enabled. Views RIP view Predefined user roles network-admin Usage guidelines Automatic RIPv2 route summarization can reduce the routing table size to enhance the scalability and efficiency for large networks. Examples # Disable automatic RIPv2 route summarization. <Sysname>...
update-value: Specifies the update timer in the range of 1 to 3600 seconds. Usage guidelines RIP uses the following timers: Update timer—Specifies the interval between routing updates. • Timeout timer—Specifies the route aging time. If no update for a route is received before the timer •...
<Sysname> system-view [Sysname-rip] rip 100 [Sysname-rip-100] undo validate-source-address version Use version to specify a global RIP version. Use undo version to restore the default. Syntax version { 1 | 2 } undo version Default No global RIP version is configured. An RIP interface can send RIPv1 broadcasts and receive RIPv1 broadcasts and unicasts, and RIPv2 broadcasts, multicasts, and unicasts.
OSPF commands abr-summary (OSPF area view) Use abr-summary to configure a summary route on an area border router (ABR). Use undo abr-summary to remove a summary route. Syntax abr-summary ip-address { mask | mask-length } [ advertise | not-advertise ] [ cost cost ] undo abr-summary ip-address { mask | mask-length } Default No route summarization is configured on an ABR.
area (OSPF view) Use area to create an area and enter area view. Use undo area to remove an area. Syntax area area-id undo area area-id Default No OSPF area is created. Views OSPF view Predefined user roles network-admin Parameters area-id: Specifies an area by its ID, which is an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format.
mask-length: Specifies the mask length in the range of 0 to 32 bits. cost cost: Specifies the cost of the summary route, in the range of 1 to 16777214. For Type- 1 external routes, the cost defaults to the largest cost among routes that are summarized. For Type-2 external routes, the cost defaults to the largest cost among routes that are summarized plus 1.
Parameters md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. Usage guidelines Routers that reside in the same area must have the same authentication mode: no authentication, simple, or MD5. Examples # Configure OSPF Area 0 to use the MD5 authentication mode. <Sysname>...
default Use default to configure default parameters for redistributed routes. Use undo default to remove the configuration. Syntax default { cost cost | tag tag | type type } * undo default { cost | tag | type } * Default The cost is 1, the tag is 1, and the route type is 2.
Parameters cost: Specifies a cost for the default route advertised to the Stub or NSSA area, in the range of 0 to 16777214. Usage guidelines This command takes effect only on the ABR of a stub area or the ABR/ASBR of an NSSA area. Examples # Configure Area 1 as a stub area, and specify the cost of the default route advertised to the stub area as 20.
cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. If no cost is specified, the default cost specified by the default cost command applies. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Parameters description: Configures a description for the OSPF process in OSPF view, or for the OSPF area in OSPF area view. The description argument specifies a string of 1 to 80 characters. Usage guidelines The description specified by this command is used to identify an OSPF process or area. Examples # Describe OSPF process 100 as abc.
Table 13 Command output Field Description Type of the route to the ABR or ASBR: • Intra—Intra-area route. Type • Inter—Inter-area route. Destination Router ID of an ABR/ASBR. Area ID of the area of the next hop. Cost Cost from the router to the ABR/ASBR. Nexthop Next hop address.
Summary Address : 30.1.0.0 Mask : 255.255.0.0 : 20 Status : Advertise Cost : 10 (Configured) The Count of Route is : 2 Destination Net Mask Proto Process Type Metric 30.1.2.0 255.255.255.0 OSPF 30.1.1.0 255.255.255.0 OSPF Table 14 Command output Field Description Total Summary Address Count...
Page 81
Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Usage guidelines If no OSPF process is specified, this command displays brief information about all OSPF processes. Examples # Display OSPF brief information. <Sysname>...
Page 82
Timers: Hello 10 , Dead 40 , Poll 40 , Retransmit 5 , Transmit Delay 1 FRR backup: enable Table 15 Command output Field Description OSPF Process 1 with Router ID 192.168.1.2 OSPF process ID and OSPF router ID. RouterID Router ID.
Field Description Authentication type of the area: • None—No authentication. Authtype • Simple—Simple authentication. • MD5—MD5 authentication. Type of the area: • Normal. • Stub. Area flag • StubNoSummary (totally stub area). • NSSA. • NSSANoSummary (totally NSSA area). SPF scheduled Count SPF calculation count in the OSPF area.
Page 84
Examples # Display OSPF statistics. <Sysname> display ospf cumulative OSPF Process 1 with Router ID 2.2.2.2 Cumulations IO Statistics Type Input Output Hello DB Description Link-State Req Link-State Update Link-State Ack LSAs originated by this router Router: 4 Network: 0 Sum-Net: 0 Sum-Asbr: 0 External: 0...
Field Description Sum-Net Number of Type-3 LSAs originated. Sum-Asbr Number of Type-4 LSAs originated. External Number of Type-5 LSAs originated. NSSA Number of Type-7 LSAs originated. Opq-Link Number of Type-9 LSAs originated. Opq-Area Number of Type-10 LSAs originated. Opq-As Number of Type-11 LSAs originated. LSA originated Number of LSAs originated.
Page 86
: OSPF bad virtual link : OSPF bad authentication type : OSPF bad authentication key : OSPF packet too small : OSPF Neighbor state low : OSPF transmit error : OSPF interface down : OSPF unknown neighbor : HELLO: Netmask mismatch : HELLO: Hello timer mismatch : HELLO: Dead timer mismatch : HELLO: Extern option mismatch...
Field Description LS UPD: LSA checksum bad LSU packets with wrong LSA checksum. LS UPD: Received less recent LSA LSU packets without latest LSA. LS UPD: Unknown LSA type LSU packets with unknown LSA type. display ospf graceful-restart Use display ospf graceful-restart to display GR information for an OSPF process. Syntax display ospf [ process-id ] graceful-restart [ verbose ] Views...
Page 88
Interface: 40.4.0.1 (Vlan-interface40) Restarter state: Normal State: DR Type: Broadcast Neighbor count of this interface: 1 Neighbor IP address GR state Last Helper exit reason 3.3.3.3 40.4.0.3 Normal None Virtual-link Neighbor-ID -> 4.4.4.4, Neighbor-State: Full Restarter state: Normal Interface: 20.2.0.1 (Vlink) Transit Area: 0.0.0.1 Neighbor IP address...
Field Description GR state: • Normal—Normal state. Current GR state • Under GR—GR is in process. • Under Helper—The process is acting as Helper. Area Area ID in IP address format. Authentication type of the area: • None—No authentication. Authtype •...
Page 90
Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process ID in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number. verbose: Displays the OSPF information for all interfaces. Usage guidelines If no OSPF process is specified, this command displays the OSPF interface information for all OSPF processes.
Field Description Interface state: • DOWN—No protocol traffic can be sent or received on the interface. • Waiting—The interface starts sending and receiving Hello packets and the router is trying to determine the identity of the (Backup) designated router for the network.
: 32 Options Seq# : 80000003 Checksum : 0x2a77 Net Mask : 255.255.255.0 Attached Router 192.168.1.1 Attached Router 192.168.1.2 Table 22 Command output Field Description Type LSA type. LS ID DR IP address. Adv Rtr Router that advertised the LSA. LS Age LSA age time.
Page 95
interface-type interface-number: Specifies an interface by its type and number. neighbor-id: Specifies a neighbor router ID. Usage guidelines If no OSPF process is specified, this command displays OSPF neighbor information for all OSPF processes. If the verbose keyword is not specified, this command displays brief OSPF neighbor information. If no interface is specified, this command displays the neighbor information for all interfaces.
Page 96
Field Description Neighbor state: • Down—Initial state of a neighbor conversation. • Init—The router has seen a Hello packet from the neighbor. However, the router has not established bidirectional communication with the neighbor (the router itself did not appear in the neighbor's hello packet). •...
Table 25 Command output Field Description The state statistics information of all the routers in the area to which the router belongs Area ID is displayed. Down Number of neighboring routers in Down state in the same area. Attempt Number of neighboring routers in Attempt state in the same area. Init Number of neighboring routers in Init state in the same area.
The Router's Neighbor is Router ID 2.2.2.2 Address 10.1.1.2 Interface 10.1.1.1 Area 0.0.0.0 Request list: Type LinkState ID AdvRouter Sequence Router 2.2.2.2 1.1.1.1 80000004 Network 192.168.0.1 1.1.1.1 80000003 Sum-Net 192.168.1.0 1.1.1.1 80000002 Table 26 Command output Field Description The Router's Neighbor is Router ID Neighbor router ID.
If no neighbor is specified, this command displays retransmission queue information for all neighbors. Examples # Display OSPF retransmission queue information. <Sysname> display ospf retrans-queue The Router's Neighbor is Router ID 2.2.2.2 Address 10.1.1.2 Interface 10.1.1.1 Area 0.0.0.0 Retransmit list: Type LinkState ID AdvRouter...
Page 101
mask: Specifies the mask in dotted decimal notation. mask-length: Specifies mask length in the range of 0 to 32 bits. interface interface-type interface-number: Displays routes passing the specified output interface. nexthop nexthop-address: Displays routes passing the specified next hop. verbose: Displays detailed OSPF routing information. Usage guidelines If no OSPF process is specified, this command displays the routing information for all OSPF processes.
Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Usage guidelines If no OSPF process is specified, this command displays the OSPF virtual link information for all OSPF processes. Examples # Display OSPF virtual link information. <Sysname>...
<Sysname> display router id Configured router ID is 1.1.1.1 enable link-local-signaling Use enable link-local-signaling to enable the OSPF link-local signaling (LLS) capability. Use undo enable link-local-signaling to disable the OSPF LLS capability. Syntax enable link-local-signaling undo enable link-local-signaling Default OSPF link-local signaling capability is disabled. Views OSPF view Predefined user roles...
Use filter to configure OSPF to filter inbound/outbound Type-3 LSAs on an ABR. Use undo filter to disable Type-3 LSA filtering. Syntax filter { acl-number | prefix-list prefix-list-name | route-policy route-policy-name } { export | import } undo filter { export | import } Default Type-3 LSAs are not filtered.
Page 107
Views OSPF view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter redistributed routes by destination address. prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter redistributed routes by destination address.
filter-policy import (OSPF view) Use filter-policy import to configure OSPF to filter routes calculated using received LSAs. Use undo filter-policy import to restore the default. Syntax filter-policy { acl-number [ gateway prefix-list-name ] | gateway prefix-list-name | prefix-list prefix-list-name [ gateway prefix-list-name ] | route-policy route-policy-name } import undo filter-policy import Default Routes calculated using received LSAs are not filtered.
If you do not provide the nonstandard or ietf keyword, the command enables non-IETF GR for OSPF. Examples # Enable IETF GR for OSPF process 1. <Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] opaque-capability enable [Sysname-ospf-1] graceful-restart ietf # Enable non-IETF GR for OSPF process 1. <Sysname>...
graceful-restart helper strict-lsa-checking Use graceful-restart helper strict-lsa-checking to enable strict LSA checking capability for GR Helper. Use undo graceful-restart helper strict-lsa-checking to disable strict LSA checking capability for GR Helper. Syntax graceful-restart helper strict-lsa-checking undo graceful-restart helper strict-lsa-checking Default Strict LSA checking capability for GR Helper is disabled. Views OSPF view Predefined user roles...
Usage guidelines The value of the GR restart interval cannot be smaller than the maximum OSPF neighbor dead time of all the OSPF interfaces. Otherwise, GR restart might fail. Examples # Configure the GR interval for OSPF process 1 as 100 seconds. <Sysname>...
Page 113
Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | [ cost cost | route-policy route-policy-name | tag tag | type type ] * undo import-route protocol [ process-id | all-processes ] Default OSPF does not redistribute AS-external routes from any other routing protocol. Views OSPF view Predefined user roles...
Only active routes can be redistributed. To view information about active routes, use the display ip routing-table protocol command. The undo import-route protocol all-processes command removes only the configuration made by the import-route protocol all-processes command, instead of the configuration made by the import-route protocol process-id command.
undo log-peer-change Default The logging of OSPF neighbor state changes is enabled. Views OSPF view Predefined user roles network-admin Usage guidelines After you enable this feature, the information about OSPF neighbor state changes will be output to the terminal. Examples # Disable the logging of neighbor state changes for OSPF process 100.
<Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] lsa-arrival-interval 200 Related commands lsa-generation-interval lsdb-overflow-interval Use lsdb-overflow-interval to configure the interval that OSPF exits overflow state. Use undo lsdb-overflow-interval to restore the default. Syntax lsdb-overflow-interval interval undo lsdb-overflow-interval Default The OSPF exit overflow interval is 300 seconds. Views OSPF view Predefined user roles...
Default The maximum interval is 5 seconds, the minimum interval is 0 milliseconds, and the incremental interval is 0 milliseconds. Views OSPF view Predefined user roles network-admin Parameters maximum-interval: Specifies the maximum LSA generation interval in the range of 1 to 60 seconds. minimum-interval: Specifies the minimum LSA generation interval in the range of 10 to 60000 milliseconds.
Predefined user roles network-admin Parameters number: Specifies the upper limit of external LSAs in the LSDB, in the range of 1 to 1000000. Examples # Specify the upper limit of external LSAs as 400000. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] lsdb-overflow-limit 400000 maximum load-balancing (OSPF view) Use maximum load-balancing to specify the maximum number of equal-cost multi-path (ECMP) routes for load balancing.
Use undo network to disable OSPF for the interface attached to the specified network in the area. Syntax network ip-address wildcard-mask undo network ip-address wildcard-mask Default OSPF is not enabled for any interface. Views OSPF area view Predefined user roles network-admin View OSPF area view...
Views OSPF area view Predefined user roles network-admin Parameters default-route-advertise: Used on an NSSA ABR or an ASBR only. If it is configured on an NSSA ABR, the ABR generates a default route in a Type-7 LSA into the NSSA area regardless of whether a default route is available in the routing table.
[Sysname-ospf-1] area 0 [Sysname-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255 [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] ospf bfd enable ospf cost Use ospf cost to set an OSPF cost for an interface. Use undo ospf cost to restore the default. Syntax ospf cost value undo ospf cost Default An interface computes its OSPF cost according to the interface bandwidth.
Default The router priority is 1. Views Interface view Predefined user roles network-admin Parameters priority: Specify the router priority for the interface, in the range of 0 to 255. Usage guidelines The greater the value, the higher the priority for DR/BDR election. If a device has a priority of 0, it will not be elected as a DR or BDR.
Use undo ospf mib-binding to restore the default. Syntax ospf mib-binding process-id undo ospf mib-binding Default MIB operation is bound to the OSPF process with the smallest process ID. Views System view Predefined user roles network-admin Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Examples # Bind MIB operation to OSPF process 100.
[Sysname-Vlan-interface10] ospf mtu-enable ospf network-type Use ospf network-type to set the network type for an interface. Use undo ospf network-type to restore the default network type for an interface. Syntax ospf network-type { broadcast | nbma | p2mp [ unicast ] | p2p } undo ospf network-type Default By default, the network type of an interface depends on its link layer protocol:...
[Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf network-type nbma Related commands ospf dr-priority ospf timer dead Use ospf timer dead to set the neighbor dead interval. Use undo ospf timer dead to restore the default. Syntax ospf timer dead seconds undo ospf timer dead Default The dead interval is 40 seconds for broadcast and P2P interfaces.
Default The hello interval is 10 seconds for P2P and broadcast interfaces, and is 30 seconds for P2MP and NBMA interfaces. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies the hello interval in the range of 1 to 65535 seconds. Usage guidelines The shorter the hello interval, the faster the topology converges, and the more resources are consumed.
Examples # Set the poll timer interval on VLAN-interface 10 to 130 seconds. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf timer poll 130 Related commands ospf timer hello ospf timer retransmit Use ospf timer retransmit to set the LSA retransmission interval on an interface. Use undo ospf timer retransmit to restore the default.
Default The LSA transmission delay is 1 second. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies the LSA transmission delay in the range of 1 to 3600 seconds. Usage guidelines Each LSA in the LSDB has an age that is incremented by 1 every second, but the age does not change during transmission.
Routers on the network cannot find neighbors through broadcasting hello packets, so you must specify neighbors and neighbor DR priorities on the routers. After startup, a router sends a hello packet to neighbors with DR priorities higher than 0. When the DR and BDR are elected, the DR will send hello packets to all neighbors for adjacency establishment.
Examples # Set a preference of 200 for OSPF external routes. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] preference ase 200 # Use a routing policy to set a preference of 100. <Sysname> system-view [Sysname] ip prefix-list test index 10 permit 100.1.1.0 24 [Sysname] route-policy pre permit node 10 [Sysname-route-policy-pre-10] if-match ip-prefix test [Sysname-route-policy-pre-10] quit...
Usage guidelines If no process is specified, this command restarts all OSPF processes. The reset ospf process command performs the following actions: Clears all invalid LSAs without waiting for their timeouts. • Makes a newly configured Router ID take effect. •...
Views OSPF view Predefined user roles network-admin Usage guidelines RFC 1583 specifies a different method than RFC 2328 for selecting the best route from multiple AS external routes destined for the same network. Using this command makes them compatible. If RFC 2328 is compatible with RFC 1583, the intra-area route in the backbone area is preferred.
Examples # Configure a global router ID as 1.1.1.1. <Sysname> system-view [Sysname] router id 1.1.1.1 silent-interface (OSPF view) Use silent-interface to disable an interface or all interfaces from receiving and sending OSPF packets. Use undo silent-interface to remove the configuration. Syntax silent-interface { interface-type interface-number | all } undo silent-interface { interface-type interface-number | all }...
snmp trap rate-limit Use snmp trap rate-limit to configure the number of output traps in a specific time. Use undo snmp trap rate-limit to restore the default. Syntax snmp trap rate-limit interval trap-interval count trap-number undo snmp trap rate-limit Default OSPF outputs 7 traps in 10 seconds.
minimum-interval: Specifies the minimum OSPF SPF calculation interval in the range of 10 to 60000 milliseconds. incremental-interval: Specifies the incremental OSPF SPF calculation interval in the range of 10 to 60000 milliseconds. Usage guidelines Based on the LSDB, an OSPF router uses SPF to calculate a shortest path tree with itself as the root. OSPF uses the shortest path tree to determine the next hop to a destination.
Usage guidelines To remove the default-route-advertise-always or stub no-summary configuration on the ABR, execute the stub command again to overwrite it. To configure an area as a stub area, issue the stub command on all routers attached to the area. Examples # Configure Area 1 as a stub area.
transmit-pacing Use transmit-pacing to configure the maximum number of LSU packets that can be sent at the specified interval. Use undo transmit-pacing to restore the default. Syntax transmit-pacing interval interval count count undo transmit-pacing Default An OSPF interface sends up to three LSU packets every 20 milliseconds. Views OSPF view Predefined user roles...
Page 142
Views OSPF area view Predefined user roles network-admin Parameters router-id: Specifies the router ID of the neighbor on the virtual link. hello seconds: Sets the hello interval in the range of 1 to 8192 seconds. The default is 10. It must be identical with the hello interval on the virtual link neighbor.
Page 143
[Sysname-ospf-100] area 2 [Sysname-ospf-100-area-0.0.0.2] vlink-peer 1.1.1.1 Related commands authentication-mode • display ospf vlink •...
IS-IS commands area-authentication-mode Use area-authentication-mode to specify an area authentication mode and a password. Use undo area-authentication-mode to restore the default. Syntax area-authentication-mode { md5 | simple | gca key-id { hmac-sha-1 | hmac-sha-224 | hmac-sha-256 | hmac-sha-384 | hmac-sha-512 } } { cipher cipher-string | plain plain-string } [ ip | osi ] undo area-authentication-mode Default No area authentication or password is configured.
Usage guidelines The password in the specified mode is inserted into all outbound Level- 1 packets (LSP, CSNP, and PSNP) and is used to authenticate inbound Level- 1 packets. Area authentication enables IS-IS to discard routes from untrusted routers. Routers in an area must have the same authentication mode and password. If neither ip nor osi is specified, OSI-related fields are checked.
Interface bandwidth Cost ≤622 Mbps ≤2500 Mbps >2500 Mbps Examples # Enable automatic link cost calculation for IS-IS process 1. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] auto-cost enable Related commands • bandwidth-reference cost-style • bandwidth-reference (IS-IS view) Use bandwidth-reference to set the bandwidth reference value for automatic link cost calculation. Use undo bandwidth-reference to restore the default.
Use undo circuit-cost to remove the configuration. Syntax circuit-cost value [ level-1 | level-2 ] undo circuit-cost [ level-1 | level-2 ] Default No global link cost is configured. Views IS-IS view Predefined user roles network-admin Parameters value: Specifies the link cost value. The value range varies by cost style. For styles narrow, narrow-compatible, and compatible, the cost value is in the range of 0 to 63.
Predefined user roles network-admin Parameters narrow: Receives and sends only narrow cost style packets. (The narrow cost is in the range of 0 to 63.) wide: Receives and sends only wide cost style packets. (The wide cost is in the range of 0 to 16777215.) compatible: Receives and sends both wide and narrow cost style packets.
level-2: Advertises a Level-2 default route. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines If no level is specified, a Level-2 default route is advertised. The Level- 1 default route is advertised to other routers in the same area, and the Level-2 default route is advertised to all the Level-2 and Level- 1 -2 routers.
Page 151
network-operator Parameters level-1: Displays the IS-IS Level- 1 GR state. level-2: Displays the IS-IS Level-2 GR state. process-id: Specifies a process by its ID in the range of 1 to 65535. Examples # Display IS-IS GR state. <Sysname> display isis graceful-restart status Restart information for IS-IS(1) -------------------------------- Restart status: COMPLETE...
Field Description Restart t3 T3 timer, in seconds. Whether SA is supported: • SA Bit Supported. • Not supported. Total number of interfaces Total number of IS-IS interfaces. Number of LSPs not obtained by the GR Restarter from Number of waiting LSPs GR Helpers during LSDB synchronization.
Page 153
<Sysname> display isis interface verbose Interface information for IS-IS(1) ---------------------------------- Interface: Vlan-interface12 IPv4.State IPv6.State Type Down L1/L2 Yes/No SNPA Address 000c-29b2-a5e3 IP Address 8.8.8.7 Secondary IP Address(es) IPv6 Link Local Address Csnp Timer Value Hello Timer Value Hello Multiplier Value Lsp Timer Value Lsp Transmit-Throttle Count Cost...
Field Description Whether BFD for IS-IS is enabled: • IPv4 BFD Disabled. • Enabled. Whether BFD for IPv6 IS-IS is enabled: • IPv6 BFD Disabled. • Enabled. # Display IS-IS interface statistics. <Sysname> display isis interface statistics Interface Statistics information for ISIS(1) -------------------------------------------- Type IPv4 Up/Down...
Page 155
level-2: Displays the level-2 LSDB. local: Displays LSP information generated locally. lsp-id lspid: Specifies an LSP ID, in the form of sysID. Pseudo ID-fragment num, where sysID represents the originating node or pseudo node, and Pseudo ID is separated by a dot from sysID and by a hyphen from fragment num.
Field Description SOURCE System ID of the originating router. NLPID Network layer protocol the originating router runs. AREA ADDR Area address of the originating router. INTF ADDR IP address of the originating router’s IS-IS interface. INTF ADDR V6 IPv6 address of the originating router’s IS-ISv6 interface. NBR ID Neighbor ID of the originating router.
# Display IS-IS neighbor statistics. <Sysname> display isis peer statistics Peer Statistics information for ISIS(1) --------------------------------------- Type IPv4 Up/Init IPv6 Up/Init LAN Level-1 LAN Level-2 Table 39 Command output Field Description Neighbor type: • LAN Level-1—Number of Level- 1 neighbors whose network type is broadcast. Type •...
Examples # Display redistributed IPv4 routing information. <Sysname> display isis redistribute 1 Route information for IS-IS(1) ------------------------------ Level-1 IPv4 Redistribute Table -------------------------------- Type IPv4 Destination IntCost ExtCost State -------------------------------------------------------------------------------- 192.168.30.0/24 Active 11.11.11.11/32 10.10.10.0/24 Table 40 Command output Field Description Route information for IS-IS(1) IS-IS process of the redistributed routing information.
Page 162
network-operator Parameters ipv4: Displays IS-IS IPv4 routing information (the default). ip-address mask-length: Displays IS-IS IPv4 routing information for the specified IP address. The mask-length argument is in the range of 0 to 32. verbose: Displays detailed IS-IS IPv4 routing information. process-id: Displays IS-IS IPv4 routing information for an IS-IS process specified by its ID in the range of 1 to 65535.
Page 163
Field Description ISIS(1) IPv4 Level-1 Forwarding Table IS-IS IPv4 routing information for Level-1. ISIS(1) IPv4 Level-2 Forwarding Table IS-IS IPv4 routing information for Level-2. IPv4 Destination IPv4 destination address. IntCost Internal cost. ExtCost External cost. ExitInterface Exit interface. NextHop Next hop. Routing state flag: •...
Admin Tag : - Src Count : 1 Flag : -/-/- Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set Table 42 Command output Field Description Route information for ISIS(1) Route information for IS-IS process 1. ISIS(1) IPv4 Level-1 Forwarding Table IS-IS IPv4 routing information for Level-1.
Page 165
Usage guidelines If no level is specified, this command displays both Level- 1 and Level-2 routing information. If no IS-IS process ID is specified, this command displays the statistics for all IS-IS processes. Examples # Display IS-IS statistics. <Sysname> display isis statistics Statistics information for ISIS(1) ---------------------------------- Level-1 Statistics...
Parameters md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. gca: Specifies the generic cryptographic authentication mode. key-id: Specifies an SA by its key ID in the range of 1 to 65535. The sender puts a key ID in the authentication TLV, and the receiver uses the SA associated with the key ID to authenticate the incoming packet.
Syntax fast-reroute { auto | route-policy route-policy-name } undo fast-reroute Default IS-IS FRR is disabled. Views IS-IS view Predefined user roles network-admin Parameters auto: Calculates a backup next hop automatically for all routes. route-policy route-policy-name: Uses the specified routing policy to designate a backup next hop. The route-policy-name argument is a case-sensitive string of 1 to 63 characters.
protocol: Filters routes redistributed from the specified routing protocol, which can be bgp, direct, isis, ospf, rip, or static. If no protocol is specified, the command filters all redistributed routes. process-id: Specifies a process by its ID in the range of 1 to 65535. This argument is available only when the protocol is isis, ospf, or rip.
Page 170
Views IS-IS view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter routes calculated using received LSPs. prefix-list prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes calculated using received LSPs by destination address.
Views IS-IS view Predefined user roles network-admin Examples # Enable GR for IS-IS process 1. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] graceful-restart Related commands graceful-restart suppress-sa graceful-restart suppress-sa Use graceful-restart suppress-sa to suppress the Suppress-Advertisement (SA) bit during restart. Use undo graceful-restart suppress-sa to set the SA bit. Syntax graceful-restart suppress-sa undo graceful-restart suppress-sa...
graceful-restart t1 Use graceful-restart t1 to configure the T1 timer. Use undo graceful-restart t1 to restore the default. Syntax graceful-restart t1 seconds count count undo graceful-restart t1 Default The T1 timer is 3 seconds and can expire 10 times. Views IS-IS view Predefined user roles network-admin...
Default The T2 timer is 60 seconds. Views IS-IS view Predefined user roles network-admin Parameters seconds: Specifies the T2 timer in the range of 30 to 65535 seconds. Usage guidelines The T2 timer specifies the LSDB synchronization interval. Each LSDB has a T2 timer. The Level- 1 -2 router has two T2 timers: a Level- 1 timer and a Level-2 timer.
Usage guidelines The T3 timer specifies the GR interval. The GR interval is set as the holdtime in hello PDUs. Within the interval, the neighbors maintain their adjacency with the GR Restarter. If the GR process has not completed within the holdtime, the neighbors tear down the neighbor relationship and the GR process fails.
cost-type { external | internal }: Specifies the cost type. The internal type indicates internal routes, and the external type indicates external routes. If external is specified, the cost of a redistributed route is added by 64 to make internal routes take priority over external routes. The type is external by default. The keywords are available only when the cost type is narrow, narrow-compatible, or compatible.
Default Route advertisement from Level- 1 to Level-2 is enabled. Views IS-IS view Predefined user roles network-admin Parameters filter-policy: Specifies a filtering policy. acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter routes from Level- 1 to Level-2.
Views IS-IS view Predefined user roles network-admin Parameters filter-policy: Specifies a filtering policy. acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter routes from Level-2 to Level- 1 . prefix-list prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes from Level-2 to Level- 1 by destination address.
Predefined user roles network-admin Parameters number: Specifies the maximum number of redistributed Level 1/Level 2 IPv4 routes, in the range of 1 to 16384. Examples # Configure IS-IS process 1 to redistribute up to 1000 Level 1/Level 2 IPv4 routes. <Sysname>...
Usage guidelines The password in the specified mode is inserted into all outbound hello packets and is used for authenticating inbound hello packets. Only if the authentication succeeds can the neighbor relationship be formed. For two routers to become neighbors, the authentication mode and password at both ends must be identical.
isis circuit-level Use isis circuit-level to set the circuit level for the interface. Use undo isis circuit-level to restore the default. Syntax isis circuit-level [ level-1 | level-1-2 | level-2 ] undo isis circuit-level Default An interface can establish either the Level- 1 or Level-2 adjacency. Views Interface view Predefined user roles...
Default The network type of an interface depends on the physical media. (The network type of a VLAN interface is broadcast.) Views Interface view Predefined user roles network-admin Usage guidelines Perform this configuration only for a broadcast network with only two attached routers. Interfaces with different network types operate differently.
Usage guidelines If neither level-1 nor level-2 is included, the cost applies to both level-1 and level-2. Examples # Configure the Level-2 IS-IS cost as 5 for VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis cost 5 level-2 isis dis-name Use isis dis-name to configure a name for a DIS to represent the pseudo node on a broadcast network.
Default The priority of Level- 1 and Level-2 is 64. Views Interface view Predefined user roles network-admin Parameters value: Specifies a DIS priority in the range of 0 to 127. level-1: Applies the DIS priority to Level- 1 . level-2: Applies the DIS priority to Level-2. Usage guidelines If neither level-1 nor level-2 is specified, the DIS priority applies to both Level- 1 and Level-2.
Examples # Enable IS-IS process 1 globally and enable it on VLAN-interface 10. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00 [Sysname-isis-1] quit [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis enable 1 Related commands • isis network-entity • isis peer-ip-ignore Use isis peer-ip-ignore to configure a PPP interface to not check the peer's IP address in received hello packets.
undo isis silent Default An interface is not disabled from sending and receiving IS-IS packets. Views Interface view Predefined user roles network-admin Usage guidelines The feature is not supported on the loopback interface. Examples # Disable VLAN-interface 10 from sending and receiving IS-IS packets. <Sysname>...
Use undo isis timer csnp to remove the configuration. Syntax isis timer csnp seconds [ level-1 | level-2 ] undo isis timer csnp [ level-1 | level-2 ] Default The default CSNP interval is 10 seconds. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies on the DIS of a broadcast network the interval in seconds for sending CSNP packets,...
Parameters seconds: Specifies the interval in seconds for sending hello packets, in the range of 3 to 255. level-1: Specifies the interval for sending Level- 1 hello packets. level-2: Specifies the interval for sending Level-2 hello packets. Usage guidelines Level- 1 and Level-2 hello packets are sent independently on a broadcast network, so you need to specify an interval for each level.
Usage guidelines With the IS-IS hello multiplier configured, a router can uses hello packets to notify its neighbor router of the adjacency hold time (hello multiplier times hello interval). If the neighbor router does not receive any hello packets from this router within the hold time, it declares the adjacency down. You can adjust the adjacency hold time by changing the hello multiplier or the hello interval on an interface.
Usage guidelines If a change occurs in the LSDB, IS-IS advertises the changed LSP to neighbors. You can specify the minimum interval for sending these LSPs. Configure a proper LSP retransmission interval to avoid unnecessary retransmissions. Examples # Configure the interval as 500 milliseconds for sending LSPs on interface VLAN-interface 10. <Sysname>...
Syntax is-level { level-1 | level-1-2 | level-2 } undo is-level Default The IS level is level-1-2. Views IS-IS view Predefined user roles network-admin Parameters level-1: Specifies Level- 1 , which means IS-IS only calculates intra-area routes and maintains the Level- 1 LSDB.
Parameters symbolic-name: Specifies a host name for the local IS, a case-sensitive string of 1 to 64 characters. Examples # Configure a host name for the local IS. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] is-name RUTA is-name map Use is-name map to configure a system ID to host name mapping for a remote IS. Use undo is-name map to remove the mapping.
Views IS-IS view Predefined user roles network-admin Usage guidelines This command enables sending logs about IS-IS neighbor state changes to the configuration terminal. Examples # Disable the logging of IS-IS neighbor state changes. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] undo log-peer-change lsp-fragments-extend Use lsp-fragments–extend to enable LSP fragment extension for a level.
lsp-length originate Use lsp-length originate to configure the maximum size of generated Level- 1 or Level-2 LSPs. Use undo lsp-length originate to remove the configuration. Syntax lsp-length originate size [ level-1 | level-2 ] undo lsp-length originate [ level-1 | level-2 ] Default The maximum size of generated Level- 1 and Level-2 LSPs is 1497 bytes.
Predefined user roles network-admin Parameters size: Specifies the maximum size of received LSPs, in the range of 512 to 16384 bytes. Examples # Configure the maximum size of received LSPs. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] lsp-length receive 1024 maximum load-balancing (IS-IS view) Use maximum load-balancing to configure the maximum number of equal-cost multi-path (ECMP) routes for load balancing.
Use undo network-entity to delete a NET. Syntax network-entity net undo network-entity net Default No NET is configured. Views IS-IS view Predefined user roles network-admin Parameters net: Specifies a NET as a dotted hexadecimal string in the X…X.XXXX..XXXX.00 format. The X…X segment represents the area address, the XXXX..XXXX segment represents the system ID, and the 00 segment is the SEL.
undo preference Default IS-IS preference is 15. Views IS-IS view Predefined user roles network-admin Parameters preference: Specifies an IS-IS protocol preference in the range of 1 to 255. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to assign a priority to the matching routes.
prefix-list prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. tag tag-value: Specifies a tag value in the range of 1 to 4294967295. Usage guidelines The higher the convergence priority, the faster the convergence speed. IS-IS host routes have a medium convergence priority.
Predefined user roles network-admin Parameters system-id: Specifies an IS-IS neighbor by its system ID. process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535 to clear data structure information for the neighbor in the specified IS-IS process. Usage guidelines Use this command when you re-establish an IS-IS neighbor relationship.
allow: Allows advertising address prefixes. By default, no address prefixes are allowed to be advertised when the overload bit is set. external: Allows advertising IP address prefixes redistributed from other routing protocols with the allow keyword specified. interlevel: Allows advertising IP address prefixes learned from different IS-IS levels with the allow keyword specified.
level-2: Summarizes only the routes redistributed to Level-2. tag tag: Specifies a management tag in the range of 1 to 4294967295. Usage guidelines If no level is specified, only level-2 routes are summarized. If no topology is specified, routes for the base topology are summarized. You can summarize multiple contiguous networks into a single network to reduce the size of the routing table, as well as the size of LSP and LSDB generated by the router.
Usage guidelines By adjusting the LSP generation interval, you can prevent bandwidth and router resources from being over consumed due to frequent topology changes. When network changes are not frequent, the minimum-interval is adopted. If network changes become frequent, the LSP generation interval is incremented by the incremental-interval each time a generation occurs until the maximum-interval is reached.
Syntax timer lsp-refresh seconds undo timer lsp-refresh Default The default LSP refresh interval is 900 seconds. Views IS-IS view Predefined user roles network-admin Parameters seconds: Specifies the LSP refresh interval in the range of 1 to 65534 seconds. Usage guidelines To refresh LSPs before they are aged out, the interval configured by the timer lsp-refresh command must be smaller than that configured by the timer lsp-max-age command.
minimum-interval: Specifies the minimum SPF calculation interval in the range of 10 to 60000 milliseconds. incremental-interval: Specifies the incremental SPF calculation interval in the range of 10 to 60000 milliseconds. Usage guidelines Based on the LSDB, an IS-IS router uses the SPF algorithm to calculate a shortest path tree with itself being the root, and uses the shortest path tree to determine the next hop to a destination network.
BGP commands advertise-rib-active Use advertise-rib-active to enable BGP to advertise optimal routes in the IP routing table. Use undo advertise-rib-active to restore the default. Syntax advertise-rib-active undo advertise-rib-active Default BGP advertises optimal routes in the BGP routing table, regardless of whether they are optimal in the IP routing table.
Page 208
Table 44 Functions of the keywords Keywords Function Enables the summary route to carry the AS path information of all summarized routes. This feature can help avoid routing loops. However, if many routes are summarized and as-set are changed frequently, do not specify this keyword because this configuration causes the summary route to flap with the more specific routes.
Default Load balancing is not enabled. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters number: Specifies the maximum number of BGP ECMP routes for load balancing. When it is set to 1, load balancing is disabled.
With the bestroute compare-med command configured, the router puts routes received from the same AS into a group. The router then selects the route with the lowest MED from the same group, and compares routes from different groups. This mechanism avoids the above-mentioned problem. If the bestroute compare-med and balance commands are configured at the same time, the balance command does not take effect.
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. Examples # In BGP IPv4 unicast instance view, enable MED comparison for routes received from confederation peers.
Examples # Enable BGP, set the local AS number to 100, and enter BGP view. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] compare-different-as-med Use compare-different-as-med to enable MED comparison for routes from peers in different ASs. Use undo compare-different-as-med to disable the comparison. Syntax compare-different-as-med undo compare-different-as-med...
confederation id Use confederation id to configure a confederation ID. Use undo confederation id to remove the specified confederation ID. Syntax confederation id as-number undo confederation id Default No confederation ID is configured. Views BGP view Predefined user roles network-admin Parameters as-number: Specifies an AS number that identifies the confederation, in the range of 1 to 4294967295.
Related commands confederation nonstandard • confederation peer-as • confederation nonstandard Use confederation nonstandard to enable compatibility with routers not compliant with RFC 3065 in the confederation. Use undo confederation nonstandard to restore the default. Syntax confederation nonstandard undo confederation nonstandard Default The device is compatible with only routers compliant with RFC 3065 in the confederation.
Default No confederation peer sub-ASs are specified. Views BGP view Predefined user roles network-admin Parameters as-number-list: Specifies a sub-AS number list. Up to 32 sub-ASs can be configured in one command line. The expression is as-number-list = as-number &<1-32>. The as-number argument specifies a sub-AS number in the range of 1 to 4294967295, and &<1-32>...
Page 218
Parameters half-life-reachable: Specifies a half-life for active routes, in the range of 1 to 45 minutes. By default, the value is 15 minutes. half-life-unreachable: Specifies a half-life for suppressed routes, in the range of 1 to 45 minutes. By default, the value is 15 minutes. reuse: Specifies a reuse threshold value for suppressed routes, in the range of 1 to 20000.
default local-preference Use default local-preference to configure a default local preference. Use undo default local-preference to restore the default. Syntax default local-preference value undo default local-preference Default The default local preference is 100. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin...
default med Use default med to specify a default MED value. Use undo default med to restore the default. Syntax default med med-value undo default med Default The default med-value is 0. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin...
Routing policy configured: No routing policy is configured Members: Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 1.1.1.10 0 00:00:55 Established Table 47 Command output Field Description BGP peer group Name of the BGP peer group. Remote AS AS number of the peer group. Type of the peer groups: •...
Page 226
Syntax display bgp group ipv6 [ unicast ] [ vpn-instance vpn-instance-name ] [ group-name ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters.
Members: Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 3::3 0 00:00:40 Established Table 48 Command output Field Description BGP peer group Name of the BGP peer group. Remote AS AS number of the peer group. Type of the peer groups: •...
Page 228
Syntax display bgp network { ipv4 | ipv6 } [ unicast ] [ vpn-instance vpn-instance-name ] Views Any view Predefined user roles network-admin network-operator Parameters ipv4: Displays IPv4 address family information. ipv6: Displays IPv6 address family information. unicast: Displays IPv4 or IPv6 unicast address family information regardless of whether this keyword is specified or not.
Network Mask Route-policy Short-cut 50.1.1.0 255.255.255.0 40.1.1.0 255.255.255.0 Table 49 Command output Field Description Destination network address of the routes advertised by the Network network command and the shortcut routes. Mask Mask of the destination network address. PrefixLen Prefix length of the destination network address. Route-policy Routing policy that is applied to the route.
Table 50 Command output Field Description RefCount Number of BGP routes with these path attributes. MED attribute value. AS_PATH and ORIGIN attributes of the route: • AS_PATH attribute—Records the ASs the route has passed to avoid routing loops. • ORIGIN attribute—Identifies the origin of the route: Path/Origin i—Originated in the AS.
BGP local router ID: 192.168.100.1 Local AS number: 100 Total number of peers: 1 Peers in established state: 1 Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 10.2.1.2 0 00:10:34 Established Table 51 Command output Field Description Peer IP address of the peer. AS number of the peer.
Page 232
Peer Preferred Value: 0 BFD: Enabled Routing policy configured: No routing policy is configured Table 52 Command output Field Description Peer IP address of the peer. Local Local router ID. BGP connection type between the local router and the peer: •...
Field Description Routing policy configured for the peer. Routing policy configured If no routing policy is specified, this field displays No routing policy is configured. # Display log information about BGP IPv4 unicast peer 1.1.1.1 for the public network. <Sysname> display bgp peer ipv4 1.1.1.1 log-info Peer : 1.1.1.1 Date Time...
Page 234
Views Any view Predefined user roles network-admin network-operator Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. ipv6-address: Specifies a peer by its IPv6 address. log-info: Displays log information. verbose: Displays detailed information. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters.
Page 235
<Sysname> display bgp peer ipv6 1::2 verbose Peer: 1::2 Local: 192.168.1.136 Type: EBGP link BGP version 4, remote router ID 192.168.1.135 BGP current state: Established, Up for 00h05m48s BGP current event: RecvKeepalive BGP last state: OpenConfirm Port: Local - 13184 Remote - 179 Configured: Active Hold Time: 180 sec Keepalive Time: 60 sec...
Page 236
Field Description Timer configured on the local router in seconds, including the holdtime Configured (Active Hold Time) and keepalive interval (Keepalive Time). Received timer (configured on the peer) in seconds, including the Received holdtime (Active Hold Time). Negotiated timer in seconds, including the holdtime (Active Hold Time) Negotiated and keepalive interval (Keepalive Time).
Field Description BGP session state: • State Up—The BGP session is in Established state. • Down—The BGP session is down. Error code of the Notification, indicating the cause of why the BGP session is down. • Notification Error—Refers to the error code, which identifies the type of the Notification. Error/SubError •...
Table 57 Command output Field Description Status codes: • * – valid—Valid route. • > – best—Best route. • d – damped—Dampened route. • Status codes h – history—History route. • s – suppressed—Suppressed route. • S – Stale—Stale route. •...
Page 239
Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the command displays dampened BGP IPv6 unicast routes for the public network. Usage guidelines The command with the unicast keyword has the same effect as that without the unicast keyword. Examples # Display dampened BGP IPv6 unicast routes.
Page 241
Examples # Display BGP IPv4 unicast route flap statistics for the public network. <Sysname> display bgp routing-table flap-info ipv4 Total number of routes: 1 BGP local router ID is 192.168.1.135 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete Network...
Table 60 Command output Field Description Status codes: • * – valid—Valid route. • > – best—Best route. • d – damped—Dampened route. • Status codes h – history—History route. • s – suppressed—Suppressed route. • S – Stale—Stale route. •...
Page 244
network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the command displays the BGP IPv4 unicast routing information for the public network. network-address: Specifies a destination network address. mask: Specifies a network mask, in dotted decimal notation.
Page 245
Table 61 Command output Field Description Status codes: • * – valid—Valid route. • > – best—Best route. • d – damped—Dampened route. • Status codes h – history—History route. • s – suppressed—Suppressed route. • S – Stale—Stale route. •...
Relay nexthop : not resolved Original nexthop: 10.2.1.2 OutLabel : NULL AS-path : 200 Origin : igp Attribute value : MED 0, pref-val 0, pre 255 State : external, Table 62 Command output Field Description Number of routes: • Paths available—Number of valid routes.
Page 247
Syntax display bgp routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] network-address [ mask | mask-length ] advertise-info Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters.
Field Description Advertised to peers (1 in total) Peers to which the route has been advertised and the number of peers. display bgp routing-table ipv4 unicast as-path-acl Use display bgp routing-table ipv4 unicast as-path-acl to display BGP IPv4 unicast routes permitted by an AS path list.
Status codes: * - valid, > - best, d - damped, h - history, s - suppressed, S - Stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete Network NextHop LocPrf PrefVal Path/Ogn >...
Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the command displays the BGP IPv4 unicast route statistics for the public network.
Page 253
Examples # Display brief information about all BGP IPv6 unicast routes for the public network. <Sysname> display bgp routing-table ipv6 Total number of routes: 1 BGP local router ID is 192.168.1.136 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete >e Network : 3::...
Page 254
# Display detailed information about BGP IPv6 unicast routes destined to network 2::/64 for the public network. <Sysname> display bgp routing-table ipv6 2:: 64 BGP local router ID: 192.168.1.135 Local AS number: 200 Paths: 1 available, 1 best From : 1::1 (192.168.1.136) Relay nexthop : 1::1 Original nexthop: 1::1...
Field Description From IP address of BGP peer that advertised the route. Next hop found by route recursion. If no next hop is found, this field Relay Nexthop displays not resolved. # Display advertisement information about BGP IPv6 unicast routes destined to network 2::/64 for the public network.
Usage guidelines The command with the unicast keyword has the same effect as that without the unicast keyword. Examples # Display BGP IPv6 unicast routes permitted by AS path list 1. <Sysname> display bgp routing-table ipv6 as-path-acl 1 Total number of routes: 2 BGP local router ID is 192.168.1.136 Status codes: * - valid, >...
Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the command displays BGP IPv6 unicast routing information matching the specified BGP community list for the public network. basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99.
BGP local router ID is 192.168.1.135 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete >e Network : 2:: PrefixLen : 64 NextHop : ::FFFF:10.1.1.1...
Examples # Display statistics of BGP IPv6 unicast routes. <Sysname> display bgp routing-table ipv6 statistics Total number of routes: 4 ebgp-interface-sensitive Use ebgp-interface-sensitive to enable quick reestablishment of direct EBGP sessions. Use undo ebgp-interface-sensitive to disable the function. Syntax ebgp-interface-sensitive undo ebgp-interface-sensitive Default Quick reestablishment of direct EBGP sessions is enabled.
Examples # In BGP IPv4 unicast instance view, use ACL 2000 to filter outbound BGP routes. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] filter-policy 2000 export # In BGP-VPN IPv6 unicast instance view, use ACL6 2000 to filter outbound BGP routes. <Sysname>...
Page 263
Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to match routes by destination. acl6-number: Specifies an ACL6 by its number in the range of 2000 to 3999 to match routes by destination.
graceful-restart timer restart Use graceful-restart timer restart to configure the GR timer. Use undo graceful-restart timer restart to restore the default. Syntax graceful-restart timer restart timer undo graceful-restart timer restart Default The GR timer is 150 seconds. Views BGP view Predefined user roles network-admin Parameters...
Default The time to wait for the End-of-RIB marker is 180 seconds. Views BGP view Predefined user roles network-admin Parameters timer: Specifies the time to wait for the End-of-RIB marker, in the range of 3 to 300 seconds. Usage guidelines BGP uses this timer to control the time to receive updates from the peer.
Page 267
Predefined user roles network-admin Parameters group-name: Specifies a name for the peer group, a case-sensitive string of 1 to 47 characters. external: Creates an EBGP peer group. internal: Creates an IBGP peer group. Usage guidelines In a large-scale network, many peers can use the same route selection policy. You can configure a peer group and add these peers into this group.
[Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] group test external [Sysname-bgp-vpn1] peer test as-number 200 [Sysname-bgp-vpn1] peer 1::1 group test [Sysname-bgp-vpn1] peer 1::2 group test Related commands • display bgp group ipv4 unicast display bgp group ipv6 unicast • peer enable •...
Before you execute this command, use the ip vpn-instance command to create the VPN instance in system view, and use the route-distinguisher command to configure a route distinguisher (RD) for the VPN instance. Examples # Enter BGP-VPN instance view of VPN instance vpn1. <Sysname>...
[Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] log-peer-change Use log-peer-change to enable the logging of session state changes globally. Use undo log-peer-change to disable the function. Syntax log-peer-change undo log-peer-change Default Logging of session state changes is enabled globally. Views BGP view Predefined user roles...
Page 274
network ipv6-address prefix-length [ route-policy route-policy-name ] undo network ipv6-address prefix-length Default BGP does not advertise any local network. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters...
# In BGP-VPN IPv6 unicast instance view, inject local network 2002::/64 to the IPv6 BGP routing table. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] network 2002:: 64 network short-cut Use network short-cut to increase the preference for a received EBGP route. This EBGP route is called shortcut route.
You can use the preference command to modify the preferences for external and local BGP routes. Examples # In BGP IPv4 unicast instance view, increase the preference of EBGP route 10.0.0.0/16. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] network 10.0.0.0 255.255.0.0 short-cut # In BGP-VPN IPv6 unicast instance view, increase the preference of EBGP route 10::/16.
Usage guidelines The COMMUNITY attribute is a group of specific data carried in update messages. A route can carry one or more COMMUNITY attribute values (each is represented by a 4-byte integer). The receiving router processes the route (for example, determining whether to advertise the route and the scope for advertising the route) based on the COMMUNITY attribute values.
Page 278
peer { group-name | ipv6-address } advertise-ext-community undo peer { group-name | ipv6-address } advertise-ext-community Default No extended community attribute is advertised to a peer or peer group. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Parameters...
Related commands apply extcommunity • if-match extcommunity • • ip extcommunity-list peer allow-as-loop Use peer allow-as-loop to allow a local AS number to exist in the AS_PATH attribute of routes from a peer or peer group, and to configure the number of times the local AS number can appear. Use undo peer allow-as-loop to restore the default.
for example), the AS_PATH attribute of a route from a peer must be allowed to contain the local AS number. Otherwise, the route cannot be advertised correctly. Examples # In BGP IPv4 unicast instance view, configure the number of times the local AS number can appear in AS_PATH attribute of routes from peer group test as 2.
After you create a peer, you must use the peer enable command to enable BGP to exchange routing information with the specified peer. Examples # In BGP view, create BGP peer 1.1.1.1 and specify its AS number as 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 # In BGP-VPN instance view, create BGP peer 1::1 and specify its AS number as 100.
If you have specified no AS number for a peer group, peers added to it can use their own AS • numbers. Examples # In BGP view, specify the AS number for peer group test as 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test as-number 100 # In BGP-VPN instance view, specify the AS number for peer group test as 100.
import: Filters incoming routes. Usage guidelines The specified AS path list must have been created with the ip as-path command in system view. Otherwise, all routes can pass the AS path list. Examples # In BGP IPv4 unicast instance view, specify the AS path list 1 to filter routes outgoing to the peer group test.
Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. Usage guidelines BFD helps speed up BGP routing convergence upon link failures.
Page 285
Syntax peer { group-name | ip-address | ipv6-address } capability-advertise conventional undo peer { group-name | ip-address | ipv6-address } capability-advertise conventional Default BGP multi-protocol extension and route refresh are enabled. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters.
If a BGP router has multiple links to a peer, and the source interface fails, BGP has to reestablish TCP connections, causing network oscillation. To improve link availability, HP recommends that you use a loopback interface as the source interface. To establish multiple BGP sessions between two routers, specify the source interface for establishing TCP connections to each peer on the local router.
Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address.
Default No description information is configured for a peer or peer group. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created.
Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. hop-count: Specifies the maximum number of hop counts, in the range of 1 to 255.
Page 293
Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created.
Examples # In BGP view, advertise a fake AS number of 200 to the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test fake-as 200 # In BGP-VPN instance view, advertise a fake AS number of 200 to the peer group test. <Sysname>...
export: Filters routes advertised to the peer/peer group. import: Filters routes received from the peer/peer group. Usage guidelines The specified ACL referenced by the peer filter-policy command must have been created with the acl command in system view. Otherwise, all routes can pass the ACL. If you use a basic ACL (with a number from 2000 to 2999) configured with the rule [ rule-id ] { deny | permit } source source-address source-wildcard command, the command matches whose destination network addresses match the source-address source-wildcard argument without matching the masks of...
Page 297
undo peer { ip-address | ipv6-address } group group-name Default No peer exists in a peer group. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters ip-address: Specifies a peer by its IP address. ipv6-address: Specifies a peer by its IPv6 address. group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters.
<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] group test external [Sysname-bgp] peer 10.1.1.1 group test as-number 2004 # In BGP-VPN instance view, add peer 10.1.1.1 to the EBGP peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] group test external [Sysname-bgp-vpn1] peer 10.1.1.1 group test as-number 2004 # In BGP view, add peer 1::1 to the EBGP peer group test.
ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. Usage guidelines This command enables you to temporarily tear down the BGP session to a specific peer or peer group so that you can perform network upgrade and maintenance without needing to delete and reconfigure the peer or peer group.
Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. Usage guidelines To implement BGP session soft-reset when the local router and a peer or peer group do not support the route refresh function, use the peer keep-all-routes command to save all route updates received from the...
Default When the memory usage reaches level 2 threshold, BGP tears down an EBGP session to release memory resources periodically. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created.
In BGP IPv6 unicast instance view: peer { group-name | ipv6-address } next-hop-local undo peer { group-name | ipv6-address } next-hop-local Default The router sets itself as the next hop for routes sent to an EBGP peer or peer group, but does not set itself as the next hop for routes sent to an IBGP peer or peer group.
Page 303
Syntax peer { group-name | ip-address | ipv6-address } password { cipher | simple } password undo peer { group-name | ip-address | ipv6-address } password Default MD5 authentication is not configured for any BGP peer. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters...
<Sysname> system-view [Sysname] bgp 200 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer 10.1.100.1 password simple aabbcc peer preferred-value Use peer preferred-value to specify a preferred value for routes received from a peer or peer group. Use undo peer preferred-value to restore the default. Syntax In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view: peer { group-name | ip-address } preferred-value value...
You can also use the apply preferred-value command in a routing policy to configure the preferred value for BGP routes. If both the peer preferred-value and apply preferred-value commands are configured, the apply preferred-value command applies. If the preferred value set by the apply preferred-value command is 0 or no routing policy is configured, the peer preferred-value command applies.
Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IPv4 address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address.
Examples # In BGP IPv4 unicast instance view, configure the local device as a route reflector and specify the IBGP peer group test as a client. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] peer test reflect-client # In BGP-VPN IPv6 unicast instance view, configure the local device as a route reflector and specify the IBGP peer group test as a client.
ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. prefix-number: Specifies the number of routes that can be received from the peer or peer group. The value range is 1 to 4294967295.
[Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] peer test route-policy test-policy export Related commands filter-policy export • filter-policy import • peer as-path-acl • peer filter-policy • • peer prefix-list route-policy • peer route-update-interval Use peer route-update-interval to specify an interval for sending the same update to a peer or peer group.
[Sysname-bgp] peer test as-number 100 [Sysname-bgp] peer test route-update-interval 10 # In BGP-VPN instance view, specify the interval for sending the same update to peer group test as 10 seconds. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer test route-update-interval 10 peer substitute-as Use peer substitute-as to replace the AS number of a peer or peer group in the AS_PATH attribute with the local AS number.
[Sysname-bgp-vpn1] peer 1::1 substitute-as peer timer Use peer timer to configure a keepalive interval and holdtime for a peer or peer group. Use undo peer timer to restore the default. Syntax peer { group-name | ip-address | ipv6-address } timer keepalive keepalive hold holdtime undo peer { group-name | ip-address | ipv6-address } timer Default The keepalive interval is 60 seconds, and the holdtime is 180 seconds.
[Sysname-bgp] peer test timer keepalive 60 hold 180 # In BGP-VPN instance view, configure the keepalive interval and holdtime interval for peer group test as 60s and 180s. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer test timer keepalive 60 hold 180 # In BGP view, configure both the keepalive interval and holdtime for peer group test as 0 seconds, indicating the session will never time out.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to set the route preference for matching routes. Routes not matching the routing policy use the default preference. Usage guidelines Different routing protocols might find different routes to the same destination. However, not all of those routes are optimal.
Default Route reflection between clients is enabled. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Usage guidelines When a route reflector is configured, and the clients of a route reflector are fully meshed, route reflection is unnecessary because it consumes more bandwidth resources.
Page 318
Default A route reflector uses its router ID as the cluster ID. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Parameters cluster-id: Specifies the cluster ID in the format of an integer, in the range of 1 to 4294967295. ip-address: Specifies the cluster ID in the format of an IPv4 address in dotted decimal notation.
Related commands peer capability-advertise route-refresh • peer keep-all-routes • reset bgp all Use reset bgp all to reset all BGP sessions. Syntax reset bgp all Views User view Predefined user roles network-admin Usage guidelines To validate a new route selection policy, use this command to reset BGP sessions. BGP re-establishes the BGP sessions, advertises routes, and applies the new policy to routes.
Usage guidelines When you execute the reset bgp dampening ipv4 unicast command: If the network-address, mask, and mask-length arguments are not specified, the command clears all • BGP IPv4 unicast route dampening information of the public network or the specified VPN, and releases all suppressed BGP IPv4 unicast routes.
Examples # Clear damping information of BGP IPv6 unicast route 2345::/16 for the public network, and release the suppressed route. <Sysname> reset bgp dampening ipv6 2345:: 16 Related commands • dampening display bgp routing-table dampened ipv6 unicast • reset bgp flap-info ipv4 unicast Use reset bgp flap-info ipv4 unicast to clear the flap statistics of BGP IPv4 unicast routes.
Syntax reset bgp { as-number | ip-address | all | external | group group-name | internal } ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] Views User view Predefined user roles network-admin Parameters as-number: Resets BGP sessions to peers in the AS. ip-address: Specifies the IP address of a peer with which to reset the session.
all: Resets all BGP sessions of IPv6 unicast address family. external: Resets all the EBGP sessions of IPv6 unicast address family. group group-name: Resets sessions with peers in the specified BGP peer group. internal: Resets all the IBGP sessions of IPv6 unicast address family. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters.
After a router ID is changed, use the reset command to make it effective. Examples # Configure a global router ID as 1.1.1.1. <Sysname> system-view [Sysname] router id 1.1.1.1 Related commands router-id (BGP view, BGP-VPN instance view) router-id (BGP view, BGP-VPN instance view) Use router-id to specify a router ID for BGP or for a BGP VPN instance.
Related commands router id (system view) summary automatic Use summary automatic to configure automatic route summarization for redistributed IGP subnet routes. Use undo summary automatic to remove the configuration. Syntax summary automatic undo summary automatic Default Automatic route summarization is not performed for redistributed IGP subnet routes. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view Predefined user roles...
Page 329
Use undo timer to restore the default. Syntax timer keepalive keepalive hold holdtime undo timer Default The BGP keepalive interval and the holdtime are 60 seconds and 180 seconds. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters keepalive keepalive: Configures a keepalive interval in the range of 0 to 21845 seconds.
Page 330
# In BGP view, configure both the keepalive interval and holdtime as 0 seconds, indicating the sessions will never time out. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] timer keepalive 0 hold 0 # In BGP-VPN instance view, configure both the keepalive interval and holdtime as 0 seconds for BGP sessions in vpn1, indicating the sessions will never time out.
Policy-based routing commands apply next-hop Use apply next-hop to set a next hop. Use undo apply next-hop to remove the configuration. Syntax apply next-hop vpn-instance vpn-instance-name ip-address direct track track-entry-number ] }&<1-n> undo apply next-hop [ [ vpn-instance vpn-instance-name ] { ip-address }&<1-n> ] Default No next hop is set.
display ip policy-based-route Use display ip policy-based-route to display PBR policy information. Syntax display ip policy-based-route [ policy policy-name ] Views Any view Predefined user roles network-admin network-operator Parameters policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. Usage guidelines If no policy is specified, this command displays information about all policies.
Page 333
Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. slot slot-number: Displays the PBR configuration and statistics on an IRF member device. The slot-number argument is the ID of the IRF member device. Examples # Display PBR configuration and statistics on VLAN-interface 1 1.
Table 70 Command output Field Description PBR configuration and statistics on VLAN-interface 11. failed indicates that the policy (including all its nodes) failed to be Policy based routing information for assigned to the driver. interface Vlan-interface11(failed) For a global interface (with only a one-dimensional interface number, for example, VLAN-interface 11), failed can be displayed only when you specify the slot slot-number option for the command.
pr01 Vlan-interface11 Table 71 Command output Field Description Interface Name Interface where the policy is applied. Related commands ip policy-based-route if-match acl Use if-match acl to configure an ACL match criterion. Use undo if-match acl to remove the ACL match criterion. Syntax if-match acl acl-number undo if-match acl...
Views Interface view Predefined user roles network-admin Parameters policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified policy must already exist. Usage guidelines 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.
Usage guidelines If the specified policy node already exists, the command directly places you into policy node view. A policy that has been applied to an interface cannot be removed. To remove it, you must first cancel the application. If a policy node is specified, the undo policy-based-route command removes the specified policy node; if a match mode is specified, the command removes all nodes configured with the match mode;...
IPv6 static routing commands delete ipv6 static-routes all Use delete ipv6 static-routes all to delete all IPv6 static routes. Syntax delete ipv6 [ vpn-instance vpn-instance-name ] static-routes all Views System view Default level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Usage guidelines An IPv6 static route that has the destination address configured as ::/0 (a prefix length of 0) is the default IPv6 route. If the destination address of an IPv6 packet does not match any entry in the routing table, this default route is used to forward the packet.
Page 341
Related commands display ipv6 routing-table protocol...
RIPng commands checkzero Use checkzero to enable the zero field check on RIPng packets. Use undo checkzero to disable the zero field check. Syntax checkzero undo checkzero Default The zero field check function is enabled. Views RIPng view Predefined user roles network-admin Usage guidelines Some fields in RIPng packet headers must be zero.
Predefined user roles network-admin Parameters value: Specifies a default metric for redistributed routes, in the range of 0 to 16. Usage guidelines When you use the import-route command to redistribute routes from another routing protocol without specifying a metric, the metric specified by the default cost command applies. Examples # Configure a default metric of 2 for redistributed routes.
Number of trigger updates sent: 1 Table 72 Command output Field Description Public VPN-instance name/Private VPN-instance The RIPng process runs under a public VPN instance or name a specific VPN instance. RIPng process RIPng process ID. Preference RIPng preference. Indicates whether zero field check for RIPng packet Checkzero headers is enabled.
Table 73 Command output Field Description cost Route metric value. imported Indicates the route is redistributed from another routing protocol. RIPng-interface Route learned from the interface. Next hop IPv6 address. display ripng interface Use display ripng interface to display interface information for a RIPng process. Syntax display ripng process-id interface [ interface-type interface-number ] Views...
Field Description Indicates whether the poison reverse function is enabled: • Poison-reverse On—Enabled. • Off—Disabled. MetricIn/MetricOut Additional metric to incoming and outgoing routes. • Only—The interface advertises only a default route. • Originate—The interface advertises a default route and other RIPng routes. Default route •...
Field Description G–Garbage-collect The route is in Garbage-collect state. Peer Neighbor connected to the interface. Destination IPv6 destination address. Next hop IPv6 address. cost Routing metric value. Route tag. secs Time a route entry has stayed in the current state. filter-policy export Use filter-policy export to configure RIPng to filter redistributed routes.
To deny/permit a route with the specified destination and prefix, use the rule [ rule-id ] { deny | • permit } ipv6 source sour sour-prefix destination dest dest-prefix command. The source keyword specifies the destination address of a route and the destination keyword specifies the prefix of the route.
Usage guidelines To use an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one of the following ways: To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ip •...
Use undo maximum load-balancing to restore the default. Syntax maximum load-balancing number undo maximum load-balancing Views RIPng view Predefined user roles network-admin Parameters number: Specifies the maximum number of ECMP routes. Usage guidelines The value range for the number argument and the default setting depend on the max-ecmp-num command.
value: Specifies the preference for RIPng routes, in the range of 1 to 255. Usage guidelines You can specify a routing policy to set a preference for the matching RIPng routes. The preference set by the routing policy applies to all matching RIPng routes. The preference of •...
network-operator Parameters process-id: Specifies a RIPng process by its ID in the range of 1 to 65535. Examples # Clear statistics for RIPng process 100. <Sysname> reset ripng 100 statistics ripng Use ripng to create a RIPng process and enter RIPng view. Use undo ripng to disable a RIPng process.
Syntax ripng default-route { only | originate } [ cost cost ] undo ripng default-route Default A RIPng process does not advertise a default route. Views Interface view Predefined user roles network-admin Parameters only: Advertises only an IPv6 default route (::/0). originate: Advertises an IPv6 default route (::/0) and other routes.
Parameters process-id: Specifies a RIPng process by its ID in the range of 1 to 65535. Examples # Enable RIPng 100 on VLAN-interface 100. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng 100 enable ripng metricin Use ripng metricin to configure an interface to add a metric to inbound RIPng routes. Use undo ripng metricin to restore the default.
Views Interface view Predefined user roles network-admin Parameters value: Add an additional metric to outbound routes, in the range of 1 to 16. Examples # Configure RIPng on VLAN-interface 100 to add a metric of 12 to outbound routes. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng metricout 12 ripng poison-reverse...
Default The split horizon function is enabled. Views Interface view Predefined user roles network-admin Usage guidelines The split horizon function prevents routing loops. If you want to disable this function, make sure the operation is indispensable. If both poison reverse and split horizon are enabled, only the poison reverse function takes effect. Examples # Enable the split horizon function on VLAN-interface 100.
OSPFv3 commands abr-summary (OSPFv3 area view) Use abr-summary to configure an IPv6 summary route on an area border router (ABR). Use undo abr-summary to remove an IPv6 summary route. Syntax abr-summary ipv6-address prefix-length [ not-advertise ] [ cost value ] undo abr-summary ipv6-address prefix-length Default No route summarization is configured on an ABR.
Syntax area area-id undo area area-id Default No OSPFv3 area is created. Views OSPFv3 view Predefined user roles network-admin Parameters area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is changed to an IPv4 address by the system.
Configure a bandwidth reference value, and OSPFv3 computes the cost automatically based on the • bandwidth reference value: Interface OSPFv3 cost = Bandwidth reference value/Interface bandwidth. If the calculated cost is greater than 65535, the value of 65535 is used. If no cost value is configured for an interface, OSPFv3 computes the interface cost value automatically.
Page 363
Use undo default-route-advertise to restore the default. Syntax default-route-advertise [ [ always | permit-calculate-other ] | cost cost | route-policy route-policy-name | type type ] * undo default-route-advertise Default No default route is redistributed into the OSPFv3 routing domain. Views OSPFv3 view Predefined user roles network-admin...
display ospfv3 abr-asbr Use display ospfv3 abr-asbr to display information about the routes to OSPFv3 ABR and ASBR. Syntax display ospfv3 [ process-id ] abr-asbr Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If no OSPFv3 process ID is specified, this command displays information about all the routes to the OSPFv3 ABR and ASBR.
display ospfv3 brief Use display ospfv3 brief to display brief information about an OSPFv3 process. Syntax display ospfv3 [ process-id ] brief Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If no process ID is specified, this command displays brief information about all OSPFv3 processes.
LSA Count: 0 Table 77 Command output Field Description OSPFv3 Process 1 with Router ID 1.1.1.1 OSPFv3 process is 1, and router ID is 1.1.1.1. Router type: • ABR. Router Type • ASBR. • Null. The OSPFv3 process does not support multiple VPN Multi-VPN-Instance is not enabled instances.
Graceful-restart period : 120 seconds Number of neighbors under helper: 0 Number of restarting neighbors Table 78 Command output Field Description The GR status of OSPFv3 process 1 with router ID 3.3.3.3 OSPFv3 Process 1 with Router ID 3.3.3.3 is displayed. Indicates whether OSPFv3 GR is enabled: •...
Page 368
Examples # Display OSPFv3 information about VLAN-interface 1. <Sysname> display ospfv3 interface vlan-interface 1 OSPFv3 Process 1 with Router ID 1.1.1.1 Area: 0.0.0.0 ------------------------------------------------------------------------- Vlan-interface1 is up, line protocol is up Interface ID 65697 Instance ID 0 IPv6 Prefixes fe80::200:12ff:fe34:1 (Link-Local Address) 2001::1 Cost: 1...
Field Description Time intervals in seconds configured on the interface: • Hello—Hello interval. • Dead—Dead interval. • Wait—After this timer expires, the interface quits Timer interval configured from the waiting state. • Retransmit—LSA retransmission interval. • Transmit Delay—Transmission delay of the interface.
Page 370
self-originate: Displays locally originated LSAs. statistics: Displays LSA statistics. total: Displays total number of LSAs in the LSDB. Usage guidelines If no OSPFv3 process is specified, this command displays LSDB information for all processes. Examples # Display OSPFv3 LSDB information. <Sysname>...
Page 371
# Display Link LSA information in the LSDB. <Sysname> display ospfv3 lsdb link OSPFv3 Process 1 with Router ID 1.1.1.1 Link-LSA (Interface Vlan-interface11) ------------------------------------------------------------------------- LS age : 833 LS Type : Link-LSA Link State ID : 0.15.0.8 Originating Router: 2.2.2.2 LS Seq Number : 0x80000041 Checksum...
Total Table 82 Command output Field Description Area ID Area ID. Router Number of Router-LSAs. Network Number of Network-LSAs. InterPre Number of inter-Area-Prefix-LSAs. InterRou Number of Inter-Area-Router-LSAs. IntraPre Number of Intra-Area-Prefix-LSAs. Link Total number of Link-LSAs. Grace Number of Grace-LSAs. Total number of AS-external-LSAs.
Page 373
Examples # Display the neighbor information for OSPFv3 process 1 on an interface. <Sysname> display ospfv3 1 peer vlan-interface 1 OSPFv3 Process 1 with Router ID 1.1.1.1 Area: 0.0.0.1 ------------------------------------------------------------------------- Router ID Pri State Dead-Time Interface Inst ID 2.2.2.2 Init/ - 00:00:36 Vlan1 Table 83 Command output...
Field Description DR on the interface's network segment. BDR on the interface’s network segment. Interface MTU. Options Options. Dead timer due in 33 sec This dead timer will expire in 33 seconds. Neighbor is up for 00:24:19 The neighbor has been up for 00:24:19. Neighbor state change count Count of neighbor state changes.
Page 375
Syntax display ospfv3 [ process-id ] [ area area-id ] request-queue [ interface-type interface-number ] [ neighbor-id ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. area area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is translated into an IPv4 address by the system.
Area: 0.0.0.0 Interface Vlan-interface11 ------------------------------------------------------------------------- Nbr-ID 1.2.2.2 Retransmit List Type LinkState ID AdvRouter SeqNum CkSum 0x2009 0.0.0.0 1.3.3.3 0x80000001 3600 0x49fb Table 87 Command output Field Description Area Area ID. Interface Interface type and sequence number. Nbr-ID Neighbor ID. Retransmit List Retransmission list information.
------------------------------------------------------------------------- E1 - Type 1 external route, IA - Inter area route, I - Intra area route E2 - Type 2 external route, - Selected route *Destination: 1001::/64 Type Cost NextHop : Direct Interface: Vlan12 Total: 1 Intra area: 1 Inter area: 0 ASE: 0 Table 88 Command output...
Page 379
OSPFv3 Process 1 with Router ID 1.1.1.1 Packet Statistics ---------------------------------------------------------- Type Recv Send Hello 1746 1284 DB Description Ls Req Ls Upd 1553 Ls Ack Local Originated LSAs Statistics ---------------------------------------------------------- Type Count Router-LSA Network-LSA Inter-Area-Prefix-LSA Inter-Area-Router-LSA AS-external-LSA Link-LSA Intra-Area-Prefix-LSA Grace-LSA Unknown-LSA Total Routes Statistics...
Field Description AS-external-LSA Number of AS-external-LSAs. Link-LSA Number of Link-LSAs. Intra-Area-Prefix-LSA Number of Intra-Area-Prefix-LSAs. Grace-LSA Number of Grace-LSAs. Unknown-LSA Number of Unknown-LSAs. Total Total number. Routes Statistics Number of routes. Intra Area Intra-area routes. Inter Area Inter-area routes. ASE/NSSA External routes. display ospfv3 vlink Use display ospfv3 vlink to display OSPFv3 virtual link information.
Table 90 Command output Field Description Virtual-link Neighbor-ID ID of the neighbor on the virtual link. Neighbor-State Neighbor state: Down, Init, 2-Way, ExStart, Exchange, Loading, or Full. Interface IP address and name of the local interface on the virtual link. Cost Interface route cost.
Examples # Use IPv6 prefix list my-prefix-list to filter inbound Inter-Area-Prefix-LSAs, and use IPv6 ACL 2000 to filter outbound Inter-Area-Prefix-LSAs in OSPFv3 Area 1. <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] area 1 [Sysname-ospfv3-1-area-0.0.0.1] filter prefix-list my-prefix-list import [Sysname-ospfv3-1-area-0.0.0.1] filter 2000 export filter-policy export (OSPFv3 view) Use filter-policy export to configure OSPFv3 to filter redistributed routes.
Using the filter-policy export command filters only routes redistributed by the import-route command. If the import-route command is not configured to redistribute routes from other protocols and other OSPFv3 processes, use of the filter-policy export command does not take effect. Examples # Use IPv6 prefix list abc to filter redistributed routes.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter received routes. Usage guidelines To reference an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one of the following ways: To deny/permit a route with the specified destination, use rule [ rule-id ] { deny | permit } ipv6 •...
Predefined user roles network-admin Usage guidelines To prevent service interruption after a master/backup switchover, a GR Restarter running OSPFv3 must complete the following tasks: • Keep the GR Restarter forwarding entries stable during reboot. Establish all adjacencies and obtain complete topology information after reboot. •...
graceful-restart helper strict-lsa-checking Use graceful-restart helper strict-lsa-checking to enable strict LSA checking for the GR Helper. Use undo graceful-restart helper strict-lsa-checking to disable strict LSA checking for the GR Helper. Syntax graceful-restart helper strict-lsa-checking undo graceful-restart helper strict-lsa-checking Default Strict LSA checking for the GR Helper is disabled. Views OSPFv3 view Predefined user roles...
Parameters interval-value: Specifies GR restart interval in the range of 40 to 1800 seconds. Usage guidelines The value of the GR restart interval cannot be smaller than the maximum OSPFv3 neighbor dead time of all the OSPFv3 interfaces. Otherwise, GR restart might fail. Examples # Configure the GR restart interval for OSPFv3 process 1 as 100 seconds.
Usage guidelines An external route is a route to a destination outside the OSPFv3 AS. External routes types are as follows: A Type- 1 external route has high reliability. Its cost is comparable with the cost of OSPFv3 internal • routes.
Usage guidelines This feature enables the device to output information about neighbor state changes to the configuration terminal. Examples # Disable the logging of neighbor state changes for OSPFv3 process 100. <Sysname> system-view [Sysname] ospfv3 100 [Sysname-ospfv3-100] undo log-peer-change lsa-generation-interval Use lsa-generation-interval to configure the OSPFv3 LSA generation interval.
[Sysname-ospfv3-100] lsa-generation-interval 2 100 100 Related commands lsa-arrival-interval maximum load-balancing (OSPFv3 view) Use maximum load-balancing to configure the maximum number of equal-cost multi-path (ECMP) routes. Use undo maximum load-balancing to restore the default. Syntax maximum load-balancing maximum undo maximum load-balancing Views OSPFv3 view Predefined user roles...
Default No OSPFv3 process is enabled. Views System view Predefined user roles network-admin Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. The default process ID is vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
Views Interface view Predefined user roles network-admin Parameters value: Specifies an OSPFv3 cost in the range of 0 to 65535 for a loopback interface and in the range of 1 to 65535 for other interfaces. instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0. Examples # Specifies the OSPFv3 cost for VLAN-interface 10 in instance 1 as 33.
ospfv3 mtu-ignore Use ospfv3 mtu-ignore to configure an interface to ignore MTU check during DD packet exchange. Use undo ospfv3 mtu-ignore to restore the default. Syntax ospfv3 mtu-ignore [ instance instance-id ] undo ospfv3 mtu-ignore [ instance instance-id ] Default An interface performs MTU check during DD packet exchange.
Predefined user roles network-admin Parameters broadcast: Specifies the network type as broadcast. nbma: Specifies the network type as NBMA. p2mp: Specifies the network type as P2MP. unicast: Specifies the P2MP interface to unicast OSPFv3 packets. By default, a P2MP interface multicasts OSPFv3 packets.
Predefined user roles network-admin Parameters ipv6-address: Specifies the link-local IP address of the neighbor. cost value: Specifies the cost of the neighbor, in the range of 1 to 65535. dr-priority dr-priority: Specifies the DR priority of the neighbor, in the range of 0 to 255. The default is 1. Instance instance-id: Specifies an interface by its ID in the range of 0 to 255.
Examples # Configure the OSPFv3 neighbor dead time as 60 seconds for VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospfv3 timer dead 60 Related commands ospfv3 timer hello ospfv3 timer hello Use ospfv3 timer hello to configure the hello interval for an interface. Use undo ospfv3 timer hello to restore the default.
Syntax ospfv3 timer poll seconds [ instance instance-id ] undo ospfv3 timer poll [ instance instance-id ] Default The poll interval is 120 seconds on an interface. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies the poll interval in the range of 1 to 65535 seconds. instance-id: Specifies an interface instance by its ID in the range of 0 to 255.
instance-id: Specifies an instance by its ID in the range of 0 to 255, The default is 0. Usage guidelines After the device sends an LSA to its neighbor, it waits for an acknowledgement. If the device receives no acknowledgement after the LSA retransmission interval elapses, it will retransmit the LSA. The LSA retransmission interval should not be too small for avoidance of unnecessary retransmissions.
Use undo preference to restore the default. Syntax preference [ ase ] [ route-policy route-policy-name ] preference undo preference [ ase ] Default The preference for OSPFv3 internal routes is 10, and that for OSPFv3 external routes is 150. Views OSPFv3 view Predefined user roles network-admin...
Parameters interface-type interface-number: Specifies an interface by its type and number. all: Specifies all interfaces. Usage guidelines Multiple processes can disable the same interface from receiving and sending OSPFv3 packets, but the silent-interface command takes effect only on interfaces enabled with the current process. Examples # Disable VLAN-interface 10 from receiving and sending OSPFv3 packets in OSPFv3 processes 100 and 200.
[Sysname-ospfv3-1] router-id 10.1.1.3 Related commands ospfv3 spf-schedule-interval Use spf-schedule-interval to set the OSPFv3 SPF calculation interval. Use undo spf-schedule-interval to restore the default. Syntax spf-schedule-interval maximum-interval [ minimum-interval [ incremental-interval ] ] undo spf-schedule-interval Default The maximum SPF calculation interval is 5 seconds, the minimum interval is 50 milliseconds, and the incremental interval is 200 milliseconds.
stub (OSPFv3 area view) Use stub to configure an area as a stub area. Use undo stub to restore the default. Syntax stub [ default-route-advertise-always | no-summary ] * undo stub Default No area is configured as a stub area. Views OSPFv3 area view Predefined user roles...
Page 404
Default No virtual link is configured. Views OSPFv3 area view Predefined user roles network-admin Parameters router-id: Specifies the router ID of the neighbor on the virtual link. dead seconds: Sets the dead interval in the range of 1 to 32768 seconds. The default is 40. The dead interval must be identical with that on the virtual link neighbor, and must be at least four times the hello interval.
IPv6 IS-IS configuration commands IPv6 IS-IS supports all the features of IPv4 IS-IS except that it advertises IPv6 routing information. This chapter describes only IPv6 IS-IS exclusive commands. For other IS-IS configuration commands, see "IS-IS configuration commands." display isis redistribute ipv6 Use display isis redistribute ipv6 to display information about redistributed IPv6 IS-IS routes.
Type : direct Destination: 12:1::/64 IntCost State : Active Table 91 Command output Field Description Route information for IS-IS(1) Redistributed route information for IS-IS process 1. Level-1 IPv6 Redistribute Table Redistributed route information of IS-IS Level-1. Level-2 IPv6 Redistribute Table Redistributed route information of IS-IS Level-2.
Page 407
Usage guidelines If no level is specified, this command displays both Level- 1 and Level-2 route information. Examples # Display IPv6 IS-IS route information. <Sysname> display isis route ipv6 Route information for IS-IS(1) ------------------------------ Level-1 IPv6 Forwarding Table ----------------------------- Destination: 2001:1:: PrefixLen: 64 Flag : R/L/-...
Page 408
Field Description Next Hop Next hop. Interface Outbound interface. # Display detailed IPv6 IS-IS routing information. <Sysname> display isis route ipv6 verbose Route information for IS-IS(1) ------------------------------ Level-1 IPv6 Forwarding Table ----------------------------- IPV6 Dest : 2001:1::/64 Cost : 20 Flag : R/L/- Admin Tag Src Count : 1 NextHop...
Field Description Route flag: • D—This is a direct route. • R—The route has been added into the routing table. Flag/Flags • L—The route has been advertised in an LSP. • U—Route leaking flag, indicating the Level- 1 route is from Level-2. U means the route will not be returned to Level-2.
Examples # Configure the router to generate a default route in a Level-2 LSP. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] ipv6 default-route-advertise Related commands apply isis ipv6 enable Use ipv6 enable to enable IPv6 for an IS-IS process. Use undo ipv6 enable to disable IPv6. Syntax ipv6 enable undo ipv6 enable...
Page 411
Predefined user roles network-admin Parameters acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter redistributed routes. prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter the redistributed routes.
Related commands ipv6 filter-policy import ipv6 filter-policy import Use ipv6 filter-policy import to configure IPv6 IS-IS to filter received routes. Use undo ipv6 filter-policy import to remove the configuration. Syntax ipv6 filter-policy { acl6-number | prefix-list prefix-list-name | route-policy route-policy-name } import undo ipv6 filter-policy import Default IPv6 IS-IS does not filter received routes.
Usage guidelines IPv6 IS-IS considers redistributed routes as AS-external routes. You can specify a cost and a level for redistributed routes. The import-route bgp4+ command redistributes only EBGP routes. The import-route bgp4+ allow-ibgp command redistributes both EBGP and IBGP routes, and might cause routing loops. Therefore, use it with caution.
Syntax ipv6 import-route limit number undo ipv6 import-route limit Default The maximum number of redistributed Level 1/Level 2 IPv6 routes is 8192. Views IS-IS view Predefined user roles network-admin Parameters number: Specifies the maximum number of redistributed Level 1/Level 2 IPv6 routes, in the range of 1 to 8192.
Examples # Configure the maximum number of equal-cost routes as 2. <Sysname> system-view [Sysname] isis 100 [Sysname-isis-100] ipv6 maximum load-balancing 2 Related commands max-ecmp-num ipv6 preference Use ipv6 preference to configure the preference for IPv6 IS-IS. Use undo ipv6 preference to restore the default. Syntax ipv6 preference { preference | route-policy route-policy-name } * undo ipv6 preference...
Views Interface view Predefined user roles network-admin Examples # Enable BFD for IPv6 IS-IS on VLAN-interface 1 1. <Sysname> system-view [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] isis ipv6 bfd enable isis ipv6 enable Use isis ipv6 enable to enable IPv6 for an IS-IS process on an interface. Use undo isis ipv6 enable to disable the configuration.
display ipv6 policy-based-route Use display ipv6 policy-based-route to display IPv6 PBR policy information. Syntax display ipv6 policy-based-route [ policy policy-name ] Views Any view Predefined user roles network-admin network-operator Parameters policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. Usage guidelines If no policy is specified, this command displays information about all policies.
Page 422
Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. slot slot-number: Displays the IPv6 PBR configuration and statistics on an IRF member device. The slot-number is the ID of the IRF member device. Examples # Display IPv6 PBR configuration and statistics on VLAN-interface 1 1.
Table 95 Command output Field Description IPv6 PBR configuration and statistics on VLAN-interface 11. failed indicates the policy (including all its nodes) failed to be assigned to the driver. Policy based routing information for For a global interface (with only one-dimensional interface number, for interface Vlan-interface11(failed) example, VLAN-interface 11), failed can be displayed only when you specify the slot slot-number or chassis chassis-number slot slot-number...
Policy Name Interface Name pr01 Vlan-interface11 Table 96 Command output Field Description policy Name Policy name. Interface Name Interface where the policy is applied. Related commands ipv6 policy-based-route (interface view) if-match acl Use if-match acl to configure an ACL match criterion. Use undo if-match acl to remove the ACL match criterion.
Default No IPv6 is applied to an interface. Views Interface view Predefined user roles network-admin Parameters policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified policy must already exist. Usage guidelines You can apply only one policy to an interface. Before you apply a new policy, remove the current policy from the interface.
deny: Specifies the match mode for the policy node as deny. permit: Specifies the match mode for the policy node as permit (default mode). node node-number: Specifies the number of the IPv6 policy node, in the range of 0 to 255. A smaller number has a higher priority.
Routing policy configuration commands Common routing policy configuration commands apply as-path Use apply as-path to set the AS_PATH attribute for BGP routes. Use undo apply as-path to restore the default. Syntax apply as-path as-number&<1-32> [ replace ] undo apply as-path Default No AS_PATH attribute is set.
Use undo apply comm-list to restore the default. Syntax apply comm-list { comm-list-number | comm-list-name } delete undo apply comm-list Default No COMMUNITY attributes are deleted from BGP routes. Views Routing policy node view Predefined user roles network-admin Parameters comm-list-number: Specifies a basic community list by its number in the range of 1 to 99 or an advanced community list by its number in the range of 100 to 199.
Parameters none: Removes the COMMUNITY attributes of BGP routes. community-number&<1-32>: Specifies a community sequence number in the range of 1 to 4294967295. &<1-32> indicates that the argument before it can be entered up to 32 times. aa:nn&<1-32>: Specifies a community number; both aa and nn are in the range of 0 to 65535. &<1-32> indicates that the argument before it can be entered up to 32 times.
Parameters +: Increases a cost value. -: Decreases a cost value. value: Specifies a cost in the range of 0 to 4294967295. Examples # Configure node 10 in permit mode for routing policy policy1 to set a cost of 120 for OSPF external routes.
<Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match tag 8 [Sysname-route-policy-policy1-10] apply cost-type internal apply extcommunity Use apply extcommunity to apply the specified extended community attribute. Use undo apply extcommunity to restore the default. Syntax apply extcommunity { rt route-target }&<1-32> [ additive ] undo apply extcommunity Default No extended community attribute is set for BGP routes.
<Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match as-path 1 [Sysname-route-policy-policy1-10] apply local-preference 130 apply origin Use apply origin to set an ORIGIN attribute for BGP routes. Use undo apply origin to restore the default. Syntax apply origin { egp as-number | igp | incomplete } undo apply origin Default No ORIGIN attribute is set for BGP routes.
Views Routing policy node view Predefined user roles network-admin Parameters preference: Specifies a preference in the range of 1 to 255. Usage guidelines If you have set preferences for routing protocols with the preference command, the apply preference command sets a new preference for the matching routing protocol. Non-matching routing protocols still use the preferences set by the preference command.
apply tag Use apply tag to set a specified tag for RIP, OSPF, or IS-IS routing information. Use undo apply tag to restore the default. Syntax apply tag value undo apply tag Default No routing tag is set for RIP, OSPF, or IS-IS routing information. Views Routing policy node view Predefined user roles...
Example # Specify the next node 20 for node 10 of routing policy policy1. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] continue 20 display ip as-path Use display ip as-path to display BGP AS path list information. Syntax display ip as-path [ as-path-number ] Views Any view...
Predefined user roles network-admin network-operator Parameters basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99. adv-community-list-number: Specifies an advanced community list by its number in the range of 100 to 199. comm-list-name: Specifies a community list by its name, a case-sensitive string of 1 to 63 characters that cannot comprise only numbers.
Examples # Display information about BGP extended community list 1. <Sysname> display ip extcommunity-list 1 Extended Community List Number 1 permit rt : 9:6 Table 99 Command output Field Description Extended Community List Extended community list. Number Match mode: • permit permit.
Field Description Match mode: • permit permit. • deny. if-match Match criterion. continue Specify the next node to be matched. apply Action. if-match as-path Use if-match as-path to match BGP routes whose AS_PATH attribute matches a specified AS path list. Use undo if-match as-path to remove the configuration.
Syntax if-match community { { basic-community-list-number | name comm-list-name } [ whole-match ] | adv-community-list-number }&<1-32> undo if-match community [ { basic-community-list-number | name comm-list-name } [ whole-match ] | adv-community-list-number ]&<1-32> Default No community list match criterion is configured. Views Routing policy node view Predefined user roles...
Views Routing policy node view Predefined user roles network-admin Parameters value: Specifies a cost in the range of 0 to 4294967295. Examples # Configure node 10 in permit mode for routing policy policy1 to permit routing information with a cost of 8.
ip extcommunity-list • if-match interface Use if-match interface to match routes having the specified output interface. Use undo if-match interface to remove the configuration. Syntax if-match interface { interface-type interface-number }&<1- 1 6> undo if-match interface [ interface-type interface-number ]&<1- 1 6> Default No match criterion is configured.
Predefined user roles network-admin Parameters preference: Specifies a local preference in the range of 0 to 4294967295. Examples # Create node 10 in permit mode for routing policy policy1 to match BGP routes having a local preference of 2. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match preference 2 if-match route-type...
[Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match route-type internal if-match tag Use if-match tag to match routing information having the specified tag. Use undo if-match tag to restore the default. Syntax if-match tag value undo if-match tag Default No tag match criterion is configured. Views Routing policy node view Predefined user roles...
Parameters as-path-number: Specifies a number for the AS path list, in the range of 1 to 256. deny: Specifies the match mode for the AS path list as deny. permit: Specifies the match mode for the AS path list as permit. regular-expression: Specifies an AS path regular expression, a string of 1 to 63 characters.
Page 446
Parameters basic-comm-list-num: Specifies a number for the basic community list, in the range of 1 to 99. basic: Specifies a name for the basic communist list. advanced: Specifies a name for the advanced communist list. basic-comm-list-name: Specifies the basic community list name, a case-sensitive string of 1 to 63 characters that cannot comprise only letters.
ip extcommunity-list Use ip extcommunity-list to define an extended community list entry. Use undo ip extcommunity-list to remove an extended community list. Syntax ip extcommunity-list ext-comm-list-number { deny | permit } { rt route-target }&<1-32> undo ip extcommunity-list ext-comm-list-number [ { deny | permit } [ rt route-target ]&<1-32> ] Default No extended community list is defined.
Syntax route-policy route-policy-name { deny | permit } node node-number undo route-policy route-policy-name [ deny | permit ] [ node node-number ] Default No routing policy is created. Views System view Predefined user roles network-admin Parameters route-policy-name: Specifies a name for the routing policy, a case-sensitive string of 1 to 63 characters. deny: Specifies the deny match mode for the routing policy node.
Syntax apply fast-reroute backup-interface interface-type interface-number [ backup-nexthop ip-address ] undo apply fast-reroute Default No backup link for FRR is configured. Views Routing policy node view Predefined user roles network-admin Parameters backup-interface interface-type interface-number: Specifies a backup output interface. If the specified interface is a non-P2P interface (including NBMA and broadcast interfaces, such as a VLAN interface), you must also specify a backup next hop.
Predefined user roles network-admin Parameters ip-address: Specifies the next hop IP address. public: Specifies the public network. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Usage guidelines This command cannot set a next hop for redistributed routes. If you do not provide the public keyword or vpn-instance vpn-instance-name option for this command, the next hop belongs to the public network.
Table 101 Command output Field Description Prefix-list Name of the IPv4 prefix list. Permitted Number of routes satisfying the match criterion. Denied Number of routes not satisfying the match criterion. index Index of an item. Match mode of the item: •...
Examples # Configure node 10 of routing policy policy1 to match IPv4 routing information whose next hop matches IP prefix list p1. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match ip next-hop prefix-list p1 ip prefix-list Use ip prefix-list to configure an IPv4 prefix list or an item for the list. Use undo ip prefix-list to remove an IPv4 prefix list or an item of it.
If both ip-address and mask-length are specified as 0.0.0.0 0, only the default route will be matched. To match all routes, use 0.0.0.0 0 less-equal 32. Examples # Configure IP prefix list p1 to permit routes destined for network 10.0.0.0/8 and with mask length 17 or 18.
Default No next hop is set for IPv6 routes. Views Routing policy node view Predefined user roles network-admin Parameters ipv6-address: Specifies the next hop IPv6 address. Usage guidelines This command cannot set a next hop for redistributed routes. Examples # Configure node 10 for routing policy policy1 to set next hop 3ffe:506::1 for IPv6 routes matching AS path list 1.
Table 102 Command output Field Description Prefix-list6 Name of the IPv6 prefix list. Permitted Number of routes satisfying the match criterion. Denied Number of routes not satisfying the match criterion. index Index number of an item. Match mode of the item: •...
Examples # Configure node 10 of routing policy policy1 to permit routing information whose next hop matches IPv6 prefix list p1. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match ipv6 next-hop prefix-list p1 ipv6 prefix-list Use ipv6 prefix-list to configure an IPv6 prefix list or an item for it. Use undo ipv6 prefix-list to remove an IPv6 prefix list or an item.
Usage guidelines An IPv6 prefix list can have multiple items, and each of them specifies a range of IPv6 prefixes. The relation between items is logic OR. If a route passes an item, it passes the IPv6 prefix list. If ipv6-address prefix-length is specified as :: 0, only the default route matches. To match all routes, configure :: 0 less-equal 128.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: Product model names and numbers • Technical support registration number (if applicable) • • Product serial numbers Error messages •...
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...
Page 460
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.
Index A B C D E F G H I L M N O P R S T V W abr-summary (OSPF area view),60 checkzero,331 abr-summary (OSPFv3 area view),349 checkzero,30 advertise-rib-active,195 circuit-cost,135 aggregate,195 compare-different-as-med,203 apply as-path,416 confederation id,204 apply comm-list delete,416 confederation nonstandard,205...