H3C S5820X Series Command Reference Manual
H3C S5820X Series Command Reference Manual

H3C S5820X Series Command Reference Manual

Layer 3 - ip routing
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

H3C S5820X&S5800 Switch Series
Layer 3 - IP Routing Command Reference
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Software version: Release 1211
Document version: 6W100-20110415

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for H3C S5820X Series

  • Page 1 H3C S5820X&S5800 Switch Series Layer 3 - IP Routing Command Reference Hangzhou H3C Technologies Co., Ltd. http://www.h3c.com Software version: Release 1211 Document version: 6W100-20110415...
  • Page 2 SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V G, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners Notice The information in this document is subject to change without notice.
  • Page 3 Preface The H3C S5800&S5820X documentation set includes 12 command references, which describe the commands and command syntax options for the S5800&S5820X Release1211. The Layer 3—IP Routing Command Reference describes routing configuration commands. This preface includes: Audience • Added and modified commands •...
  • Page 4 Command reference Added and modified commands Modified commands: ospfv3—added the vpn-instance keyword Added commands: isis ipv6 bfd enable IPv6 IS-IS configuration Modified commands: display isis route ipv6—added the vpn-instance commands keyword Added commands: • Added support for the IPv6 BGP-VPN instance view •...
  • Page 5 An alert that calls attention to essential information. IMPORTANT An alert that contains additional or supplementary information. NOTE An alert that provides helpful information. About the H3C S5800&S5820X documentation set The H3C S5800&S5820X documentation set includes: Category Documents Purposes Describe product specifications and benefits.
  • Page 6 Interface Cards User available for the products. Manual Describes the benefits, features, hardware H3C OAP Cards User specifications, installation, and removal of the OAP Manual cards available for the products. H3C Low End Series...
  • Page 7: Obtaining Documentation

    Obtaining documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation:...
  • Page 8: Technical Support

    – Provides information about products and technologies, as well as solutions. [Technical Support & Documents > Software Download] – Provides the documentation released with the software version. Technical support customer_service@h3c.com http://www.h3c.com Documentation feedback You can e-mail your comments about product documentation to info@h3c.com. We appreciate your comments.
  • Page 9: Table Of Contents

    Contents IP routing basics configuration commands················································································································· 1 display ip routing-table ············································································································································1 display ip routing-table acl······································································································································5 display ip routing-table ip-address ·························································································································8 display ip routing-table ip-prefix ·························································································································· 10 display ip routing-table protocol·························································································································· 11 display ip routing-table statistics ·························································································································· 13 display ipv6 routing-table····································································································································· 14 display ipv6 routing-table acl·······························································································································...
  • Page 10 rip input ·································································································································································· 51 rip metricin ····························································································································································· 52 rip metricout ··························································································································································· 53 rip mib-binding ······················································································································································ 54 rip output ································································································································································ 54 rip poison-reverse ·················································································································································· 55 rip split-horizon ······················································································································································ 55 rip summary-address ············································································································································· 56 rip version ······························································································································································ 57 silent-interface (RIP view) ······································································································································ 58 summary ·································································································································································...
  • Page 11 maximum load-balancing (OSPF view) ·············································································································105 maximum-routes ···················································································································································105 network (OSPF area view)··································································································································106 nssa ·······································································································································································107 opaque-capability enable···································································································································108 ospf ·······································································································································································108 ospf authentication-mode····································································································································109 ospf bfd enable ···················································································································································110 ospf cost ·······························································································································································111 ospf dr-priority ·····················································································································································112 ospf mib-binding··················································································································································112 ospf mtu-enable····················································································································································113 ospf network-type ················································································································································114 ospf packet-process prioritized-treatment··········································································································115 ospf timer dead ···················································································································································115 ospf timer hello ····················································································································································116 ospf timer poll ······················································································································································117 ospf timer retransmit············································································································································117...
  • Page 12 flash-flood ·····························································································································································159 graceful-restart (IS-IS view) ·································································································································160 graceful-restart interval (IS-IS view)····················································································································160 graceful-restart suppress-sa·································································································································161 import-route (IS-IS view) ······································································································································162 import-route isis level-2 into level-1····················································································································163 import-route limit (IS-IS view) ······························································································································164 isis ·········································································································································································164 isis authentication-mode······································································································································165 isis bfd enable ·····················································································································································166 isis circuit-level ·····················································································································································167 isis circuit-type p2p··············································································································································167 isis cost ·································································································································································168 isis dis-name·························································································································································169 isis dis-priority ······················································································································································170...
  • Page 13 compare-different-as-med (BGP/BGP-VPN instance view) ··············································································199 confederation id ··················································································································································199 confederation nonstandard ································································································································200 confederation peer-as ·········································································································································201 dampening (BGP/BGP-VPN instance view) ·····································································································202 default ipv4-unicast ·············································································································································203 default local-preference (BGP/BGP-VPN instance view)·················································································203 default med (BGP/BGP-VPN instance view)·····································································································204 default-route imported (BGP/BGP-VPN instance view) ···················································································205 display bgp group···············································································································································206 display bgp network ···········································································································································207 display bgp paths················································································································································208 display bgp peer ·················································································································································209...
  • Page 14 peer fake-as (BGP/BGP-VPN instance view)····································································································248 peer filter-policy (BGP/BGP-VPN instance view) ·····························································································249 peer group (BGP/BGP-VPN instance view)······································································································250 peer ignore (BGP/BGP-VPN instance view)·····································································································251 peer ip-prefix························································································································································251 peer keep-all-routes (BGP/BGP-VPN instance view)························································································252 peer log-change (BGP/BGP-VPN instance view)·····························································································253 peer next-hop-local (BGP/BGP-VPN instance view) ························································································254 peer password ·····················································································································································254 peer preferred-value (BGP/BGP-VPN instance view) ······················································································255 peer public-as-only (BGP/BGP-VPN instance view)·························································································256 peer reflect-client (BGP/BGP-VPN instance view)····························································································257...
  • Page 15 ripng poison-reverse············································································································································290 ripng split-horizon················································································································································291 ripng summary-address·······································································································································292 timers ····································································································································································292 OSPFv3 configuration commands·························································································································· 294 abr-summary (OSPFv3 area view)·····················································································································294 area (OSPFv3 view) ············································································································································294 bandwidth-reference ···········································································································································295 default cost ···························································································································································296 default-cost (OSPFv3 area view)························································································································296 default-route-advertise ·········································································································································297 display ospfv3 ·····················································································································································298 display ospfv3 graceful-restart status ················································································································300 display ospfv3 interface ·····································································································································301 display ospfv3 lsdb ·············································································································································303 display ospfv3 lsdb statistic································································································································307 display ospfv3 next-hop······································································································································308...
  • Page 16 vlink-peer (OSPFv3 area view)···························································································································340 IPv6 IS-IS configuration commands························································································································ 342 display isis route ipv6 ·········································································································································342 ipv6 default-route-advertise ································································································································345 ipv6 enable ··························································································································································346 ipv6 filter-policy export ·······································································································································346 ipv6 filter-policy import ·······································································································································348 ipv6 import-route ·················································································································································349 ipv6 import-route isisv6 level-2 into level-1·······································································································350 ipv6 import-route limit ·········································································································································351 ipv6 maximum load-balancing ··························································································································351 ipv6 preference ···················································································································································352 ipv6 summary ······················································································································································352...
  • Page 17 peer as-path-acl (IPv6 address family view) ·····································································································391 peer bfd (IPv6 address family view/IPv6 BGP-VPN instance view)·······························································392 peer capability-advertise orf ······························································································································393 peer capability-advertise orf non-standard (IPv6 address family view) ·························································394 peer capability-advertise route-refresh ··············································································································395 peer connect-interface (IPv6 address family view)···························································································396 peer default-route-advertise ································································································································396 peer description (IPv6 address family view)·····································································································397 peer ebgp-max-hop (IPv6 address family view) ·······························································································398 peer enable (IPv6 address family view)············································································································398...
  • Page 18 apply tag ······························································································································································430 continue ································································································································································431 display ip as-path ················································································································································432 display ip community-list·····································································································································432 display ip extcommunity-list································································································································433 display route-policy ·············································································································································434 if-match as-path····················································································································································435 if-match community··············································································································································435 if-match cost ·························································································································································436 if-match extcommunity·········································································································································437 if-match interface ·················································································································································437 if-match mpls-label ···············································································································································438 if-match route-type ···············································································································································439 if-match tag ··························································································································································439 ip as-path······························································································································································440 ip community-list ··················································································································································441 ip extcommunity-list ·············································································································································442 route-policy···························································································································································443...
  • Page 19: Ip Routing Basics Configuration Commands

    IP routing basics configuration commands NOTE: router The term in this document refers to both routers and Layer 3 switches. • The interfaces in routing refer to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet • interfaces. Layer 3 Ethernet interfaces refer to Ethernet interfaces operating in route mode. For more Layer 2—LAN Switching information about the operating mode of the Ethernet interface, see the Configuration Guide.
  • Page 20 This command displays detailed information about all active and inactive routes, including the statistics of the entire routing table and information for each route. Examples # Display brief information about active routes in the routing table. <Sysname> display ip routing-table Routing Tables: Public Destinations : 7 Routes : 7...
  • Page 21 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 127.0.0.1 Interface: InLoopBack0 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 06h46m22s Tag: 0 Destination: 2.2.2.0/24 Protocol: OSPF Process ID: 1 Preference: 10 Cost: 2 NextHop: 1.1.2.2...
  • Page 22 Destination: 192.168.0.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 127.0.0.1 Interface: InLoopBack0 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 06h46m35s Tag: 0 Displayed first are statistics for the whole routing table, followed by detailed description of each route (in sequence).
  • Page 23: Display Ip Routing-Table Acl

    Field Description The route is not advertised when the router advertises routes based NoAdv on policies. Among routes to a destination, the route with the highest priority is installed into the core routing table and advertised. A NotInstall NotInstall route cannot be installed into the core routing table but can be advertised.
  • Page 24 exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display ip routing-table acl command to display information about routes permitted by a specified basic ACL.
  • Page 25 Destination: 10.1.1.2/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 127.0.0.1 Interface: InLoopBack0 RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active NoAdv Age: 1d00h41m34s Tag: 0 Destination: 10.1.2.0/24 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 10.1.2.1 Interface: Vlan-interface12...
  • Page 26: Display Ip Routing-Table Ip-Address

    display ip routing-table ip-address Syntax display ip routing-table ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] [ | { begin | exclude | include } regular-expression ] display ip routing-table ip-address1 { mask | mask-length } ip-address2 { mask | mask-length } [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 27 The system ANDs the input destination IP address with the subnet mask in each route entry; and ANDs the destination IP address in each route entry with its own subnet mask. If the two operations yield the same result for multiple entries that are active, the one with longest mask length is displayed.
  • Page 28: Display Ip Routing-Table Ip-Prefix

    Summary Count : 1 Destination/Mask Proto Cost NextHop Interface 11.1.1.0/24 Static 60 0.0.0.0 NULL0 For detailed description of the output, see Table # Display route entries for destination addresses in the range 1.1.1.0 to 5.5.5.0. <Sysname> display ip routing-table 1.1.1.0 24 5.5.5.0 24 Routing Table : Public Destination/Mask Proto...
  • Page 29: Display Ip Routing-Table Protocol

    Examples # Configure a prefix list named test, permitting routes with a prefix of 2.2.2.0 and a mask length between 24 and 32. <Sysname> system-view [Sysname] ip ip-prefix test permit 2.2.2.0 24 less-equal 32 # Display brief information about active routes permitted by the prefix list test. [Sysname] display ip routing-table ip-prefix test Routes Matched by Prefix list : test Summary Count : 2...
  • Page 30 Default level 1: Monitor level Parameters protocol: Routing protocol. It can be bgp, direct, isis, ospf, rip, static. inactive: Displays information about only inactive routes. With this argument absent, the command displays information about both active and inactive routes. verbose: Displays detailed routing table information. With this argument absent, the command displays brief routing table information.
  • Page 31: Display Ip Routing-Table Statistics

    Summary Count : Static Routing table Status : < Inactive> Summary Count : 2 Destination/Mask Proto Cost NextHop Interface 1.2.3.0/24 Static 1.2.4.5 Vlan10 3.0.0.0/8 Static 2.2.2.2 Vlan1 For detailed description of the output, see Table display ip routing-table statistics Syntax display ip routing-table [ vpn-instance vpn-instance-name ] statistics [ | { begin | exclude | include } regular-expression ] View...
  • Page 32: Display Ipv6 Routing-Table

    Table 3 Output description Field Description Proto Origin of the routes. route Number of routes from the origin active Number of active routes from the origin Number of routes added into the routing table since the router started up or the routing added table was last cleared deleted...
  • Page 33: Display Ipv6 Routing-Table Acl

    Destination : ::1/128 Protocol : Direct NextHop : ::1 Preference : 0 Interface : InLoop0 Cost Table 4 Output description Field Description Destination IPv6 address of the destination network/host NextHop Nexthop address Preference Route priority Interface Outbound interface Protocol Routing protocol Cost Route cost display ipv6 routing-table acl...
  • Page 34: Display Ipv6 Routing-Table Ipv6-Address

    <Sysname> display ipv6 routing-table acl 2000 Routes Matched by Access list 2000 Summary Count : 2 Destination : ::1/128 Protocol : Direct NextHop : ::1 Preference : 0 Interface : InLoop0 Cost Destination : 1:1::/64 Protocol : Static NextHop : :: Preference : 60 Interface : NULL0...
  • Page 35: Display Ipv6 Routing-Table Ipv6-Address1 Ipv6-Address2

    The system ANDs the input destination IPv6 address with the input prefix length, and ANDs the destination IPv6 address in each route entry with the input prefix length. If the two operations yield the same result for an entry and the entry is active with a prefix length less than or equal to the input prefix length, the entry is displayed.
  • Page 36: Display Ipv6 Routing-Table Ipv6-Prefix

    Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. ipv6-address1/ipv6-address2: An IPv6 address range from IPv6 address1 to IPv6 address2. prefix-length1/prefix-length2: Prefix length, in the range 0 to 128.
  • Page 37: Display Ipv6 Routing-Table Protocol

    View Any view Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. ipv6-prefix-name: Name of the IPv6 prefix list, in the range 1 to 19 characters. verbose: Displays both active and inactive verbose routing information.
  • Page 38: Display Ipv6 Routing-Table Statistics

    Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. protocol: Displays routes of a routing protocol, which can be bgp4+, direct, isisv6, ospfv3, ripng and static.
  • Page 39: Display Ipv6 Routing-Table Verbose

    Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 40 Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 41: Display Router Id

    Field Description State of the route, Active, Inactive, Adv (advertised), or NoAdv (not State advertised) Cost Cost of the route Tunnel ID Tunnel ID Label Label Time that has elapsed since the route was generated display router id Syntax display router id [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 42: Reset Ip Routing-Table Statistics Protocol

    Parameters router-id: Router ID, expressed as an IPv4 address. Description Use the router id command to configure a router ID. Use the undo router id command to remove the router ID. By default, no router ID is configured. Some routing protocols use a router ID to identify a routing device. A route ID is selected in the following sequence: •...
  • Page 43: Reset Ipv6 Routing-Table Statistics

    Description Use the reset ip routing-table statistics protocol command to clear routing statistics for the routing table or VPN routing table. Examples # Clear routing statistics for the VPN instance Sysname1. <Sysname> reset ip routing-table statistics protocol vpn-instance Sysname1 all reset ipv6 routing-table statistics Syntax reset ipv6 routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all }...
  • Page 44: Static Routing Configuration Commands

    Static routing configuration commands NOTE: router The term in this document refers to both routers and Layer 3 switches. delete static-routes all Syntax delete [ vpn-instance vpn-instance-name ] static-routes all View System view Default level 2: System level Parameters vpn-instance-name: Name of a VPN instance, a string of 1 to 31 case-sensitive characters. Description Use the delete static-routes all command to delete all static routes.
  • Page 45 ip route-static vpn-instance s-vpn-instance-name&<1-6> dest-address { mask | mask-length } { next-hop-address [ public ] [ track track-entry-number ] | interface-type interface-number [ next-hop-address ] [ bfd { control-packet | echo-packet } ] | vpn-instance d-vpn-instance-name next-hop-address [ track track-entry-number ] } [ preference preference-value ] [ tag tag-value ] [ permanent ] [ description description-text ] undo ip route-static vpn-instance s-vpn-instance-name&<1-6>...
  • Page 46 track track-entry-number: Associates the static route with a track entry. Use the track-entry-number argument to specify a track entry number, in the range 1 to 1024. Description Use the ip route-static command to configure a unicast static route. Use the undo ip route-static command to delete a unicast static route. When configuring a unicast static route, follow these guidelines: If the destination IP address and the mask are both 0.0.0.0 (or 0), the configured route is a default route.
  • Page 47: Ip Route-Static Default-Preference

    # Configure a static route for a VPN instance named vpn1: the destination address is 1.1.1.1/16 and the next hop address is 1.1.1.2, which is the address of this VPN instance. <Sysname> system-view [Sysname] ip route-static vpn-instance vpn1 1.1.1.1 16 vpn-instance vpn1 1.1.1.2 # Configure a static route: the destination address is 1.1.1.1/24, the output interface is Vlan-interface 1, and the next hop address is 2.2.2.2, and enable BFD with the echo packet mode.
  • Page 48 Parameters vpn-instance vpn-instance-name: Specifies a VPN instance to configure FRR for all matching static routes in it. The vpn-instance-name argument is a case-sensitive string of 1 to 31 characters. route-policy route-policy-name: References a routing policy. The route-policy-name argument is a string of 1 to 63 characters.
  • Page 49: Rip Configuration Commands

    RIP configuration commands NOTE: router The term in this document refers to both routers and Layer 3 switches. checkzero Syntax checkzero undo checkzero View RIP view Default level 2: System level Parameters None Description Use the checkzero command to enable zero field check on RIPv1 messages. Use the undo checkzero command to disable zero field check.
  • Page 50: Default-Route

    Parameters value: Default metric of redistributed routes, in the range of 0 to 16. Description Use the default cost command to configure the default metric for redistributed routes. Use the undo default cost command to restore the default. By default, the default metric of redistributed routes is 0. When you use the import-route command to redistribute routes from other protocols without specifying a metric, the metric specified by the default cost command applies.
  • Page 51: Display Rip

    [Sysname] rip 100 [Sysname-rip-100] default-route only cost 2 display rip Syntax display rip [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: RIP process ID, in the range of 1 to 65535. vpn-instance vpn-instance-name: Specifies a VPN instance name, a string of 1 to 31 case-sensitive characters.
  • Page 52 TRIP retransmit time : 5 sec(s) TRIP response packets retransmit count : Silent interfaces : None Default routes : Only Default route cost : 3 Verify-source : Enabled Networks : 192.168.1.0 Configured peers : None Triggered updates sent : 0 Number of routes changes : 0 Number of replies to queries : 0 Table 7 Output description...
  • Page 53: Display Rip Database

    Field Description Indicates whether a default route is sent to RIP neighbors • only means only a default route is advertised. Default routes • originate means a default route is advertised along with other routes. • disable means no default route is advertised. Default route cost Cost of the default route Indicates whether the source IP address is checked on...
  • Page 54: Display Rip Interface

    11.0.0.0/8, cost 1, ClassfulSumm 11.0.0.0/24, cost 1, nexthop 10.0.0.1, Imported Table 8 Output description Field Description X.X.X.X/X Destination address and subnet mask cost Cost of the route classful-summ Indicates the route is a RIP summary route. Nexthop Address of the next hop Rip-interface Routes learned from a RIP–enabled interface imported...
  • Page 55: Display Rip Route

    MetricOut:5 MetricOut route policy:234 Split-horizon/Poison-reverse:on/off Input/Output:on/on Default route:off Current packets number/Maximum packets number:234/2000 Table 9 Output description Field Description Interface-name The name of an interface running RIP Address/Mask IP address and mask of the interface Version RIP version running on the interface Additional routing metric added to the incoming MetricIn routes...
  • Page 56 Parameters process-id: RIP process ID, in the range of 1 to 65535. ip-address { mask | mask-length }: Displays route information about a specified IP address. peer ip-address: Displays all routing information learned from a specified neighbor. statistics: Displays the route statistics, including total number of routes and number of routes of each neighbor.
  • Page 57: Fast-Reroute

    # Display the routing statistics of RIP process 1. <Sysname> display rip 1 route statistics Peer Aging Permanent Garbage 111.1.1.2 Total Table 11 Output description Field Description Peer IP address of a neighbor Aging Total number of aging routes learned from the specified neighbor Permanent Total number of permanent routes learned from the specified neighbor Garbage...
  • Page 58: Filter-Policy Export (Rip View)

    [Sysname-route-policy] if-match ip-prefix abc [Sysname-route-policy] apply fast-reroute backup-interface vlan-interface backup-nexthop 193.1.1.8 [Sysname-route-policy] quit [Sysname] rip 100 [Sysname-rip-100] fast-reroute route-policy frr filter-policy export (RIP view) Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ protocol [ process-id ] | interface-type interface-number ] undo filter-policy export [ protocol [ process-id ] | interface-type interface-number ] View...
  • Page 59: Filter-Policy Import (Rip View)

    NOTE: If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL rule-id sour-addr sour-wildcard should be configured with the rule [ ] { deny | permit } ip source rule-id command to deny/permit a route with the specified destination, or with the rule [ ] { deny | sour-addr sour-wildcard...
  • Page 60: Host-Route

    gateway ip-prefix-name: References an IP prefix list to filter routes from the gateway. ip-prefix-name is a string of 1 to 19 characters. interface-type interface-number: Specifies an interface by its interface type and interface number. Description Use the filter-policy import command to configure RIP to filter the incoming routes. Use the undo filter-policy import command to restore the default.
  • Page 61: Import-Route (Rip View)

    Default level 2: System level Parameters None Description Use the host-route command to enable host route reception. Use the undo host-route command to disable host route reception. By default, receiving host routes is enabled. In some cases, a router may receive many host routes from the same network segment. These routes are not helpful for routing and occupy a large amount of network resources.
  • Page 62: Maximum Load-Balancing (Rip View)

    tag: Tag marking redistributed routes, in the range of 0 to 65,535. The default is 0. route-policy route-policy-name: Specifies a routing policy with 1 to 63 characters. Description Use the import-route command to enable route redistribution from another routing protocol. Use the undo import-route command to disable route redistribution.
  • Page 63: Network

    <Sysname> system-view [Sysname] rip [Sysname-rip-1] maximum load-balancing 2 network Syntax network network-address undo network network-address View RIP view Default level 2: System level Parameters network-address: IP address of a network segment, which can be the IP network address of any interface. Description Use the network command to enable RIP on the interface attached to the specified network.
  • Page 64: Peer

    Parameters time: RIP packet sending interval, in milliseconds. It is in the range 10 to 100. count: Maximum number of RIP packets sent at each interval. It is in the range 1 to 20. Description Use the output-delay command to configure the maximum RIP packets that can be sent at the specified interval for all interfaces under the RIP process.
  • Page 65: Preference

    preference Syntax preference [ route-policy route-policy-name ] value undo preference [ route-policy ] View RIP view Default level 2: System level Parameters route-policy-name: Routing policy name with 1 to 63 characters. value: Preference for RIP routes, in the range of 1 to 255. The smaller the value, the higher the preference. Description Use the preference command to specify the preference for RIP routes.
  • Page 66: Reset Rip Statistics

    After executing the command, you are prompted whether you want to reset the RIP process. Examples # Reset RIP process 100. <Sysname> reset rip 100 process Warning : Reset RIP process? [Y/N]:Y reset rip statistics Syntax reset rip process-id statistics View User view Default level...
  • Page 67: Rip Authentication-Mode

    NOTE: If no VPN instance is specified, the RIP process will run under public network instance. • You must create a VPN instance before you apply a RIP process to it. For related configuration, see the • ip vpn-instance command. You must enable the RIP process before configuring the global parameters.
  • Page 68: Rip Bfd Enable

    Examples # Configure MD5 authentication on VLAN-interface 10 with the key string being rose in the format defined in RFC 2453. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip version 2 [Sysname-Vlan-interface10] rip authentication-mode md5 rfc2453 rose rip bfd enable Syntax rip bfd enable undo rip bfd enable...
  • Page 69: Rip Input

    View Interface view Default level 2: System level Parameters only: Advertises only a default route. originate: Advertises a default route and other routes. cost: Cost of the default route, in the range 1 to 15. The default is 1. no-originate: Advertises routes other than a default route. Description Use the rip default-route command to configure the RIP interface to advertise a default route with the specified metric.
  • Page 70: Rip Metricin

    By default, an interface is enabled to receive RIP messages. Examples # Disable VLAN-interface 10 from receiving RIP messages. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] undo rip input rip metricin Syntax rip metricin [ route-policy route-policy-name ] value undo rip metricin View Interface view Default level...
  • Page 71: Rip Metricout

    [Sysname-route-policy] if-match ip-prefix 123 [Sysname-route-policy] apply cost 6 [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip metricin route-policy abc 2 rip metricout Syntax rip metricout [ route-policy route-policy-name ] value undo rip metricout View Interface view Parameters route-policy route-policy-name: Specifies the name of a routing policy used to add an additional metric for the routes matching it.
  • Page 72: Rip Mib-Binding

    rip mib-binding Syntax rip mib-binding process-id undo rip mib-binding View System view Default level 2: System level Parameters process-id: RIP process ID, in the range of 1 to 65535. Description Use the rip mib-binding command to bind MIB operations with a specified RIP process, so that the RIP process can receive SNMP requests.
  • Page 73: Rip Poison-Reverse

    Examples # Disable VLAN-interface 10 from receiving RIP messages. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] undo rip output rip poison-reverse Syntax rip poison-reverse undo rip poison-reverse View Interface view Default level 2: System level Parameters None Description Use the rip poison-reverse command to enable the poison reverse function. Use the undo rip poison-reverse command to disable the poison reverse function.
  • Page 74: Rip Summary-Address

    Use the undo rip split-horizon command to disable the split horizon function. The split horizon function is enabled by default. The split horizon function is necessary for preventing routing loops. To disable it in special cases, make sure it is necessary. NOTE: Only the poison reverse function takes effect if both the split horizon and poison reverse functions are enabled.
  • Page 75: Rip Version

    rip version Syntax rip version { 1 | 2 [ broadcast | multicast ] } undo rip version View Interface view Default level 2: System level Parameters 1: RIP version 1. 2: RIP version 2. broadcast: Sends RIPv2 messages in broadcast mode. multicast: Sends RIPv2 messages in multicast mode.
  • Page 76: Silent-Interface (Rip View)

    Examples # Configure VLAN-interface 10 to broadcast RIPv2 messages. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip version 2 broadcast silent-interface (RIP view) Syntax silent-interface { interface-type interface-number | all } undo silent-interface { interface-type interface-number | all } View RIP view Default level 2: System level...
  • Page 77: Timers

    Parameters None Description Use the summary command to enable automatic RIPv2 summarization. Natural masks are used to advertise summary routes so as to reduce the size of routing tables. Use the undo summary command to disable automatic RIPv2 summarization so that all subnet routes can be broadcast.
  • Page 78: Validate-Source-Address

    Use the undo validate-source-address command to disable the source IP address validation. The source IP address validation is enabled by default. Typically H3C does not recommend disabling the validation. Examples # Disable the source IP address validation on incoming RIP routing updates.
  • Page 79: Version

    version Syntax version { 1 | 2 } undo version View RIP view Default level 2: System level Parameters 1: Specifies the RIP version as RIPv1. 2: Specifies the RIP version as RIPv2. RIPv2 messages are multicast. Description Use the version command to specify a global RIP version. Use the undo version command to remove the configured global RIP version.
  • Page 80: Ospf Configuration Commands

    OSPF configuration commands NOTE: MPLS Command Reference See the for OSPF TE related commands and OSPF VPN related commands. • router The term in this document refers to both routers and Layer 3 switches. • abr-summary (OSPF area view) Syntax abr-summary ip-address { mask | mask-length } [ advertise | not-advertise ] [ cost cost ] undo abr-summary ip-address { mask | mask-length } View...
  • Page 81: Area (Ospf View)

    [Sysname-ospf-100-area-0.0.0.1] network 36.42.10.0 0.0.0.255 [Sysname-ospf-100-area-0.0.0.1] network 36.42.110.0 0.0.0.255 [Sysname-ospf-100-area-0.0.0.1] abr-summary 36.42.0.0 255.255.0.0 area (OSPF view) Syntax area area-id undo area area-id View OSPF view Default level 2: System level Parameters area-id: ID of an area, an IP address or a decimal integer in the range 0 to 4294967295 that is translated into the IP address format by the system.
  • Page 82: Authentication-Mode

    cost cost: Specifies the cost of the summary route, in the range 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. not-advertise: Disables advertising the summary route.
  • Page 83: Bandwidth-Reference (Ospf View)

    Default level 2: System level Parameters md5: Specifies the MD5 ciphertext authentication mode. simple: Specifies the simple authentication mode. Description Use the authentication-mode command to specify an authentication mode for the OSPF area. Use the undo authentication-mode command to remove the authentication mode. By default, no authentication mode is configured for an OSPF area.
  • Page 84: Default

    [Sysname] ospf 100 [Sysname-ospf-100] bandwidth-reference 1000 default Syntax default { cost cost | limit limit | tag tag | type type } * undo default { cost | limit | tag | type } * View OSPF view Default level 2: System level Parameters cost: Specifies the default cost for redistributed routes, in the range 0 to 16777214.
  • Page 85: Default-Route-Advertise (Ospf View)

    Parameters cost: Specifies a cost for the default route advertised to the Stub or NSSA area, in the range 0 to 16777214. Description Use the default-cost command to configure a cost for the default route advertised to the stub or NSSA area.
  • Page 86: Description (Ospf/Ospf Area View)

    cost cost: Specifies a cost for the default route, in the range 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 name, a string of 1 to 63 characters. When a default route exists in the routing table and the specified routing policy is matched, the command distributes a default route in a Type-5 LSA into the OSPF routing domain, and the routing policy modifies some values in the Type-5 LSA.
  • Page 87: Display Ospf Abr-Asbr

    Description Use the description command to configure a description for an OSPF process or area. Use the undo description command to remove the description. No description is configured by default. Use of this command is only for the identification of an OSPF process or area. The description has no special meaning.
  • Page 88: Display Ospf Asbr-Summary

    OSPF Process 1 with Router ID 192.168.1.2 Routing Table to ABR and ASBR Type Destination Area Cost Nexthop RtType Inter 3.3.3.3 0.0.0.0 3124 10.1.1.2 ASBR Intra 2.2.2.2 0.0.0.0 1562 10.1.1.2 Table 12 Output description Field Description Type of the route to the ABR or ASBR: •...
  • Page 89 Description Use the display ospf asbr-summary command to display information about the redistributed routes that are summarized. If no OSPF process is specified, related information of all OSPF processes is displayed. If no IP address is specified, information about all summarized redistributed routes will be displayed. Related commands: asbr-summary.
  • Page 90: Display Ospf Brief

    Field Description Type Type of a summarized route Metric Metric of a summarized route display ospf brief Syntax display ospf [ process-id ] brief [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535.
  • Page 91 RFC 1583 Compatible Area Count: 1 Nssa Area Count: 1 7/5 translator state: Disabled 7/5 translate stability timer interval: 0 ExChange/Loading Neighbors: 0 Area: 0.0.0.1 (MPLS TE not enabled) Authtype: None Area flag: NSSA SPF Scheduled Count: 5 ExChange/Loading Neighbors: 0 Interface: 192.168.1.2 (Vlan-interface1) Cost: 1 State: DR...
  • Page 92: Display Ospf Cumulative

    Field Description ASE Route Preference External route priority SPF Computation count SPF computation count of the OSPF process RFC1583 Compatible Compatible with routing rules defined in RFC 1583 Area Count Area number of the current process Nssa Area Count NSSA area number of the current process State of the translator that translates Type-7 LSAs to Type-5 LSAs.
  • Page 93 Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 94: Display Ospf Error

    Table 15 Output description Field Description IO statistics Statistics about input/output packets and LSAs Type OSPF packet type Input Packets received Output Packets sent Hello Hell packet DB Description Database Description packet Link-State Req Link-State Request packet Link-State Update Link-State Update packet Link-State Ack Link-State Acknowledge packet LSAs originated by this router...
  • Page 95 Parameters process-id: OSPF process ID, in the range 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 96: Display Ospf Interface

    Field Description OSPF bad virtual link Packets on wrong virtual links OSPF bad authentication type Packets with invalid authentication type OSPF bad authentication key Packets with invalid authentication key OSPF packet too small Packets too small in length OSPF Neighbor state low Packets received in low neighbor state OSPF transmit error Packets with error when being transmitted...
  • Page 97 all: Displays the OSPF information of all interfaces. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 98: Display Ospf Lsdb

    Field Description Cost Interface cost Router priority The DR on the interface’s network segment The BDR on the interface’s network segment display ospf lsdb Syntax display ospf [ process-id ] lsdb [ brief | [ { asbr | ase | network | nssa | opaque-area | opaque-as | opaque-link | router | summary } [ link-state-id ] ] [ originate-router advertising-router-id | self-originate ] ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 99 Description Use the display ospf lsdb command to display LSDB information. If no OSPF process is specified, LSDB information of all OSPF processes is displayed. Examples # Display OSPF LSDB information. <Sysname> display ospf lsdb OSPF Process 1 with Router ID 192.168.0.1 Link State Database Area: 0.0.0.0 Type...
  • Page 100: Display Ospf Nexthop

    : 32 Options Seq# : 80000003 Checksum : 0x8d1b Net Mask : 255.255.255.0 Attached Router 192.168.1.1 Attached Router 192.168.2.1 Area: 0.0.0.1 Link State Database Type : Network LS ID : 192.168.1.2 Adv Rtr : 192.168.1.2 LS Age : 782 : 32 Options Seq# : 80000003...
  • Page 101: Display Ospf Peer

    View Any view Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 102 View Any view Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. verbose: Displays detailed neighbor information. interface-type interface-number: Interface type and interface number. neighbor-id: Neighbor router ID. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 103 Table 21 Output description Field Description Neighbor information of the interface in the specified area: • areaID: Area to which the neighbor belongs. Area areaID interface IPAddress(InterfaceName)'s neighbors • IPAddress: Interface IP address • InterfaceName: Interface name interface Interface attached with the neighbor Router ID Neighbor router ID Address...
  • Page 104: Display Ospf Peer Statistics

    <Sysname> display ospf peer OSPF Process 1 with Router ID 1.1.1.1 Neighbor Brief Information Area: 0.0.0.0 Router ID Address Pri Dead-Time Interface State 1.1.1.2 1.1.1.2 Vlan1 Full/DR Table 22 Output description Field Description Area Neighbor area Router ID Neighbor router ID Address Neighbor interface address Neighboring router priority...
  • Page 105: Display Ospf Request-Queue

    Examples # Display OSPF neighbor statistics. <Sysname> display ospf peer statistics OSPF Process 1 with Router ID 10.3.1.1 Neighbor Statistics Area ID Down Attempt Init 2-Way ExStart Exchange Loading Full Total 0.0.0.0 0.0.0.2 Total Table 23 Output description Field Description Area ID.
  • Page 106: Display Ospf Retrans-Queue

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display ospf request-queue command to display OSPF request queue information. If no OSPF process is specified, the OSPF request queue information of all OSPF processes is displayed.
  • Page 107 Parameters process-id: OSPF process ID, in the range 1 to 65535. interface-type interface-number: Interface type and interface number. neighbor-id: Neighbor’s router ID. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 108: Display Ospf Routing

    display ospf routing Syntax display ospf [ process-id ] routing [ interface interface-type interface-number ] [ nexthop nexthop-address ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. interface interface-type interface-number: Displays OSPF routing information advertised via the specified interface.
  • Page 109: Display Ospf Vlink

    Field Description Cost Cost to destination Type Route type: intra-area, transit, stub, inter-area, type1 external, type2 external. NextHop Next hop address AdvRouter Advertising router Area Area ID Total Nets Total networks Intra Area Total intra-area routes Inter Area Total inter-area routes Total ASE routes NSSA Total NSSA routes...
  • Page 110: Enable Link-Local-Signaling

    Cost: 1562 State: P-2-P Type: Virtual Transit Area: 0.0.0.1 Timers: Hello 10 , Dead 40 , Retransmit 5 , Transmit Delay 1 Table 27 Output description 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, Full. Interface IP address and name of the local interface on the virtual link Cost...
  • Page 111: Enable Out-Of-Band-Resynchronization

    undo enable log [ config | error | state ] View OSPF view Default level 2: System level Parameters config: Enables configuration logging. error: Enables error logging. state: Enables state logging. Description Use the enable log command to enable specified OSPF logging. Use the undo enable log command to disable specified OSPF logging.
  • Page 112: Fast-Reroute

    <Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] enable link-local-signaling [Sysname-ospf-1] enable out-of-band-resynchronization fast-reroute Syntax fast-reroute { auto [ abr-only ] | route-policy route-policy-name } undo fast-reroute View OSPF view Default level 2: System level Parameters auto: Calculates a backup next hop automatically for all routes. abr-only: Selects only the route to the ABR as the backup path.
  • Page 113: Filter

    [Sysname-route-policy] quit [Sysname] ospf 100 [Sysname-ospf-100] fast-reroute route-policy frr filter Syntax filter { acl-number | ip-prefix ip-prefix-name } { export | import } undo filter { export | import } View OSPF area view Default level 2: System level Parameters acl-number: ACL number, in the range 2000 to 3999.
  • Page 114 View OSPF view Default level 2: System level Parameters acl-number: Number of an ACL used to filter redistributed routes, in the range 2000 to 3999. ip-prefix-name: Name of an IP prefix list used to filter redistributed routes, a string of up to 19 characters. protocol: Specifies a protocol from which to filter redistributed routes.
  • Page 115: Filter-Policy Import (Ospf View)

    filter-policy import (OSPF view) Syntax filter-policy { acl-number [ gateway ip-prefix-name ] | gateway ip-prefix-name | ip-prefix ip-prefix-name [ gateway ip-prefix-name ] | route-policy route-policy-name } import undo filter-policy import View OSPF view Default level 2: System level Parameters acl-number: Number of an ACL used to filter incoming routes, in the range 2000 to 3999. gateway ip-prefix-name: Name of an IP address prefix list used to filter routes received from specific neighbors.
  • Page 116: Graceful-Restart (Ospf View)

    # Configure ACL 3000 to permit only route 1 13.0.0.0/16 to pass, and reference ACL 3000 to filter incoming routes. <Sysname> system-view [Sysname] acl number 3000 [Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.0 0 [Sysname-acl-adv-3000] rule 100 deny ip [Sysname-acl-adv-3000] quit [Sysname] ospf 100 [Sysname-ospf-100] filter-policy 3000 import...
  • Page 117: Graceful-Restart Help

    [Sysname-ospf-1] graceful-restart ietf # Enable non-IETF Graceful Restart for OSPF process 1. <Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] enable link-local-signaling [Sysname-ospf-1] enable out-of-band-resynchronization [Sysname-ospf-1] graceful-restart nonstandard graceful-restart help Syntax graceful-restart help { acl-number | prefix prefix-list } undo graceful-restart help View OSPF view Default level...
  • Page 118: Graceful-Restart Interval (Ospf View)

    graceful-restart interval (OSPF view) Syntax graceful-restart interval interval-value undo graceful-restart interval View OSPF view Default level 2: System level Parameters interval-value: Specifies the Graceful Restart interval, in the range 40 to 1,800 seconds. Description Use the graceful-restart interval command to configure the Graceful Restart interval. Use the undo graceful-restart interval command to restore the default Graceful Restart interval.
  • Page 119: Import-Route (Ospf View)

    No host route is advertised by default. Examples # Advertise route 1.1.1.1 with a cost of 100. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 0 [Sysname-ospf-100-area-0.0.0.0] host-advertise 1.1.1.1 100 import-route (OSPF view) Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | type type | tag tag | route-policy route-policy-name ] * undo import-route protocol [ process-id | all-processes ] View...
  • Page 120: Log-Peer-Change

    An intra-area route is a route in an OSPF area. An inter-area route is between any two OSPF areas. Both of them are internal routes. An external route is a route to a destination outside the OSPF AS. A Type- 1 external route is an IGP route, such as RIP or STATIC, which has high reliability and whose cost is comparable with the cost of OSPF internal routes.
  • Page 121: Lsa-Arrival-Interval

    LSA will be discarded. This feature helps protect routers and bandwidth from being over-consumed due to frequent network changes. H3C recommends that the interval set with the lsa-arrival-interval command is smaller or equal to the initial interval set with the lsa-generation-interval command.
  • Page 122: Lsdb-Overflow-Limit

    View OSPF view Default level 2: System level Parameters maximum-interval: Maximum LSA generation interval in seconds, in the range 1 to 60. The default is 5. initial-interval: Minimum LSA generation interval in milliseconds, in the range 10 to 60000. The default is 0.
  • Page 123: Maximum Load-Balancing (Ospf View)

    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) Syntax maximum load-balancing maximum undo maximum load-balancing View OSPF view Default level 2: System level Parameters maximum: Maximum number of equal cost routes. The maximum number ranges from 1 to 8. No load balancing is available when the number is set to 1.
  • Page 124: Network (Ospf Area View)

    intra: Specifies the maximum number of intra-area routes. number: Maximum route number. The maximum and default route numbers vary with devices. Description Use the maximum-routes command to specify the maximum route number of a specified type, inter-area, intra-area or external. Use the undo maximum-routes command to restore the default route maximum value of a specified type.
  • Page 125: Nssa

    nssa Syntax nssa default-route-advertise no-import-route no-summary translate-always translator-stability-interval value ] * undo nssa View OSPF area view Default level 2: System level Parameters default-route-advertise: Usable 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 configured.
  • Page 126: Opaque-Capability Enable

    opaque-capability enable Syntax opaque-capability enable undo opaque-capability View OSPF view Default level 2: System level Parameters None Description Use the opaque-capability enable command to enable opaque LSA advertisement and reception. With the command configured, the OSPF device can receive and advertise the Type-9, Type- 1 0 and Type- 1 1 opaque LSAs.
  • Page 127: Ospf Authentication-Mode

    No OSPF process is enabled by default. You can enable multiple OSPF processes on a router and specify different Router IDs for these processes. When using OSPF as the IGP for MPLS VPN implementation, you need to bind the OSPF process with a VPN instance.
  • Page 128: Ospf Bfd Enable

    Use the undo ospf authentication-mode command to remove specified configuration. By default, no authentication is available on an interface. Interfaces attached to the same network segment must have the same authentication password and mode. This configuration is not supported on the null interface. Related commands: authentication-mode.
  • Page 129: Ospf Cost

    Description Use the ospf bfd enable command to enable BFD for link failure detection on an OSPF interface. Use the undo ospf bfd enable command to disable BFD on an OSPF interface. By default, an OSPF interface is not enabled with BFD. Examples # Enable OSPF and BFD on VLAN-interface 1 1.
  • Page 130: Ospf Dr-Priority

    <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf cost 65 ospf dr-priority Syntax ospf dr-priority priority undo ospf dr-priority View Interface view Default level 2: System level Parameters priority: DR Priority of the interface, in the range 0 to 255. Description Use the ospf dr-priority command to set the priority for DR/BDR election on an interface.
  • Page 131: Ospf Mtu-Enable

    Description Use the ospf mib-binding command to bind an OSPF process to MIB operation for responding to SNMP requests. Use the undo ospf mib-binding command to restore the default. By default, MIB operation is bound to the OSPF process with the smallest process ID. Examples # Bind OSPF process 100 to MIB operation.
  • Page 132: Ospf Network-Type

    ospf network-type Syntax ospf network-type { broadcast | nbma | p2mp [ unicast ] | p2p } undo ospf network-type View Interface view Default level 2: System level Parameters broadcast: Specifies the network type as Broadcast. nbma: Specifies the network type as NBMA. p2mp: Specifies the network type as P2MP.
  • Page 133: Ospf Packet-Process Prioritized-Treatment

    Examples # Configure an interface’s OSPF network type as NBMA. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf network-type nbma ospf packet-process prioritized-treatment Syntax ospf packet-process prioritized-treatment undo ospf packet-process prioritized-treatment View System view Default level 2: System level Parameters None Description Use the ospf packet-process prioritized-treatment command to enable OSPF to give priority to receiving...
  • Page 134: Ospf Timer Hello

    Use the undo ospf timer dead command to restore the default. The dead interval defaults to 40s for Broadcast, P2P interfaces and defaults to 120s for P2MP and NBMA interfaces. If an interface receives no hello packet from a neighbor within the dead interval, the interface considers the neighbor down.
  • Page 135: Ospf Timer Poll

    <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf timer hello 20 ospf timer poll Syntax ospf timer poll seconds undo ospf timer poll View Interface view Default level 2: System level Parameters seconds: Poll interval in seconds, in the range 1 to 2147483647. Description Use the ospf timer poll command to set the poll interval on an NBMA interface.
  • Page 136: Ospf Trans-Delay

    Parameters interval: LSA retransmission interval in seconds, in the range 1 to 3600. Description Use the ospf timer retransmit command to set the LSA retransmission interval on an interface. Use the undo ospf timer retransmit command to restore the default. The interval defaults to 5s.
  • Page 137: Peer

    Examples # Set the LSA transmission delay to 3 seconds on the current interface. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf trans-delay 3 peer Syntax peer ip-address [ cost value | dr-priority dr-priority ] undo peer ip-address View OSPF view Default level 2: System level Parameters...
  • Page 138: Preference

    preference Syntax preference [ ase ] [ route-policy route-policy-name ] value undo preference [ ase ] View OSPF view Default level 2: System level Parameters ase: Sets a preference for ASE routes. If the keyword is not specified, using the command sets a preference for OSPF internal routes.
  • Page 139: Reset Ospf Process

    Parameters process-id: Clears the statistics information of the specified OSPF process, which is in the range 1 to 65535. neighbor: Clears neighbor statistics. interface-type interface-number: Clears the statistics information of the neighbor connected to the specified interface. router-id: Clears the statistics information of the specified neighbor. Description Use the reset ospf counters command to clear OSPF statistics information.
  • Page 140: Reset Ospf Redistribution

    reset ospf redistribution Syntax reset ospf [ process-id ] redistribution View User view Default level 2: System level Parameters process-id: OSPF process ID, in the range 1 to 65535. Description Use the reset ospf redistribution command to restart route redistribution. If no process ID is specified, using the command restarts route redistribution for all OSPF processes.
  • Page 141: Silent-Interface (Ospf View)

    [Sysname-ospf-100] undo rfc1583 compatible silent-interface (OSPF view) Syntax silent-interface { interface-type interface-number | all } undo silent-interface { interface-type interface-number | all } View OSPF view Default level 2: System level Parameters interface-type interface-number: Disables the specified interface from sending OSPF packets all: Disables all interfaces from sending OSPF packets.
  • Page 142: Spf-Schedule-Interval

    Parameters process-id: OSPF process ID, in the range 1 to 65535. ifauthfail: Interface authentication failure information. ifcfgerror: Interface configuration error information. ifrxbadpkt: Information about error packets received. ifstatechange: Interface state change information. iftxretransmit: Packet receiving and forwarding information. lsdbapproachoverflow: Information about cases approaching LSDB overflow. lsdboverflow: LSDB overflow information.
  • Page 143: Stub (Ospf Area View)

    Default level 2: System level Parameters maximum-interval: Maximum OSPF route calculation interval in seconds, in the range 1 to 60. minimum-interval: Minimum OSPF route calculation interval in milliseconds, in the range 10 to 60000, which defaults to 0. incremental-interval: Incremental value in milliseconds, in the range 10 to 60000, which defaults to 5000.
  • Page 144: Stub-Router

    No area is stub area by default. To cancel the no-summary configuration on the ABR, execute the stub command again to overwrite it. To configure an area as a stub area, all routers attached to it must be configured with this command. Related commands: default-cost.
  • Page 145: Vlink-Peer (Ospf Area View)

    Interval at which an interface sends LSU packets, in milliseconds. Its value is in the range 10 to 1000. If the router has a number of OSPF interfaces, H3C recommends increasing this interval to reduce the total numbers of LSU packets sent by the router every second.
  • Page 146 md5: MD5 authentication. hmac-md5: HMAC-MD5 authentication. simple: Simple authentication. key-id: Key ID for MD5 or HMAC-MD5 authentication, in the range 1 to 255. plain | cipher: Plain or cipher type. If plain is specified, only a plain password can be input, and the password is displayed in plain text upon displaying the configuration file.
  • Page 147: Is-Is Configuration Commands

    IS-IS configuration commands NOTE: router The term in this document refers to both routers and Layer 3 switches. area-authentication-mode Syntax area-authentication-mode { md5 | simple } password [ ip | osi ] undo area-authentication-mode View IS-IS view Default level 2: System level Parameters md5: Specifies the MD5 authentication mode.
  • Page 148: Auto-Cost Enable

    Examples # Configure the area authentication password as ivg, and the authentication mode as simple. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] area-authentication-mode simple ivg auto-cost enable Syntax auto-cost enable undo auto-cost enable View IS-IS view Default level 2: System level Parameters None Description...
  • Page 149: Circuit-Cost

    View IS-IS view Default level 2: System level Parameters value: Bandwidth reference value in Mbps, ranging from 1 to 2147483648. Description Use the bandwidth-reference command to set the bandwidth reference value for automatic link cost calculation. Use the undo bandwidth-reference command to restore the default. By default, the bandwidth reference value is 100 Mbps.
  • Page 150: Cost-Style

    Examples # Set the global Level- 1 link cost of IS-IS process 1 to 1 1. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] circuit-cost 11 level-1 cost-style Syntax cost-style { narrow | wide | wide-compatible | { compatible | narrow-compatible } [ relax-spf-limit ] } undo cost-style View IS-IS view...
  • Page 151: Default-Route-Advertise (Is-Is View)

    default-route-advertise (IS-IS view) Syntax default-route-advertise [ route-policy route-policy-name | [ level-1 | level-1-2 | level-2 ] ] * undo default-route-advertise [ route-policy route-policy-name ] View IS-IS view Default level 2: System level Parameters route-policy-name: Specifies the name of a routing policy, a string of 1 to 63 characters. level-1: Advertises a Level- 1 default route.
  • Page 152 View Any view Default level 1: Monitor level Parameters process-id: Displays IS-IS brief configuration information for the IS-IS process. The process ID is in the range 1 to 65535. vpn-instance vpn-instance-name: Displays IS-IS brief configuration information for the VPN instance. The VPN instance name is a string of 1 to 31 characters.
  • Page 153: Display Isis Debug-Switches

    Field Description cost-style Cost style preference Preference Lsp-length receive Maximum LSP that can be received Lsp-length originate Maximum LSP that can be generated Maximum number of redistributed maximum imported routes number Level-1/Level-2 IPv4 routes lsp-max-age Maximum life period of LSP Timers lsp-refresh Refresh interval of LSP...
  • Page 154: Display Isis Graceful-Restart Status

    display isis graceful-restart status Syntax display isis graceful-restart status [ level-1 | level-2 ] [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters level-1: Displays the IS-IS Level- 1 Graceful Restart state.
  • Page 155: Display Isis Interface

    Restart Status: RESTARTING Number of LSPs Awaited: 3 T3 Timer Status: Remaining Time: 140 T2 Timer Status: Remaining Time: 59 Table 29 Output description Field Description Restart Interval Graceful Restart interval SA Bit Supported The SA bit is set Total Number of Interfaces = 1 The current IS-IS interface number Restart Status Graceful Restart status...
  • Page 156 regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display isis interface command to display IS-IS interface information. Examples # Display brief IS-IS interface information. <Sysname> display isis interface Interface information for ISIS(1) --------------------------------- Interface: Vlan-interface11 IPV4.State...
  • Page 157 Interface: Tunnel1 IPv4.State IPv6.State Type Down 16384L1/L2 -- SNPA Address : 0000-0000-0000 IP Address : 10.1.1.4 Secondary IP Address(es) IPv6 Link Local Address IPv6 Global Address(es) Csnp Timer Value Hello Timer Value Hello Multiplier Value Lsp Timer Value Lsp Transmit-Throttle Count : Cost Priority Retransmit Timer Value...
  • Page 158 Field Description Priority DIS priority Retransmit Timer Value LSP retransmission interval over the point-to-point link Whether BFD is enabled on the interface MPLS TE Status Whether MPLS TE is enabled on the interface INTF L1 TE Status Whether level-1 MPLS TE is enabled on the interface INTF L2 TE Status Whether level-2 MPLS TE is enabled on the interface TE Cost...
  • Page 159: Display Isis Lsdb

    display isis lsdb Syntax display isis lsdb [ [ l1 | l2 | level-1 | level-2 ] | [ lsp-id lspid | lsp-name lspname ] | local | verbose ] * [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 160 1111.1111.1112.01-00* 0x00000001 0x4c0e 0/0/0 *-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload # Display detailed Level- 1 LSDB information. <Sysname> display isis lsdb level-1 verbose Database information for ISIS(1) -------------------------------- Level-1 Link State Database LSPID Seq Num Checksum Holdtime Length ATT/P/OL -------------------------------------------------------------------------- 1111.1111.1111.00-00 0x00000005...
  • Page 161: Display Isis Mesh-Group

    Field Description Length LSP length Attach bit (ATT) Partition bit (P) ATT/P/OL Overload bit (OL) 1 means the bit is set and 0 means the bit is not set. 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...
  • Page 162: Display Isis Name-Table

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display isis mesh-group command to display IS-IS mesh-group configuration information.
  • Page 163: Display Isis Peer

    |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 164 verbose: Displays detailed IS-IS neighbor information. Without the keyword, the command displays brief IS-IS neighbor information. process-id: Displays the IS-IS neighbor information of the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays the IS-IS neighbor information of the VPN instance. The vpn-instance-name is a string of 1 to 31 characters.
  • Page 165 Interface: Vlan-interface11 Circuit Id: 1111.1111.1112.01 State: Up HoldTime: 28s Type: L2(L1L2) PRI: 64 Area Address(es):10 Peer IP Address(es): 3.1.1.2 Uptime: 00:38:15 Adj Protocol: IPV4 Table 35 Output description Field Description System Id System ID of the neighbor Interface Interface connecting to the neighbor Circuit Id Circuit ID State...
  • Page 166: Display Isis Route

    Table 36 Output description Field Description Neighbor type: • LAN Level- 1 : Number of Level- 1 neighbors whose network type is broadcast. Type • LAN Level-2: Number of Level-2 neighbors whose network type is broadcast. • P2P: Number of neighbors whose network type is P2P. IPv4 Up Number of IPv4 neighbors in up state IPv4 Init...
  • Page 167 If no level is specified, both Level- 1 and Level-2 routing information will be displayed. Examples # Display IS-IS IPv4 routing information. <Sysname> display isis route 1 Route information for ISIS(1) ----------------------------- ISIS(1) IPv4 Level-1 Forwarding Table ------------------------------------- IPV4 Destination IntCost ExtCost ExitInterface NextHop...
  • Page 168 Field Description Routing state flag D: Direct route. R: The route has been added into the routing table. Flags L: The route has been advertised in an LSP. U: A route’s penetration flag. Setting it to UP can prevent an LSP sent from L2 to L1 from being sent back to L2.
  • Page 169: Display Isis Spf-Log

    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 Dest IPv4 destination Int. Cost Internal route cost Ext. Cost External route cost Admin Tag Src Count Count of advertising sources Route state flag...
  • Page 170: Display Isis Statistics

    Examples # Display IS-IS SPF log information. <Sysname> display isis spf-log SPF Log information for ISIS(1) ------------------------------- Level Trig.Event No.Nodes Duration StartTime IS_SPFTRIG_PERIODIC 13:3:24 IS_SPFTRIG_PERIODIC 13:18:8 IS_SPFTRIG_PERIODIC 13:18:8 IS_SPFTRIG_PERIODIC 13:32:28 IS_SPFTRIG_PERIODIC 13:32:28 IS_SPFTRIG_PERIODIC 13:44:0 IS_SPFTRIG_PERIODIC 13:44:0 IS_SPFTRIG_PERIODIC 13:55:43 -->L2 IS_SPFTRIG_PERIODIC 13:55:43 IS_SPFTRIG_PERIODIC 11:54:12...
  • Page 171 Default level 1: Monitor level Parameters level-1: Displays IS-IS Level- 1 statistics. level-1-2: Displays IS-IS Level- 1 -2 statistics. level-2: Displays IS-IS Level-2 statistics. process-id: Displays IS-IS statistics for the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays IS-IS statistics for the VPN instance.
  • Page 172 0000.0000.0003 Level-2 Statistics ------------------ Learnt routes information: Total IPv4 Learnt Routes in IPv4 Routing Table: 0 Total IPv6 Learnt Routes in IPv6 Routing Table: 0 Imported routes information: IPv4 Imported Routes: Static: 0 Direct: 0 ISIS: BGP: RIP: OSPF: IPv6 Imported Routes: Static: 0 Direct: 0 ISISv6: 0...
  • Page 173: Domain-Authentication-Mode

    Field Description LSP information • LSP Source ID: ID of the source Lsp information system • No. of used LSPs: number of used LSPs domain-authentication-mode Syntax domain-authentication-mode { md5 | simple } password [ ip | osi ] undo domain-authentication-mode View IS-IS view Default level...
  • Page 174: Fast-Reroute

    Examples # Specify the routing domain authentication mode as simple and password as 123456. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] domain-authentication-mode simple 123456 fast-reroute Syntax fast-reroute { auto | route-policy route-policy-name } undo fast-reroute View IS-IS view Default level 2: System level Parameters auto: Calculates a backup next hop automatically for all routes.
  • Page 175: Filter-Policy Export (Is-Is View)

    [Sysname-route-policy] apply fast-reroute backup-interface vlan-interface backup-nexthop 193.1.1.8 [Sysname-route-policy] quit [Sysname] isis 100 [Sysname-isis-100] fast-reroute route-policy frr filter-policy export (IS-IS view) Syntax filter-policy { acl-number | ip-prefix ip-prefix-name | route-policy route-policy-name } export [ protocol [ process-id ] ] undo filter-policy export [ protocol [ process-id ] ] View IS-IS view Default level...
  • Page 176: Filter-Policy Import (Is-Is View)

    Examples # Reference ACL 2000 to filter redistributed routes. <Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule deny source 192.168.10.0 0.0.0.255 [Sysname-acl-basic-2000] quit [Sysname] isis 1 [Sysname-isis-1] filter-policy 2000 export # Configure ACL 3000 to permit only route 1 13.0.0.0/16 to pass, and reference ACL 3000 to filter redistributed routes.
  • Page 177: Flash-Flood

    NOTE: If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command or in the rule-id sour-addr routing policy, the ACL should be configured with the rule [ ] { deny | permit } ip source sour-wildcard rule-id command to deny/permit a route with the specified destination, or with the rule [...
  • Page 178: Graceful-Restart (Is-Is View)

    Description Use the flash-flood command to enable IS-IS LSP flash flooding. Use the undo flash-flood command to disable IS-IS LSP flash flooding. IS-IS LSP flash flooding is disabled by default. If no level is specified, the command enables IS-IS LSP flash flooding for both Level- 1 and Level-2. Examples # Enable fast flooding and specify the maximum LSPs to be sent as 10 and the delay time as 100 milliseconds.
  • Page 179: Graceful-Restart Suppress

    undo graceful-restart interval View IS-IS view Default level 2: System level Parameters interval-value: Graceful Restart interval, in the range 30 to 1800 seconds. Description Use the graceful-restart interval command to configure the Graceful Restart interval. Use the undo graceful-restart interval command to restore the default Graceful Restart interval. By default, the Graceful Restart interval is 300 seconds.
  • Page 180: Import-Route (Is-Is View)

    [Sysname] isis 1 [Sysname-isis-1] graceful-restart suppress-sa import-route (IS-IS view) Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | cost-type { external | internal } | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name | tag tag ] * undo import-route protocol [ process-id | all-processes ] View IS-IS view...
  • Page 181: Import-Route Isis Level-2 Into Level-1

    No route redistribution is configured by default. IS-IS takes all the redistributed routes as external routes to destinations outside the IS-IS routing domain. Related commands: import-route isis level-2 into level-1. NOTE: Using the import-route bgp command redistributes only EBGP routes. Using the import-route bgp •...
  • Page 182: Import-Route Limit (Is-Is View)

    You can specify a routing policy in the import-route isis level-2 into level-1 command to filter routes from Level-2 to Level- 1 . Other routing policies specified for route reception and redistribution does not affect the route leaking. If a filter policy is configured, only routes passing it can be advertised into the Level- 1 area. Related commands: import-route.
  • Page 183: Isis Authentication-Mode

    Default level 2: System level Parameters process-id: Process ID, ranging from 1 to 65535. The default is 1. vpn-instance-name: VPN instance name, a string of 1 to 31 characters. Description Use the isis command to enable an IS-IS process and specify an associated VPN instance, enter IS-IS view, or both.
  • Page 184: Isis Bfd Enable

    NOTE: This command is not available in loopback interface view. • Whether a password should use ip or osi is not affected by the actual network environment. • Description Use the isis authentication-mode command to set the IS-IS authentication mode and password for an interface.
  • Page 185: Isis Circuit-Level

    By default, an IS-IS interface is not enabled with BFD. Examples # Enable BFD for IS-IS on VLAN-interface 1 1. <Sysname> system-view [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] isis enable [Sysname-Vlan-interface11] isis bfd enable isis circuit-level Syntax isis circuit-level [ level-1 | level-1-2 | level-2 ] undo isis circuit-level View Interface view...
  • Page 186: Isis Cost

    View Interface view Default level 2: System level Parameters None Description Use the isis circuit-type p2p command to configure the network type for an interface as P2P. Use the undo isis circuit-type command to cancel the configuration. By default, the network type of an interface depends on the physical media. (The network type of a VLAN interface is broadcast.) Interfaces with different network types operate differently.
  • Page 187: Isis Dis-Name

    No cost is configured by default. If neither level-1 nor level-2 is included, the cost applies to both level-1 and level-2. H3C recommends to configure a proper IS-IS cost for each interface to guarantee correct route calculation. Relate command: circuit-cost.
  • Page 188: Isis Dis-Priority

    [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis dis-name LOCALAREA isis dis-priority Syntax isis dis-priority value [ level-1 | level-2 ] undo isis dis-priority [ value ] [ level-1 | level-2 ] View Interface view Default level 2: System level Parameters value: Specifies a DIS priority for the interface, ranging from 0 to 127. level-1: Applies the DIS priority to Level- 1 .
  • Page 189: Isis Mesh-Group

    View Interface view Default level 2: System level Parameters process-id: Specifies a IS-IS process ID, ranging from 1 to 65535. The default is 1. Description Use the isis enable command to enable an IS-IS process on the interface. Use the undo isis enable command to disable IS-IS. No IS-IS routing process is enabled on an interface by default.
  • Page 190: Isis Mib-Binding

    After an interface is added to a mesh group, it will only flood a received LSP or a generated LSP to interfaces not belonging to the same mesh group. If you block an interface, the interface can send LSPs only after receiving LSP requests. NOTE: The mesh-group feature is only available for a point-to-point link interface.
  • Page 191: Isis Small-Hello

    Default level 2: System level Parameters None Description Use the isis silent command to disable the interface from sending and receiving IS-IS packets. Use the undo isis silent command to restore the default. By default, an interface is not disabled from sending and receiving IS-IS packets. NOTE: The feature is not supported on the loopback interface.
  • Page 192: Isis Timer Csnp

    isis timer csnp Syntax isis timer csnp seconds [ level-1 | level-2 ] undo isis timer csnp [ seconds ] [ level-1 | level-2 ] View Interface view Default level 2: System level Parameters seconds: Specifies on the DIS of a broadcast network the interval in seconds for sending CSNP packets, ranging from 1 to 600.
  • Page 193: Isis Timer Holding-Multiplier

    Parameters seconds: Specifies the interval in seconds for sending hello packets, ranging from 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. Description Use the isis timer hello command to specify the interval for sending hello packets. Use the undo isis timer hello command to restore the default.
  • Page 194: Isis Timer Lsp

    Description Use the isis timer holding-multiplier command to specify the IS-IS hello multiplier. Use the undo isis timer holding-multiplier command to restore the default. The default IS-IS hello multiplier is 3. If no level is specified, the hello multiplier applies to the current level. 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).
  • Page 195: Isis Timer Retransmit

    Examples # Configure the interval as 500 milliseconds for sending LSPs on interface VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis timer lsp 500 isis timer retransmit Syntax isis timer retransmit seconds undo isis timer retransmit View Interface view Default level 2: System level Parameters...
  • Page 196: Is-Name

    undo is-level View IS-IS view Default level 2: System level Parameters level-1: Configures the router to work on Level- 1 , which means it only calculates routes within the area, and maintains the L1 LSDB. level-1-2: Configures the router to work on Level- 1 -2, which means it calculates routes and maintains the LSDBs for both L1 and L2.
  • Page 197: Is-Name Map

    Use the undo is-name command to disable dynamic system ID to hostname mapping. Dynamic system ID to hostname mapping is not enabled by default. Examples # Configure a host name for the local IS. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] is-name RUTA is-name map Syntax is-name map sys-id map-sys-name...
  • Page 198: Log-Peer-Change (Is-Is View)

    Parameters None Description Use the is-snmp-traps enable command to enable the SNMP Trap function of IS-IS. Use the undo is-snmp-traps command to disable this function. SNMP Trap is enabled by default. Examples # Enable SNMP Trap. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] is-snmp-traps enable log-peer-change (IS-IS view) Syntax...
  • Page 199: Lsp-Length Originate

    View IS-IS view Default level 2: System level Parameters level-1: Applies the fragment extension mode to Level- 1 LSPs. level-1-2: Applies the fragment extension mode to both Level- 1 and Level-2 LSPs. level-2: Applies the fragment extension mode to Level-2 LSPs. mode-1: Fragment extension mode 1, used on a network where some routers do not support LSP fragment extension.
  • Page 200: Lsp-Length Receive

    Description Use the lsp-length originate command to configure the maximum size of generated Level- 1 or Level-2 LSPs. Use the undo lsp-length originate command to restore the default. By default, the maximum size of generated Level- 1 and Level-2 LSPs is 1497 bytes. NOTE: If neither Level-1 nor Level-2 is specified in the command, the configured maximum size applies to the current IS-IS level.
  • Page 201: Non-Stop-Routing

    View IS-IS view Default level 2: System level Parameters number: Maximum number of equal-cost routes. The number ranges from 1 to 8. Description Use the maximum load-balancing command to configure the maximum number of equal-cost routes. Use the undo maximum load-balancing command to restore the default. By default, the maximum number is 8.
  • Page 202: Non-Stop-Routing Interval

    non-stop-routing interval Syntax non-stop-routing interval interval-value undo non-stop-routing interval View IS-IS view Default level 2: System view Parameters interval-value: NSR interval, in the range of 30 to 1800 seconds. The NSR interval refers to the expected interval of a Master/SLave switchover on an IRF device. Description Use the non-stop-routing interval command to set the NSR interval.
  • Page 203: Preference (Is-Is View)

    Description Use the network-entity command to configure the Network Entity Title for an IS-IS routing process. Use the undo network-entity command to delete a NET. No NET is configured by default. A NET is a special NSAP address with the SEL being 0. The length of the NET is in the range 8 bytes to 20 bytes.
  • Page 204: Reset Isis All

    When a router runs multiple routing protocols at the same time, the system will configure a preference to each routing protocol. If several protocols find routes to the same destination, the route of the routing protocol with the highest preference is selected. Examples # Configure the preference of IS-IS protocol as 25.
  • Page 205: Set-Overload

    Parameters system-id: Specifies the system ID of an IS-IS neighbor. process-id: Clears the data structure information of an IS-IS process with an ID from 1 to 65535. vpn-instance-name: Clears the data structure information of a VPN instance named with a string of 1 to 31 characters.
  • Page 206: Summary (Is-Is View)

    Description Use the set-overload command to set the overload bit. Use the undo set-overload command to clear the overload bit. The overload bit is not set by default. If the on-startup keyword is not specified, the command sets the overload bit immediately until the undo set-overload command is executed.
  • Page 207: Timer Lsp-Generation

    Description Use the summary command to configure a summary route. Use the undo summary command to remove a summary route. No summarization is configured by default. If no level is specified, only the level-2 routes will be summarized by default. You can summarize multiple contiguous networks into a single network to reduce the size of the routing table, as well as that of LSP and LSDB generated by the router.
  • Page 208: Timer Lsp-Max-Age

    If both the maximum and initial intervals are specified: • IS-IS waits the initial interval before generating the first LSP. If the network topology is unstable (triggers occur at intervals shorter than the maximum interval), • IS-IS waits the maximum interval before generating the first LSP until the network topology is stable. If the maximum, initial, and second wait intervals are specified: •...
  • Page 209: Timer Lsp-Refresh

    timer lsp-refresh Syntax timer lsp-refresh seconds undo timer lsp-refresh View IS-IS view Default level 2: System level Parameters seconds: LSP refresh interval in seconds, ranging from 1 to 65534. Description Use the timer lsp-refresh command to configure the LSP refresh interval. Use the undo timer lsp-refresh to restore the default.
  • Page 210: Virtual-System

    second-wait-interval: Wait interval before the second SPF calculation, in milliseconds, ranging from 10 to 60000. Description Use the timer spf command to set the SPF calculation interval. Use the undo timer spf command to restore the default. The default IS-IS SPF calculation interval is 10 seconds. If only the maximum interval is specified, IS-IS waits the maximum interval before performing the SPF calculation.
  • Page 211 Description Use the virtual-system command to configure a virtual system ID for the IS-IS process. Use the undo virtual-system command to remove a virtual system ID. Up to 50 virtual system IDs can be configured for the IS-IS process. Examples # Set a virtual system ID of 2222.2222.2222 for IS-IS process 1.
  • Page 212: Bgp Configuration Commands

    BGP configuration commands NOTE: router The term in this document refers to both routers and Layer 3 switches. • For more information about routing policy configuration commands in this document, see the chapter • “Routing policy configuration commands.” aggregate Syntax aggregate ip-address { mask | mask-length } [ as-set | attribute-policy route-policy-name | detail-suppressed | origin-policy route-policy-name | suppress-policy route-policy-name ] * undo aggregate ip-address { mask | mask-length }...
  • Page 213: Balance (Bgp/Bgp-Vpn Instance View)

    Table 41 Functions of the keywords Keywords Function Used to create a summary route, whose AS path contains the AS path information of summarized routes. Use this keyword carefully when many AS paths need to be as-set summarized, because the frequent changes of these specific routes may lead to route oscillation.
  • Page 214: Bestroute As-Path-Neglect (Bgp/Bgp-Vpn Instance View)

    Parameters number: Number of BGP routes for load balancing. The number ranges from 1 to 8. When it is set to 1, load balancing is disabled. Description Use the balance command to configure the number of BGP routes for load balancing. Use the undo balance command to disable load balancing.
  • Page 215: Bestroute Compare-Med (Bgp/Bgp-Vpn Instance View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] bestroute as-path-neglect # In BGP-VPN instance view, ignore AS_PATH in route selection (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] bestroute as-path-neglect bestroute compare-med (BGP/BGP-VPN instance view) Syntax bestroute compare-med undo bestroute compare-med...
  • Page 216: Bgp

    View BGP view, BGP-VPN instance view Default level 2: System level Parameters None Description Use the bestroute med-confederation command to enable the comparison of the MED for paths from confederation peers during best route selection. Use the undo bestroute med-confederation command to disable the comparison. The comparison is not enabled by default.
  • Page 217: Compare-Different-As-Med (Bgp/Bgp-Vpn Instance View)

    Examples # Enable BGP and set local AS number to 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] compare-different-as-med (BGP/BGP-VPN instance view) Syntax compare-different-as-med undo compare-different-as-med View BGP view, BGP-VPN instance view Default level 2: System level Parameters None Description Use the compare-different-as-med command to enable the comparison of the MED for paths from peers in different ASs.
  • Page 218: Confederation Nonstandard

    View BGP view Default level 2: System level Parameters as-number: Number of the AS that contains multiple sub-ASs, in the range 1 to 4294967295. Description Use the confederation id command to configure a confederation ID. Use the undo confederation id command to remove a specified confederation. By default, no confederation ID is configured.
  • Page 219: Confederation Peer

    Description Use the confederation nonstandard command to make the router compatible with routers not compliant with RFC3065 in the confederation. Use the undo confederation nonstandard command to restore the default. By default, all routers in the confederation comply with RFC3065. All devices should be configured with this command to interact with those nonstandard devices in the confederation.
  • Page 220: Dampening (Bgp/Bgp-Vpn Instance View)

    [Sysname] bgp 100 [Sysname-bgp] confederation id 10 [Sysname-bgp] confederation peer-as 2000 2001 dampening (BGP/BGP-VPN instance view) Syntax dampening [ half-life-reachable half-life-unreachable reuse suppress ceiling | route-policy route-policy-name ] * undo dampening View BGP view, BGP-VPN instance view Default level 2: System level Parameters half-life-reachable: Specifies a half-life for active routes from 1 to 45 minutes.
  • Page 221: Default Ipv4-Unicast

    # In BGP-VPN instance view, configure BGP route dampening (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] dampening 15 15 1000 2000 10000 default ipv4-unicast Syntax default ipv4-unicast undo default ipv4-unicast View BGP view Default level 2: System level Parameters...
  • Page 222: Default Med (Bgp/Bgp-Vpn Instance View)

    View BGP view, BGP-VPN instance view Default level 2: System level Parameters value: Default local preference, in the range 0 to 4294967295. The larger the value is, the higher the preference is. Description Use the default local-preference command to configure the default local preference. Use the undo default local-preference command to restore the default value.
  • Page 223: Default-Route Imported (Bgp/Bgp-Vpn Instance View)

    preferred. When a router running BGP obtains several routes with an identical destination but different next-hops from various external peers, it will select the best route depending on the MED value. In the case that all other conditions are the same, the system first selects the route with the smallest MED as the best external route.
  • Page 224: Display Bgp Group

    [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] default-route imported [Sysname-bgp-vpn1] import-route ospf 1 display bgp group Syntax display bgp group [ group-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters group-name: Peer group name, a string of 1 to 47 characters.
  • Page 225: Display Bgp Network

    Table 42 Output description Field Description BGP peer-group Name of the BGP peer group Remote AS AS number of peer group type Type of the BGP peer group: iBGP or eBGP Maximum prefixes allowed to receive from the peer Maximum allowed prefix number group Percentage of received prefixes from the peer group to maximum prefixes allowed to receive from the peer...
  • Page 226: Display Bgp Paths

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display bgp network command to display routing information advertised with the network command.
  • Page 227: Display Bgp Peer

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display bgp paths command to display information about BGP AS paths. Examples # Display information about BGP AS paths with AS number starting from 200.
  • Page 228 verbose: Displays the detailed information of the peer/peer group. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 229 Table 45 Output description Field Description Peer IP address of the peer Local Local router ID Type Peer type BGP version BGP version remote router ID Router ID of the peer BGP current state Current state of the peer BGP current event Current event of the peer BGP last state Previous state of the peer...
  • Page 230: Display Bgp Peer Received Ip-Prefix

    Field Description Routing policy configured Local routing policy # Display the log information of the peer 10.1 10.25.20. <sysname> display bgp peer 10.110.25.20 log-info Peer : 10.110.25.20 Date Time State Notification Error/SubError 10-Jul-2008 15:46:17 Down Send Notification with Error 1/1 Message Header Error/Connection Not Synchronized 10-Jul-2008 09:23:00 Up 10-Jul-2008 07:46:17 Down...
  • Page 231: Display Bgp Routing-Table

    Parameters ip-address: IP address of a BGP peer. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 232 Parameters ip-address: Destination IP address. mask: Network mask, in dotted decimal notation. mask-length: Mask length, in the range 0 to 32. longer-prefixes: Matches the longest prefix. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 233: Display Bgp Routing-Table As-Path-Acl

    Field Description Status codes: * – valid ^ - VPNv4 best > – best Status codes d – damped h – history i – internal (IGP) s – summary suppressed (suppressed) S – Stale i – IGP (originated in the AS) Origin e –...
  • Page 234: Display Bgp Routing-Table Cidr

    |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 235: Display Bgp Routing-Table Community

    Examples # Display BGP CIDR routing information. <Sysname> display bgp routing-table cidr Total Number of Routes: 1 BGP Local router ID is 20.20.20.1 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? –...
  • Page 236: Display Bgp Routing-Table Community-List

    Description Use the display bgp routing-table community command to display BGP routing information with the specified BGP community attribute. Examples # Display BGP routing information with the specified BGP community. <Sysname> display bgp routing-table community 11:22 BGP Local router ID is 10.10.10.1 Status codes: * - valid, ^ - VPNv4 best, >...
  • Page 237: Display Bgp Routing-Table Dampened

    Examples # Display BGP routing information matching BGP community list 100. <Sysname> display bgp routing-table community-list 100 BGP Local router ID is 1.2.3.4 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, Origin codes: i - IGP, e - EGP, ? –...
  • Page 238: Display Bgp Routing-Table Dampening Parameter

    77.0.0.0 12.1.1.1 00:29:20 100? Table 49 Output description Field Description From IP address from which the route was received Reuse Reuse time of the route Table 48 for description of the other fields. display bgp routing-table dampening parameter Syntax display bgp routing-table dampening parameter [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 239: Display Bgp Routing-Table Different-Origin

    Field Description Ceiling Value Ceiling penalty value Reuse Value Reuse value Reach HalfLife Time(in second) Half-life time of active routes Unreach HalfLife Time(in second) Half-life time of inactive routes Suppress-Limit Limit for a route to be suppressed display bgp routing-table different-origin-as Syntax display bgp routing-table different-origin-as [ | { begin | exclude | include } regular-expression ] View...
  • Page 240: Display Bgp Routing-Table Flap-Info

    display bgp routing-table flap-info Syntax display bgp routing-table flap-info [ regular-expression as-regular-expression | [ as-path-acl as-path-acl-number | ip-address [ { mask | mask-length } [ longer-match ] ] ] [ | { begin | exclude | include } regular-expression ] ] View Any view Default level...
  • Page 241: Display Bgp Routing-Table Label

    Table 51 Output description Field Description From Source IP address of the route Flaps Number of routing flaps Duration Duration time of the flap route Reuse Reuse time of the route Table 48 for description of the other fields. display bgp routing-table label Syntax display bgp routing-table label [ | { begin | exclude | include } regular-expression ] View...
  • Page 242: Display Bgp Routing-Table Peer

    The In/Out Label field refers to the inbound/outbound label. See Table 48 for the description of other fields. display bgp routing-table peer Syntax display bgp routing-table peer ip-address { advertised-routes | received-routes } [ network-address [ mask | mask-length ] | statistic ] [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 243: Display Bgp Routing-Table Regular-Expression

    *> 30.30.30.0/24 0.0.0.0 *> 40.40.40.0/24 0.0.0.0 Table 48 for description of the fields. display bgp routing-table regular-expression Syntax display bgp routing-table regular-expression as-regular-expression View Any view Default level 1: Monitor level Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. Description Use the display bgp routing-table regular-expression command to display BGP routing information matching the specified AS path regular expression.
  • Page 244: Ebgp-Interface-Sensitive

    Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 245: Filter-Policy Export (Bgp/Bgp-Vpn Instance View)

    # In BGP-VPN instance view, enable the clearing of eBGP session on any interface that becomes down (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] ebgp-interface-sensitive filter-policy export (BGP/BGP-VPN instance view) Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ direct | isis process-id | ospf process-id | rip process-id | static ] undo filter-policy export [ direct | isis process-id | ospf process-id | rip process-id | static ] View...
  • Page 246: Filter-Policy Import (Bgp/Bgp-Vpn Instance View)

    Examples # In BGP view, reference ACL 2000 to filter all outgoing routes. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] filter-policy 2000 export # In BGP-VPN instance view, reference ACL 2000 to filter all outgoing routes (the VPN has been created). <Sysname>...
  • Page 247: Graceful-Restart (Bgp View)

    NOTE: If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL rule-id sour-addr sour-wildcard should be configured with the rule [ ] { deny | permit } ip source rule-id command to deny/permit a route with the specified destination, or with the rule [ ] { deny | sour-addr sour-wildcard...
  • Page 248: Graceful-Restart Timer Restart

    By default, BGP Graceful Restart capability is disabled. NOTE: During Master/Slave switchover, a GR-capable BGP speaker can maintain the packet forwarding table. During restart, it may not maintain the forwarding table. Examples # Enable the Graceful Restart capability for BGP process 100. <Sysname>...
  • Page 249: Group (Bgp/Bgp-Vpn Instance View)

    Default level 2: System level Parameters timer: Time to wait for the End-of-RIB marker, in the range 3 to 300 seconds. Description Use the graceful-restart timer wait-for-rib command to configure the time to wait for the End-of-RIB marker. Use the undo graceful-restart timer wait-for-rib command to restore the default. By default, the time to wait for the End-of-RIB marker is 180 seconds.
  • Page 250: Ignore-First

    Examples # In BGP view, create an eBGP peer group test with AS number 200, and add eBGP peers 10.1.1.1 and 10.1.2.1 into the group. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] group test external [Sysname-bgp] peer test as-number 200 [Sysname-bgp] peer 10.1.1.1 group test [Sysname-bgp] peer 10.1.2.1 group test # In BGP-VPN instance view, create an eBGP peer group test with AS number 200, and add eBGP peers 10.1.1.1 and 10.1.2.1 into the group (the VPN has been created).
  • Page 251: Import-Route (Bgp/Bgp-Vpn Instance View)

    import-route (BGP/BGP-VPN instance view) Syntax import-route protocol [ { process-id | all-processes } [ allow-direct | med med-value | route-policy route-policy-name ] * ] undo import-route protocol [ process-id | all-processes ] View BGP view, BGP-VPN instance view Default level 2: System level Parameters protocol: Redistributes routes from the specified routing protocol, which can be direct, isis, ospf, rip or...
  • Page 252: Log-Peer-Change

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] import-route rip log-peer-change Syntax log-peer-change undo log-peer-change View BGP view Default level 2: System level Parameters None Description Use the log-peer-change command to enable the global BGP logging on peers going up and down. Use the undo log-peer-change command to disable the function.
  • Page 253: Network Short-Cut (Bgp/Bgp-Vpn Instance View)

    Description Use the network command to inject a network to the local BGP routing table. Use the undo network command to remove a network from the BGP routing table. By default, no network route is injected. The network route to be injected must exist in the local IP routing table, and using a routing policy makes route management more flexible.
  • Page 254: Peer Advertise-Community (Bgp/Bgp-Vpn Instance View)

    [Sysname] bgp 100 [Sysname-bgp] network 10.0.0.0 255.255.0.0 short-cut # In BGP-VPN instance view, configure route 10.0.0.0/16 as a shortcut route. (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] network 10.0.0.0 255.255.0.0 short-cut peer advertise-community (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } advertise-community undo peer { group-name | ip-address } advertise-community...
  • Page 255: Peer Advertise-Ext-Community (Bgp/Bgp-Vpn Instance View)

    peer advertise-ext-community (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } advertise-ext-community undo peer { group-name | ip-address } advertise-ext-community View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.
  • Page 256: Peer As-Number (Bgp/Bgp-Vpn Instance View)

    Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. number: Specifies the number of times for which the local AS number can appear in routes from the peer/peer group, in the range 1 to 10. The default number is 1. Description Use the peer allow-as-loop command to allow the local AS number to exist in the AS_PATH attribute of routes from a peer/peer group, and to configure the number of times the local AS number can appear.
  • Page 257: Peer As-Path-Acl (Bgp/Bgp-Vpn Instance View)

    Use the undo peer group-name as-number command to delete a peer group. Use the undo peer ip-address command to delete a peer. By default, no peer or peer group is specified. You can specify the AS number of a peer in either of the following ways: Use the peer ip-address as-number as-number command.
  • Page 258: Peer Bfd

    Use the undo peer as-path-acl command to remove the configuration. By default, no AS path ACL filtering is configured. Related commands: ip as-path, if-match as-path, and apply as-path. Examples # In BGP view, reference the AS path ACL 1 to filter routes outgoing to the peer group test. <Sysname>...
  • Page 259: Peer Capability-Advertise Conventional (Bgp/Bgp-Vpn Instance View)

    peer capability-advertise conventional (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } capability-advertise conventional undo peer { group-name | ip-address } capability-advertise conventional View BGP view, BGP VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.
  • Page 260 receive: Supports receiving route-refresh messages carrying the ORF information. send: Supports sending route-refresh messages carrying the ORF information. Description Use the peer capability-advertise orf command to enable the ORF capability for a BGP peer or peer group. Use the undo peer capability-advertise orf command to disable the ORF capability for the BGP peer or peer group.
  • Page 261: Peer Capability-Advertise Orf Non-Standard

    peer capability-advertise orf non-standard Syntax peer { group-name | ip-address } capability-advertise orf non-standard undo peer { group-name | ip-address } capability-advertise orf non-standard View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.
  • Page 262: Peer Capability-Advertise Route-Refresh

    peer capability-advertise route-refresh Syntax peer { group-name | ip-address } capability-advertise route-refresh undo peer { group-name | ip-address } capability-advertise route-refresh View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.
  • Page 263: Peer Default-Route-Advertise (Bgp/Bgp-Vpn Instance View)

    Parameters group-name: Name of a peer group, a string 1 to 47 characters. ip-address: IP address of a peer. interface-type interface-number: Specifies the type and number of the interface. Description Use the peer connect-interface command to specify the source interface for establishing TCP connections to a peer/peer group.
  • Page 264: Peer Description (Bgp/Bgp-Vpn Instance View)

    route-policy-name: Routing policy name, a string of 1 to 63 characters. Description Use the peer default-route-advertise command to advertise a default route to a peer/peer group. Use the undo peer default-route-advertise command to disable default route advertisement to a peer/peer group. By default, no default route is advertised to a peer/peer group.
  • Page 265: Peer Ebgp-Max-Hop (Bgp/Bgp-Vpn Instance View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test description ISP1 # In BGP-VPN instance view, configure the description information of the peer group test as ISP1(the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] peer test description ISP1 peer ebgp-max-hop (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } ebgp-max-hop [ hop-count ]...
  • Page 266: Peer Enable (Bgp/Bgp-Vpn Instance View)

    peer enable (BGP/BGP-VPN instance view) Syntax peer ip-address enable undo peer ip-address enable View BGP view, BGP VPN instance view Default level 2: System level Parameters ip-address: IP address of a peer. Description Use the peer enable command to enable the specified peer. Use the undo peer enable command to disable the specified peer.
  • Page 267: Peer Filter-Policy (Bgp/Bgp-Vpn Instance View)

    By default, no fake local AS number is configured for a peer or peer group. NOTE: The peer fake-as command is only applicable to an eBGP peer or peer group. Examples # In BGP view, configure a fake AS number of 200 for the peer group test. <Sysname>...
  • Page 268: Peer Group (Bgp/Bgp-Vpn Instance View)

    [Sysname-bgp] peer test filter-policy 2000 export # In BGP-VPN instance view, apply the ACL 2000 to filter routes advertised to the peer group test (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] peer test filter-policy 2000 export peer group (BGP/BGP-VPN instance view) Syntax peer ip-address group group-name [ as-number as-number ]...
  • Page 269: Peer Ignore (Bgp/Bgp-Vpn Instance View)

    [Sysname-bgp-vpn1] peer 10.1.1.1 group test peer ignore (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } ignore undo peer { group-name | ip-address } ignore View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.
  • Page 270: Peer Keep-All-Routes (Bgp/Bgp-Vpn Instance View)

    Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. ip-prefix-name: IP prefix list name, a string of 1 to 19 characters. export: Applies the filter to routes advertised to the specified peer/peer group. import: Applies the filter to routes received from the specified peer/peer group.
  • Page 271: Peer Log-Change (Bgp/Bgp-Vpn Instance View)

    Use the undo peer keep-all-routes command to disable this function. By default, the function is not enabled. Examples # In BGP view, save routing information from peer 131.100.1.1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 131.100.1.1 as-number 200 [Sysname-bgp] peer 131.100.1.1 keep-all-routes # In BGP-VPN instance view, save routing information from peer 131.100.1.1(the VPN has been created).
  • Page 272: Peer Next-Hop-Local (Bgp/Bgp-Vpn Instance View)

    [Sysname-bgp-vpn1] peer test log-change peer next-hop-local (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } next-hop-local undo peer { group-name | ip-address } next-hop-local View BGP view /BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.
  • Page 273: Peer Preferred-Value (Bgp/Bgp-Vpn Instance View)

    Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. cipher: Displays the configured password in cipher text format. simple: Displays the configured password in plain text format. password: Password, a string of 1 to 80 characters when the simple keyword is used, or when the cipher keyword and plain text password are used;...
  • Page 274: Peer Public-As-Only (Bgp/Bgp-Vpn Instance View)

    View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. value: Preferred value, in the range 0 to 65535. Description Use the peer preferred-value command to assign a preferred value to routes received from a peer or peer group.
  • Page 275: Peer Reflect-Client (Bgp/Bgp-Vpn Instance View)

    View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer public-as-only command to not keep private AS numbers in BGP updates sent to a peer/peer group.
  • Page 276: Peer Route-Limit (Bgp/Bgp-Vpn Instance View)

    Description Use the peer reflect-client command to configure the router as a route reflector and specify a peer/peer group as a client. Use the undo peer reflect-client command to remove the configuration. By default, neither the route reflector nor the client is configured. Related commands: reflect between-clients and reflect cluster-id.
  • Page 277: Peer Route-Policy (Bgp/Bgp-Vpn Instance View)

    Description Use the peer route-limit command to set the number of route prefixes that can be received from a peer/peer group. Use the undo peer route-limit command to restore the default. The number is not limited by default. Examples # In BGP view, set the number of route prefixes that can be received from peer 129.140.6.6 to 10000. <Sysname>...
  • Page 278: Peer Route-Update-Interval (Bgp/Bgp-Vpn Instance View)

    Examples # In BGP view, apply routing policy test-policy to routes outgoing to the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test route-policy test-policy export # In BGP-VPN instance view, apply the routing policy test-policy to routes outgoing to the peer group test (the VPN has been created).
  • Page 279: Peer Substitute-As (Bgp/Bgp-Vpn Instance View)

    [Sysname-bgp-vpn1] peer test route-update-interval 10 peer substitute-as (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } substitute-as undo peer { group-name | ip-address } substitute-as View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a sting of 1 to 47 characters. ip-address: IP address of a peer.
  • Page 280 Parameters group-name: Name of a peer group, a sting of 1 to 47 characters. ip-address: IP address of a peer. keepalive: Keepalive interval in seconds, ranging from 0 to 21845. holdtime: Holdtime interval in seconds, whose value is 0 or in the range of 3 to 65535. Description Use the peer timer command to configure the keepalive interval and holdtime interval for a peer or peer group.
  • Page 281: Preference (Bgp/Bgp-Vpn Instance View)

    preference (BGP/BGP-VPN instance view) Syntax preference { external-preference internal-preference local-preference | route-policy route-policy-name } undo preference View BGP view, BGP-VPN instance view Default level 2: System level Parameters external-preference: Preference of eBGP routes, in the range 1 to 255. internal-preference: Preference of iBGP routes, in the range 1 to 255. local-preference: Preference of local routes, in the range 1 to 255.
  • Page 282: Reflector Cluster-Id (Bgp View/Bgp-Vpn Instance View)

    Default level 2: System level Parameters None Description Use the reflect between-clients command to enable route reflection between clients. Use the undo reflect between-clients command to disable this function. By default, route reflection between clients is enabled. After a route reflector is configured, it reflects the routes of a client to other clients. If the clients of a route reflector are fully meshed, you need disable route reflection between clients to reduce routing costs.
  • Page 283: Refresh Bgp

    Typically, a cluster has only one route reflector. The router ID of the route reflector is the ID of the cluster. You can configure multiple route reflectors to improve network stability. Using this command can configure the identical cluster ID for all the route reflectors to avoid routing loops. Related commands: reflect between-clients and peer reflect-client.
  • Page 284: Reset Bgp

    reset bgp Syntax reset bgp { as-number | ip-address [ flap-info ] | all | external | group group-name | internal } View User view Default level 1: Monitor level Parameters as-number: Resets BGP connections to peers in the AS. ip-address: Specifies the IP address of a peer with which to reset the connection.
  • Page 285: Reset Bgp Flap-Info

    Examples # Clear damping information of route 20.1.0.0/16 and release the suppressed route. <Sysname> reset bgp dampening 20.1.0.0 255.255.0.0 reset bgp flap-info Syntax reset bgp flap-info [ ip-address [ mask-length | mask ] | as-path-acl as-path-acl-number | regexp as-path-regular-expression ] View User view Default level...
  • Page 286: Router

    Examples # Reset all the BGP connections of IPv4 unicast address family. <Sysname> reset bgp ipv4 all router-id Syntax router-id router-id undo router-id View BGP view Default level 2: System level Parameters router-id: Router ID in IP address format. Description Use the router-id command to specify a router ID.
  • Page 287: Synchronization (Bgp View)

    Parameters None Description Use the summary automatic command to enable automatic summarization for redistributed subnets. Use the undo summary automatic command to disable automatic summarization. By default, automatic summarization is disabled. Neither the default route nor the routes imported using the network command can be summarized automatically.
  • Page 288: Timer (Bgp/Bgp-Vpn Instance View)

    When a BGP router receives an iBGP route, it checks only whether the next hop is reachable by default. If the synchronization is enabled, the iBGP route is synchronized and advertised to eBGP peers only when the route is also advertised by IGP. Otherwise, the iBGP route cannot be advertised to eBGP peers. Examples # Enable the synchronization between BGP and IGP routes.
  • Page 289 [Sysname-bgp] timer keepalive 60 hold 180 # In BGP-VPN instance view, configure keepalive interval and holdtime interval as 60s and 180s (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] timer keepalive 60 hold 180 # In BGP view, configure both the BGP keepalive interval and holdtime interval as 0 seconds, indicating no peer connection will time out.
  • Page 290: Ipv6 Static Routing Configuration Commands

    IPv6 static routing configuration commands NOTE: router The term in this document refers to both routers and Layer 3 switches. delete ipv6 static-routes all Syntax delete ipv6 [ vpn-instance vpn-instance-name ] static-routes all View System view Default level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN.
  • Page 291 undo ipv6 route-static vpn-instance s-vpn-instance-name&<1-6> ipv6-address prefix-length [ interface-type interface-number [ next-hop-address ] | nexthop-address [ public ] | vpn-instance d-vpn-instance-name nexthop-address ] [ preference preference-value ] View System view Default level 2: System level Parameters ipv6-address prefix-length: IPv6 address and prefix length. interface-type interface-number: Interface type and interface number of the output interface.
  • Page 292: Ripng Configuration Commands

    RIPng configuration commands NOTE: router The term in this document refers to both routers and Layer 3 switches. checkzero Syntax checkzero undo checkzero View RIPng view Default level 2: System level Parameters None Description Use the checkzero command to enable the zero field check on RIPng packets. Use the undo checkzero command to disable the zero field check.
  • Page 293: Display Ripng

    Default level 2: System level Parameters cost: Default metric of redistributed routes, in the range of 0 to 16. Description Use the default cost command to specify the default metric of redistributed routes. Use the undo default cost command to restore the default. The default metric of redistributed routes is 0.
  • Page 294: Display Ripng Database

    Examples # Display the running status and configuration information of all configured RIPng processes. <Sysname> display ripng Public VPN-instance name : RIPng process : 1 Preference : 100 Checkzero : Enabled Default Cost : 0 Maximum number of balanced paths : 8 Update time 30 sec(s) Timeout time...
  • Page 295 Parameters process-id: RIPng process ID, in the range of 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 296: Display Ripng Interface

    Field Description Imported Route redistributed from another routing protocol RIPng-interface Route learned from the interface display ripng interface Syntax display ripng process-id interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters...
  • Page 297: Display Ripng Route

    Table 56 Output description Field Description Interface-name Name of an interface running RIPng Link Local Address Link-local address of an interface running RIPng Indicates whether the split horizon function is enabled Split-horizon (on: Enabled; off: Disabled) Indicates whether the poison reverse function is Poison-reverse enabled (on: Enabled;...
  • Page 298 Description Use the display ripng route command to display all RIPng routes and timers associated with each route of a RIPng process. Examples # Display the routing information of RIPng process 100. <Sysname> display ripng 100 route Route Flags: A - Aging, S - Suppressed, G - Garbage-collect ---------------------------------------------------------------- Peer FE80::200:5EFF:FE04:B602 on Vlan-interface1...
  • Page 299: Filter-Policy Export (Ripng View)

    filter-policy export (RIPng view) Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ protocol [ process-id ] ] undo filter-policy export [ protocol [ process-id ] ] View RIPng view Default level 2: System level Parameters acl6-number: Specifies the number of an ACL to filter advertised routing information, in the range of 2000 to 3999.
  • Page 300: Filter-Policy Import (Ripng View)

    [Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule permit ipv6 source 2001::1 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit [Sysname] ripng 100 [Sysname-ripng-100] filter-policy 3000 export filter-policy import (RIPng view) Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import undo filter-policy import View RIPng view...
  • Page 301: Import-Route

    <Sysname> system-view [Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule permit ipv6 source 2001::1 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit [Sysname] ripng 100 [Sysname-ripng-100] filter-policy 3000 import import-route Syntax import-route protocol [ process-id ] [ allow-ibgp ] [ cost cost | route-policy route-policy-name ] * undo import-route protocol [ process-id ] View RIPng view...
  • Page 302: Ipsec-Policy (Ripng View)

    ipsec-policy (RIPng view) Syntax ipsec-policy policy-name undo ipsec-policy View RIPng view Default level 2: System level Parameters policy-name: IPsec policy name, a string of 1 to 15 characters. Description Use the ipsec-policy command to apply an IPsec policy in a RIPng process. Use the undo ipsec-policy command to remove the IPsec policy from the RIPng process.
  • Page 303: Preference

    NOTE: Configure the maximum number according to the memory size. Examples # Set the maximum number of equal-cost routes to 2. <Sysname> system-view [Sysname] ripng 100 [Sysname-ripng-100] maximum load-balancing 2 preference Syntax preference [ route-policy route-policy-name ] preference undo preference [ route-policy ] View RIPng view Default level...
  • Page 304: Reset Ripng Process

    reset ripng process Syntax reset ripng process-id process View User view Default level 2: System level Parameters process-id: RIPng process ID, in the range of 1 to 65535. Description Use the reset ripng process command to reset the specified RIPng process. After executing the command, you are prompted whether you want to reset the RIPng process.
  • Page 305: Ripng Default-Route

    View System view Default level 2: System level Parameters process-id: RIPng process ID, in the range of 1 to 65535. The default value is 1. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. Description Use the ripng command to create a RIPng process and enter RIPng view.
  • Page 306: Ripng Enable

    Parameters only: Indicates that only the IPv6 default route (::/0) is advertised through the interface. originate: Indicates that the IPv6 default route (::/0) is advertised without suppressing other routes. cost: Metric of the advertised default route, in the range of 1 to 15, with a default value of 1. Description Use the ripng default-route command to advertise a default route with the specified routing metric to a RIPng neighbor.
  • Page 307: Ripng Ipsec-Policy

    [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng 100 enable ripng ipsec-policy Syntax ripng ipsec-policy policy-name undo ripng ipsec-policy View Interface view Default level 2: System level Parameters policy-name: IPsec policy name, a string of 1 to 15 characters. Description Use the ripng ipsec-policy command to apply an IPsec policy on a RIPng interface. Use the undo ripng ipsec-policy command to remove the IPsec policy from the RIPng interface.
  • Page 308: Ripng Metricout

    Related commands: ripng metricout. Examples # Specify the additional routing metric as 12 for RIPng routes received by VLAN-interface 100. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng metricin 12 ripng metricout Syntax ripng metricout value undo ripng metricout View Interface view Default level 2: System level...
  • Page 309: Ripng Split-Horizon

    Parameters None Description Use the ripng poison-reverse command to enable the poison reverse function. Use the undo ripng poison-reverse command to disable the poison reverse function. By default, the poison reverse function is disabled. Examples Enable the poison reverse function for RIPng update messages on VLAN-interface 100. <Sysname>...
  • Page 310: Ripng Summary-Address

    ripng summary-address Syntax ripng summary-address ipv6-address prefix-length undo ripng summary-address ipv6-address prefix-length View Interface view Default level 2: System level Parameters ipv6-address: Destination IPv6 address of the summary route. prefix-length: Prefix length of the destination IPv6 address of the summary route, in the range of 0 to 128. It indicates the number of consecutive 1s of the prefix, which defines the network ID.
  • Page 311 16. If no update message is announced for that route before the garbage-collect timer expires, the route will be completely deleted from the routing table. NOTE: H3C does not recommend to change the default values of these timers under normal circumstances. • •...
  • Page 312: Ospfv3 Configuration Commands

    OSPFv3 configuration commands NOTE: router The term in the document refers to both routers and Layer 3 switches. abr-summary (OSPFv3 area view) Syntax abr-summary ipv6-address prefix-length [ not-advertise ] undo abr-summary ipv6-address prefix-length View OSPFv3 area view Default level 2: System level Parameters ipv6-address: Destination IPv6 address of the summary route.
  • Page 313: Bandwidth-Reference

    View OSPFv3 view Default level 2: System level Parameters area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295 and changed to IPv4 address format by the system) or an IPv4 address. Description Use the area command to enter OSPFv3 area view. NOTE: The undo form of the command is not available.
  • Page 314: Default Cost

    If no cost value is configured for an interface, OSPFv3 computes the interface cost value automatically: Examples # Specify the reference bandwidth value as 1000 Mbps. <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] bandwidth-reference 1000 default cost Syntax default cost value undo default cost View OSPFv3 view...
  • Page 315: Default-Route-Advertise

    Parameters value: Specifies a cost for the default route advertised to the stub area, in the range of 0 to 65535. The default is 1. Description Use the default-cost command to specify the cost of the default route to be advertised to the stub area. Use the undo default-cost command to restore the default value.
  • Page 316: Display Ospfv3

    By default, no default route is redistributed. Using the import-route command cannot redistribute a default route. To do so, you need to use the default-route-advertise command. If no default route exists in the router's routing table, use the default-route-advertise always command to generate a default route in a Type-5 LSA. You can reference a routing policy to set the cost and type of the default route: The router advertises the default route only when it passes the routing policy.
  • Page 317 Description Use the display ospfv3 command to display the brief information of an OSPFv3 process. If no process ID is specified, OSPFv3 brief information about all processes will be displayed. Examples # Display brief information about all OSPFv3 processes. <Sysname> display ospfv3 Routing Process "OSPFv3 (1)"...
  • Page 318: Display Ospfv3 Graceful-Restart Status

    Field Description Area Area ID Number of interfaces in this area Number of interfaces attached to this area SPF algorithm executed 1 times SPF algorithm is executed 1 time Number of LSA Number of LSAs These LSAs’ checksum Sum Sum of all LSAs’ checksum Number of Unknown LSA Number of unknown LSAs IPsec policy name...
  • Page 319: Display Ospfv3 Interface

    <Sysname> display ospfv3 graceful-restart status OSPFv3 Router with ID (1.1.1.1) (Process 1) graceful restart information GR status: Helper Neighbor ID Interface Instance ID Remaining time 1.1.1.1 Vlan11 2.2.2.2 Vlan20 Table 59 Output description Field Description OSPFv3 Router with ID (1.1.1.1) (Process 1) The GR status of OSPFv3 process 1 with router ID 1.1.1.1 is displayed.
  • Page 320 include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display ospfv3 interface command to display OSPFv3 interface information. Examples # Display OSPFv3 interface information. <Sysname>...
  • Page 321: Display Ospfv3 Lsdb

    Field Description Adjacent neighbor count Number of Adjacencies on the interface IPsec policy name IPsec policy used on the interface SPI defined in the IPsec policy BFD status on the interface (enabled or disabled) display ospfv3 lsdb Syntax display ospfv3 [ process-id ] lsdb [ [ external | inter-prefix | inter-router | intra-prefix | link | network | router | grace ] [ link-state-id ] [ originate-router router-id ] | total ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 322 Examples # Display OSPFv3 LSDB information. <Sysname> display ospfv3 lsdb OSPFv3 Router with ID (2.2.2.2) (Process 1) Link-LSA (Interface Vlan-interface10) Link State ID Origin Router Seq# CkSum Prefix 0.0.2.6 1.1.1.1 0055 0x80000001 0x4642 0.0.2.6 2.2.2.2 0053 0x80000001 0xf267 Grace-LSA (Interface Vlan-interface10) Link State ID Origin Router SeqNum...
  • Page 323 LS age: 11 LS Type: Link-LSA Link State ID: 0.0.2.6 Originating Router: 2.2.2.2 LS Seq Number: 0x80000002 Checksum: 0xEFFA Length: 56 Priority: 1 Options: 0x000013 (-|R|-|-|E|V6) Link-Local Address: FE80::1441:0:E213:1 Number of Prefixes: 1 Prefix: 2000:1::/64 Prefix Options: 0 (-|-|-|-) Table 62 Output description Field Description LS age...
  • Page 324 Table 63 Output description Field Description LS age Age of LSA LS Type Type of LSA Originating Router Originating Router LS Seq Number LSA Sequence Number Checksum LSA Checksum Length LSA Length Graceful Restart Period GR restart interval Restart Reason Cause of the GR restart # Display LSA statistics in the LSDB.
  • Page 325: Display Ospfv3 Lsdb Statistic

    Field Description Total Number Of LSAs Total number of LSAs display ospfv3 lsdb statistic Syntax display ospfv3 lsdb statistic [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 326: Display Ospfv3 Next-Hop

    Field Description Link Link-LSA number Grace Grace-LSA number AS-external-LSA number Total Total LSA number display ospfv3 next-hop Syntax display ospfv3 [ process-id ] next-hop [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: Specifies ID of an OSPFv3 process, ranging from 1 to 65535.
  • Page 327: Display Ospfv3 Peer

    display ospfv3 peer Syntax display ospfv3 [ process-id ] [ area area-id ] peer [ [ interface-type interface-number ] [ verbose ] | peer-router-id ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.
  • Page 328 Field Description Priority of neighbor router State Neighbor state Dead Time Dead time remained Interface Interface connected to the neighbor Instance ID Instance ID # Display detailed neighbor information of OSPFv3 process 100 of an interface. <Sysname> display ospfv3 1 peer vlan-interface 33 verbose OSPFv3 Process (1) Neighbor 1.1.1.1 is Full, interface address FE80::20F:E2FF:FE49:8050 In the area 0.0.0.1 via interface Vlan-interface33...
  • Page 329: Display Ospfv3 Peer Statistic

    display ospfv3 peer statistic Syntax display ospfv3 peer statistic [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 330: Display Ospfv3 Request-List

    Field Description Loading In this state, the router sends LSRs to request the neighbor for needed LSAs. Full Indicates LSDB synchronization has been accomplished between neighbors. Total Total number of neighbors under the same state display ospfv3 request-list Syntax display ospfv3 [ process-id ] request-list [ { external | inter-prefix | inter-router | intra-prefix | link | network | router | grace } [ link-state-id ] [ originate-router ip-address ] | statistics ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 331: Display Ospfv3 Retrans-List

    Examples # Display the information of OSPFv3 link state request list. <Sysname> display ospfv3 request-list OSPFv3 Router with ID (11.1.1.1) (Process 1) Interface Vlan1 Area-ID 0.0.0.0 -------------------------------------------------------------------------- Nbr-ID 12.1.1.1 LS-Type LS-ID AdvRouter SeqNum CkSum Router-LSA 0.0.0.0 12.1.1.1 0x80000014 0xe5b0 Table 70 Output description Field Description Interface...
  • Page 332 Default level 1: Monitor level Parameters process-id: OSPFv3 process ID, in the range 1 to 65535. external: Displays the AS-external LSA information of the OSPFv3 link state retransmission list. inter-prefix: Displays the Inter-area-prefix LSA information of the OSPFv3 link state retransmission list. inter-router: Displays the Inter-area-router LSA information of the OSPFv3 link state retransmission list.
  • Page 333: Display Ospfv3 Routing

    Field Description Area-ID Area ID Nbr-ID Neighbor router ID LS-Type Type of LSA LS-ID Link state ID AdvRouter Advertising Router SeqNum LSA sequence Number Age of LSA CkSum Checksum # Display the statistics of OSPFv3 link state retransmission list. <Sysname>display ospfv3 retrans-list statistics OSPFv3 Router with ID (11.1.1.1) (Process 1) Interface Neighbor...
  • Page 334 |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 335: Display Ospfv3 Statistic

    Field Description External-routes Number of external routes display ospfv3 statistic Syntax display ospfv3 statistic [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 336: Display Ospfv3 Topology

    Field Description Output Number of packets sent by the interface Hello Hello packet DB Description Database description packet Ls Req Link state request packet Ls Upd Link state update packet Ls Ack Link state acknowledgement packet Discarded Number of discarded packets display ospfv3 topology Syntax display ospfv3 [ process-id ] topology [ area area-id ] [ | { begin | exclude | include }...
  • Page 337: Display Ospfv3 Vlink

    Type ID(If-Index) Bits Metric Next-Hop Interface 1.1.1.1 2.2.2.2 2.2.2.2 Vlan1 3.3.3.3 3.3.3.3 Vlan1 4.4.4.4 4.4.4.4 Vlan1 4.4.4.4(983049) 0.0.0.0 Vlan1 Table 77 Output description Field Description Type Type of node ID(If-Index) Router ID Bits Flag bit Metric Cost value Next-Hop Next hop Interface Outbound interface display ospfv3 vlink...
  • Page 338: Filter-Policy Export (Ospfv3 View)

    Remote address: 2001:1:1::1 Transmit Delay is 1 sec, State: P-To-P, Timer intervals configured, Hello: 10, Dead: 40, Wait: 40, Retransmit: 5 Hello due in 00:00:02 Adjacency state :Full IPsec policy name: policy001, SPI: 300 Table 78 Output description Field Description Virtual Link VLINK1 to router 1.1.1.1 is up The virtual link VLINK1 to router 1.1.1.1 is up Transit area 0.0.0.1 via interface Vlan-interface20...
  • Page 339: Filter-Policy Import (Ospfv3 View)

    ospfv3 process-id: Specifies to filter the routes of an OSPFv3 process, which is in the range of 1 to 65535. ripng process-id: Specifies to filter the routes of a RIPng process, which in the range of 1 to 65535. static: Specifies to filter static routes. Description Use the filter-policy export command to filter redistributed routes.
  • Page 340 undo filter-policy import View OSPFv3 view Default level 2: System level Parameters acl6-number: Specifies an ACL number, ranging from 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list, a string of up to 19 characters. Description Use the filter-policy import command to configure OSPFv3 to filter routes computed from received LSAs.
  • Page 341: Graceful-Restart Enable

    graceful-restart enable Syntax graceful-restart enable undo graceful-restart enable View OSPFv3 view Default level 2: System level Parameters None Description Use the graceful-restart enable command to enable the GR capability for OSPFv3. Use the undo graceful-restart enable command to disable the GR capability for OSPFv3. By default, the GR capability for OSPFv3 is disabled.
  • Page 342: Graceful-Restart Helper Strict-Lsa-Checking

    Examples # Enable the GR Helper capability for OSPFv3 process 1. <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] graceful-restart helper enable graceful-restart helper strict-lsa-checking Syntax graceful-restart helper strict-lsa-checking undo graceful-restart helper strict-lsa-checking View OSPFv3 view Default level 2: System level Parameters None Description Use the graceful-restart helper strict-lsa-checking command to enable strict LSA checking for the GR...
  • Page 343: Import-Route (Ospfv3 View)

    Description Use the graceful-restart interval command to configure the GR restart interval. Use the undo graceful-restart interval command to restore the default. By default, the GR restart interval is 120 seconds. The value of the GR restart interval cannot be smaller than the maximum OSPFv3 neighbor dead time of all the OSPFv3 interfaces;...
  • Page 344: Ipsec-Policy (Ospfv3 Area View)

    IPv6 OSPFv3 does not redistribute routes from other protocols by default. Examples # Configure to redistribute routes from RIPng and specify the type as type 2 and cost as 50. <Sysname> system-view [Sysname] ospfv3 [Sysname-ospfv3-1] import-route ripng 10 type 2 cost 50 # Configure OSPFv3 process 100 to redistribute the routes found by OSPFv3 process 160.
  • Page 345: Maximum Load-Balancing (Ospfv3 View)

    Default level 2: System level Parameters None Description Use the log-peer-change command to enable the logging on neighbor state changes. Use the undo log-peer-change command to disable the logging. With this feature enabled, information about neighbor state changes of the current OSPFv3 process will display on the configuration terminal.
  • Page 346: Ospfv3 Area

    undo ospfv3 [ process-id ] View System view Default level 2: System level Parameters process-id: OSPFv3 process ID, ranging from 1 to 65535. The process ID defaults to 1. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters.
  • Page 347: Ospfv3 Bfd Enable

    Description Use the ospfv3 area command to enable an OSPFv3 process on the interface and specify the area for the interface. Use the undo ospfv3 area command to disable an OSPFv3 process. OSPFv3 is not enabled on an interface by default. Examples # Enable OSPFv3 process 1 on an interface that belongs to instance 1 and specify area 1 for the interface.
  • Page 348: Ospfv3 Dr-Priority

    Default level 2: System level Parameters value: OSPFv3 cost, in the range 0 to 65535 for a loopback interface and 1 to 65535 for other interfaces. instance-id: Instance ID of an interface, in the range of 0 to 255, which defaults to 0. Description Use the ospfv3 cost command to configure the OSPFv3 cost of the interface in an instance.
  • Page 349: Ospfv3 Ipsec-Policy

    ospfv3 ipsec-policy Syntax ospfv3 ipsec-policy policy-name [ instance instance-id ] undo ospfv3 ipsec-policy [ policy-name ] [ instance instance-id ] View Interface view Default level 2: System level Parameters policy-name: IPsec policy name, a string of 1 to 15 characters. instance-id: ID of the instance of the interface, in the range 0 to 255.
  • Page 350: Ospfv3 Network-Type

    By default, an interface performs MTU check during DD packet exchange. A neighbor relationship can be established only if the interface’s MTU is the same as that of the peer. Examples # Configure an interface that belongs to instance 1 to ignore MTU check during DD packet exchange. <Sysname>...
  • Page 351: Ospfv3 Timer Dead

    undo ospfv3 peer ipv6-address [ dr-priority dr-priority ] [ instance instance-id ] View Interface view Default level 2: System level Parameters ipv6-address: Neighbor link-local IP address. dr-priority: Neighbor DR priority, in the range 0 to 255. The default is 1. instance-id: Interface instance ID, in the range 0 to 255.
  • Page 352: Ospfv3 Timer Hello

    OSPFv3 neighbor dead time: if an interface receives no hello packet from a neighbor after dead time elapses, the interface will consider the neighbor dead. The dead seconds value is at least four times the Hello seconds value and must be identical on interfaces attached to the same network segment.
  • Page 353: Ospfv3 Timer Poll

    View Interface view Default level 2: System level Parameters interval: LSA retransmission interval in seconds, ranging from 1 to 65535. instance-id: Instance ID of an interface, in the range of 0 to 255, which defaults to 0. Description Use the ospfv3 timer retransmit command to configure the LSA retransmission interval for an interface in an instance.
  • Page 354: Ospfv3 Trans-Delay

    <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf timer poll 130 ospfv3 trans-delay Syntax ospfv3 trans-delay seconds [ instance instance-id ] undo ospfv3 trans-delay [ seconds ] [ instance instance-id ] View Interface view Default level 2: System level Parameters seconds: Transmission delay in seconds, ranging from 1 to 3600.
  • Page 355: Router

    Parameters ase: Applies the preference to OSPFv3 external routes. If the keyword is not specified, the preference applies to OSPFv3 internal routes. route-policy route-policy-name: References a routing policy to set preference for specific routes. The name is a string of 1 to 63 characters. Preference: Preference of OSPFv3, in the range 1 to 255.
  • Page 356: Silent-Interface(Ospfv3 View)

    NOTE: By configuring different router IDs for different processes, you can run multiple OSPFv3 processes on a router. Examples # Configure the Router ID as 10.1.1.3 for OSPFv3 process 1. <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] router-id 10.1.1.3 silent-interface(OSPFv3 view) Syntax silent-interface { interface-type interface-number | all } undo silent-interface { interface-type interface-number | all }...
  • Page 357: Spf Timers

    spf timers Syntax spf timers delay-interval hold-interval undo spf timers View OSPFv3 view Default level 2: System level Parameters delay-interval: Interval in seconds between when OSPFv3 receives a topology change and when it starts SPF calculation. in the range 1 to 65535. hold-interval: Hold interval in seconds between two consecutive SPF calculations, in the range 1 to 65535.
  • Page 358: Vlink-Peer (Ospfv3 Area View)

    Description Use the stub command to configure an area as a stub area. Use the undo stub command to remove the configuration. By default, an area is not configured as a stub area. When an area is configured as a stub area, all the routers attached to the area must be configured with the stub command.
  • Page 359 For a non-backbone area without a direct connection to the backbone area or for a backbone area that cannot maintain connectivity, you can use the vlink-peer command to create logical links. A virtual link can be considered as an interface with OSPFv3 enabled, because parameters such as hello, dead, retransmit and trans-delay are configured in the similar way.
  • Page 360: Ipv6 Is-Is Configuration Commands

    IPv6 IS-IS configuration commands NOTE: IPv6 IS-IS supports all the features of IPv4 IS-IS except that it advertises IPv6 routing information instead. • This document describes only IPv6 IS-IS exclusive commands. See the chapter “IS-IS configuration commands” for other IS-IS configuration commands. router The term in this document refers to both routers and Layer 3 switches.
  • Page 361 Examples # Display IPv6 IS-IS routing information. <Sysname> display isis route ipv6 Route information for ISIS(1) ----------------------------- ISIS(1) IPv6 Level-1 Forwarding Table ------------------------------------- Destination: 2001:1:: PrefixLen: 64 Flag : R/L/- Cost : 20 Next Hop : FE80::200:5EFF:FE64:8905 Interface: Vlan1 Destination: 2001:2:: PrefixLen: 64 Flag : D/L/-...
  • Page 362 # Display detailed IPv6 IS-IS routing information. <Sysname> display isis route ipv6 verbose Route information for ISIS(1) ----------------------------- ISIS(1) IPv6 Level-1 Forwarding Table ------------------------------------- IPV6 Dest : 2001:1::/64 Cost : 20 Flag : R/L/- Admin Tag Src Count : 1 NextHop Interface : ExitIndex :...
  • Page 363: Ipv6 Default-Route-Advertise

    Field Description Interface Outbound interface ExitIndex Outbound interface index ipv6 default-route-advertise Syntax ipv6 default-route-advertise [ [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name ] * undo ipv6 default-route-advertise [ route-policy route-policy-name ] View IS-IS view Default level 2: System level Parameters level-1: Specifies the default route as Level- 1 .
  • Page 364: Ipv6 Enable

    ipv6 enable Syntax ipv6 enable undo ipv6 enable View IS-IS view Default level 2: System level Parameters None Description Use the ipv6 enable command to enable IPv6 for the IPv6 IS-IS process. Use the undo ipv6 enable command to disable IPv6. IPv6 is disabled by default.
  • Page 365 route-policy-name: Name of a routing policy used to filter the redistributed routes before advertisement, a string of 1 to 63 characters. See the chapter “Routing policy configuration” for routing policy information. protocol: Routing protocol from which the redistributed routes are to be filtered. The routing protocol can be bgp4+, direct, isisv6, ospfv3, ripng or static.
  • Page 366: Ipv6 Filter-Policy Import

    [Sysname-isis-1] ipv6 filter-policy 3000 export ipv6 filter-policy import Syntax ipv6 filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } import undo ipv6 filter-policy import View IS-IS view Default level 2: System level Parameters acl6-number: Number of a basic or advanced IPv6 ACL used to filter incoming routes, ranging from 2000 to 3999.
  • Page 367: Ipv6 Import-Route

    [Sysname-acl6-adv-3000] rule permit ipv6 source 2001::1 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit [Sysname] isis 1 [Sysname-isis-1] ipv6 filter-policy 3000 import ipv6 import-route Syntax ipv6 import-route protocol [ process-id ] [ allow-ibgp ] [ cost cost | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name | tag tag ] * undo ipv6 import-route protocol [ process-id ] View...
  • Page 368: Ipv6 Import-Route Isisv6 Level-2 Into Level-1

    CAUTION: Use the import-route bgp4+ allow-ibgp command with caution because it redistributes both eBGP and iBGP routes, and the redistributed iBGP routes can cause routing loops. Examples # Configure IPv6–IS-IS to redistribute static routes and set the cost 15 for them. <Sysname>...
  • Page 369: Ipv6 Import-Route Limit

    ipv6 import-route limit Syntax ipv6 import-route limit number undo ipv6 import-route limit View IS-IS view Default level 2: System level Parameters number: Maximum number of redistributed Level 1/Level 2 IPv6 routes. The default varies with devices. Description Use the ipv6 import-route limit command to configure the maximum number of redistributed Level 1/Level 2 IPv6 routes.
  • Page 370: Ipv6 Preference

    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 ipv6 preference Syntax ipv6 preference { preference | route-policy route-policy-name } * undo ipv6 preference View IS-IS view Default level 2: System level Parameters preference: Preference for IPv6 IS-IS, ranging from 1 to 255.
  • Page 371: Isis Ipv6 Bfd Enable

    Default level 2: System level Parameters ipv6-prefix: IPv6 prefix of the summary route. prefix-length: Length of the IPv6 prefix, in the range of 0 to 128. avoid-feedback: Specifies to avoid learning summary routes via routing calculation. generate_null0_route: Generates the NULL 0 route to avoid routing loops. level-1: Specifies to summarize only the routes redistributed to Level- 1 area.
  • Page 372: Isis Ipv6 Enable

    Description Use the isis ipv6 bfd enable command to enable BFD on an IPv6 IS-IS interface for link failure detection. Use the undo isis ipv6 bfd enable command to disable BFD on an IPv6 IS-IS interface. By default, an IPv6 IS-IS interface is not enabled with BFD. Examples # Enable BFD for IPv6 IS-IS on VLAN-interface 1 1.
  • Page 373: Ipv6 Bgp Configuration Commands

    IPv6 BGP configuration commands NOTE: router The term or router icon in this document refers to both routers and Layer 3 switches. • For more information about routing policy configuration commands in this document, see the chapter • “Routing policy configuration commands.” aggregate (IPv6 address family view) Syntax aggregate ipv6-address prefix-length [ as-set | attribute-policy route-policy-name | detail-suppressed |...
  • Page 374: Balance (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    Keywords Function Used to create a summary route and suppress the advertisement of some summarized routes. If you want to suppress some routes selectively and suppress-policy leave other routes still advertised, use the if-match clause of the route-policy command. origin-policy Selects only routes satisfying the routing policy for route summarization.
  • Page 375: Bestroute As-Path-Neglect (Ipv6 Address Family View)

    Examples # Set the number of routes participating in IPv6 BGP load balancing to 2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] balance 2 bestroute as-path-neglect (IPv6 address family view) Syntax bestroute as-path-neglect undo bestroute as-path-neglect View IPv6 address family view Default level 2: System level Parameters...
  • Page 376: Bestroute Med-Confederation (Ipv6 Address Family View)

    Parameters None Description Use the bestroute compare-med command to enable the comparison of the MED for paths from each AS. Use the undo bestroute compare-med command to disable this comparison. This comparison is not enabled by default. CAUTION: After the bestroute compare-med command is executed, the balance command does not take effect. Examples # Compare the MED for paths from an AS for selecting the best route.
  • Page 377: Compare-Different-As-Med (Ipv6 Address Family View)

    compare-different-as-med (IPv6 address family view) Syntax compare-different-as-med undo compare-different-as-med View IPv6 address family view Default level 2: System level Parameters None Description Use the compare-different-as-med command to enable the comparison of the MED for paths from peers in different ASs. Use the undo compare-different-as-med command to disable the comparison.
  • Page 378: Default Local-Preference (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    half-life-unreachable: Half-life for unreachable routes, in the range 1 to 45 minutes. By default, the value is 15 minutes. reuse: Reuse threshold value for suppressed routes, in the range 1 to 20000. Penalty value of a suppressed route decreasing under the value is reused. By default, its value is 750. suppress: Suppression threshold from 1 to 20000, which should be bigger than the reuse value.
  • Page 379: Default Med (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    Use the undo default local-preference command to restore the default value. By default, the default local preference is 100. Use this command to affect IPv6 BGP route selection. Examples # Two devices A and B in the same AS are connected to another AS. Change the local preference of B from default value 100 to 180, making the route passing B preferred.
  • Page 380: Default-Route Imported (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    default-route imported (IPv6 address family view/IPv6 BGP-VPN instance view) Syntax default-route imported undo default-route imported View IPv6 address family view, IPv6 BGP-VPN instance view Default level 2: System level Parameters None Description Use the default-route imported command to enable the redistribution of default route into the IPv6 BGP routing table.
  • Page 381 include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display bgp ipv6 group command to display IPv6 peer group information. If no ipv6-group-name is specified, information about all peer groups is displayed.
  • Page 382: Display Bgp Ipv6 Network

    Field Description The local BGP router supports both the ORF sending and Local: both receiving capabilities. Negotiation result: The local BGP router can send Router-refresh messages carrying the ORF information, and the peer can receive Router-refresh messages carrying the ORF information. If receive is displayed, the local BGP router can receive Negotiated: send Router-refresh messages carrying the ORF information, and the...
  • Page 383: Display Bgp Ipv6 Paths

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display bgp ipv6 network command to display IPv6 routes advertised with the network command.
  • Page 384: Display Bgp Ipv6 Peer

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display bgp ipv6 paths command to display IPv6 BGP path information. If no parameter is specified, all path information will be displayed.
  • Page 385 ipv6-address: Specifies the IPv6 address of a peer to be displayed. log-info: Displays log information of the specified peer. verbose: Displays the detailed information of the peer. |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 386 # Display the detailed information of IPv6 peer 1::1. <Sysname> display bgp ipv6 peer 1::1 verbose BGP Peer is 1::1, remote AS 100, Type: EBGP link BGP version 4, remote router ID 45.1.1.1 BGP current state: Established, Up for 00h01m34s BGP current event: KATimerExpired BGP last state: OpenConfirm Port:...
  • Page 387 Minimum time between advertisement runs is 30 seconds Optional capabilities: Route refresh capability has been enabled ORF advertise capability based on prefix (type 64): Local: both Negotiated: send Peer Preferred Value: 0 IPsec policy name: policy001, SPI: 300 Routing policy configured: No routing policy is configured Table 86 Output description Field...
  • Page 388 Field Description Optional capabilities enabled on the peer: Route-refresh is enabled; The IPv6 BGP peer supports the ORF capability based on IP prefix. Optional capabilities The capability value is 64. Route refresh capability has been • The local IPv6 BGP router supports both the ORF sending and enabled receiving capabilities.
  • Page 389: Display Bgp Ipv6 Peer Received Ip-Prefix

    Field Description Error refers to the error code, which identifies the type of the Notification. Error/SubError SubError refers to the error subcode of the Notification, which identifies the specific information about the reported error. display bgp ipv6 peer received ip-prefix Syntax display bgp ipv6 peer { ip-address | ipv6-address } received ipv6-prefix [ | { begin | exclude | include } regular-expression ]...
  • Page 390: Display Bgp Ipv6 Routing-Table

    Field Description prefix Prefix information greater-equal, indicating the mask length must be greater than or equal to the specific value. less-equal, indicating the mask length must be less than or equal to the specific value. display bgp ipv6 routing-table Syntax display bgp ipv6 routing-table [ ipv6-address prefix-length ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 391 Path/Ogn: i *> Network : 40:40:: PrefixLen : 64 NextHop : 40:40::40:1 LocPrf PrefVal : 0 Label : NULL Path/Ogn: i Table 89 Output description Field Description Local router ID Local router ID Status codes: * – valid ^ - VPNv4 best >...
  • Page 392: Display Bgp Ipv6 Routing-Table As-Path-Acl

    display bgp ipv6 routing-table as-path-acl Syntax display bgp ipv6 routing-table as-path-acl as-path-acl-number [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters as-path-acl-number: Number of an AS path ACL permitted by which to display routing information, ranging from 1 to 256.
  • Page 393 View Any view Default level 1: Monitor level Parameters aa:nn: Community number; both aa and nn are in the range 0 to 65535. &<1- 1 3>: Indicates the argument before it can be entered up to 13 times. no-advertise: Displays IPv6 BGP routes that cannot be advertised to any peer. no-export: Displays IPv6 BGP routes that cannot be advertised out the AS;...
  • Page 394: Display Bgp Ipv6 Routing-Table Community-List

    display bgp ipv6 routing-table community-list Syntax display bgp ipv6 routing-table community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters basic-community-list-number: Specifies a basic community-list number, in the range 1 to 99.
  • Page 395: Display Bgp Ipv6 Routing-Table Dampened

    display bgp ipv6 routing-table dampened Syntax display bgp ipv6 routing-table dampened [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide.
  • Page 396: Display Bgp Ipv6 Routing-Table Different-Origin

    View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 397: Display Bgp Ipv6 Routing-Table Flap-Info

    View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see the Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 398: Display Bgp Ipv6 Routing-Table Peer

    as-path-acl-number: Number of the specified AS path ACL to be matched, ranging from 1 to 256. ipv6-address: IPv6 address of a route to be displayed. prefix-length: Prefix length of the IPv6 address, in the range 0 to 128. longer-match: Matches the longest prefix. |: Filters command output by specifying a regular expression.
  • Page 399 Default level 1: Monitor level Parameters ipv4-address: Specifies the IPv4 peer to be displayed. ipv6-address: Specifies the IPv6 peer to be displayed. advertised-routes: Routing information advertised to the specified peer. received-routes: Routing information received from the specified peer. network-address prefix-length: IPv6 address and prefix length. The prefix length ranges from 0 to 128. statistic: Displays route statistics.
  • Page 400: Display Bgp Ipv6 Routing-Table Regular-Expression

    display bgp ipv6 routing-table regular-expression Syntax display bgp ipv6 routing-table regular-expression as-regular-expression View Any view Default level 1: Monitor level Parameters as-regular-expression: AS regular expression, a string of 1 to 80 characters. Description Use the display bgp ipv6 routing-table regular-expression command to display the routes permitted by the specified AS regular expression.
  • Page 401: Filter-Policy Export (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display bgp ipv6 routing-table statistic command to display IPv6 BGP routing statistics. Examples # Display IPv6 BGP routing statistics.
  • Page 402: Filter-Policy Import (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    NOTE: If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL rule-id sour sour-prefix should be configured with the rule [ ] { deny | permit } ipv6 source command to rule-id deny/permit a route with the specified destination, or with the rule [ ] { deny | permit } ipv6 source...
  • Page 403: Group (Ipv6 Address Family View)

    Use the undo filter-policy import command to cancel filtering inbound routing information. By default, no inbound routing information is filtered. NOTE: If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL rule-id sour sour-prefix should be configured with the rule [...
  • Page 404: Import-Route (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    Description Use the group command to create a peer group. Use the undo group command to delete a peer group. An iBGP peer group will be created if neither internal nor external is selected. Examples # Create an iBGP peer group named test. <Sysname>...
  • Page 405: Ipv6-Family

    [Sysname-bgp-af-ipv6] import-route ripng 1 ipv6-family Syntax ipv6-family [ vpnv6 | vpn-instance vpn-instance-name ] undo ipv6-family [ vpnv6 | vpn-instance vpn-instance-name ] View BGP view Default level 2: System level Parameters vpnv6: Enters BGP-VPNv6 address family view. vpn-instance vpn-instance-name: Enters IPv6 BGP-VPN instance view. vpn-instance-name is a string of 1 to 31 case-sensitive characters.
  • Page 406: Network (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    network (IPv6 address family view/IPv6 BGP-VPN instance view) Syntax network ipv6-address prefix-length [ short-cut | route-policy route-policy-name ] undo network ipv6-address prefix-length [ short-cut ] View IPv6 address family view, IPv6 BGP-VPN instance view Default level 2: System level Parameters ipv6-address: IPv6 address.
  • Page 407: Peer Advertise-Ext-Community (Ipv6 Address Family View)

    Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. Description Use the peer advertise-community command to advertise the community attribute to a peer/peer group. Use the undo peer advertise-community command to remove the configuration.
  • Page 408: Peer Allow-As-Loop (Ipv6 Address Family View)

    peer allow-as-loop (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } allow-as-loop [ number ] undo peer { group-name | ipv4-address | ipv6-address } allow-as-loop View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
  • Page 409: Peer As-Number (Ipv6 Bgp-Vpn Instance View)

    ipv6-address: IPv6 address of a peer. as-number: AS number of the peer/peer group, in the range 1 to 4294967295. Description Use the peer as-number command to configure an IPv6 peer/peer group. Use the undo peer ipv6-group-name as-number command to delete an IPv6 peer group. Use the undo peer ipv6-address command to delete a peer.
  • Page 410: Peer Bfd (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    undo peer { group-name | ipv4-address | ipv6-address } as-path-acl as-path-acl-number { import | export } View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer.
  • Page 411: Peer Capability-Advertise Orf

    Description Use the peer bfd command to enable BFD over the link to a BGP peer. Use the undo peer bfd command to restore the default. By default, BFD is not enabled for any BGP peer. After a link failure occurs, BFD may detect the failure before the system performs GR, and as a result, GR will fail.
  • Page 412: Peer Capability-Advertise Orf Non-Standard (Ipv6 Address Family View)

    standard ORF information to the peer. For non-standard ORF capability negotiation, you need also to configure the peer capability-advertise orf non-standard command. • After you disable the ORF capability, the local BGP router does not negotiate the ORF capability with the specified peer or peer group. Table 93 Description of the both, send, and receive parameters and the negotiation result Local parameter Peer parameter...
  • Page 413: Peer Capability-Advertise Route-Refresh

    Use the undo peer capability-advertise orf non-standard command to disable the non-standard ORF capability for the BGP peer or peer group. By default, the non-standard ORF capability is not enabled for a BGP peer or peer group. This command needs to be configured when the peer supports only non-standard ORF. Related commands: peer capability-advertise orf.
  • Page 414: Peer Connect-Interface (Ipv6 Address Family View)

    peer connect-interface (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } connect-interface interface-type interface-number undo peer { ipv6-group-name | ipv6-address } connect-interface View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer.
  • Page 415: Peer Description (Ipv6 Address Family View)

    Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. route-policy-name: Route policy name, a string of 1 to 63 characters. Description Use the peer default-route-advertise command to advertise a default route to a peer/peer group.
  • Page 416: Peer Ebgp-Max-Hop (Ipv6 Address Family View)

    <Sysname] system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] group test external [Sysname-bgp-af-ipv6] peer test description ISP1 peer ebgp-max-hop (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } ebgp-max-hop [ hop-count ] undo peer { ipv6-group-name | ipv6-address } ebgp-max-hop View IPv6 address family view Default level...
  • Page 417: Peer Fake-As (Ipv6 Address Family View)

    Default level 2: System level Parameters ipv4-group-name: Name of an IPv4 peer group, a string of 1 to 47 characters. The IPv4 peer group should be created beforehand. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. Description Use the peer enable command to enable an IPv4 peer or peer group.
  • Page 418: Peer Filter-Policy (Ipv6 Address Family View)

    Use the undo peer fake-as command to remove the configuration. By default, no fake local AS number is configured for a peer or peer group. Examples # Configure a fake AS number of 200 for the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] group test external...
  • Page 419: Peer Group (Ipv6 Address Family View)

    peer group (IPv6 address family view) Syntax peer { ipv4-address | ipv6-address } group group-name [ as-number as-number ] undo peer ipv6-address group group-name View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer.
  • Page 420: Peer Ipv6-Prefix

    Description Use the peer ignore command to terminate the session to a peer or peer group. Use the undo peer ignore command to remove the configuration. By default, a router can establish sessions with a peer or peer group. After the peer ignore command is executed, the system terminates the active session(s) with the specified peer or peer group and clears all the related routing information.
  • Page 421: Peer Ipsec-Policy (Ipv6 Address Family View)

    [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 ipv6-prefix list1 export peer ipsec-policy (IPv6 address family view) Syntax peer { group-name | ipv6-address } ipsec-policy policy-name undo peer { group-name | ipv6-address } ipsec-policy View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv6 peer group, a string of 1 to 47 characters.
  • Page 422: Peer Log-Change (Ipv6 Address Family View)

    Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. Description Use the peer keep-all-routes command to save the original routing information from a peer or peer group, including even routes that failed to pass the inbound policy.
  • Page 423: Peer Next-Hop-Local (Ipv6 Address Family View)

    peer next-hop-local (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } next-hop-local undo peer { ipv6-group-name | ipv6-address } next-hop-local View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer.
  • Page 424: Peer Preferred-Value (Ipv6 Address Family View)

    password: Password, a string of 1 to 80 characters when the simple keyword is used, or when the cipher keyword and plain text password are used; a string of 24 or 108 characters when the cipher text password and the cipher keyword are used. Description Use the peer password command to configure BGP to perform MD5 authentication when a TCP connection is being established with a peer/peer group.
  • Page 425: Peer Preferred-Value (Ipv6 Bgp-Vpn Instance View)

    ipv6-address: IPv6 address of a peer. value: Preferred value, in the range 0 to 65535. Description Use the peer preferred-value command to assign a preferred value to routes received from a peer or peer group. Use the undo peer preferred-value command to restore the default. By default, routes received from a peer or peer group have a preferred value of 0.
  • Page 426: Peer Public-As-Only (Ipv6 Address Family View)

    By default, routes received from a peer or peer group have a preferred value of 0. Routes learned from peers each have an initial preferred value. Among multiple routes to the same destination, the route with the biggest value is selected. NOTE: ipv6-address value...
  • Page 427: Peer Reflect-Client (Ipv6 Address Family View)

    [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 public-as-only peer reflect-client (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } reflect-client undo peer { group-name | ipv4-address | ipv6-address } reflect-client View IPv6 address family view Default level 2: System level Parameters...
  • Page 428: Peer Route-Policy (Ipv6 Address Family View)

    Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. prefix number: Specifies the upper limit of prefixes that can be received from the peer or peer group. The limit range varies depending on the device model.
  • Page 429: Peer Route-Policy (Ipv6 Bgp-Vpn Instance View)

    route-policy-name: Specifies route-policy name, a string of 1 to 63 characters. import: Applies the routing policy to routes from the peer (group). export: Applies the routing policy to routes sent to the peer (group). Description Use the peer route-policy command to apply a routing policy to routes incoming from or outgoing to a peer or peer group.
  • Page 430: Peer Route-Update-Interval (Ipv6 Address Family View)

    By default, no routing policy is specified for the peer (group). The peer route-policy command does not use the if-match interface clause defined in the routing policy. See the chapter “Routing policy configuration commands” for related information. Examples # Apply the routing policy test-policy to routes received from the peer 2001::1. <Sysname>...
  • Page 431: Peer Substitute-As (Ipv6 Address Family View)

    peer substitute-as (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } substitute-as undo peer { ipv6-group-name | ipv6-address } substitute-as View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer.
  • Page 432: Preference (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    Description Use the peer timer command to configure keepalive interval and holdtime interval for a peer or peer group. Use the undo peer timer command to restore the default. keepalive interval defaults to 60 seconds, and holdtime interval defaults to 180 seconds The timers configured with this command are preferred to the timers configured with the timer command.
  • Page 433: Reflect Between-Clients (Ipv6 Address Family View)

    internal-preference: Preference of iBGP route learned from an iBGP peer, in the range 1 to 255. local-preference: Preference of IPv6 BGP local route, in the range 1 to 255. route-policy-name: Routing policy name, a string of 1 to 63 characters. The routing policy can set a preference for routes passing it.
  • Page 434: Reflector Cluster-Id (Ipv6 Address Family View)

    reflector cluster-id (IPv6 address family view) Syntax reflector cluster-id cluster-id undo reflector cluster-id View IPv6 address family view Default level 2: System level Parameters cluster-id: Specifies the cluster ID of the route reflector, an integer from 1 to 4294967295 (the system translates it into an IPv4 address) or an IPv4 address.
  • Page 435: Reset Bgp Ipv6

    external: Soft-resets eBGP connections. group ipv6-group-name: Soft-resets connections with a peer group. The name of the peer group is a string of 1 to 47 characters. internal: Soft-resets iBGP connections. export: Performs soft reset in outbound direction. import: Performs soft reset in inbound direction. Description Use the refresh bgp ipv6 command to soft reset specified IPv4/IPv6 BGP connections.
  • Page 436: Reset Bgp Ipv6 Dampening

    <Sysname> reset bgp ipv6 all reset bgp ipv6 dampening Syntax reset bgp ipv6 dampening [ ipv6-address prefix-length ] View User view Default level 1: Monitor level Parameters ipv6-address: IPv6 address prefix-length: Prefix length of the address, in the range 0 to 128. Description Use the reset bgp ipv6 dampening command to clear dampened IPv6 BGP route information and release suppressed routes.
  • Page 437: Router

    Examples # Clear the flap statistics of the routes matching AS path ACL 10. <Sysname> system-view [Sysname] ip as-path 10 permit ^100.*200$ [Sysname] quit <Sysname> reset bgp ipv6 flap-info as-path-acl 10 router-id Syntax router-id router-id undo router-id View BGP view Default level 2: System level Parameters...
  • Page 438: Timer (Ipv6 Address Family View)

    Default level 2: System level Parameters None Description Use the synchronization command to enable the synchronization between IPv6 BGP and IGP. Use the undo synchronization command to disable the synchronization. The feature is disabled by default. With this feature enabled and when a non-BGP router is responsible for forwarding packets in an AS, IPv6 BGP speakers in the AS cannot advertise routing information to other ASs unless all routers in the AS know the latest routing information.
  • Page 439 If the holdtime interval is configured as 0, no keepalive message will be sent to the peer, and the peer connection will never time out. if the keepalive interval is configured as 0 and the negotiated hold time is not 0, one third of the hold time is taken as the interval for sending keepalive messages. If neither the holdtime interval nor the keepalive interval is configured as 0, the holdtime interval must be at least three times the keepalive interval.
  • Page 440: Routing Policy Configuration Commands

    Routing policy configuration commands NOTE: The common routing policy configuration commands are applicable to both IPv4 and IPv6. Common routing policy configuration commands apply as-path Syntax apply as-path as-number&<1- 1 0> [ replace ] undo apply as-path View Routing policy view Default level 2: System level Parameters...
  • Page 441: Apply Comm-List Delete

    apply comm-list delete Syntax apply comm-list { comm-list-number | comm-list-name } delete undo apply comm-list View Routing policy view Default level 2: System level Parameters comm-list-number: Community list number. A basic community list number ranges from 1 to 99. A advanced community list number ranges from 100 to 199.
  • Page 442: Apply Cost

    aa:nn: Community number; both aa and nn are in the range 0 to 65535. &<1- 1 6>: Indicates the argument before it can be entered up to 16 times. internet: Sets the internet community attribute for BGP routes. Routes with this attribute can be advertised to all BGP peers.
  • Page 443: Apply Cost-Type

    Use the undo apply cost command to remove the clause configuration. No cost is set for routing information by default. Examples # Configure node 10 in permit mode of routing policy policy1: set a cost of 120 for routing information whose outbound interface is Vlan-interface 20.
  • Page 444: Apply Extcommunity

    apply extcommunity Syntax apply extcommunity { rt route-target }&<1- 1 6> [ additive ] undo apply extcommunity View Routing policy view Default level 2: System level Parameters rt route-target: Sets the route target extended community attribute, which is a string of 3 to 21 characters. A route-target has one of the following forms: •...
  • Page 445: Apply Local-Preference

    Parameters level-1: Redistributes routes into IS-IS level- 1 . level-1-2: Redistributes routes into both IS-IS level- 1 and level-2. level-2: Redistributes routes into IS-IS level-2. Description Use the apply isis command to redistribute routes into a specified ISIS level. Use the undo apply isis command to remove the clause configuration. No IS-IS level is set by default.
  • Page 446: Apply Mpls-Label

    apply mpls-label Syntax apply mpls-label undo apply mpls-label View Routing policy view Default level 2: System level Parameters None Description Use the apply mpls-label command to set MPLS labels for routing information. Use the undo apply mpls-label command to remove the clause configuration. No MPLS label is set for routing information by default.
  • Page 447: Apply Preference

    Description Use the apply origin command to set the specified origin attribute for BGP routes. Use the undo apply origin command to remove the clause configuration. No origin attribute is set for BGP routing information by default. Examples # Configure node 10 in permit mode of routing policy policy1: If BGP routing information matches AS-PATH list 1, set the origin attribute of the routing information to IGP.
  • Page 448: Apply Tag

    undo apply preferred-value View Routing policy view Default level 2: System level Parameters preferred-value: Preferred value, in the range of 0 to 65535. Description Use the apply preferred-value command to set a preferred value for BGP routes. Use the undo apply preferred-value command to remove the clause configuration. No preferred value is set for BGP routes by default.
  • Page 449 continue Syntax continue [ node-number ] undo continue View Routing policy view Default level 2: System level Parameters node-number: Routing policy node number, in the range 0 to 65535. Description Use the continue command to specify the next node of the routing policy to be matched. Only after both the current node and the next node are matched, the routing policy is passed, and then the apply clauses of the two nodes are executed.
  • Page 450: Display Ip As-Path

    display ip as-path Syntax display ip as-path [ as-path-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters as-path-number: AS-PATH list number, in the range of 1 to 256. |: Filters command output by specifying a regular expression.
  • Page 451: Display Ip Extcommunity-List

    Default level 1: Monitor level Parameters basic-community-list-number: Basic community list number, in the range of 1 to 99. adv-community-list-number: Advanced community list number, in the range of 100 to 199. comm-list-name: Community list name, a string of 1 to 31 characters, which can contain letters, numbers, and signs.
  • Page 452: Display Route-Policy

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, which is a case sensitive string of 1 to 256 characters. Description Use the display ip extcommunity-list command to display BGP extended community list information. All BGP extended community list information will be displayed if no ext-comm-list-number is specified.
  • Page 453: If-Match As-Path

    Table 95 Output description. Field Description Route-policy Routing policy name Permit Match mode of routing policy node 10 if-match ip-prefix abc Match criterion apply cost 120 If the match criterion is satisfied, set a cost of 120 for routing information. if-match as-path Syntax if-match as-path as-path-number&<1- 1 6>...
  • Page 454: If-Match Cost

    View Routing policy view Default level 2: System level Parameters basic-community-list-number: Basic community list number, in the range of 1 to 99. adv-community-list-number: Advanced community list number, in the range of 100 to 199. comm-list-name: Community list name, a string of 1 to 31 characters, which can contain letters, numbers, and signs.
  • Page 455: If-Match Extcommunity

    The match criterion is not configured by default. Examples # Configure node 10 in permit mode of routing policy policy1: define an if-match clause to permit routing information with a cost of 8. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match cost 8 if-match extcommunity Syntax...
  • Page 456: If-Match Mpls-Label

    Parameters interface-type: Interface type interface-number: Interface number &<1- 1 6>: Indicates the argument before it can be entered up to 16 times. Description Use the if-match interface command to specify interface(s) for matching against the outbound interface of routing information. Use the undo if-match interface command to remove the match criterion.
  • Page 457: If-Match Route-Type

    if-match route-type Syntax if-match route-type { external-type1 | external-type1or2 | external-type2 | internal | is-is-level-1 | is-is-level-2 | nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 } * undo if-match route-type [ external-type1 | external-type1or2 | external-type2 | internal | is-is-level-1 | is-is-level-2 | nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 ] * View Routing policy view Default level...
  • Page 458: Ip As-Path

    Default level 2: System level Parameters value: Specifies a tag from 0 to 4294967295. Description Use the if-match tag command to match routing information having the specified tag. Use the undo if-match tag command to remove the match criterion. The match criterion is not configured by default. Examples # Configure node 10 in permit mode of routing policy policy1 to permit RIP, OSPF and IS-IS routing information with a tag of 8.
  • Page 459: Ip Community-List

    [Sysname] ip as-path 1 permit ^10 ip community-list Syntax ip community-list { basic-comm-list-num | basic comm-list-name } { deny | permit } [ community-number-list ] [ internet | no-advertise | no-export | no-export-subconfed ] * undo ip community-list { basic-comm-list-num | basic comm-list-name } [ deny | permit ] [ community-number-list ] [ internet | no-advertise | no-export | no-export-subconfed ] * ip community-list { adv-comm-list-num | advanced comm-list-name } { deny | permit } regular-expression undo ip community-list { adv-comm-list-num | advanced comm-list-name } [ deny | permit ]...
  • Page 460: Ip Extcommunity-List

    No community list is defined by default. Examples # Define basic community list 1 to permit routing information with the internet community attribute. <Sysname> system-view [Sysname] ip community-list 1 permit internet # Define advanced community list 100 to permit routing information with the community attribute starting with 10.
  • Page 461: Route-Policy

    route-policy Syntax route-policy route-policy-name { deny | permit } node node-number undo route-policy route-policy-name [ deny | permit ] [ node node-number ] View System view Default level 2: System level Parameters route-policy-name: Routing policy name, a string of 1 to 63 characters. deny: Specifies the match mode of the routing policy node as deny.
  • Page 462: Apply Ip-Address Next-Hop

    View Routing policy view Default level 2: System level Parameters backup-interface interface-type interface-number: Specifies a backup outbound interface by its type and number. If the specified backup outbound interface is a non-P2P interface (including NBMA and broadcast interfaces, such as VLAN interface), you need to specify a backup next hop at the same time. ip-address: Backup next hop address.
  • Page 463: Display Ip Ip-Prefix

    Parameters ip-address: IP address of the next hop. Description Use the apply ip-address next-hop command to set a next hop for IPv4 routing information. Use the undo apply ip-address next-hop command to remove the clause configuration. No next hop is set for IPv4 routing information by default. This command cannot set a next hop for redistributed routes.
  • Page 464: If-Match Acl

    Denied 0 index: 10 permit 1.0.0.0/11 Table 96 Output description. 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 the IPv4 prefix list permit Match mode: permit or deny 1.0.0.0/11...
  • Page 465: If-Match Ip-Prefix

    View Routing policy view Default level 2: System level Parameters next-hop: Matches the next hop of routing information to the filter. route-source: Matches the source address of routing information to the filter. acl acl-number: Matches an ACL with a number from 2000 to 2999. ip-prefix ip-prefix-name: Matches an IP prefix list with a name being a string of 1 to 19 characters.
  • Page 466: Ip Ip-Prefix

    [Sysname] route-policy policy2 permit node 10 [Sysname-route-policy] if-match ip-prefix p1 ip ip-prefix Syntax ip ip-prefix ip-prefix-name [ index index-number ] { deny | permit } ip-address mask-length [ greater-equal min-mask-length ] [ less-equal max-mask-length ] undo ip ip-prefix ip-prefix-name [ index index-number ] View System view Default level...
  • Page 467: Reset Ip Ip-Prefix

    To match all routes, use 0.0.0.0 0 less-equal 32. Examples # Define IP prefix list p1 to permit routes matching network 10.0.192.0/8 and with mask length 17 or 18. <Sysname> system-view [Sysname] ip ip-prefix p1 permit 10.0.192.0 8 greater-equal 17 less-equal 18 reset ip ip-prefix Syntax reset ip ip-prefix [ ip-prefix-name ]...
  • Page 468: Display Ip Ipv6-Prefix

    No next hop address is configured for IPv6 routing information by default. This command cannot set a next hop for redistributed routes. Examples # Configure node 10 of routing policy policy1 to configure next hop 3ffe:506::1 for IPv6 routing information matching AS-PATH list 1. <Sysname>...
  • Page 469: If-Match Ipv6

    Field Description Permitted Number of routes satisfying the match criterion Denied Number of routes not satisfying the match criterion Index Index number of the prefix list Permit Match mode of the item: permit or deny ::/1 IPv6 address and prefix length for matching greater-equal, the lower prefix length less-equal, the upper prefix length if-match ipv6...
  • Page 470: Ip Ipv6-Prefix

    ip ipv6-prefix Syntax ip ipv6-prefix ipv6-prefix-name [ index index-number ] { deny | permit } ipv6-address prefix-length [ greater-equal min-prefix-length ] [ less-equal max-prefix-length ] undo ip ipv6-prefix ipv6-prefix-name [ index index-number ] View System view Default level 2: System level Parameters ipv6-prefix-name: IPv6 prefix list name, a string of 1 to 19 characters, for uniquely specifying an IPv6 prefix list.
  • Page 471: Reset Ip Ipv6-Prefix

    Examples # Permit IPv6 addresses with a mask length between 32 bits and 64 bits. <Sysname> system-view [Sysname] ip ipv6-prefix abc permit :: 0 greater-equal 32 less-equal 64 # Deny IPv6 addresses with the prefix being 3FFE:D00::/32, and prefix length being greater than or equal to 32 bits.
  • Page 472: Policy-Based Routing Configuration Commands

    Policy-based routing configuration commands NOTE: This chapter describes only PBR commands. • For description of PBR commands (using a QoS policy), such as the traffic classification, traffic behavior, • ACL and QoS Command Reference and QoS policy configuration commands, see the apply ip-address default next-hop Syntax apply ip-address default next-hop ip-address [ track track-entry-number ] [ ip-address [ track...
  • Page 473: Apply Ip-Address Next-Hop

    apply ip-address next-hop Syntax apply ip-address next-hop ip-address [ direct ] [ track track-entry-number ] [ ip-address [ direct ] [ track track-entry-number ] ] undo apply ip-address next-hop [ ip-address [ ip-address ] ] View PBR policy node view Default level 2: System level Parameters...
  • Page 474: Display Ip Policy-Based-Route

    value: Sets the preference value for IP packets. Eight preferences (0 to 7) are available. Each preference corresponds to a keyword. Table 98 IP preferences and keywords Preference Keyword routine priority immediate flash flash-override critical internet network Description Use the apply ip-precedence command to set a preference for packets. Use the undo apply ip-precedence command to remove the configuration.
  • Page 475: Display Ip Policy-Based-Route Setup

    Description Use the display ip policy-based-route command to display the PBR routing information. Examples # Display the PBR routing information. <Sysname> display ip policy-based-route Policy Name interface pr02 local pr02 Virtual-Template0 pr01 Vlan-interface 11 Table 99 Output description Field Description Local Local PBR pr02...
  • Page 476: Display Policy-Based-Route

    Examples # Display the PBR routing information on VLAN-interface 1. <Sysname> display ip policy-based-route setup interface Vlan-interface 1 Interface Vlan-interface1 policy based routing configuration information: policy-based-route pr01 permit node 1 if-match acl 3101 apply output-interface Vlan-interface20 Table 100 Output description Field Description Interface Vlan-interface1 policy based routing...
  • Page 477: If-Match Acl

    policy-based-route : aaa Node permit : apply output-interface Vlan-interface20 Table 101 Output description Field Description policy-based-route : aaa The policy name is aaa. Node 1 permit : The matching mode of node 1 is permit. apply output-interface Vlan-interface20 The outgoing interface is VLAN-interface 20. if-match acl Syntax if-match acl acl-number...
  • Page 478: Ip Policy-Based-Route

    Parameters policy-name: Policy name, a string of 1 to 19 characters. Description Use the ip local policy-based-route command to configure local PBR based on a specified policy. Use the undo ip local policy-based-route command to remove the configuration. No policy is referenced for local PBR by default. Only one policy can be referenced for local PBR.
  • Page 479: Policy-Based-Route

    policy-based-route Syntax policy-based-route policy-name [ deny | permit ] node node-number undo policy-based-route policy-name [ deny | node node-number | permit ] View System view Default level 2: System level Parameters policy-name: Policy name, a string of 1 to 19 characters. deny: Specifies the match mode of the policy node as deny.
  • Page 480: Index

    Index A B C D E F G H I L M N O P R S T V bestroute as-path-neglect (BGP/BGP-VPN instance view),196 abr-summary (OSPF area view),62 bestroute as-path-neglect (IPv6 address family abr-summary (OSPFv3 area view),294 view),357 aggregate,194 bestroute compare-med (BGP/BGP-VPN instance aggregate (IPv6 address family view),355 view),197...
  • Page 481 default med (IPv6 address family view/IPv6 BGP-VPN display bgp routing-table flap-info,222 instance view),361 display bgp routing-table label,223 default-cost (OSPF area view),66 display bgp routing-table peer,224 default-cost (OSPFv3 area view),296 display bgp routing-table regular-expression,225 default-route,32 display bgp routing-table statistic,225 default-route imported (BGP/BGP-VPN instance display ip as-path,432 view),205...
  • Page 482 display ospf lsdb,80 filter-policy export (BGP/BGP-VPN instance view),227 display ospf nexthop,82 filter-policy export (IPv6 address family view/IPv6 BGP-VPN instance view),383 display ospf peer,83 filter-policy export (IS-IS view),157 display ospf peer statistics,86 filter-policy export (OSPF view),95 display ospf request-queue,87 filter-policy export (OSPFv3 view),320 display ospf retrans-queue,88...
  • Page 483 if-match interface,437 isis circuit-level,167 if-match ip,446 isis circuit-type p2p,167 if-match ip-prefix,447 isis cost,168 if-match ipv6,451 isis dis-name,169 if-match mpls-label,438 isis dis-priority,170 if-match route-type,439 isis enable,170 if-match tag,439 isis ipv6 bfd enable,353 ignore-first-as,232 isis ipv6 enable,354 import-route,283 isis mesh-group,171 import-route (BGP/BGP-VPN instance view),233 isis mib-binding,172...
  • Page 484 network (IPv6 address family view/IPv6 BGP-VPN peer advertise-community (IPv6 address family instance view),388 view),388 network (OSPF area view),106 peer advertise-ext-community (BGP/BGP-VPN instance view),237 network short-cut (BGP/BGP-VPN instance view),235 peer advertise-ext-community (IPv6 address family network-entity,184 view),389 non-stop-routing,183 peer allow-as-loop (BGP/BGP-VPN instance view),237 non-stop-routing interval,184...
  • Page 485 peer ip-prefix,251 reflect between-clients (BGP view/BGP-VPN instance view),263 peer ipsec-policy (IPv6 address family view),403 reflect between-clients (IPv6 address family view),415 peer ipv6-prefix,402 reflector cluster-id (BGP view/BGP-VPN instance peer keep-all-routes (BGP/BGP-VPN instance view),264 view),252 reflector cluster-id (IPv6 address family view),416 peer keep-all-routes (IPv6 address family view),403 refresh bgp,265...
  • Page 486 ripng ipsec-policy,289 summary,58 ripng metricin,289 summary (IS-IS view),188 ripng metricout,290 summary automatic,268 ripng poison-reverse,290 synchronization (BGP view),269 ripng split-horizon,291 synchronization (IPv6 address family view),419 ripng summary-address,292 route-policy,443 timer (BGP/BGP-VPN instance view),270 router id,23 timer (IPv6 address family view),420 router-id,419 timer lsp-generation,189 router-id,337 timer...

This manual is also suitable for:

S5800 series

Table of Contents