HP 6125XLG Command Reference Manual

R2306-hp 6125xlg blade switch layer 3 - ip routing command reference.
Hide thumbs
   
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466
HP 6125XLG Blade Switch
Layer 3—IP Routing
Part number: 5998-3734
Software version: Rlease 2306
Document version: 6W100-20130912

Advertising

   Related Manuals for HP 6125XLG

   Summary of Contents for HP 6125XLG

  • Page 1: Command Reference

    HP 6125XLG Blade Switch Layer 3—IP Routing Command Reference Part number: 5998-3734 Software version: Rlease 2306 Document version: 6W100-20130912...

  • Page 2

    HEWLETT-PACKARD COMPANY MAKES NO WARRANTY OF ANY KIND WITH REGARD TO THIS MATERIAL, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material.

  • Page 3: Table Of Contents

    Contents Basic IP routing commands ········································································································································· 1   display ip routing-table ············································································································································ 1   display ip routing-table acl ······································································································································ 4   display ip routing-table ip-address ························································································································· 6   display ip routing-table prefix-list ···························································································································· 8   display ip routing-table protocol ·························································································································· 10  ...

  • Page 4: Table Of Contents

    rip output ································································································································································ 52   rip poison-reverse ·················································································································································· 53   rip split-horizon ······················································································································································ 53   rip summary-address ············································································································································· 54   rip version ······························································································································································ 55   silent-interface ························································································································································ 56   summary ································································································································································· 56   timers ······································································································································································ 57   validate-source-address ········································································································································· 58  ...

  • Page 5: Table Of Contents

    network (OSPF area view) ·································································································································· 107   nssa ······································································································································································· 108   opaque-capability enable ··································································································································· 109   ospf ······································································································································································· 110   ospf authentication-mode ···································································································································· 111   ospf bfd enable ··················································································································································· 112   ospf cost ······························································································································································· 113   ospf dr-priority ····················································································································································· 113  ...

  • Page 6: Table Of Contents

    graceful-restart suppress-sa ································································································································· 161   graceful-restart t1 ················································································································································· 162   graceful-restart t2 ················································································································································· 162   graceful-restart t3 ················································································································································· 163   import-route ·························································································································································· 164   import-route isis level-1 into level-2 ···················································································································· 165   import-route isis level-2 into level-1 ···················································································································· 166   import-route limit ··················································································································································...

  • Page 7: Table Of Contents

    confederation id ·················································································································································· 204   confederation nonstandard ································································································································ 205   confederation peer-as ········································································································································· 205   dampening ··························································································································································· 206   default local-preference ······································································································································ 208   default med ·························································································································································· 209   default-route imported ········································································································································· 210   display bgp dampening parameter ipv4 unicast ····························································································· 211  ...

  • Page 8: Table Of Contents

    peer capability-advertise suppress-4-byte-as ···································································································· 276   peer connect-interface ········································································································································· 277   peer default-route-advertise ································································································································ 278   peer description ··················································································································································· 279   peer ebgp-max-hop ············································································································································· 280   peer enable ·························································································································································· 281   peer fake-as·························································································································································· 283   peer filter-policy ··················································································································································· 284   peer group ···························································································································································...

  • Page 9: Table Of Contents

    RIPng commands ····················································································································································· 331   checkzero ····························································································································································· 331   default cost ··························································································································································· 331   display ripng ························································································································································ 332   display ripng database ······································································································································· 333   display ripng interface ········································································································································ 334   display ripng route ·············································································································································· 335   filter-policy export ················································································································································ 336  ...

  • Page 10: Table Of Contents

    ospfv3 bfd enable ··············································································································································· 381   ospfv3 cost ··························································································································································· 381   ospfv3 dr-priority ················································································································································· 382   ospfv3 mtu-ignore ················································································································································ 383   ospfv3 network-type ············································································································································ 383   ospfv3 peer ·························································································································································· 384   ospfv3 timer dead ··············································································································································· 385   ospfv3 timer hello ················································································································································ 386  ...

  • Page 11: Table Of Contents

    apply preference ················································································································································· 422   apply preferred-value ·········································································································································· 423   apply tag ······························································································································································ 424   continue ································································································································································ 424   display ip as-path ················································································································································ 425   display ip community-list ····································································································································· 425   display ip extcommunity-list ································································································································ 426   display route-policy ············································································································································· 427  ...

  • Page 12: Basic Ip Routing Commands, Display Ip Routing-table

    Basic IP routing commands display ip routing-table Use display ip routing-table to display routing table information. Syntax display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

  • Page 13

    Table 1 Command output Field Description Destinations Number of destination addresses. Routes Number of routes. Destination/Mask Destination address/mask length. Proto Protocol that installed the route. Preference of the route. Cost Cost of the route. NextHop Next hop address of the route. Interface Output interface for packets to be forwarded along the route.

  • Page 14

    BkTunnel ID: Invalid BkInterface: N/A Table 2 Command output Field Description Destinations Number of destination addresses. Routes Number of routes. Destination Destination address/mask length. Protocol Protocol that installed the route. SubProtID ID of the subprotocol for routing. Time for which the route has been in the routing table. Cost Cost of the route.

  • Page 15: Display Ip Routing-table Acl

    display ip routing-table acl Use display ip routing-table acl to display information about routes permitted by a specific basic ACL. Syntax display ip routing-table [ vpn-instance vpn-instance-name ] acl acl-number [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string...

  • Page 16

    Summary Count : 4 Destination: 192.168.1.0/24 Protocol: Direct Process ID: 0 SubProtID: 0x1 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active Adv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NBRID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x10080 OrigNextHop: 192.168.1.111 Label: NULL...

  • Page 17: Display Ip Routing-table Ip-address

    Protocol: Direct Process ID: 0 SubProtID: 0x0 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NBRID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1008c OrigNextHop: 192.168.1.111 Label: NULL RealNextHop: 192.168.1.111 BkLabel: NULL BkNextHop: N/A...

  • Page 18

    Usage guidelines Executing the command with different parameters yields different outputs: display ip routing-table ip-address: • The system ANDs the entered destination IP address with the subnet mask in each active route entry. The system ANDs the destination IP address in each active route entry with its own subnet mask. If the two operations yield the same result for an entry, the entry is displayed.

  • Page 19: Display Ip Routing-table Prefix-list

    Destination/Mask Proto Cost NextHop Interface 11.0.0.0/8 Static 60 0.0.0.0 NULL0 11.0.0.0/16 Static 60 0.0.0.0 NULL0 # Display brief information about the most specific route to the destination address 1 1.0.0.1. <Sysname> display ip routing-table 11.0.0.1 longer-match Summary Count : 1 Destination/Mask Proto Cost...

  • Page 20

    Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Without this option, the command displays routing information for the public network. prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. verbose: Displays detailed information about all routes permitted by the IP prefix list.

  • Page 21: Display Ip Routing-table Protocol

    display ip routing-table protocol Use display ip routing-table protocol to display information about routes installed by a protocol. Syntax display ip routing-table [ vpn-instance vpn-instance-name ] protocol protocol [ inactive | verbose ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies MPLS L3VPN instance by its name, a case-sensitive string of...

  • Page 22: Display Ip Routing-table Statistics

    Summary Count : 0 # Display brief information about static routes. <Sysname> display ip routing-table protocol static Summary Count : 2 Static Routing Table Status : <Active> Summary Count : 0 Static Routing Table Status : <Inactive> Summary Count : 2 Destination/Mask Proto Cost...

  • Page 23: Display Ipv6 Routing-table

    Table 3 Command output Field Description Proto Protocol that installed the route. route Number of routes installed by the protocol. active Number of active routes. Number of routes added to the routing table after the router started up or the routing table was added last cleared.

  • Page 24

    Destination: FF00::/8 Protocol : Direct NextHop : :: Preference: 0 Interface : NULL0 Cost Table 4 Command output Field Description Destinations Number of destination addresses. Routes Number of routes. Destination IPv6 address and prefix of the destination network or host. NextHop Next hop address of the route.

  • Page 25

    Label: NULL RealNextHop: :: BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: NULL0 BkTunnel ID: Invalid BkInterface: N/A Destination: FF00::/8 Protocol: Direct Process ID: 0 SubProtID: 0x0 Age: 00h53m50s Cost: 0 Preference: 0 Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0xa OrigAs: 0...

  • Page 26: Display Ipv6 Routing-table Acl

    Field Description AttrID Attribute ID. Neighbor Address of the neighbor determined by the routing protocol. Flags Flags of the route. OrigNextHop Next hop address of the route. RealNextHop Real next hop of the route. BkLabel Backup label. BkNexthop Backup next hop. Interface Output interface for packets to be forwarded along the route.

  • Page 27

    Destination : ::1/128 Protocol : Direct NextHop : ::1 Preference: 0 Interface : InLoop0 Cost Destination : 1:1::/64 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0 Cost For command output, see Table # Display detailed information about all routes permitted by IPv6 ACL 2000. <Sysname>...

  • Page 28: Display Ipv6 Routing-table Ipv6-address

    display ipv6 routing-table ipv6-address Use display ipv6 routing-table ipv6-address to display information about routes to an IPv6 destination address. Use display ipv6 routing-table ipv6-address1 to ipv6-address2 to display information about routes to a range of IPv6 destination addresses. Syntax display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address [ prefix-length ] [ longer-match ] [ verbose ] display ipv6 routing-table [ vpn-instance vpn-instance-name ] ipv6-address1 to ipv6-address2 [ verbose ]...

  • Page 29

    display ipv6 routing-table ipv6-address longer-match: • The system ANDs the entered destination IPv6 address with the prefix length in each active route entry. The system ANDs the destination IPv6 address in each active route entry with the prefix length in the entry. If the two operations yield the same result for multiple entries, the one that has the longest prefix length is displayed.

  • Page 30: Display Ipv6 Routing-table Prefix-list

    Summary Count : 3 Destination: 100::/64 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0 Cost Destination: 200::/64 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0 Cost Destination: 300::/64 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0...

  • Page 31: Display Ipv6 Routing-table Protocol

    Routes Matched by Prefix list : test Summary Count : 1 Destination: ::1/128 Protocol : Direct NextHop : ::1 Preference: 0 Interface : InLoop0 Cost For command output, see Table # Display detailed information about all routes permitted by the IPv6 prefix list. [Sysname] display ipv6 routing-table prefix-list test verbose Routes Matched by Prefix list : test Summary Count : 1...

  • Page 32: Routing Information

    inactive: Displays information about inactive routes. Without this keyword, the command displays information about both active and inactive routes. verbose: Displays detailed routing table information. Without this keyword, the command displays brief routing information. Examples # Display brief information about direct routes. <Sysname>...

  • Page 33: Display Ipv6 Routing-table Statistics

    Summary Count : 0 For command output, see Table display ipv6 routing-table statistics Use display ipv6 routing-table statistics to display IPv6 route statistics. Syntax display ipv6 routing-table [ vpn-instance vpn-instance-name ] statistics Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

  • Page 34: Display Max-ecmp-num, Max-ecmp-num

    display max-ecmp-num Use display max-ecmp-num to display the maximum number of ECMP routes. Syntax display max-ecmp-num Views Any view Predefined user roles network-admin network-operator Examples # Display the maximum number of ECMP routes. <Sysname> display max-ecmp-num Max-ECMP-Num in use: 6 Max-ECMP-Num at the next reboot: 10 Table 7 Command output Field...

  • Page 35: Reset Ip Routing-table Statistics Protocol, Reset Ipv6 Routing-table Statistics Protocol

    <Sysname> system-view [Sysname] max-ecmp-num 10 The configuration will take effect at the next reboot. Continue? [Y/N]:y Reboot device to make the configuration take effect. After reboot, the maximum number of ECMP routes is 10. reset ip routing-table statistics protocol Use reset ip routing-table statistics protocol to clear IPv4 route statistics. Syntax reset ip routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } Views...

  • Page 36

    all: Clears route statistics for all IPv6 routing protocols. Examples # Clear all IPv6 route statistics for the public network. <Sysname> reset ipv6 routing-table statistics protocol all...

  • Page 37: Static Routing Commands, Delete Static-routes All, Ip Route-static

    Static routing commands delete static-routes all Use delete static-routes all to delete all static routes. Syntax delete [ vpn-instance vpn-instance-name ] static-routes all Views System view Predefined user roles network-admin Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

  • Page 38

    undo ip route-static dest-address { mask | mask-length } [ next-hop-address | interface-type interface-number [ next-hop-address ] | vpn-instance d-vpn-instance-name next-hop-address ] [ preference preference-value ] ip route-static vpn-instance s-vpn-instance-name dest-address { mask | mask-length } { next-hop-address [ public ] [ bfd control-packet bfd-source ip-address | permanent | track track-entry-number ] | interface-type interface-number [ next-hop-address ] [ backup-interface interface-type interface-number [ backup-nexthop backup-nexthop-address ] [ permanent ] | bfd { control-packet | echo-packet } | permanent ] | vpn-instance d-vpn-instance-name next-hop-address [ bfd control-packet bfd-source...

  • Page 39

    track track-entry-number: Associates the static route with a track entry specified by its number in the range of 1 to 1024. For more information about track, see High Availability Configuration Guide. echo-packet: Specifies the BFD echo mode. public: Indicates that the specified next hop address is on the public network. interface-type interface-number: Specifies an output interface by its type and number.

  • Page 40: Ip Route-static Default-preference

    Related commands display ip routing-table protocol ip route-static default-preference Use ip route-static default-preference to configure a default preference for static routes. Use undo ip route-static default-preference to restore the default. Syntax ip route-static default-preference default-preference-value undo ip route-static default-preference Default The default preference of static routes is 60.

  • Page 41: Rip Commands, Checkzero, Default Cost

    RIP commands checkzero Use checkzero to enable zero field check on RIPv1 messages. Use undo checkzero to disable zero field check. Syntax checkzero undo checkzero Default The zero field check function is enabled. Views RIP view Predefined user roles network-admin Usage guidelines When the zero field check is enabled, the router discards RIPv1 messages in which zero fields contain non-zero values.

  • Page 42: Default-route

    Predefined user roles network-admin Parameters value: Specifies a default metric for redistributed routes, in the range of 0 to 16. Usage guidelines When you use the import-route command to redistribute routes from another routing protocol without specifying a metric, the metric specified by the default cost command applies. Examples # Configure a default metric of 3 for redistributed routes.

  • Page 43: Display Rip

    [Sysname] rip 100 [Sysname-rip-100] default-route only cost 2 Related commands rip default-route display rip Use display rip to display state and configuration information for a RIP process. Syntax display rip [ process-id ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535.

  • Page 44

    Number of routes changes: 1 Number of replies to queries: 0 Table 8 Command output Field Description Public VPN-instance name/Private VPN-instance Public network or VPN where the RIP process runs. name RIP process RIP process ID. RIP version RIP version 1 or 2. Preference RIP preference.

  • Page 45: Display Rip Database, Display Rip Interface

    display rip database Use display rip database to display active routes for a RIP process. RIP advertises active routes in RIP routing updates. Syntax display rip process-id database Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. Examples # Display active routes for RIP process 100.

  • Page 46

    Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, the command displays information about all RIP interfaces for the RIP process. Examples # Display information about all interfaces for RIP process 1.

  • Page 47: Display Rip Route

    Field Description Indicates whether to send a default route to RIP neighbors: • Only—Advertises only a default route. • Default route Originate—Advertises both a default route and other routes. • No-originate—Advertises only non-default routes. • Off—Advertises no default route. Default route cost Metric for a default route.

  • Page 48: Fast-reroute

    Table 11 Command output Field Description • R—RIP route. • A—The route is aging. Route Flags • S—The route is suppressed. • G—The route is in Garbage-collect state. Routing information learned from a neighbor on a RIP Peer X.X.X.X on interface-type interface-number interface.

  • Page 49: Filter-policy Export

    Predefined user roles network-admin Parameters route-policy route-policy-name: Uses the specified routing policy to designate a backup next hop. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. Usage guidelines RIP FRR is only effective for RIP routes that are learned from directly connected neighbors. Do not use RIP FRR and BFD for RIP at the same time.

  • Page 50

    protocol: Filters redistributed routes redistributed from the specified routing protocol, which can be bgp, direct, isis, ospf, rip, and static. process-id: Specifies the process ID of the specified routing protocol, in the range of 1 to 65535. Specify a process ID when the routing protocol is rip, ospf, or isis. If no process ID is specified, the default process ID is 1.

  • Page 51: Filter-policy Import

    import-route • • ip prefix-list filter-policy import Use filter-policy import to configure RIP to filter received routes. Use undo filter-policy import to restore the default. Syntax filter-policy { acl-number | gateway prefix-list-name | prefix-list prefix-list-name [ gateway prefix-list-name ] } import [ interface-type interface-number ] undo filter-policy import [ interface-type interface-number ] Default RIP does not filter received routes.

  • Page 52: Graceful-restart, Host-route

    [Sysname-rip-1] filter-policy 2000 import # Use IP prefix list abc to filter received RIP routes. <Sysname> system-view [Sysname] ip prefix-list abc index 10 permit 11.0.0.0 8 [Sysname] rip 1 [Sysname-rip-1] filter-policy prefix-list abc import # Configure ACL 3000 to permit only route 1 13.0.0.0/16 to pass. Use ACL 3000 to filter received routes. <Sysname>...

  • Page 53: Import-route

    Syntax host-route undo host-route Default RIP receives host routes. Views RIP view Predefined user roles network-admin Usage guidelines A router might receive many host routes from the same subnet. These routes are not helpful for routing and occupy many resources. To solve this problem, use the undo host-route command to disable RIP from receiving host routes.

  • Page 54: Maximum Load-balancing

    all-processes: Enables route redistribution from all the processes of the specified protocol. This keyword takes effect only when the protocol is rip, ospf, or isis. allow-ibgp: Allows redistribution of IBGP routes. This keyword is available when the protocol argument is set to bgp. cost cost: Specifies a cost for redistributed routes, in the range of 0 to 16.

  • Page 55: Network

    Parameters number: Specifies the maximum number of ECMP routes. Usage guidelines The value range for the number argument and the default setting depend on the max-ecmp-num command. If you set the maximum number of ECMP routes to m by using the max-ecmp-num command, the number argument in the maximum load-balancing command is in the range of 1 to m and defaults to m.

  • Page 56: Output-delay, Preference

    [Sysname] rip 100 [Sysname-rip-100] network 129.102.0.0 output-delay Use output-delay to configure the rate at which an interface sends RIP packets. Use undo output-delay to restore the default. Syntax output-delay time count count undo output-delay Default An interface sends up to three RIP packets every 20 milliseconds. Views RIP view Predefined user roles...

  • Page 57: Reset Rip Process, Reset Rip Statistics

    Parameters route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. value: Specifies a preference for RIP routes, in the range of 1 to 255. The smaller the value, the higher the preference. Usage guidelines You can specify a routing policy by using the keyword route-policy to set a preference for matching RIP routes.

  • Page 58

    Views User view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. Examples # Clear statistics for RIP process 100. <Sysname> reset rip 100 statistics Use rip to create a RIP process and enter RIP view. Use undo rip to disable a RIP process.

  • Page 59: Rip Authentication-mode

    rip authentication-mode Use rip authentication-mode to configure RIPv2 authentication. Use undo rip authentication-mode to cancel RIPv2 authentication. Syntax rip authentication-mode { md5 { rfc2082 { cipher cipher-string | plain plain-string } key-id | rfc2453 { cipher cipher-string | plain plain-string } } | simple { cipher cipher-string | plain plain-string } } undo rip authentication-mode Default RIPv2 authentication is not configured.

  • Page 60: Rip Bfd Enable, Rip Default-route

    rip bfd enable Use rip bfd enable to enable BFD for RIP on an interface. Use undo rip bfd enable to restore the default. Syntax rip bfd enable undo rip bfd enable Default BFD for RIP is disabled on an interface. Views Interface view Predefined user roles...

  • Page 61: Rip Input, Rip Metricin

    cost: Specifies a cost for the default route, in the range of 1 to 15. The default is 1. no-originate: Advertises only non-default routes. Usage guidelines An interface that is enabled to advertise a default route does not receive any default route from RIP neighbors.

  • Page 62: Rip Metricout

    Syntax rip metricin [ route-policy route-policy-name ] value undo rip metricin Default The additional metric of an inbound route is 0. Views Interface view Predefined user roles network-admin Parameters route-policy route-policy-name: Uses the specified routing policy to add an additional metric for the routes matching it.

  • Page 63: Rip Output

    Use undo rip metricout to restore the default. Syntax rip metricout [ route-policy route-policy-name ] value undo rip metricout Default The additional metric for outbound routes is 1. Views Interface view Predefined user roles network-admin Parameters route-policy route-policy-name: Uses the specified routing policy to add an additional metric for the routes matching it.

  • Page 64: Rip Poison-reverse, Rip Split-horizon

    Use undo rip output to disable an interface from sending RIP messages. Syntax rip output undo rip output Default An interface receives RIP messages. Views Interface view Predefined user roles network-admin Examples # Disable VLAN-interface 10 from sending RIP messages. <Sysname>...

  • Page 65: Rip Summary-address

    Syntax rip split-horizon undo rip split-horizon Default The split horizon function is enabled. Views Interface view Predefined user roles network-admin Usage guidelines The split horizon function prevents routing loops. If you want to disable the function, make sure that • the operation is dispensable.

  • Page 66: Rip Version

    Examples # Advertise a summary route on VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip summary-address 10.0.0.0 255.255.255.0 Related commands summary rip version Use rip version to specify a RIP version on an interface. Use undo rip version to restore the default. Syntax rip version { 1 | 2 [ broadcast | multicast ] } undo rip version...

  • Page 67: Silent-interface, Summary

    Examples # Configure RIPv2 in broadcast mode on VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip version 2 broadcast Related commands version silent-interface Use silent-interface to disable an interface from sending RIP messages. The interface can still receive RIP messages.

  • Page 68: Timers

    undo summary Default Automatic RIPv2 route summarization is enabled. Views RIP view Predefined user roles network-admin Usage guidelines Automatic RIPv2 route summarization can reduce the routing table size to enhance the scalability and efficiency for large networks. Examples # Disable automatic RIPv2 route summarization. <Sysname>...

  • Page 69: Validate-source-address

    update-value: Specifies the update timer in the range of 1 to 3600 seconds. Usage guidelines RIP uses the following timers: Update timer—Specifies the interval between routing updates. • Timeout timer—Specifies the route aging time. If no update for a route is received before the timer •...

  • Page 70: Version

    <Sysname> system-view [Sysname-rip] rip 100 [Sysname-rip-100] undo validate-source-address version Use version to specify a global RIP version. Use undo version to restore the default. Syntax version { 1 | 2 } undo version Default No global RIP version is configured. An RIP interface can send RIPv1 broadcasts and receive RIPv1 broadcasts and unicasts, and RIPv2 broadcasts, multicasts, and unicasts.

  • Page 71: Ospf Commands, Abr-summary (ospf Area View)

    OSPF commands abr-summary (OSPF area view) Use abr-summary to configure a summary route on an area border router (ABR). Use undo abr-summary to remove a summary route. Syntax abr-summary ip-address { mask | mask-length } [ advertise | not-advertise ] [ cost cost ] undo abr-summary ip-address { mask | mask-length } Default No route summarization is configured on an ABR.

  • Page 72: Area (ospf View), Asbr-summary

    area (OSPF view) Use area to create an area and enter area view. Use undo area to remove an area. Syntax area area-id undo area area-id Default No OSPF area is created. Views OSPF view Predefined user roles network-admin Parameters area-id: Specifies an area by its ID, which is an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format.

  • Page 73: Authentication-mode

    mask-length: Specifies the mask length in the range of 0 to 32 bits. cost cost: Specifies the cost of the summary route, in the range of 1 to 16777214. For Type- 1 external routes, the cost defaults to the largest cost among routes that are summarized. For Type-2 external routes, the cost defaults to the largest cost among routes that are summarized plus 1.

  • Page 74: Bandwidth-reference (ospf View)

    Parameters md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. Usage guidelines Routers that reside in the same area must have the same authentication mode: no authentication, simple, or MD5. Examples # Configure OSPF Area 0 to use the MD5 authentication mode. <Sysname>...

  • Page 75: Default, Default-cost (ospf Area View)

    default Use default to configure default parameters for redistributed routes. Use undo default to remove the configuration. Syntax default { cost cost | tag tag | type type } * undo default { cost | tag | type } * Default The cost is 1, the tag is 1, and the route type is 2.

  • Page 76: Default-route-advertise (ospf View)

    Parameters cost: Specifies a cost for the default route advertised to the Stub or NSSA area, in the range of 0 to 16777214. Usage guidelines This command takes effect only on the ABR of a stub area or the ABR/ASBR of an NSSA area. Examples # Configure Area 1 as a stub area, and specify the cost of the default route advertised to the stub area as 20.

  • Page 77: Description (ospf/ospf Area View)

    cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. If no cost is specified, the default cost specified by the default cost command applies. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.

  • Page 78: Display Ospf Abr-asbr

    Parameters description: Configures a description for the OSPF process in OSPF view, or for the OSPF area in OSPF area view. The description argument specifies a string of 1 to 80 characters. Usage guidelines The description specified by this command is used to identify an OSPF process or area. Examples # Describe OSPF process 100 as abc.

  • Page 79: Display Ospf Asbr-summary

    Table 13 Command output Field Description Type of the route to the ABR or ASBR: • Intra—Intra-area route. Type • Inter—Inter-area route. Destination Router ID of an ABR/ASBR. Area ID of the area of the next hop. Cost Cost from the router to the ABR/ASBR. Nexthop Next hop address.

  • Page 80: Display Ospf Brief

    Summary Address : 30.1.0.0 Mask : 255.255.0.0 : 20 Status : Advertise Cost : 10 (Configured) The Count of Route is : 2 Destination Net Mask Proto Process Type Metric 30.1.2.0 255.255.255.0 OSPF 30.1.1.0 255.255.255.0 OSPF Table 14 Command output Field Description Total Summary Address Count...

  • Page 81

    Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Usage guidelines If no OSPF process is specified, this command displays brief information about all OSPF processes. Examples # Display OSPF brief information. <Sysname>...

  • Page 82

    Timers: Hello 10 , Dead 40 , Poll 40 , Retransmit 5 , Transmit Delay 1 FRR backup: enable Table 15 Command output Field Description OSPF Process 1 with Router ID 192.168.1.2 OSPF process ID and OSPF router ID. RouterID Router ID.

  • Page 83: Display Ospf Cumulative

    Field Description Authentication type of the area: • None—No authentication. Authtype • Simple—Simple authentication. • MD5—MD5 authentication. Type of the area: • Normal. • Stub. Area flag • StubNoSummary (totally stub area). • NSSA. • NSSANoSummary (totally NSSA area). SPF scheduled Count SPF calculation count in the OSPF area.

  • Page 84

    Examples # Display OSPF statistics. <Sysname> display ospf cumulative OSPF Process 1 with Router ID 2.2.2.2 Cumulations IO Statistics Type Input Output Hello DB Description Link-State Req Link-State Update Link-State Ack LSAs originated by this router Router: 4 Network: 0 Sum-Net: 0 Sum-Asbr: 0 External: 0...

  • Page 85: Display Ospf Error

    Field Description Sum-Net Number of Type-3 LSAs originated. Sum-Asbr Number of Type-4 LSAs originated. External Number of Type-5 LSAs originated. NSSA Number of Type-7 LSAs originated. Opq-Link Number of Type-9 LSAs originated. Opq-Area Number of Type-10 LSAs originated. Opq-As Number of Type-11 LSAs originated. LSA originated Number of LSAs originated.

  • Page 86

    : OSPF bad virtual link : OSPF bad authentication type : OSPF bad authentication key : OSPF packet too small : OSPF Neighbor state low : OSPF transmit error : OSPF interface down : OSPF unknown neighbor : HELLO: Netmask mismatch : HELLO: Hello timer mismatch : HELLO: Dead timer mismatch : HELLO: Extern option mismatch...

  • Page 87: Display Ospf Graceful-restart

    Field Description LS UPD: LSA checksum bad LSU packets with wrong LSA checksum. LS UPD: Received less recent LSA LSU packets without latest LSA. LS UPD: Unknown LSA type LSU packets with unknown LSA type. display ospf graceful-restart Use display ospf graceful-restart to display GR information for an OSPF process. Syntax display ospf [ process-id ] graceful-restart [ verbose ] Views...

  • Page 88

    Interface: 40.4.0.1 (Vlan-interface40) Restarter state: Normal State: DR Type: Broadcast Neighbor count of this interface: 1 Neighbor IP address GR state Last Helper exit reason 3.3.3.3 40.4.0.3 Normal None Virtual-link Neighbor-ID -> 4.4.4.4, Neighbor-State: Full Restarter state: Normal Interface: 20.2.0.1 (Vlink) Transit Area: 0.0.0.1 Neighbor IP address...

  • Page 89: Display Ospf Interface

    Field Description GR state: • Normal—Normal state. Current GR state • Under GR—GR is in process. • Under Helper—The process is acting as Helper. Area Area ID in IP address format. Authentication type of the area: • None—No authentication. Authtype •...

  • Page 90

    Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process ID in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number. verbose: Displays the OSPF information for all interfaces. Usage guidelines If no OSPF process is specified, this command displays the OSPF interface information for all OSPF processes.

  • Page 91: Display Ospf Lsdb

    Field Description Interface state: • DOWN—No protocol traffic can be sent or received on the interface. • Waiting—The interface starts sending and receiving Hello packets and the router is trying to determine the identity of the (Backup) designated router for the network.

  • Page 92

    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 ] ] Views Any view Predefined user roles...

  • Page 93

    Type LinkState ID AdvRouter Sequence Metric Router 192.168.0.1 192.168.0.1 80000005 Sum-Net 192.168.2.0 192.168.0.1 80000002 Sum-Net 192.168.0.0 192.168.0.1 80000002 Type 9 Opaque (Link-Local Scope) Database Flags: * -Vlink interface LSA Type LinkState ID AdvRouter Sequence Interfaces *Opq-Link 3.0.0.0 7.2.2.1 80000001 10.1.1.2 *Opq-Link 3.0.0.0 7.2.2.2...

  • Page 94: Display Ospf Peer

    : 32 Options Seq# : 80000003 Checksum : 0x2a77 Net Mask : 255.255.255.0 Attached Router 192.168.1.1 Attached Router 192.168.1.2 Table 22 Command output Field Description Type LSA type. LS ID DR IP address. Adv Rtr Router that advertised the LSA. LS Age LSA age time.

  • Page 95

    interface-type interface-number: Specifies an interface by its type and number. neighbor-id: Specifies a neighbor router ID. Usage guidelines If no OSPF process is specified, this command displays OSPF neighbor information for all OSPF processes. If the verbose keyword is not specified, this command displays brief OSPF neighbor information. If no interface is specified, this command displays the neighbor information for all interfaces.

  • Page 96

    Field Description Neighbor state: • Down—Initial state of a neighbor conversation. • Init—The router has seen a Hello packet from the neighbor. However, the router has not established bidirectional communication with the neighbor (the router itself did not appear in the neighbor's hello packet). •...

  • Page 97: Display Ospf Peer Statistics

    Area: 0.0.0.0 Router ID Address Pri Dead-Time Interface State 1.1.1.2 1.1.1.2 Vlan11 Full/DR Table 24 Command output Field Description Area Neighbor area. Router ID Neighbor router ID. Address Neighbor interface address. Neighboring router priority. Dead-Time Dead interval remained. Interface Interface connected to the neighbor. Neighbor state: Down, Init, Attempt, 2-Way, Exstart, Exchange, State Loading, or Full.

  • Page 98: Display Ospf Request-queue

    Table 25 Command output Field Description The state statistics information of all the routers in the area to which the router belongs Area ID is displayed. Down Number of neighboring routers in Down state in the same area. Attempt Number of neighboring routers in Attempt state in the same area. Init Number of neighboring routers in Init state in the same area.

  • Page 99: Display Ospf Retrans-queue

    The Router's Neighbor is Router ID 2.2.2.2 Address 10.1.1.2 Interface 10.1.1.1 Area 0.0.0.0 Request list: Type LinkState ID AdvRouter Sequence Router 2.2.2.2 1.1.1.1 80000004 Network 192.168.0.1 1.1.1.1 80000003 Sum-Net 192.168.1.0 1.1.1.1 80000002 Table 26 Command output Field Description The Router's Neighbor is Router ID Neighbor router ID.

  • Page 100: Display Ospf Routing

    If no neighbor is specified, this command displays retransmission queue information for all neighbors. Examples # Display OSPF retransmission queue information. <Sysname> display ospf retrans-queue The Router's Neighbor is Router ID 2.2.2.2 Address 10.1.1.2 Interface 10.1.1.1 Area 0.0.0.0 Retransmit list: Type LinkState ID AdvRouter...

  • Page 101

    mask: Specifies the mask in dotted decimal notation. mask-length: Specifies mask length in the range of 0 to 32 bits. interface interface-type interface-number: Displays routes passing the specified output interface. nexthop nexthop-address: Displays routes passing the specified next hop. verbose: Displays detailed OSPF routing information. Usage guidelines If no OSPF process is specified, this command displays the routing information for all OSPF processes.

  • Page 102: Display Ospf Vlink

    OSPF Process 2 with Router ID 192.168.1.112 Routing Tables Routing for Network Destination: 192.168.1.0/24 Cost: 1562 Type: Stub AdvRouter: 192.168.1.2 Area: 0.0.0.0 SubProtoID: 0x1 Preference: 10 NextHop: 192.168.1.2 BkNextHop: N/A NetworkType: Broadcast BkNetworkType: N/A Destination: 172.16.0.0/16 Cost: 1563 Type: Inter AdvRouter: 192.168.1.1 Area: 0.0.0.0 SubProtoID: 0x1...

  • Page 103: Display Router Id

    Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Usage guidelines If no OSPF process is specified, this command displays the OSPF virtual link information for all OSPF processes. Examples # Display OSPF virtual link information. <Sysname>...

  • Page 104: Enable Link-local-signaling, Enable Out-of-band-resynchronization

    <Sysname> display router id Configured router ID is 1.1.1.1 enable link-local-signaling Use enable link-local-signaling to enable the OSPF link-local signaling (LLS) capability. Use undo enable link-local-signaling to disable the OSPF LLS capability. Syntax enable link-local-signaling undo enable link-local-signaling Default OSPF link-local signaling capability is disabled. Views OSPF view Predefined user roles...

  • Page 105: Fast-reroute (ospf View), Filter (ospf Area View)

    Examples # Enable the out-of-band resynchronization capability 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 Related commands enable link-local-signaling fast-reroute (OSPF view) Use fast-reroute to configure OSPF FRR. Use undo fast-reroute to restore the default. Syntax fast-reroute { lfa [ abr-only ] | route-policy route-policy-name } undo fast-reroute...

  • Page 106: Filter-policy Export (ospf View)

    Use filter to configure OSPF to filter inbound/outbound Type-3 LSAs on an ABR. Use undo filter to disable Type-3 LSA filtering. Syntax filter { acl-number | prefix-list prefix-list-name | route-policy route-policy-name } { export | import } undo filter { export | import } Default Type-3 LSAs are not filtered.

  • Page 107

    Views OSPF view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter redistributed routes by destination address. prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter redistributed routes by destination address.

  • Page 108: Filter-policy Import (ospf View)

    filter-policy import (OSPF view) Use filter-policy import to configure OSPF to filter routes calculated using received LSAs. Use undo filter-policy import to restore the default. Syntax filter-policy { acl-number [ gateway prefix-list-name ] | gateway prefix-list-name | prefix-list prefix-list-name [ gateway prefix-list-name ] | route-policy route-policy-name } import undo filter-policy import Default Routes calculated using received LSAs are not filtered.

  • Page 109: Graceful-restart (ospf View)

    # Configure ACL 3000 to permit only route 1 13.0.0.0/16. Use ACL 3000 to filter inbound 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 graceful-restart (OSPF view)

  • Page 110: Graceful-restart Helper Enable

    If you do not provide the nonstandard or ietf keyword, the command enables non-IETF GR for OSPF. Examples # Enable IETF GR for OSPF process 1. <Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] opaque-capability enable [Sysname-ospf-1] graceful-restart ietf # Enable non-IETF GR for OSPF process 1. <Sysname>...

  • Page 111: Graceful-restart Helper Strict-lsa-checking, Graceful-restart Interval (ospf View)

    graceful-restart helper strict-lsa-checking Use graceful-restart helper strict-lsa-checking to enable strict LSA checking capability for GR Helper. Use undo graceful-restart helper strict-lsa-checking to disable strict LSA checking capability for GR Helper. Syntax graceful-restart helper strict-lsa-checking undo graceful-restart helper strict-lsa-checking Default Strict LSA checking capability for GR Helper is disabled. Views OSPF view Predefined user roles...

  • Page 112: Host-advertise, Import-route (ospf View)

    Usage guidelines The value of the GR restart interval cannot be smaller than the maximum OSPF neighbor dead time of all the OSPF interfaces. Otherwise, GR restart might fail. Examples # Configure the GR interval for OSPF process 1 as 100 seconds. <Sysname>...

  • Page 113

    Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | [ cost cost | route-policy route-policy-name | tag tag | type type ] * undo import-route protocol [ process-id | all-processes ] Default OSPF does not redistribute AS-external routes from any other routing protocol. Views OSPF view Predefined user roles...

  • Page 114: Ispf Enable, Log-peer-change

    Only active routes can be redistributed. To view information about active routes, use the display ip routing-table protocol command. The undo import-route protocol all-processes command removes only the configuration made by the import-route protocol all-processes command, instead of the configuration made by the import-route protocol process-id command.

  • Page 115: Lsa-arrival-interval

    undo log-peer-change Default The logging of OSPF neighbor state changes is enabled. Views OSPF view Predefined user roles network-admin Usage guidelines After you enable this feature, the information about OSPF neighbor state changes will be output to the terminal. Examples # Disable the logging of neighbor state changes for OSPF process 100.

  • Page 116: Lsdb-overflow-interval, Lsa-generation-interval

    <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] lsa-arrival-interval 200 Related commands lsa-generation-interval lsdb-overflow-interval Use lsdb-overflow-interval to configure the interval that OSPF exits overflow state. Use undo lsdb-overflow-interval to restore the default. Syntax lsdb-overflow-interval interval undo lsdb-overflow-interval Default The OSPF exit overflow interval is 300 seconds. Views OSPF view Predefined user roles...

  • Page 117: Lsdb-overflow-limit

    Default The maximum interval is 5 seconds, the minimum interval is 0 milliseconds, and the incremental interval is 0 milliseconds. Views OSPF view Predefined user roles network-admin Parameters maximum-interval: Specifies the maximum LSA generation interval in the range of 1 to 60 seconds. minimum-interval: Specifies the minimum LSA generation interval in the range of 10 to 60000 milliseconds.

  • Page 118: Maximum Load-balancing (ospf View), Network (ospf Area View)

    Predefined user roles network-admin Parameters number: Specifies the upper limit of external LSAs in the LSDB, in the range of 1 to 1000000. Examples # Specify the upper limit of external LSAs as 400000. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] lsdb-overflow-limit 400000 maximum load-balancing (OSPF view) Use maximum load-balancing to specify the maximum number of equal-cost multi-path (ECMP) routes for load balancing.

  • Page 119: Nssa

    Use undo network to disable OSPF for the interface attached to the specified network in the area. Syntax network ip-address wildcard-mask undo network ip-address wildcard-mask Default OSPF is not enabled for any interface. Views OSPF area view Predefined user roles network-admin View OSPF area view...

  • Page 120: Opaque-capability Enable

    Views OSPF area view Predefined user roles network-admin Parameters default-route-advertise: Used on an NSSA ABR or an ASBR only. If it is configured on an NSSA ABR, the ABR generates a default route in a Type-7 LSA into the NSSA area regardless of whether a default route is available in the routing table.

  • Page 121: Ospf

    Predefined user roles network-admin Usage guidelines After the opaque LSA advertisement and reception is enabled, OSPF can receive and advertise Type-9, Type- 1 0, and Type- 1 1 opaque LSAs. Examples # Disable opaque LSA advertisement and reception. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] undo opaque-capability ospf...

  • Page 122: Ospf Authentication-mode

    ospf authentication-mode Use ospf authentication-mode to set the authentication mode and key ID on an interface. Use undo ospf authentication-mode to remove specified configuration. Syntax For MD5/HMAC-MD5 authentication: ospf authentication-mode { hmac-md5 | md5 } key-id { cipher cipher-string | plain plain-string } undo ospf authentication-mode { hmac-md5 | md5 } key-id For simple authentication: ospf authentication-mode simple { cipher cipher-string | plain plain-string }...

  • Page 123: Ospf Bfd Enable

    [Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255 [Sysname-ospf-100-area-0.0.0.1] authentication-mode md5 [Sysname-ospf-100-area-0.0.0.1] quit [Sysname-ospf-100] quit [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf authentication-mode md5 15 plain 123456 # Enable simple authentication for the network 131.1 19.0.0/16 in Area 1. Set the plaintext key to 123456 on Ethernet 1/1.

  • Page 124: Ospf Cost, Ospf Dr-priority

    [Sysname-ospf-1] area 0 [Sysname-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255 [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] ospf bfd enable ospf cost Use ospf cost to set an OSPF cost for an interface. Use undo ospf cost to restore the default. Syntax ospf cost value undo ospf cost Default An interface computes its OSPF cost according to the interface bandwidth.

  • Page 125: Ospf Fast-reroute Lfa-backup, Ospf Mib-binding

    Default The router priority is 1. Views Interface view Predefined user roles network-admin Parameters priority: Specify the router priority for the interface, in the range of 0 to 255. Usage guidelines The greater the value, the higher the priority for DR/BDR election. If a device has a priority of 0, it will not be elected as a DR or BDR.

  • Page 126: Ospf Mtu-enable

    Use undo ospf mib-binding to restore the default. Syntax ospf mib-binding process-id undo ospf mib-binding Default MIB operation is bound to the OSPF process with the smallest process ID. Views System view Predefined user roles network-admin Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Examples # Bind MIB operation to OSPF process 100.

  • Page 127: Ospf Network-type

    [Sysname-Vlan-interface10] ospf mtu-enable ospf network-type Use ospf network-type to set the network type for an interface. Use undo ospf network-type to restore the default network type for an interface. Syntax ospf network-type { broadcast | nbma | p2mp [ unicast ] | p2p } undo ospf network-type Default By default, the network type of an interface depends on its link layer protocol:...

  • Page 128: Ospf Timer Dead, Ospf Timer Hello

    [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf network-type nbma Related commands ospf dr-priority ospf timer dead Use ospf timer dead to set the neighbor dead interval. Use undo ospf timer dead to restore the default. Syntax ospf timer dead seconds undo ospf timer dead Default The dead interval is 40 seconds for broadcast and P2P interfaces.

  • Page 129: Ospf Timer Poll

    Default The hello interval is 10 seconds for P2P and broadcast interfaces, and is 30 seconds for P2MP and NBMA interfaces. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies the hello interval in the range of 1 to 65535 seconds. Usage guidelines The shorter the hello interval, the faster the topology converges, and the more resources are consumed.

  • Page 130: Ospf Timer Retransmit, Ospf Trans-delay

    Examples # Set the poll timer interval on VLAN-interface 10 to 130 seconds. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf timer poll 130 Related commands ospf timer hello ospf timer retransmit Use ospf timer retransmit to set the LSA retransmission interval on an interface. Use undo ospf timer retransmit to restore the default.

  • Page 131: Peer

    Default The LSA transmission delay is 1 second. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies the LSA transmission delay in the range of 1 to 3600 seconds. Usage guidelines Each LSA in the LSDB has an age that is incremented by 1 every second, but the age does not change during transmission.

  • Page 132: Preference

    Routers on the network cannot find neighbors through broadcasting hello packets, so you must specify neighbors and neighbor DR priorities on the routers. After startup, a router sends a hello packet to neighbors with DR priorities higher than 0. When the DR and BDR are elected, the DR will send hello packets to all neighbors for adjacency establishment.

  • Page 133: Reset Ospf Counters, Reset Ospf Process

    Examples # Set a preference of 200 for OSPF external routes. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] preference ase 200 # Use a routing policy to set a preference of 100. <Sysname> system-view [Sysname] ip prefix-list test index 10 permit 100.1.1.0 24 [Sysname] route-policy pre permit node 10 [Sysname-route-policy-pre-10] if-match ip-prefix test [Sysname-route-policy-pre-10] quit...

  • Page 134: Reset Ospf Redistribution, Rfc1583 Compatible

    Usage guidelines If no process is specified, this command restarts all OSPF processes. The reset ospf process command performs the following actions: Clears all invalid LSAs without waiting for their timeouts. • Makes a newly configured Router ID take effect. •...

  • Page 135: Router Id

    Views OSPF view Predefined user roles network-admin Usage guidelines RFC 1583 specifies a different method than RFC 2328 for selecting the best route from multiple AS external routes destined for the same network. Using this command makes them compatible. If RFC 2328 is compatible with RFC 1583, the intra-area route in the backbone area is preferred.

  • Page 136: Silent-interface (ospf View), Snmp-agent Trap Enable Ospf

    Examples # Configure a global router ID as 1.1.1.1. <Sysname> system-view [Sysname] router id 1.1.1.1 silent-interface (OSPF view) Use silent-interface to disable an interface or all interfaces from receiving and sending OSPF packets. Use undo silent-interface to remove the configuration. Syntax silent-interface { interface-type interface-number | all } undo silent-interface { interface-type interface-number | all }...

  • Page 137

    undo snmp-agent trap enable ospf [ authentication-failure | bad-packet | config-error | grhelper-status-change | grrestarter-status-change | if-state-change | lsa-maxage | lsa-originate | lsdb-approaching-overflow | lsdb-overflow | neighbor-state-change | nssatranslator-status-change | retransmit | virt-authentication-failure | virt-bad-packet | virt-config-error | virt-retransmit | virtgrhelper-status-change | virtif-state-change | virtneighbor-state-change ] * Default OSPF trap sending is enabled.

  • Page 138: Snmp Trap Rate-limit, Spf-schedule-interval

    snmp trap rate-limit Use snmp trap rate-limit to configure the number of output traps in a specific time. Use undo snmp trap rate-limit to restore the default. Syntax snmp trap rate-limit interval trap-interval count trap-number undo snmp trap rate-limit Default OSPF outputs 7 traps in 10 seconds.

  • Page 139: Stub (ospf Area View)

    minimum-interval: Specifies the minimum OSPF SPF calculation interval in the range of 10 to 60000 milliseconds. incremental-interval: Specifies the incremental OSPF SPF calculation interval in the range of 10 to 60000 milliseconds. Usage guidelines Based on the LSDB, an OSPF router uses SPF to calculate a shortest path tree with itself as the root. OSPF uses the shortest path tree to determine the next hop to a destination.

  • Page 140: Stub-router

    Usage guidelines To remove the default-route-advertise-always or stub no-summary configuration on the ABR, execute the stub command again to overwrite it. To configure an area as a stub area, issue the stub command on all routers attached to the area. Examples # Configure Area 1 as a stub area.

  • Page 141: Transmit-pacing, Vlink-peer (ospf Area View)

    transmit-pacing Use transmit-pacing to configure the maximum number of LSU packets that can be sent at the specified interval. Use undo transmit-pacing to restore the default. Syntax transmit-pacing interval interval count count undo transmit-pacing Default An OSPF interface sends up to three LSU packets every 20 milliseconds. Views OSPF view Predefined user roles...

  • Page 142

    Views OSPF area view Predefined user roles network-admin Parameters router-id: Specifies the router ID of the neighbor on the virtual link. hello seconds: Sets the hello interval in the range of 1 to 8192 seconds. The default is 10. It must be identical with the hello interval on the virtual link neighbor.

  • Page 143

    [Sysname-ospf-100] area 2 [Sysname-ospf-100-area-0.0.0.2] vlink-peer 1.1.1.1 Related commands authentication-mode • display ospf vlink •...

  • Page 144: Is-is Commands, Area-authentication-mode

    IS-IS commands area-authentication-mode Use area-authentication-mode to specify an area authentication mode and a password. Use undo area-authentication-mode to restore the default. Syntax area-authentication-mode { md5 | simple | gca key-id { hmac-sha-1 | hmac-sha-224 | hmac-sha-256 | hmac-sha-384 | hmac-sha-512 } } { cipher cipher-string | plain plain-string } [ ip | osi ] undo area-authentication-mode Default No area authentication or password is configured.

  • Page 145: Auto-cost Enable

    Usage guidelines The password in the specified mode is inserted into all outbound Level- 1 packets (LSP, CSNP, and PSNP) and is used to authenticate inbound Level- 1 packets. Area authentication enables IS-IS to discard routes from untrusted routers. Routers in an area must have the same authentication mode and password. If neither ip nor osi is specified, OSI-related fields are checked.

  • Page 146: Bandwidth-reference (is-is View), Circuit-cost

    Interface bandwidth Cost ≤622 Mbps ≤2500 Mbps >2500 Mbps Examples # Enable automatic link cost calculation for IS-IS process 1. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] auto-cost enable Related commands • bandwidth-reference cost-style • bandwidth-reference (IS-IS view) Use bandwidth-reference to set the bandwidth reference value for automatic link cost calculation. Use undo bandwidth-reference to restore the default.

  • Page 147: Cost-style

    Use undo circuit-cost to remove the configuration. Syntax circuit-cost value [ level-1 | level-2 ] undo circuit-cost [ level-1 | level-2 ] Default No global link cost is configured. Views IS-IS view Predefined user roles network-admin Parameters value: Specifies the link cost value. The value range varies by cost style. For styles narrow, narrow-compatible, and compatible, the cost value is in the range of 0 to 63.

  • Page 148: Default-route-advertise (is-is View)

    Predefined user roles network-admin Parameters narrow: Receives and sends only narrow cost style packets. (The narrow cost is in the range of 0 to 63.) wide: Receives and sends only wide cost style packets. (The wide cost is in the range of 0 to 16777215.) compatible: Receives and sends both wide and narrow cost style packets.

  • Page 149: Display Isis Brief

    level-2: Advertises a Level-2 default route. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines If no level is specified, a Level-2 default route is advertised. The Level- 1 default route is advertised to other routers in the same area, and the Level-2 default route is advertised to all the Level-2 and Level- 1 -2 routers.

  • Page 150: Display Isis Graceful-restart Status

    lsp-length originate level-1 : 1497 level-2 : 1497 maximum imported routes : 1000000 timers lsp-max-age : 1200 lsp-refresh : 900 SPF intervals : 5 50 200 IPv6 enable preference : 15 maximum imported routes : 1000000 Table 32 Command output Field Description network-entity...

  • Page 151

    network-operator Parameters level-1: Displays the IS-IS Level- 1 GR state. level-2: Displays the IS-IS Level-2 GR state. process-id: Specifies a process by its ID in the range of 1 to 65535. Examples # Display IS-IS GR state. <Sysname> display isis graceful-restart status Restart information for IS-IS(1) -------------------------------- Restart status: COMPLETE...

  • Page 152: Display Isis Interface

    Field Description Restart t3 T3 timer, in seconds. Whether SA is supported: • SA Bit Supported. • Not supported. Total number of interfaces Total number of IS-IS interfaces. Number of LSPs not obtained by the GR Restarter from Number of waiting LSPs GR Helpers during LSDB synchronization.

  • Page 153

    <Sysname> display isis interface verbose Interface information for IS-IS(1) ---------------------------------- Interface: Vlan-interface12 IPv4.State IPv6.State Type Down L1/L2 Yes/No SNPA Address 000c-29b2-a5e3 IP Address 8.8.8.7 Secondary IP Address(es) IPv6 Link Local Address Csnp Timer Value Hello Timer Value Hello Multiplier Value Lsp Timer Value Lsp Transmit-Throttle Count Cost...

  • Page 154: Display Isis Lsdb

    Field Description Whether BFD for IS-IS is enabled: • IPv4 BFD Disabled. • Enabled. Whether BFD for IPv6 IS-IS is enabled: • IPv6 BFD Disabled. • Enabled. # Display IS-IS interface statistics. <Sysname> display isis interface statistics Interface Statistics information for ISIS(1) -------------------------------------------- Type IPv4 Up/Down...

  • Page 155

    level-2: Displays the level-2 LSDB. local: Displays LSP information generated locally. lsp-id lspid: Specifies an LSP ID, in the form of sysID. Pseudo ID-fragment num, where sysID represents the originating node or pseudo node, and Pseudo ID is separated by a dot from sysID and by a hyphen from fragment num.

  • Page 156

    SOURCE 5555.1111.1111.00 NLPID IPV4 AREA ADDR INTF ADDR 8.8.8.5 5555.5555.5555.00 COST: 0 7777.8888.1111.01 COST: 10 5555.1111.1111.00-01 0x00000001 0x4995 1113 0/0/0 SOURCE 5555.1111.1111.00 IP-Internal 8.8.8.0 255.255.255.0 COST: 10 7777.8888.1111.00-00* 0x00000020 0xceeb 1133 0/0/0 SOURCE 7777.8888.1111.00 NLPID IPV4 AREA ADDR INTF ADDR 8.8.8.7 7777.8888.1111.01 COST: 10...

  • Page 157: Display Isis Name-table

    Field Description SOURCE System ID of the originating router. NLPID Network layer protocol the originating router runs. AREA ADDR Area address of the originating router. INTF ADDR IP address of the originating router’s IS-IS interface. INTF ADDR V6 IPv6 address of the originating router’s IS-ISv6 interface. NBR ID Neighbor ID of the originating router.

  • Page 158: Display Isis Peer

    System ID Hostname Type 6789.0000.0001 RUTA DYNAMIC 0000.0000.0041 RUTB STATIC Table 37 Command output Field Description System ID System ID. Hostname Host name. Mapping type: • Type Static. • Dynamic. display isis peer Use display isis peer to display IS-IS neighbor information. Syntax display isis peer [ statistics | verbose ] [ process-id ] Views...

  • Page 159

    System Id: 5555.1111.1111 Interface: Vlan-interface12 Circuit Id: 7777.8888.1111.01 State: Up HoldTime: Type: L2(L1L2) PRI: 64 # Display detailed IS-IS neighbor information. <Sysname> display isis peer verbose Peer information for ISIS(1) ---------------------------- System Id: 5555.1111.1111 Interface: Vlan-interface12 Circuit Id: 7777.8888.1111.01 State: Up HoldTime: Type: L1(L1L2) PRI: 64...

  • Page 160: Display Isis Redistribute

    # Display IS-IS neighbor statistics. <Sysname> display isis peer statistics Peer Statistics information for ISIS(1) --------------------------------------- Type IPv4 Up/Init IPv6 Up/Init LAN Level-1 LAN Level-2 Table 39 Command output Field Description Neighbor type: • LAN Level-1—Number of Level- 1 neighbors whose network type is broadcast. Type •...

  • Page 161: Display Isis Route

    Examples # Display redistributed IPv4 routing information. <Sysname> display isis redistribute 1 Route information for IS-IS(1) ------------------------------ Level-1 IPv4 Redistribute Table -------------------------------- Type IPv4 Destination IntCost ExtCost State -------------------------------------------------------------------------------- 192.168.30.0/24 Active 11.11.11.11/32 10.10.10.0/24 Table 40 Command output Field Description Route information for IS-IS(1) IS-IS process of the redistributed routing information.

  • Page 162

    network-operator Parameters ipv4: Displays IS-IS IPv4 routing information (the default). ip-address mask-length: Displays IS-IS IPv4 routing information for the specified IP address. The mask-length argument is in the range of 0 to 32. verbose: Displays detailed IS-IS IPv4 routing information. process-id: Displays IS-IS IPv4 routing information for an IS-IS process specified by its ID in the range of 1 to 65535.

  • Page 163

    Field Description ISIS(1) IPv4 Level-1 Forwarding Table IS-IS IPv4 routing information for Level-1. ISIS(1) IPv4 Level-2 Forwarding Table IS-IS IPv4 routing information for Level-2. IPv4 Destination IPv4 destination address. IntCost Internal cost. ExtCost External cost. ExitInterface Exit interface. NextHop Next hop. Routing state flag: •...

  • Page 164: Display Isis Statistics

    Admin Tag : - Src Count : 1 Flag : -/-/- Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set Table 42 Command output Field Description Route information for ISIS(1) Route information for IS-IS process 1. ISIS(1) IPv4 Level-1 Forwarding Table IS-IS IPv4 routing information for Level-1.

  • Page 165

    Usage guidelines If no level is specified, this command displays both Level- 1 and Level-2 routing information. If no IS-IS process ID is specified, this command displays the statistics for all IS-IS processes. Examples # Display IS-IS statistics. <Sysname> display isis statistics Statistics information for ISIS(1) ---------------------------------- Level-1 Statistics...

  • Page 166: Domain-authentication-mode

    ISIS: BGP: RIP: OSPF: Total Number: IPv6 Imported Routes: Static: 0 Direct: 0 ISISv6: 0 BGP4+: RIPng: OSPFv3: 0 Total Number: Lsp information: LSP Source ID: No. of used LSPs 7777.8888.1111 Table 43 Command output Field Description Statistics information for ISIS(processid) Statistics for the IS-IS process.

  • Page 167

    Parameters md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. gca: Specifies the generic cryptographic authentication mode. key-id: Specifies an SA by its key ID in the range of 1 to 65535. The sender puts a key ID in the authentication TLV, and the receiver uses the SA associated with the key ID to authenticate the incoming packet.

  • Page 168

    Syntax fast-reroute { auto | route-policy route-policy-name } undo fast-reroute Default IS-IS FRR is disabled. Views IS-IS view Predefined user roles network-admin Parameters auto: Calculates a backup next hop automatically for all routes. route-policy route-policy-name: Uses the specified routing policy to designate a backup next hop. The route-policy-name argument is a case-sensitive string of 1 to 63 characters.

  • Page 169

    protocol: Filters routes redistributed from the specified routing protocol, which can be bgp, direct, isis, ospf, rip, or static. If no protocol is specified, the command filters all redistributed routes. process-id: Specifies a process by its ID in the range of 1 to 65535. This argument is available only when the protocol is isis, ospf, or rip.

  • Page 170

    Views IS-IS view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter routes calculated using received LSPs. prefix-list prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes calculated using received LSPs by destination address.

  • Page 171: Flash-flood, Graceful-restart

    flash-flood Use flash-flood to enable IS-IS LSP flash flooding. Use undo flash-flood to disable IS-IS LSP flash flooding. Syntax flash-flood [ flood-count flooding-count | max-timer-interval flooding-interval | [ level-1 | level-2 ] ] * undo flash-flood [ level-1 | level-2 ] Default IS-IS LSP flash flooding is disabled.

  • Page 172: Graceful-restart Suppress-sa

    Views IS-IS view Predefined user roles network-admin Examples # Enable GR for IS-IS process 1. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] graceful-restart Related commands graceful-restart suppress-sa graceful-restart suppress-sa Use graceful-restart suppress-sa to suppress the Suppress-Advertisement (SA) bit during restart. Use undo graceful-restart suppress-sa to set the SA bit. Syntax graceful-restart suppress-sa undo graceful-restart suppress-sa...

  • Page 173: Graceful-restart T1, Graceful-restart T2

    graceful-restart t1 Use graceful-restart t1 to configure the T1 timer. Use undo graceful-restart t1 to restore the default. Syntax graceful-restart t1 seconds count count undo graceful-restart t1 Default The T1 timer is 3 seconds and can expire 10 times. Views IS-IS view Predefined user roles network-admin...

  • Page 174: Graceful-restart T3

    Default The T2 timer is 60 seconds. Views IS-IS view Predefined user roles network-admin Parameters seconds: Specifies the T2 timer in the range of 30 to 65535 seconds. Usage guidelines The T2 timer specifies the LSDB synchronization interval. Each LSDB has a T2 timer. The Level- 1 -2 router has two T2 timers: a Level- 1 timer and a Level-2 timer.

  • Page 175

    Usage guidelines The T3 timer specifies the GR interval. The GR interval is set as the holdtime in hello PDUs. Within the interval, the neighbors maintain their adjacency with the GR Restarter. If the GR process has not completed within the holdtime, the neighbors tear down the neighbor relationship and the GR process fails.

  • Page 176: Import-route Isis Level-1 Into Level-2

    cost-type { external | internal }: Specifies the cost type. The internal type indicates internal routes, and the external type indicates external routes. If external is specified, the cost of a redistributed route is added by 64 to make internal routes take priority over external routes. The type is external by default. The keywords are available only when the cost type is narrow, narrow-compatible, or compatible.

  • Page 177: Import-route Isis Level-2 Into Level-1

    Default Route advertisement from Level- 1 to Level-2 is enabled. Views IS-IS view Predefined user roles network-admin Parameters filter-policy: Specifies a filtering policy. acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter routes from Level- 1 to Level-2.

  • Page 178: Import-route Limit

    Views IS-IS view Predefined user roles network-admin Parameters filter-policy: Specifies a filtering policy. acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter routes from Level-2 to Level- 1 . prefix-list prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes from Level-2 to Level- 1 by destination address.

  • Page 179: Isis

    Predefined user roles network-admin Parameters number: Specifies the maximum number of redistributed Level 1/Level 2 IPv4 routes, in the range of 1 to 16384. Examples # Configure IS-IS process 1 to redistribute up to 1000 Level 1/Level 2 IPv4 routes. <Sysname>...

  • Page 180: Isis Authentication-mode

    isis authentication-mode Use isis authentication-mode to set the IS-IS authentication mode and password for an interface. Use undo isis authentication-mode to remove the configuration. Syntax isis authentication-mode { md5 | simple | gca key-id { hmac-sha-1 | hmac-sha-224 | hmac-sha-256 | hmac-sha-384 | hmac-sha-512 } } { cipher cipher-string | plain plain-string } [ level-1 | level-2 ] [ ip | osi ] undo isis authentication-mode [ level-1 | level-2 ]...

  • Page 181: Isis Bfd Enable

    Usage guidelines The password in the specified mode is inserted into all outbound hello packets and is used for authenticating inbound hello packets. Only if the authentication succeeds can the neighbor relationship be formed. For two routers to become neighbors, the authentication mode and password at both ends must be identical.

  • Page 182: Isis Circuit-level, Isis Circuit-type P2p

    isis circuit-level Use isis circuit-level to set the circuit level for the interface. Use undo isis circuit-level to restore the default. Syntax isis circuit-level [ level-1 | level-1-2 | level-2 ] undo isis circuit-level Default An interface can establish either the Level- 1 or Level-2 adjacency. Views Interface view Predefined user roles...

  • Page 183: Isis Cost

    Default The network type of an interface depends on the physical media. (The network type of a VLAN interface is broadcast.) Views Interface view Predefined user roles network-admin Usage guidelines Perform this configuration only for a broadcast network with only two attached routers. Interfaces with different network types operate differently.

  • Page 184: Isis Dis-name, Isis Dis-priority

    Usage guidelines If neither level-1 nor level-2 is included, the cost applies to both level-1 and level-2. Examples # Configure the Level-2 IS-IS cost as 5 for VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis cost 5 level-2 isis dis-name Use isis dis-name to configure a name for a DIS to represent the pseudo node on a broadcast network.

  • Page 185: Isis Enable

    Default The priority of Level- 1 and Level-2 is 64. Views Interface view Predefined user roles network-admin Parameters value: Specifies a DIS priority in the range of 0 to 127. level-1: Applies the DIS priority to Level- 1 . level-2: Applies the DIS priority to Level-2. Usage guidelines If neither level-1 nor level-2 is specified, the DIS priority applies to both Level- 1 and Level-2.

  • Page 186: Isis Peer-ip-ignore, Isis Silent

    Examples # Enable IS-IS process 1 globally and enable it on VLAN-interface 10. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00 [Sysname-isis-1] quit [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis enable 1 Related commands • isis network-entity • isis peer-ip-ignore Use isis peer-ip-ignore to configure a PPP interface to not check the peer's IP address in received hello packets.

  • Page 187: Isis Small-hello, Isis Timer Csnp

    undo isis silent Default An interface is not disabled from sending and receiving IS-IS packets. Views Interface view Predefined user roles network-admin Usage guidelines The feature is not supported on the loopback interface. Examples # Disable VLAN-interface 10 from sending and receiving IS-IS packets. <Sysname>...

  • Page 188: Isis Timer Hello

    Use undo isis timer csnp to remove the configuration. Syntax isis timer csnp seconds [ level-1 | level-2 ] undo isis timer csnp [ level-1 | level-2 ] Default The default CSNP interval is 10 seconds. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies on the DIS of a broadcast network the interval in seconds for sending CSNP packets,...

  • Page 189: Isis Timer Holding-multiplier

    Parameters seconds: Specifies the interval in seconds for sending hello packets, in the range of 3 to 255. level-1: Specifies the interval for sending Level- 1 hello packets. level-2: Specifies the interval for sending Level-2 hello packets. Usage guidelines Level- 1 and Level-2 hello packets are sent independently on a broadcast network, so you need to specify an interval for each level.

  • Page 190: Isis Timer Lsp

    Usage guidelines With the IS-IS hello multiplier configured, a router can uses hello packets to notify its neighbor router of the adjacency hold time (hello multiplier times hello interval). If the neighbor router does not receive any hello packets from this router within the hold time, it declares the adjacency down. You can adjust the adjacency hold time by changing the hello multiplier or the hello interval on an interface.

  • Page 191: Is-level, Ispf Enable

    Usage guidelines If a change occurs in the LSDB, IS-IS advertises the changed LSP to neighbors. You can specify the minimum interval for sending these LSPs. Configure a proper LSP retransmission interval to avoid unnecessary retransmissions. Examples # Configure the interval as 500 milliseconds for sending LSPs on interface VLAN-interface 10. <Sysname>...

  • Page 192: Is-name

    Syntax is-level { level-1 | level-1-2 | level-2 } undo is-level Default The IS level is level-1-2. Views IS-IS view Predefined user roles network-admin Parameters level-1: Specifies Level- 1 , which means IS-IS only calculates intra-area routes and maintains the Level- 1 LSDB.

  • Page 193: Is-name Map, Log-peer-change

    Parameters symbolic-name: Specifies a host name for the local IS, a case-sensitive string of 1 to 64 characters. Examples # Configure a host name for the local IS. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] is-name RUTA is-name map Use is-name map to configure a system ID to host name mapping for a remote IS. Use undo is-name map to remove the mapping.

  • Page 194: Lsp-fragments-extend

    Views IS-IS view Predefined user roles network-admin Usage guidelines This command enables sending logs about IS-IS neighbor state changes to the configuration terminal. Examples # Disable the logging of IS-IS neighbor state changes. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] undo log-peer-change lsp-fragments-extend Use lsp-fragments–extend to enable LSP fragment extension for a level.

  • Page 195: Lsp-length Originate, Lsp-length Receive

    lsp-length originate Use lsp-length originate to configure the maximum size of generated Level- 1 or Level-2 LSPs. Use undo lsp-length originate to remove the configuration. Syntax lsp-length originate size [ level-1 | level-2 ] undo lsp-length originate [ level-1 | level-2 ] Default The maximum size of generated Level- 1 and Level-2 LSPs is 1497 bytes.

  • Page 196: Maximum Load-balancing (is-is View), Network-entity

    Predefined user roles network-admin Parameters size: Specifies the maximum size of received LSPs, in the range of 512 to 16384 bytes. Examples # Configure the maximum size of received LSPs. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] lsp-length receive 1024 maximum load-balancing (IS-IS view) Use maximum load-balancing to configure the maximum number of equal-cost multi-path (ECMP) routes for load balancing.

  • Page 197

    Use undo network-entity to delete a NET. Syntax network-entity net undo network-entity net Default No NET is configured. Views IS-IS view Predefined user roles network-admin Parameters net: Specifies a NET as a dotted hexadecimal string in the X…X.XXXX..XXXX.00 format. The X…X segment represents the area address, the XXXX..XXXX segment represents the system ID, and the 00 segment is the SEL.

  • Page 198: Priority

    undo preference Default IS-IS preference is 15. Views IS-IS view Predefined user roles network-admin Parameters preference: Specifies an IS-IS protocol preference in the range of 1 to 255. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to assign a priority to the matching routes.

  • Page 199: Reset Isis All, Reset Isis Peer

    prefix-list prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. tag tag-value: Specifies a tag value in the range of 1 to 4294967295. Usage guidelines The higher the convergence priority, the faster the convergence speed. IS-IS host routes have a medium convergence priority.

  • Page 200: Set-overload

    Predefined user roles network-admin Parameters system-id: Specifies an IS-IS neighbor by its system ID. process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535 to clear data structure information for the neighbor in the specified IS-IS process. Usage guidelines Use this command when you re-establish an IS-IS neighbor relationship.

  • Page 201: Summary (is-is View)

    allow: Allows advertising address prefixes. By default, no address prefixes are allowed to be advertised when the overload bit is set. external: Allows advertising IP address prefixes redistributed from other routing protocols with the allow keyword specified. interlevel: Allows advertising IP address prefixes learned from different IS-IS levels with the allow keyword specified.

  • Page 202: Timer Lsp-generation

    level-2: Summarizes only the routes redistributed to Level-2. tag tag: Specifies a management tag in the range of 1 to 4294967295. Usage guidelines If no level is specified, only level-2 routes are summarized. If no topology is specified, routes for the base topology are summarized. You can summarize multiple contiguous networks into a single network to reduce the size of the routing table, as well as the size of LSP and LSDB generated by the router.

  • Page 203: Timer Lsp-max-age, Timer Lsp-refresh

    Usage guidelines By adjusting the LSP generation interval, you can prevent bandwidth and router resources from being over consumed due to frequent topology changes. When network changes are not frequent, the minimum-interval is adopted. If network changes become frequent, the LSP generation interval is incremented by the incremental-interval each time a generation occurs until the maximum-interval is reached.

  • Page 204: Timer Spf

    Syntax timer lsp-refresh seconds undo timer lsp-refresh Default The default LSP refresh interval is 900 seconds. Views IS-IS view Predefined user roles network-admin Parameters seconds: Specifies the LSP refresh interval in the range of 1 to 65534 seconds. Usage guidelines To refresh LSPs before they are aged out, the interval configured by the timer lsp-refresh command must be smaller than that configured by the timer lsp-max-age command.

  • Page 205: Virtual-system

    minimum-interval: Specifies the minimum SPF calculation interval in the range of 10 to 60000 milliseconds. incremental-interval: Specifies the incremental SPF calculation interval in the range of 10 to 60000 milliseconds. Usage guidelines Based on the LSDB, an IS-IS router uses the SPF algorithm to calculate a shortest path tree with itself being the root, and uses the shortest path tree to determine the next hop to a destination network.

  • Page 206: Bgp Commands, Advertise-rib-active, Aggregate

    BGP commands advertise-rib-active Use advertise-rib-active to enable BGP to advertise optimal routes in the IP routing table. Use undo advertise-rib-active to restore the default. Syntax advertise-rib-active undo advertise-rib-active Default BGP advertises optimal routes in the BGP routing table, regardless of whether they are optimal in the IP routing table.

  • Page 207

    undo aggregate ip-address { mask | mask-length } In BGP IPv6 unicast instance view: aggregate ipv6-address prefix-length [ as-set | attribute-policy route-policy-name | detail-suppressed | origin-policy route-policy-name | suppress-policy route-policy-name ] * undo aggregate ipv6-address prefix-length Default No summary route is configured. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles...

  • Page 208

    Table 44 Functions of the keywords Keywords Function Enables the summary route to carry the AS path information of all summarized routes. This feature can help avoid routing loops. However, if many routes are summarized and as-set are changed frequently, do not specify this keyword because this configuration causes the summary route to flap with the more specific routes.

  • Page 209: Balance

    <Sysname> system-view [Sysname] ip prefix-list spert deny 1.1.1.0 24 [Sysname] ip prefix-list spert permit 0.0.0.0 0 less-equal 32 [Sysname] route-policy srcrt permit node 0 [Sysname-route-policy-srcrt-0] if-match ip address prefix-list spert [Sysname-route-policy-srcrt-0] quit [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] aggregate 1.1.0.0 255.255.0.0 origin-policy srcrt # In BGP IPv4 unicast instance view, create a summary route 1.1.0.0/16 in the BGP routing table, and disable BGP to advertise the specific route 1.1.1.0/24.

  • Page 210: Bestroute As-path-neglect

    Default Load balancing is not enabled. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters number: Specifies the maximum number of BGP ECMP routes for load balancing. When it is set to 1, load balancing is disabled.

  • Page 211: Bestroute Compare-med

    undo bestroute as-path-neglect Default BGP considers the AS_PATH during best route selection. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Examples # In BGP IPv4 unicast instance view, ignore AS_PATH in route selection. <Sysname>...

  • Page 212: Bestroute Med-confederation

    With the bestroute compare-med command configured, the router puts routes received from the same AS into a group. The router then selects the route with the lowest MED from the same group, and compares routes from different groups. This mechanism avoids the above-mentioned problem. If the bestroute compare-med and balance commands are configured at the same time, the balance command does not take effect.

  • Page 213

    and the MED values of them are 2, 3, and 1. Because the third route's AS_PATH attribute contains AS number 65008 that does not belong to the confederation, BGP does not compare it with other routes. As a result, the first route becomes the optimal route. Examples # In BGP IPv4 unicast instance view, enable MED comparison for routes received from confederation peers.

  • Page 214: Compare-different-as-med

    Examples # Enable BGP, set the local AS number to 100, and enter BGP view. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] compare-different-as-med Use compare-different-as-med to enable MED comparison for routes from peers in different ASs. Use undo compare-different-as-med to disable the comparison. Syntax compare-different-as-med undo compare-different-as-med...

  • Page 215: Confederation Id

    confederation id Use confederation id to configure a confederation ID. Use undo confederation id to remove the specified confederation ID. Syntax confederation id as-number undo confederation id Default No confederation ID is configured. Views BGP view Predefined user roles network-admin Parameters as-number: Specifies an AS number that identifies the confederation, in the range of 1 to 4294967295.

  • Page 216: Confederation Nonstandard, Confederation Peer-as

    Related commands confederation nonstandard • confederation peer-as • confederation nonstandard Use confederation nonstandard to enable compatibility with routers not compliant with RFC 3065 in the confederation. Use undo confederation nonstandard to restore the default. Syntax confederation nonstandard undo confederation nonstandard Default The device is compatible with only routers compliant with RFC 3065 in the confederation.

  • Page 217: Dampening

    Default No confederation peer sub-ASs are specified. Views BGP view Predefined user roles network-admin Parameters as-number-list: Specifies a sub-AS number list. Up to 32 sub-ASs can be configured in one command line. The expression is as-number-list = as-number &<1-32>. The as-number argument specifies a sub-AS number in the range of 1 to 4294967295, and &<1-32>...

  • Page 218

    Parameters half-life-reachable: Specifies a half-life for active routes, in the range of 1 to 45 minutes. By default, the value is 15 minutes. half-life-unreachable: Specifies a half-life for suppressed routes, in the range of 1 to 45 minutes. By default, the value is 15 minutes. reuse: Specifies a reuse threshold value for suppressed routes, in the range of 1 to 20000.

  • Page 219: Default Local-preference

    default local-preference Use default local-preference to configure a default local preference. Use undo default local-preference to restore the default. Syntax default local-preference value undo default local-preference Default The default local preference is 100. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin...

  • Page 220: Default Med

    default med Use default med to specify a default MED value. Use undo default med to restore the default. Syntax default med med-value undo default med Default The default med-value is 0. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin...

  • Page 221: Default-route Imported

    default-route imported Use default-route imported to enable default route redistribution into the BGP routing table. Use undo default-route imported to restore the default. Syntax default-route imported undo default-route imported Default Default route redistribution is not enabled. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin...

  • Page 222: Display Bgp Dampening Parameter Ipv4 Unicast

    # In BGP-VPN IPv6 unicast instance view, enable default route redistribution from OSPFv3 process 1 into the IPv6 BGP routing table. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] default-route imported [Sysname-bgp-ipv6-vpn1] import-route ospfv3 1 Related commands import-route display bgp dampening parameter ipv4 unicast...

  • Page 223: Display Bgp Dampening Parameter Ipv6 Unicast

    Field Description Reuse value Reuse threshold. Related commands dampening display bgp dampening parameter ipv6 unicast Use display bgp dampening parameter ipv6 unicast to display BGP IPv6 unicast route dampening parameters. Syntax display bgp dampening parameter ipv6 [ unicast ] [ vpn-instance vpn-instance-name ] Views Any view Predefined user roles...

  • Page 224: Display Bgp Group Ipv4 Unicast

    display bgp group ipv4 unicast Use display bgp group ipv4 unicast to display BGP IPv4 unicast peer group information. Syntax display bgp group ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ group-name ] Views Any view Predefined user roles network-admin network-operator Parameters...

  • Page 225: Display Bgp Group Ipv6 Unicast

    Routing policy configured: No routing policy is configured Members: Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 1.1.1.10 0 00:00:55 Established Table 47 Command output Field Description BGP peer group Name of the BGP peer group. Remote AS AS number of the peer group. Type of the peer groups: •...

  • Page 226

    Syntax display bgp group ipv6 [ unicast ] [ vpn-instance vpn-instance-name ] [ group-name ] Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters.

  • Page 227: Display Bgp Network

    Members: Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 3::3 0 00:00:40 Established Table 48 Command output Field Description BGP peer group Name of the BGP peer group. Remote AS AS number of the peer group. Type of the peer groups: •...

  • Page 228

    Syntax display bgp network { ipv4 | ipv6 } [ unicast ] [ vpn-instance vpn-instance-name ] Views Any view Predefined user roles network-admin network-operator Parameters ipv4: Displays IPv4 address family information. ipv6: Displays IPv6 address family information. unicast: Displays IPv4 or IPv6 unicast address family information regardless of whether this keyword is specified or not.

  • Page 229: Display Bgp Paths

    Network Mask Route-policy Short-cut 50.1.1.0 255.255.255.0 40.1.1.0 255.255.255.0 Table 49 Command output Field Description Destination network address of the routes advertised by the Network network command and the shortcut routes. Mask Mask of the destination network address. PrefixLen Prefix length of the destination network address. Route-policy Routing policy that is applied to the route.

  • Page 230: Display Bgp Peer Ipv4 Unicast

    Table 50 Command output Field Description RefCount Number of BGP routes with these path attributes. MED attribute value. AS_PATH and ORIGIN attributes of the route: • AS_PATH attribute—Records the ASs the route has passed to avoid routing loops. • ORIGIN attribute—Identifies the origin of the route: Path/Origin i—Originated in the AS.

  • Page 231: Field Description

    BGP local router ID: 192.168.100.1 Local AS number: 100 Total number of peers: 1 Peers in established state: 1 Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 10.2.1.2 0 00:10:34 Established Table 51 Command output Field Description Peer IP address of the peer. AS number of the peer.

  • Page 232

    Peer Preferred Value: 0 BFD: Enabled Routing policy configured: No routing policy is configured Table 52 Command output Field Description Peer IP address of the peer. Local Local router ID. BGP connection type between the local router and the peer: •...

  • Page 233: Display Bgp Peer Ipv6 Unicast

    Field Description Routing policy configured for the peer. Routing policy configured If no routing policy is specified, this field displays No routing policy is configured. # Display log information about BGP IPv4 unicast peer 1.1.1.1 for the public network. <Sysname> display bgp peer ipv4 1.1.1.1 log-info Peer : 1.1.1.1 Date Time...

  • Page 234

    Views Any view Predefined user roles network-admin network-operator Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. ipv6-address: Specifies a peer by its IPv6 address. log-info: Displays log information. verbose: Displays detailed information. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters.

  • Page 235

    <Sysname> display bgp peer ipv6 1::2 verbose Peer: 1::2 Local: 192.168.1.136 Type: EBGP link BGP version 4, remote router ID 192.168.1.135 BGP current state: Established, Up for 00h05m48s BGP current event: RecvKeepalive BGP last state: OpenConfirm Port: Local - 13184 Remote - 179 Configured: Active Hold Time: 180 sec Keepalive Time: 60 sec...

  • Page 236

    Field Description Timer configured on the local router in seconds, including the holdtime Configured (Active Hold Time) and keepalive interval (Keepalive Time). Received timer (configured on the peer) in seconds, including the Received holdtime (Active Hold Time). Negotiated timer in seconds, including the holdtime (Active Hold Time) Negotiated and keepalive interval (Keepalive Time).

  • Page 237: Display Bgp Routing-table Dampened Ipv4 Unicast

    Field Description BGP session state: • State Up—The BGP session is in Established state. • Down—The BGP session is down. Error code of the Notification, indicating the cause of why the BGP session is down. • Notification Error—Refers to the error code, which identifies the type of the Notification. Error/SubError •...

  • Page 238: Display Bgp Routing-table Dampened Ipv6 Unicast

    Table 57 Command output Field Description Status codes: • * – valid—Valid route. • > – best—Best route. • d – damped—Dampened route. • Status codes h – history—History route. • s – suppressed—Suppressed route. • S – Stale—Stale route. •...

  • Page 239

    Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the command displays dampened BGP IPv6 unicast routes for the public network. Usage guidelines The command with the unicast keyword has the same effect as that without the unicast keyword. Examples # Display dampened BGP IPv6 unicast routes.

  • Page 240: Display Bgp Routing-table Flap-info Ipv4 Unicast

    Related commands dampening • • reset bgp dampening ipv6 unicast display bgp routing-table flap-info ipv4 unicast Use display bgp routing-table flap-info ipv4 unicast to display BGP IPv4 unicast route flap statistics. Syntax display bgp routing-table flap-info ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ network-address [ { mask | mask-length } [ longest-match ] ] | as-path-acl as-path-acl-number ] Views Any view...

  • Page 241

    Examples # Display BGP IPv4 unicast route flap statistics for the public network. <Sysname> display bgp routing-table flap-info ipv4 Total number of routes: 1 BGP local router ID is 192.168.1.135 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete Network...

  • Page 242: Display Bgp Routing-table Flap-info Ipv6 Unicast

    display bgp routing-table flap-info ipv6 unicast Use display bgp routing-table flap-info ipv6 unicast to display BGP IPv6 unicast route flap statistics. Syntax display bgp routing-table flap-info ipv6 [ unicast ] [ vpn-instance vpn-instance-name ] [ network-address [ network-address prefix-length | as-path-acl as-path-acl-number ] Views Any view Predefined user roles...

  • Page 243: Display Bgp Routing-table Ipv4 Unicast

    Table 60 Command output Field Description Status codes: • * – valid—Valid route. • > – best—Best route. • d – damped—Dampened route. • Status codes h – history—History route. • s – suppressed—Suppressed route. • S – Stale—Stale route. •...

  • Page 244

    network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the command displays the BGP IPv4 unicast routing information for the public network. network-address: Specifies a destination network address. mask: Specifies a network mask, in dotted decimal notation.

  • Page 245

    Table 61 Command output Field Description Status codes: • * – valid—Valid route. • > – best—Best route. • d – damped—Dampened route. • Status codes h – history—History route. • s – suppressed—Suppressed route. • S – Stale—Stale route. •...

  • Page 246: Display Bgp Routing-table Ipv4 Unicast Advertise-info

    Relay nexthop : not resolved Original nexthop: 10.2.1.2 OutLabel : NULL AS-path : 200 Origin : igp Attribute value : MED 0, pref-val 0, pre 255 State : external, Table 62 Command output Field Description Number of routes: • Paths available—Number of valid routes.

  • Page 247

    Syntax display bgp routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] network-address [ mask | mask-length ] advertise-info Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters.

  • Page 248: Display Bgp Routing-table Ipv4 Unicast As-path-acl

    Field Description Advertised to peers (1 in total) Peers to which the route has been advertised and the number of peers. display bgp routing-table ipv4 unicast as-path-acl Use display bgp routing-table ipv4 unicast as-path-acl to display BGP IPv4 unicast routes permitted by an AS path list.

  • Page 249: Display Bgp Routing-table Ipv4 Unicast Community-list

    display bgp routing-table ipv4 unicast community-list Use display bgp routing-table ipv4 unicast community-list to display BGP IPv4 unicast routing information matching the specified BGP community list. Syntax display bgp routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } Views Any view Predefined user roles...

  • Page 250: Display Bgp Routing-table Ipv4 Unicast Peer

    display bgp routing-table ipv4 unicast peer Use display bgp routing-table ipv4 unicast peer to display BGP IPv4 unicast routing information advertised to or received from the specified BGP peer. Syntax display bgp routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] peer ip-address { advertised-routes | received-routes } [ network-address [ mask | mask-length ] | statistics ] Views Any view...

  • Page 251: Display Bgp Routing-table Ipv4 Unicast Statistics

    Status codes: * - valid, > - best, d - damped, h - history, s - suppressed, S - Stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete Network NextHop LocPrf PrefVal Path/Ogn >...

  • Page 252: Display Bgp Routing-table Ipv6 Unicast

    Views Any view Predefined user roles network-admin network-operator Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the command displays the BGP IPv4 unicast route statistics for the public network.

  • Page 253

    Examples # Display brief information about all BGP IPv6 unicast routes for the public network. <Sysname> display bgp routing-table ipv6 Total number of routes: 1 BGP local router ID is 192.168.1.136 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete >e Network : 3::...

  • Page 254

    # Display detailed information about BGP IPv6 unicast routes destined to network 2::/64 for the public network. <Sysname> display bgp routing-table ipv6 2:: 64 BGP local router ID: 192.168.1.135 Local AS number: 200 Paths: 1 available, 1 best From : 1::1 (192.168.1.136) Relay nexthop : 1::1 Original nexthop: 1::1...

  • Page 255: Display Bgp Routing-table Ipv6 Unicast As-path-acl

    Field Description From IP address of BGP peer that advertised the route. Next hop found by route recursion. If no next hop is found, this field Relay Nexthop displays not resolved. # Display advertisement information about BGP IPv6 unicast routes destined to network 2::/64 for the public network.

  • Page 256: Display Bgp Routing-table Ipv6 Unicast Community-list

    Usage guidelines The command with the unicast keyword has the same effect as that without the unicast keyword. Examples # Display BGP IPv6 unicast routes permitted by AS path list 1. <Sysname> display bgp routing-table ipv6 as-path-acl 1 Total number of routes: 2 BGP local router ID is 192.168.1.136 Status codes: * - valid, >...

  • Page 257: Display Bgp Routing-table Ipv6 Unicast Peer

    Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the command displays BGP IPv6 unicast routing information matching the specified BGP community list for the public network. basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99.

  • Page 258

    Syntax display bgp routing-table ipv6 [ unicast ] peer ipv6-address { advertised-routes | received-routes } [ network-address prefix-length | statistics ] display bgp routing-table ipv6 [ unicast ] vpn-instance vpn-instance-name peer ipv6-address { advertised-routes | received-routes } [ network-address prefix-length | statistics ] Views Any view Predefined user roles...

  • Page 259: Display Bgp Routing-table Ipv6 Unicast Statistics

    BGP local router ID is 192.168.1.135 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete >e Network : 2:: PrefixLen : 64 NextHop : ::FFFF:10.1.1.1...

  • Page 260: Ebgp-interface-sensitive, Filter-policy Export

    Examples # Display statistics of BGP IPv6 unicast routes. <Sysname> display bgp routing-table ipv6 statistics Total number of routes: 4 ebgp-interface-sensitive Use ebgp-interface-sensitive to enable quick reestablishment of direct EBGP sessions. Use undo ebgp-interface-sensitive to disable the function. Syntax ebgp-interface-sensitive undo ebgp-interface-sensitive Default Quick reestablishment of direct EBGP sessions is enabled.

  • Page 261

    filter-policy { acl6-number | prefix-list ipv6-prefix-name } export [ protocol process-id ] undo filter-policy { acl6-number | prefix-list ipv6-prefix-name } export [ protocol process-id ] Default No outbound routing information is filtered. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin...

  • Page 262

    Examples # In BGP IPv4 unicast instance view, use ACL 2000 to filter outbound BGP routes. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] filter-policy 2000 export # In BGP-VPN IPv6 unicast instance view, use ACL6 2000 to filter outbound BGP routes. <Sysname>...

  • Page 263

    Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to match routes by destination. acl6-number: Specifies an ACL6 by its number in the range of 2000 to 3999 to match routes by destination.

  • Page 264

    [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] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] filter-policy 3000 import Related commands • filter-policy export peer as-path-acl • peer filter-policy • peer prefix-list •...

  • Page 265: Graceful-restart Timer Restart, Graceful-restart Timer Wait-for-rib

    graceful-restart timer restart Use graceful-restart timer restart to configure the GR timer. Use undo graceful-restart timer restart to restore the default. Syntax graceful-restart timer restart timer undo graceful-restart timer restart Default The GR timer is 150 seconds. Views BGP view Predefined user roles network-admin Parameters...

  • Page 266: Group

    Default The time to wait for the End-of-RIB marker is 180 seconds. Views BGP view Predefined user roles network-admin Parameters timer: Specifies the time to wait for the End-of-RIB marker, in the range of 3 to 300 seconds. Usage guidelines BGP uses this timer to control the time to receive updates from the peer.

  • Page 267

    Predefined user roles network-admin Parameters group-name: Specifies a name for the peer group, a case-sensitive string of 1 to 47 characters. external: Creates an EBGP peer group. internal: Creates an IBGP peer group. Usage guidelines In a large-scale network, many peers can use the same route selection policy. You can configure a peer group and add these peers into this group.

  • Page 268: Ignore-first-as, Import-route

    [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] group test external [Sysname-bgp-vpn1] peer test as-number 200 [Sysname-bgp-vpn1] peer 1::1 group test [Sysname-bgp-vpn1] peer 1::2 group test Related commands • display bgp group ipv4 unicast display bgp group ipv6 unicast • peer enable •...

  • Page 269

    In BGP IPv6 unicast instance view/BGP-VPN IPv6 unicast instance view: import-route protocol [ process-id [ med med-value | route-policy route-policy-name ] * ] undo import-route protocol [ process-id ] Default BGP does not redistribute IGP routes. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin...

  • Page 270: Ip Vpn-instance (bgp View)

    [Sysname] route-policy imprt permit node 0 [Sysname-route-policy-imprt-0] if-match ip address prefix-list imprt [Sysname-route-policy-imprt-0] quit [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv4-family unicast [Sysname-bgp-ipv4-vpn1] import-route rip 1 route-policy imprt # In BGP IPv6 unicast instance view, redistribute routes from RIP process 1. <Sysname>...

  • Page 271: Ipv4-family

    Before you execute this command, use the ip vpn-instance command to create the VPN instance in system view, and use the route-distinguisher command to configure a route distinguisher (RD) for the VPN instance. Examples # Enter BGP-VPN instance view of VPN instance vpn1. <Sysname>...

  • Page 272: Ipv6-family

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] # In BGP-VPN instance view, create and enter BGP-VPN IPv4 unicast instance view. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv4-family unicast [Sysname-bgp-ipv4-vpn1] ipv6-family Use ipv6-family to create and enter BGP IPv6 unicast instance view or BGP-VPN IPv6 unicast instance view.

  • Page 273: Log-peer-change, Network

    [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] log-peer-change Use log-peer-change to enable the logging of session state changes globally. Use undo log-peer-change to disable the function. Syntax log-peer-change undo log-peer-change Default Logging of session state changes is enabled globally. Views BGP view Predefined user roles...

  • Page 274

    network ipv6-address prefix-length [ route-policy route-policy-name ] undo network ipv6-address prefix-length Default BGP does not advertise any local network. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters...

  • Page 275: Network Short-cut

    # In BGP-VPN IPv6 unicast instance view, inject local network 2002::/64 to the IPv6 BGP routing table. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] network 2002:: 64 network short-cut Use network short-cut to increase the preference for a received EBGP route. This EBGP route is called shortcut route.

  • Page 276: Peer Advertise-community

    You can use the preference command to modify the preferences for external and local BGP routes. Examples # In BGP IPv4 unicast instance view, increase the preference of EBGP route 10.0.0.0/16. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] network 10.0.0.0 255.255.0.0 short-cut # In BGP-VPN IPv6 unicast instance view, increase the preference of EBGP route 10::/16.

  • Page 277: Peer Advertise-ext-community

    Usage guidelines The COMMUNITY attribute is a group of specific data carried in update messages. A route can carry one or more COMMUNITY attribute values (each is represented by a 4-byte integer). The receiving router processes the route (for example, determining whether to advertise the route and the scope for advertising the route) based on the COMMUNITY attribute values.

  • Page 278

    peer { group-name | ipv6-address } advertise-ext-community undo peer { group-name | ipv6-address } advertise-ext-community Default No extended community attribute is advertised to a peer or peer group. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Parameters...

  • Page 279: Peer Allow-as-loop

    Related commands apply extcommunity • if-match extcommunity • • ip extcommunity-list peer allow-as-loop Use peer allow-as-loop to allow a local AS number to exist in the AS_PATH attribute of routes from a peer or peer group, and to configure the number of times the local AS number can appear. Use undo peer allow-as-loop to restore the default.

  • Page 280: Peer As-number (for A Bgp Peer)

    for example), the AS_PATH attribute of a route from a peer must be allowed to contain the local AS number. Otherwise, the route cannot be advertised correctly. Examples # In BGP IPv4 unicast instance view, configure the number of times the local AS number can appear in AS_PATH attribute of routes from peer group test as 2.

  • Page 281: Peer As-number (for A Bgp Peer Group)

    After you create a peer, you must use the peer enable command to enable BGP to exchange routing information with the specified peer. Examples # In BGP view, create BGP peer 1.1.1.1 and specify its AS number as 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 # In BGP-VPN instance view, create BGP peer 1::1 and specify its AS number as 100.

  • Page 282: Peer As-path-acl

    If you have specified no AS number for a peer group, peers added to it can use their own AS • numbers. Examples # In BGP view, specify the AS number for peer group test as 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test as-number 100 # In BGP-VPN instance view, specify the AS number for peer group test as 100.

  • Page 283: Peer Bfd

    import: Filters incoming routes. Usage guidelines The specified AS path list must have been created with the ip as-path command in system view. Otherwise, all routes can pass the AS path list. Examples # In BGP IPv4 unicast instance view, specify the AS path list 1 to filter routes outgoing to the peer group test.

  • Page 284: Peer Capability-advertise Conventional

    Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. Usage guidelines BFD helps speed up BGP routing convergence upon link failures.

  • Page 285

    Syntax peer { group-name | ip-address | ipv6-address } capability-advertise conventional undo peer { group-name | ip-address | ipv6-address } capability-advertise conventional Default BGP multi-protocol extension and route refresh are enabled. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters.

  • Page 286: Peer Capability-advertise Route-refresh

    peer capability-advertise route-refresh Use peer capability-advertise route-refresh to enable BGP route refresh for a specified peer or peer group. Use undo peer capability-advertise route-refresh to disable the function. Syntax peer { group-name | ip-address | ipv6-address } capability-advertise route-refresh undo peer { group-name | ip-address | ipv6-address } capability-advertise route-refresh Default BGP route refresh is enabled.

  • Page 287: Peer Capability-advertise Suppress-4-byte-as

    Related commands display bgp peer ipv4 unicast • display bgp peer ipv6 unicast • • peer capability-advertise conventional peer keep-all-routes • refresh bgp ipv4 unicast • refresh bgp ipv6 unicast • peer capability-advertise suppress-4-byte-as Use peer capability-advertise suppress-4-byte-as to enable 4-byte AS number suppression. Use undo peer capability-advertise suppress-4-byte-as to disable the function.

  • Page 288: Peer Connect-interface

    [Sysname-bgp] peer 1.1.1.1 capability-advertise suppress-4-byte-as # In BGP-VPN instance view, enable 4-byte AS number suppression for peer 1.1.1.1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer 1.1.1.1 as-number 200 [Sysname-bgp-vpn1] peer 1.1.1.1 capability-advertise suppress-4-byte-as Related commands display bgp peer ipv4 unicast •...

  • Page 289: Peer Default-route-advertise

    If a BGP router has multiple links to a peer, and the source interface fails, BGP has to reestablish TCP connections, causing network oscillation. To improve link availability, HP recommends that you use a loopback interface as the source interface. To establish multiple BGP sessions between two routers, specify the source interface for establishing TCP connections to each peer on the local router.

  • Page 290: Peer Description

    Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address.

  • Page 291: Peer Ebgp-max-hop

    Default No description information is configured for a peer or peer group. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created.

  • Page 292: Peer Enable

    Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. hop-count: Specifies the maximum number of hop counts, in the range of 1 to 255.

  • Page 293

    Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view, BGP-VPN IPv6 unicast instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created.

  • Page 294: Peer Fake-as

    [Sysname-bgp] ipv6-family unicast [Sysname-bgp-ipv6] peer 1::1 enable # In BGP-VPN IPv6 unicast instance view, enable BGP to exchange IPv6 unicast routing information with peer 1::1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] peer 1::1 enable Related commands •...

  • Page 295: Peer Filter-policy

    Examples # In BGP view, advertise a fake AS number of 200 to the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test fake-as 200 # In BGP-VPN instance view, advertise a fake AS number of 200 to the peer group test. <Sysname>...

  • Page 296: Peer Group

    export: Filters routes advertised to the peer/peer group. import: Filters routes received from the peer/peer group. Usage guidelines The specified ACL referenced by the peer filter-policy command must have been created with the acl command in system view. Otherwise, all routes can pass the ACL. If you use a basic ACL (with a number from 2000 to 2999) configured with the rule [ rule-id ] { deny | permit } source source-address source-wildcard command, the command matches whose destination network addresses match the source-address source-wildcard argument without matching the masks of...

  • Page 297

    undo peer { ip-address | ipv6-address } group group-name Default No peer exists in a peer group. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters ip-address: Specifies a peer by its IP address. ipv6-address: Specifies a peer by its IPv6 address. group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters.

  • Page 298: Peer Ignore

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] group test external [Sysname-bgp] peer 10.1.1.1 group test as-number 2004 # In BGP-VPN instance view, add peer 10.1.1.1 to the EBGP peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] group test external [Sysname-bgp-vpn1] peer 10.1.1.1 group test as-number 2004 # In BGP view, add peer 1::1 to the EBGP peer group test.

  • Page 299: Peer Keep-all-routes

    ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. Usage guidelines This command enables you to temporarily tear down the BGP session to a specific peer or peer group so that you can perform network upgrade and maintenance without needing to delete and reconfigure the peer or peer group.

  • Page 300: Peer Low-memory-exempt

    Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. Usage guidelines To implement BGP session soft-reset when the local router and a peer or peer group do not support the route refresh function, use the peer keep-all-routes command to save all route updates received from the...

  • Page 301: Peer Next-hop-local

    Default When the memory usage reaches level 2 threshold, BGP tears down an EBGP session to release memory resources periodically. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created.

  • Page 302: Peer Password

    In BGP IPv6 unicast instance view: peer { group-name | ipv6-address } next-hop-local undo peer { group-name | ipv6-address } next-hop-local Default The router sets itself as the next hop for routes sent to an EBGP peer or peer group, but does not set itself as the next hop for routes sent to an IBGP peer or peer group.

  • Page 303

    Syntax peer { group-name | ip-address | ipv6-address } password { cipher | simple } password undo peer { group-name | ip-address | ipv6-address } password Default MD5 authentication is not configured for any BGP peer. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters...

  • Page 304: Peer Preferred-value

    <Sysname> system-view [Sysname] bgp 200 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer 10.1.100.1 password simple aabbcc peer preferred-value Use peer preferred-value to specify a preferred value for routes received from a peer or peer group. Use undo peer preferred-value to restore the default. Syntax In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view: peer { group-name | ip-address } preferred-value value...

  • Page 305: Peer Prefix-list

    You can also use the apply preferred-value command in a routing policy to configure the preferred value for BGP routes. If both the peer preferred-value and apply preferred-value commands are configured, the apply preferred-value command applies. If the preferred value set by the apply preferred-value command is 0 or no routing policy is configured, the peer preferred-value command applies.

  • Page 306: Peer Public-as-only

    Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IPv4 address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address.

  • Page 307

    Use undo peer public-as-only to restore the default. Syntax In BGP IPv4 unicast instance view/BGP-VPN IPv4 unicast instance view: peer { group-name | ip-address } public-as-only undo peer { group-name | ip-address } public-as-only In BGP IPv6 unicast instance view: peer { group-name | ipv6-address } public-as-only undo peer { group-name | ipv6-address } public-as-only In BGP-VPN IPv6 unicast instance view:...

  • Page 308: Peer Reflect-client

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] peer test public-as-only # In BGP-VPN IPv6 unicast instance view, remove private AS numbers in BGP updates sent to EBGP peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] peer test public-as-only peer reflect-client...

  • Page 309: Peer Route-limit

    Examples # In BGP IPv4 unicast instance view, configure the local device as a route reflector and specify the IBGP peer group test as a client. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family unicast [Sysname-bgp-ipv4] peer test reflect-client # In BGP-VPN IPv6 unicast instance view, configure the local device as a route reflector and specify the IBGP peer group test as a client.

  • Page 310: Peer Route-policy

    ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. prefix-number: Specifies the number of routes that can be received from the peer or peer group. The value range is 1 to 4294967295.

  • Page 311

    peer { group-name | ip-address } route-policy route-policy-name { export | import } undo peer { group-name | ip-address } route-policy route-policy-name { export | import } In BGP IPv6 unicast instance view: peer { group-name | ipv6-address } route-policy route-policy-name { export | import } undo peer { group-name | ipv6-address } route-policy route-policy-name { export | import } In BGP-VPN IPv6 unicast instance view: peer { group-name | ipv6-address } route-policy route-policy-name { export | import }...

  • Page 312: Peer Route-update-interval

    [Sysname-bgp-vpn1] ipv6-family unicast [Sysname-bgp-ipv6-vpn1] peer test route-policy test-policy export Related commands filter-policy export • filter-policy import • peer as-path-acl • peer filter-policy • • peer prefix-list route-policy • peer route-update-interval Use peer route-update-interval to specify an interval for sending the same update to a peer or peer group.

  • Page 313: Peer Substitute-as

    [Sysname-bgp] peer test as-number 100 [Sysname-bgp] peer test route-update-interval 10 # In BGP-VPN instance view, specify the interval for sending the same update to peer group test as 10 seconds. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer test route-update-interval 10 peer substitute-as Use peer substitute-as to replace the AS number of a peer or peer group in the AS_PATH attribute with the local AS number.

  • Page 314: Peer Timer

    [Sysname-bgp-vpn1] peer 1::1 substitute-as peer timer Use peer timer to configure a keepalive interval and holdtime for a peer or peer group. Use undo peer timer to restore the default. Syntax peer { group-name | ip-address | ipv6-address } timer keepalive keepalive hold holdtime undo peer { group-name | ip-address | ipv6-address } timer Default The keepalive interval is 60 seconds, and the holdtime is 180 seconds.

  • Page 315

    [Sysname-bgp] peer test timer keepalive 60 hold 180 # In BGP-VPN instance view, configure the keepalive interval and holdtime interval for peer group test as 60s and 180s. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer test timer keepalive 60 hold 180 # In BGP view, configure both the keepalive interval and holdtime for peer group test as 0 seconds, indicating the session will never time out.

  • Page 316: Reflect Between-clients

    route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to set the route preference for matching routes. Routes not matching the routing policy use the default preference. Usage guidelines Different routing protocols might find different routes to the same destination. However, not all of those routes are optimal.

  • Page 317: Reflector Cluster-id

    Default Route reflection between clients is enabled. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Usage guidelines When a route reflector is configured, and the clients of a route reflector are fully meshed, route reflection is unnecessary because it consumes more bandwidth resources.

  • Page 318

    Default A route reflector uses its router ID as the cluster ID. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view, BGP IPv6 unicast instance view Predefined user roles network-admin Parameters cluster-id: Specifies the cluster ID in the format of an integer, in the range of 1 to 4294967295. ip-address: Specifies the cluster ID in the format of an IPv4 address in dotted decimal notation.

  • Page 319: Refresh Bgp Ipv4 Unicast

    refresh bgp ipv4 unicast Use refresh bgp ipv4 unicast to manually soft-reset BGP sessions for the IPv4 unicast address family. Syntax refresh bgp { ip-address | all | external | group group-name | internal } { export | import } ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] Views User view...

  • Page 320: Refresh Bgp Ipv6 Unicast

    peer keep-all-routes • refresh bgp ipv6 unicast Use refresh bgp ipv6 unicast to manually soft-reset BGP sessions for the IPv6 unicast address family. Syntax refresh bgp { ipv6-address | all | external | group group-name | internal } { export | import } ipv6 [ unicast ] [ vpn-instance vpn-instance-name ] Views User view...

  • Page 321: Reset Bgp All, Reset Bgp Dampening Ipv4 Unicast

    Related commands peer capability-advertise route-refresh • peer keep-all-routes • reset bgp all Use reset bgp all to reset all BGP sessions. Syntax reset bgp all Views User view Predefined user roles network-admin Usage guidelines To validate a new route selection policy, use this command to reset BGP sessions. BGP re-establishes the BGP sessions, advertises routes, and applies the new policy to routes.

  • Page 322: Reset Bgp Dampening Ipv6 Unicast

    Usage guidelines When you execute the reset bgp dampening ipv4 unicast command: If the network-address, mask, and mask-length arguments are not specified, the command clears all • BGP IPv4 unicast route dampening information of the public network or the specified VPN, and releases all suppressed BGP IPv4 unicast routes.

  • Page 323: Reset Bgp Flap-info Ipv4 Unicast

    Examples # Clear damping information of BGP IPv6 unicast route 2345::/16 for the public network, and release the suppressed route. <Sysname> reset bgp dampening ipv6 2345:: 16 Related commands • dampening display bgp routing-table dampened ipv6 unicast • reset bgp flap-info ipv4 unicast Use reset bgp flap-info ipv4 unicast to clear the flap statistics of BGP IPv4 unicast routes.

  • Page 324: Reset Bgp Flap-info Ipv6 Unicast, Reset Bgp Ipv4 Unicast

    <Sysname> reset bgp flap-info ipv4 20.1.0.0 16 # Clear the flap statistics for the public network BGP IPv4 unicast routes learned from peer 1.1.1.1. <Sysname> reset bgp flap-info ipv4 peer 1.1.1.1 Related commands • dampening display bgp routing-table flap-info ipv4 unicast •...

  • Page 325: Reset Bgp Ipv6 Unicast

    Syntax reset bgp { as-number | ip-address | all | external | group group-name | internal } ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] Views User view Predefined user roles network-admin Parameters as-number: Resets BGP sessions to peers in the AS. ip-address: Specifies the IP address of a peer with which to reset the session.

  • Page 326: Router Id (system View)

    all: Resets all BGP sessions of IPv6 unicast address family. external: Resets all the EBGP sessions of IPv6 unicast address family. group group-name: Resets sessions with peers in the specified BGP peer group. internal: Resets all the IBGP sessions of IPv6 unicast address family. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN by its name, a case-sensitive string of 1 to 31 characters.

  • Page 327: Router-id (bgp View, Bgp-vpn Instance View)

    After a router ID is changed, use the reset command to make it effective. Examples # Configure a global router ID as 1.1.1.1. <Sysname> system-view [Sysname] router id 1.1.1.1 Related commands router-id (BGP view, BGP-VPN instance view) router-id (BGP view, BGP-VPN instance view) Use router-id to specify a router ID for BGP or for a BGP VPN instance.

  • Page 328: Summary Automatic, Timer

    Related commands router id (system view) summary automatic Use summary automatic to configure automatic route summarization for redistributed IGP subnet routes. Use undo summary automatic to remove the configuration. Syntax summary automatic undo summary automatic Default Automatic route summarization is not performed for redistributed IGP subnet routes. Views BGP IPv4 unicast instance view, BGP-VPN IPv4 unicast instance view Predefined user roles...

  • Page 329

    Use undo timer to restore the default. Syntax timer keepalive keepalive hold holdtime undo timer Default The BGP keepalive interval and the holdtime are 60 seconds and 180 seconds. Views BGP view, BGP-VPN instance view Predefined user roles network-admin Parameters keepalive keepalive: Configures a keepalive interval in the range of 0 to 21845 seconds.

  • Page 330

    # In BGP view, configure both the keepalive interval and holdtime as 0 seconds, indicating the sessions will never time out. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] timer keepalive 0 hold 0 # In BGP-VPN instance view, configure both the keepalive interval and holdtime as 0 seconds for BGP sessions in vpn1, indicating the sessions will never time out.

  • Page 331: Policy-based Routing Commands, Apply Next-hop

    Policy-based routing commands apply next-hop Use apply next-hop to set a next hop. Use undo apply next-hop to remove the configuration. Syntax apply next-hop vpn-instance vpn-instance-name ip-address direct track track-entry-number ] }&<1-n> undo apply next-hop [ [ vpn-instance vpn-instance-name ] { ip-address }&<1-n> ] Default No next hop is set.

  • Page 332: Display Ip Policy-based-route, Display Ip Policy-based-route Interface

    display ip policy-based-route Use display ip policy-based-route to display PBR policy information. Syntax display ip policy-based-route [ policy policy-name ] Views Any view Predefined user roles network-admin network-operator Parameters policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. Usage guidelines If no policy is specified, this command displays information about all policies.

  • Page 333

    Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. slot slot-number: Displays the PBR configuration and statistics on an IRF member device. The slot-number argument is the ID of the IRF member device. Examples # Display PBR configuration and statistics on VLAN-interface 1 1.

  • Page 334: Display Ip Policy-based-route Setup

    Table 70 Command output Field Description PBR configuration and statistics on VLAN-interface 11. failed indicates that the policy (including all its nodes) failed to be Policy based routing information for assigned to the driver. interface Vlan-interface11(failed) For a global interface (with only a one-dimensional interface number, for example, VLAN-interface 11), failed can be displayed only when you specify the slot slot-number option for the command.

  • Page 335: If-match Acl, Ip Policy-based-route

    pr01 Vlan-interface11 Table 71 Command output Field Description Interface Name Interface where the policy is applied. Related commands ip policy-based-route if-match acl Use if-match acl to configure an ACL match criterion. Use undo if-match acl to remove the ACL match criterion. Syntax if-match acl acl-number undo if-match acl...

  • Page 336: Policy-based-route

    Views Interface view Predefined user roles network-admin Parameters policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified policy must already exist. Usage guidelines You can apply only one policy to an interface. Before you apply a new policy, you must first remove the current policy from the interface.

  • Page 337: Reset Ip Policy-based-route Statistics

    Usage guidelines If the specified policy node already exists, the command directly places you into policy node view. A policy that has been applied to an interface cannot be removed. To remove it, you must first cancel the application. If a policy node is specified, the undo policy-based-route command removes the specified policy node; if a match mode is specified, the command removes all nodes configured with the match mode;...

  • Page 338: Ipv6 Static Routing Commands, Delete Ipv6 Static-routes All, Ipv6 Route-static

    IPv6 static routing commands delete ipv6 static-routes all Use delete ipv6 static-routes all to delete all IPv6 static routes. Syntax delete ipv6 [ vpn-instance vpn-instance-name ] static-routes all Views System view Default level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

  • Page 339

    ipv6 route-static vpn-instance s-vpn-instance-name ipv6-address prefix-length { interface-type interface-number [ next-hop-address ] [ bfd { control-packet | echo-packet } | permanent ] | next-hop-address [ public ] [ bfd control-packet bfd-source ip-address | permanent ] | vpn-instance d-vpn-instance-name next-hop-address [ bfd control-packet bfd-source ip-address | permanent ] } [ preference preference-value ] [ tag tag-value ] [ description description-text ] undo ipv6 route-static vpn-instance s-vpn-instance-name ipv6-address prefix-length [ interface-type interface-number [ next-hop-address ] | next-hop-address [ public ] | vpn-instance d-vpn-instance-name...

  • Page 340: Ipv6 Route-static Default-preference

    Usage guidelines An IPv6 static route that has the destination address configured as ::/0 (a prefix length of 0) is the default IPv6 route. If the destination address of an IPv6 packet does not match any entry in the routing table, this default route is used to forward the packet.

  • Page 341

    Related commands display ipv6 routing-table protocol...

  • Page 342: Ripng Commands, Checkzero, Default Cost

    RIPng commands checkzero Use checkzero to enable the zero field check on RIPng packets. Use undo checkzero to disable the zero field check. Syntax checkzero undo checkzero Default The zero field check function is enabled. Views RIPng view Predefined user roles network-admin Usage guidelines Some fields in RIPng packet headers must be zero.

  • Page 343: Display Ripng

    Predefined user roles network-admin Parameters value: Specifies a default metric for redistributed routes, in the range of 0 to 16. Usage guidelines When you use the import-route command to redistribute routes from another routing protocol without specifying a metric, the metric specified by the default cost command applies. Examples # Configure a default metric of 2 for redistributed routes.

  • Page 344: Display Ripng Database

    Number of trigger updates sent: 1 Table 72 Command output Field Description Public VPN-instance name/Private VPN-instance The RIPng process runs under a public VPN instance or name a specific VPN instance. RIPng process RIPng process ID. Preference RIPng preference. Indicates whether zero field check for RIPng packet Checkzero headers is enabled.

  • Page 345: Display Ripng Interface

    Table 73 Command output Field Description cost Route metric value. imported Indicates the route is redistributed from another routing protocol. RIPng-interface Route learned from the interface. Next hop IPv6 address. display ripng interface Use display ripng interface to display interface information for a RIPng process. Syntax display ripng process-id interface [ interface-type interface-number ] Views...

  • Page 346: Display Ripng Route

    Field Description Indicates whether the poison reverse function is enabled: • Poison-reverse On—Enabled. • Off—Disabled. MetricIn/MetricOut Additional metric to incoming and outgoing routes. • Only—The interface advertises only a default route. • Originate—The interface advertises a default route and other RIPng routes. Default route •...

  • Page 347

    Field Description G–Garbage-collect The route is in Garbage-collect state. Peer Neighbor connected to the interface. Destination IPv6 destination address. Next hop IPv6 address. cost Routing metric value. Route tag. secs Time a route entry has stayed in the current state. filter-policy export Use filter-policy export to configure RIPng to filter redistributed routes.

  • Page 348

    To deny/permit a route with the specified destination and prefix, use the rule [ rule-id ] { deny | • permit } ipv6 source sour sour-prefix destination dest dest-prefix command. The source keyword specifies the destination address of a route and the destination keyword specifies the prefix of the route.

  • Page 349

    Usage guidelines To use an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one of the following ways: To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ip •...

  • Page 350

    <Sysname> system-view [Sysname] ripng 1 [Sysname-ripng-1] graceful-restart import-route Use import-route to redistribute routes from another routing protocol. Use undo import-route to disable route redistribution. Syntax import-route protocol [ process-id ] [ allow-ibgp ] [ cost cost | route-policy route-policy-name ] * undo import-route protocol [ process-id ] Default RIPng does not redistribute routes from another routing protocol.

  • Page 351

    Use undo maximum load-balancing to restore the default. Syntax maximum load-balancing number undo maximum load-balancing Views RIPng view Predefined user roles network-admin Parameters number: Specifies the maximum number of ECMP routes. Usage guidelines The value range for the number argument and the default setting depend on the max-ecmp-num command.

  • Page 352: Reset Ripng Process, Reset Ripng Statistics

    value: Specifies the preference for RIPng routes, in the range of 1 to 255. Usage guidelines You can specify a routing policy to set a preference for the matching RIPng routes. The preference set by the routing policy applies to all matching RIPng routes. The preference of •...

  • Page 353: Ripng, Ripng Default-route

    network-operator Parameters process-id: Specifies a RIPng process by its ID in the range of 1 to 65535. Examples # Clear statistics for RIPng process 100. <Sysname> reset ripng 100 statistics ripng Use ripng to create a RIPng process and enter RIPng view. Use undo ripng to disable a RIPng process.

  • Page 354: Ripng Enable

    Syntax ripng default-route { only | originate } [ cost cost ] undo ripng default-route Default A RIPng process does not advertise a default route. Views Interface view Predefined user roles network-admin Parameters only: Advertises only an IPv6 default route (::/0). originate: Advertises an IPv6 default route (::/0) and other routes.

  • Page 355: Ripng Metricin, Ripng Metricout

    Parameters process-id: Specifies a RIPng process by its ID in the range of 1 to 65535. Examples # Enable RIPng 100 on VLAN-interface 100. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng 100 enable ripng metricin Use ripng metricin to configure an interface to add a metric to inbound RIPng routes. Use undo ripng metricin to restore the default.

  • Page 356: Ripng Poison-reverse, Ripng Split-horizon

    Views Interface view Predefined user roles network-admin Parameters value: Add an additional metric to outbound routes, in the range of 1 to 16. Examples # Configure RIPng on VLAN-interface 100 to add a metric of 12 to outbound routes. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng metricout 12 ripng poison-reverse...

  • Page 357: Ripng Summary-address

    Default The split horizon function is enabled. Views Interface view Predefined user roles network-admin Usage guidelines The split horizon function prevents routing loops. If you want to disable this function, make sure the operation is indispensable. If both poison reverse and split horizon are enabled, only the poison reverse function takes effect. Examples # Enable the split horizon function on VLAN-interface 100.

  • Page 358

    <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ipv6 address 2001:200::3EFF:FE11:6770/64 [Sysname-Vlan-interface100] ripng summary-address 2001:200:: 35 timers Use timers to configure RIPng timers. Use undo timers to restore the default. Syntax timers { garbage-collect garbage-collect-value | suppress suppress-value | timeout timeout-value | update update-value } * undo timers { garbage-collect | suppress | timeout | update } * Default...

  • Page 359

    Examples # Configure the update, timeout, suppress, and garbage-collect timers as 5s, 15s, 15s, and 30s. <Sysname> system-view [Sysname] ripng 1 [Sysname-ripng-1] timers update 5 timeout 15 suppress 15 garbage-collect 30...

  • Page 360: Ospfv3 Commands, Abr-summary (ospfv3 Area View), Area

    OSPFv3 commands abr-summary (OSPFv3 area view) Use abr-summary to configure an IPv6 summary route on an area border router (ABR). Use undo abr-summary to remove an IPv6 summary route. Syntax abr-summary ipv6-address prefix-length [ not-advertise ] [ cost value ] undo abr-summary ipv6-address prefix-length Default No route summarization is configured on an ABR.

  • Page 361: Bandwidth-reference

    Syntax area area-id undo area area-id Default No OSPFv3 area is created. Views OSPFv3 view Predefined user roles network-admin Parameters area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is changed to an IPv4 address by the system.

  • Page 362: Default-cost (ospfv3 Area View), Default-route-advertise (ospfv3 View)

    Configure a bandwidth reference value, and OSPFv3 computes the cost automatically based on the • bandwidth reference value: Interface OSPFv3 cost = Bandwidth reference value/Interface bandwidth. If the calculated cost is greater than 65535, the value of 65535 is used. If no cost value is configured for an interface, OSPFv3 computes the interface cost value automatically.

  • Page 363

    Use undo default-route-advertise to restore the default. Syntax default-route-advertise [ [ always | permit-calculate-other ] | cost cost | route-policy route-policy-name | type type ] * undo default-route-advertise Default No default route is redistributed into the OSPFv3 routing domain. Views OSPFv3 view Predefined user roles network-admin...

  • Page 364: Display Ospfv3 Abr-asbr

    display ospfv3 abr-asbr Use display ospfv3 abr-asbr to display information about the routes to OSPFv3 ABR and ASBR. Syntax display ospfv3 [ process-id ] abr-asbr Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If no OSPFv3 process ID is specified, this command displays information about all the routes to the OSPFv3 ABR and ASBR.

  • Page 365: Display Ospfv3 Brief

    display ospfv3 brief Use display ospfv3 brief to display brief information about an OSPFv3 process. Syntax display ospfv3 [ process-id ] brief Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If no process ID is specified, this command displays brief information about all OSPFv3 processes.

  • Page 366: Display Ospfv3 Graceful-restart Status

    LSA Count: 0 Table 77 Command output Field Description OSPFv3 Process 1 with Router ID 1.1.1.1 OSPFv3 process is 1, and router ID is 1.1.1.1. Router type: • ABR. Router Type • ASBR. • Null. The OSPFv3 process does not support multiple VPN Multi-VPN-Instance is not enabled instances.

  • Page 367: Display Ospfv3 Interface

    Graceful-restart period : 120 seconds Number of neighbors under helper: 0 Number of restarting neighbors Table 78 Command output Field Description The GR status of OSPFv3 process 1 with router ID 3.3.3.3 OSPFv3 Process 1 with Router ID 3.3.3.3 is displayed. Indicates whether OSPFv3 GR is enabled: •...

  • Page 368

    Examples # Display OSPFv3 information about VLAN-interface 1. <Sysname> display ospfv3 interface vlan-interface 1 OSPFv3 Process 1 with Router ID 1.1.1.1 Area: 0.0.0.0 ------------------------------------------------------------------------- Vlan-interface1 is up, line protocol is up Interface ID 65697 Instance ID 0 IPv6 Prefixes fe80::200:12ff:fe34:1 (Link-Local Address) 2001::1 Cost: 1...

  • Page 369: Display Ospfv3 Lsdb

    Field Description Time intervals in seconds configured on the interface: • Hello—Hello interval. • Dead—Dead interval. • Wait—After this timer expires, the interface quits Timer interval configured from the waiting state. • Retransmit—LSA retransmission interval. • Transmit Delay—Transmission delay of the interface.

  • Page 370

    self-originate: Displays locally originated LSAs. statistics: Displays LSA statistics. total: Displays total number of LSAs in the LSDB. Usage guidelines If no OSPFv3 process is specified, this command displays LSDB information for all processes. Examples # Display OSPFv3 LSDB information. <Sysname>...

  • Page 371

    # Display Link LSA information in the LSDB. <Sysname> display ospfv3 lsdb link OSPFv3 Process 1 with Router ID 1.1.1.1 Link-LSA (Interface Vlan-interface11) ------------------------------------------------------------------------- LS age : 833 LS Type : Link-LSA Link State ID : 0.15.0.8 Originating Router: 2.2.2.2 LS Seq Number : 0x80000041 Checksum...

  • Page 372: Display Ospfv3 Peer

    Total Table 82 Command output Field Description Area ID Area ID. Router Number of Router-LSAs. Network Number of Network-LSAs. InterPre Number of inter-Area-Prefix-LSAs. InterRou Number of Inter-Area-Router-LSAs. IntraPre Number of Intra-Area-Prefix-LSAs. Link Total number of Link-LSAs. Grace Number of Grace-LSAs. Total number of AS-external-LSAs.

  • Page 373

    Examples # Display the neighbor information for OSPFv3 process 1 on an interface. <Sysname> display ospfv3 1 peer vlan-interface 1 OSPFv3 Process 1 with Router ID 1.1.1.1 Area: 0.0.0.1 ------------------------------------------------------------------------- Router ID Pri State Dead-Time Interface Inst ID 2.2.2.2 Init/ - 00:00:36 Vlan1 Table 83 Command output...

  • Page 374: Display Ospfv3 Request-queue

    Field Description DR on the interface's network segment. BDR on the interface’s network segment. Interface MTU. Options Options. Dead timer due in 33 sec This dead timer will expire in 33 seconds. Neighbor is up for 00:24:19 The neighbor has been up for 00:24:19. Neighbor state change count Count of neighbor state changes.

  • Page 375

    Syntax display ospfv3 [ process-id ] [ area area-id ] request-queue [ interface-type interface-number ] [ neighbor-id ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. area area-id: Specifies an area by its ID, an IPv4 address or a decimal integer in the range of 0 to 4294967295 that is translated into an IPv4 address by the system.

  • Page 376: Display Ospfv3 Retrans-queue

    Field Description Nbr-ID Neighbor ID. Request list Request list information. Type LSA type. AdvRouter Advertising router. SeqNum LSA sequence number. LSA age. CkSum Checksum. display ospfv3 retrans-queue Use display ospfv3 retrans-queue to display retransmission list information. Syntax display ospfv3 [ process-id ] [ area area-id ] retrans-queue [ interface-type interface-number ] [ neighbor-id ] Views Any view...

  • Page 377: Display Ospfv3 Routing

    Area: 0.0.0.0 Interface Vlan-interface11 ------------------------------------------------------------------------- Nbr-ID 1.2.2.2 Retransmit List Type LinkState ID AdvRouter SeqNum CkSum 0x2009 0.0.0.0 1.3.3.3 0x80000001 3600 0x49fb Table 87 Command output Field Description Area Area ID. Interface Interface type and sequence number. Nbr-ID Neighbor ID. Retransmit List Retransmission list information.

  • Page 378: Display Ospfv3 Statistics

    ------------------------------------------------------------------------- E1 - Type 1 external route, IA - Inter area route, I - Intra area route E2 - Type 2 external route, - Selected route *Destination: 1001::/64 Type Cost NextHop : Direct Interface: Vlan12 Total: 1 Intra area: 1 Inter area: 0 ASE: 0 Table 88 Command output...

  • Page 379

    OSPFv3 Process 1 with Router ID 1.1.1.1 Packet Statistics ---------------------------------------------------------- Type Recv Send Hello 1746 1284 DB Description Ls Req Ls Upd 1553 Ls Ack Local Originated LSAs Statistics ---------------------------------------------------------- Type Count Router-LSA Network-LSA Inter-Area-Prefix-LSA Inter-Area-Router-LSA AS-external-LSA Link-LSA Intra-Area-Prefix-LSA Grace-LSA Unknown-LSA Total Routes Statistics...

  • Page 380: Display Ospfv3 Vlink

    Field Description AS-external-LSA Number of AS-external-LSAs. Link-LSA Number of Link-LSAs. Intra-Area-Prefix-LSA Number of Intra-Area-Prefix-LSAs. Grace-LSA Number of Grace-LSAs. Unknown-LSA Number of Unknown-LSAs. Total Total number. Routes Statistics Number of routes. Intra Area Intra-area routes. Inter Area Inter-area routes. ASE/NSSA External routes. display ospfv3 vlink Use display ospfv3 vlink to display OSPFv3 virtual link information.

  • Page 381: Filter (ospfv3 Area View)

    Table 90 Command output Field Description Virtual-link Neighbor-ID ID of the neighbor on the virtual link. Neighbor-State Neighbor state: Down, Init, 2-Way, ExStart, Exchange, Loading, or Full. Interface IP address and name of the local interface on the virtual link. Cost Interface route cost.

  • Page 382: Filter-policy Export (ospfv3 View)

    Examples # Use IPv6 prefix list my-prefix-list to filter inbound Inter-Area-Prefix-LSAs, and use IPv6 ACL 2000 to filter outbound Inter-Area-Prefix-LSAs in OSPFv3 Area 1. <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] area 1 [Sysname-ospfv3-1-area-0.0.0.1] filter prefix-list my-prefix-list import [Sysname-ospfv3-1-area-0.0.0.1] filter 2000 export filter-policy export (OSPFv3 view) Use filter-policy export to configure OSPFv3 to filter redistributed routes.

  • Page 383: Filter-policy Import (ospfv3 View)

    Using the filter-policy export command filters only routes redistributed by the import-route command. If the import-route command is not configured to redistribute routes from other protocols and other OSPFv3 processes, use of the filter-policy export command does not take effect. Examples # Use IPv6 prefix list abc to filter redistributed routes.

  • Page 384: Graceful-restart Enable

    route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter received routes. Usage guidelines To reference an advanced ACL (with a number from 3000 to 3999) in the command, configure the ACL in one of the following ways: To deny/permit a route with the specified destination, use rule [ rule-id ] { deny | permit } ipv6 •...

  • Page 385

    Predefined user roles network-admin Usage guidelines To prevent service interruption after a master/backup switchover, a GR Restarter running OSPFv3 must complete the following tasks: • Keep the GR Restarter forwarding entries stable during reboot. Establish all adjacencies and obtain complete topology information after reboot. •...

  • Page 386: Graceful-restart Interval, Graceful-restart Helper Strict-lsa-checking

    graceful-restart helper strict-lsa-checking Use graceful-restart helper strict-lsa-checking to enable strict LSA checking for the GR Helper. Use undo graceful-restart helper strict-lsa-checking to disable strict LSA checking for the GR Helper. Syntax graceful-restart helper strict-lsa-checking undo graceful-restart helper strict-lsa-checking Default Strict LSA checking for the GR Helper is disabled. Views OSPFv3 view Predefined user roles...

  • Page 387: Import-route (ospfv3 View)

    Parameters interval-value: Specifies GR restart interval in the range of 40 to 1800 seconds. Usage guidelines The value of the GR restart interval cannot be smaller than the maximum OSPFv3 neighbor dead time of all the OSPFv3 interfaces. Otherwise, GR restart might fail. Examples # Configure the GR restart interval for OSPFv3 process 1 as 100 seconds.

  • Page 388

    Usage guidelines An external route is a route to a destination outside the OSPFv3 AS. External routes types are as follows: A Type- 1 external route has high reliability. Its cost is comparable with the cost of OSPFv3 internal • routes.

  • Page 389: Lsa-generation-interval

    Usage guidelines This feature enables the device to output information about neighbor state changes to the configuration terminal. Examples # Disable the logging of neighbor state changes for OSPFv3 process 100. <Sysname> system-view [Sysname] ospfv3 100 [Sysname-ospfv3-100] undo log-peer-change lsa-generation-interval Use lsa-generation-interval to configure the OSPFv3 LSA generation interval.

  • Page 390: Maximum Load-balancing (ospfv3 View), Ospfv3

    [Sysname-ospfv3-100] lsa-generation-interval 2 100 100 Related commands lsa-arrival-interval maximum load-balancing (OSPFv3 view) Use maximum load-balancing to configure the maximum number of equal-cost multi-path (ECMP) routes. Use undo maximum load-balancing to restore the default. Syntax maximum load-balancing maximum undo maximum load-balancing Views OSPFv3 view Predefined user roles...

  • Page 391: Ospfv3 Area

    Default No OSPFv3 process is enabled. Views System view Predefined user roles network-admin Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. The default process ID is vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.

  • Page 392: Ospfv3 Bfd Enable, Ospfv3 Cost

    <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospfv3 1 area 1 instance 1 ospfv3 bfd enable Use ospfv3 bfd enable to enable BFD on an OSPFv3 interface. Use undo ospfv3 bfd enable to disable BFD on an OSPFv3 interface. Syntax ospfv3 bfd enable [ instance instance-id ] undo ospfv3 bfd enable [ instance instance-id ] Default...

  • Page 393: Ospfv3 Dr-priority

    Views Interface view Predefined user roles network-admin Parameters value: Specifies an OSPFv3 cost in the range of 0 to 65535 for a loopback interface and in the range of 1 to 65535 for other interfaces. instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0. Examples # Specifies the OSPFv3 cost for VLAN-interface 10 in instance 1 as 33.

  • Page 394: Ospfv3 Mtu-ignore, Ospfv3 Network-type

    ospfv3 mtu-ignore Use ospfv3 mtu-ignore to configure an interface to ignore MTU check during DD packet exchange. Use undo ospfv3 mtu-ignore to restore the default. Syntax ospfv3 mtu-ignore [ instance instance-id ] undo ospfv3 mtu-ignore [ instance instance-id ] Default An interface performs MTU check during DD packet exchange.

  • Page 395: Ospfv3 Peer

    Predefined user roles network-admin Parameters broadcast: Specifies the network type as broadcast. nbma: Specifies the network type as NBMA. p2mp: Specifies the network type as P2MP. unicast: Specifies the P2MP interface to unicast OSPFv3 packets. By default, a P2MP interface multicasts OSPFv3 packets.

  • Page 396: Ospfv3 Timer Dead

    Predefined user roles network-admin Parameters ipv6-address: Specifies the link-local IP address of the neighbor. cost value: Specifies the cost of the neighbor, in the range of 1 to 65535. dr-priority dr-priority: Specifies the DR priority of the neighbor, in the range of 0 to 255. The default is 1. Instance instance-id: Specifies an interface by its ID in the range of 0 to 255.

  • Page 397: Ospfv3 Timer Hello, Ospfv3 Timer Poll

    Examples # Configure the OSPFv3 neighbor dead time as 60 seconds for VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospfv3 timer dead 60 Related commands ospfv3 timer hello ospfv3 timer hello Use ospfv3 timer hello to configure the hello interval for an interface. Use undo ospfv3 timer hello to restore the default.

  • Page 398: Ospfv3 Timer Retransmit

    Syntax ospfv3 timer poll seconds [ instance instance-id ] undo ospfv3 timer poll [ instance instance-id ] Default The poll interval is 120 seconds on an interface. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies the poll interval in the range of 1 to 65535 seconds. instance-id: Specifies an interface instance by its ID in the range of 0 to 255.

  • Page 399: Ospfv3 Trans-delay, Preference

    instance-id: Specifies an instance by its ID in the range of 0 to 255, The default is 0. Usage guidelines After the device sends an LSA to its neighbor, it waits for an acknowledgement. If the device receives no acknowledgement after the LSA retransmission interval elapses, it will retransmit the LSA. The LSA retransmission interval should not be too small for avoidance of unnecessary retransmissions.

  • Page 400: Silent-interface(ospfv3 View)

    Use undo preference to restore the default. Syntax preference [ ase ] [ route-policy route-policy-name ] preference undo preference [ ase ] Default The preference for OSPFv3 internal routes is 10, and that for OSPFv3 external routes is 150. Views OSPFv3 view Predefined user roles network-admin...

  • Page 401: Router-id

    Parameters interface-type interface-number: Specifies an interface by its type and number. all: Specifies all interfaces. Usage guidelines Multiple processes can disable the same interface from receiving and sending OSPFv3 packets, but the silent-interface command takes effect only on interfaces enabled with the current process. Examples # Disable VLAN-interface 10 from receiving and sending OSPFv3 packets in OSPFv3 processes 100 and 200.

  • Page 402: Spf-schedule-interval

    [Sysname-ospfv3-1] router-id 10.1.1.3 Related commands ospfv3 spf-schedule-interval Use spf-schedule-interval to set the OSPFv3 SPF calculation interval. Use undo spf-schedule-interval to restore the default. Syntax spf-schedule-interval maximum-interval [ minimum-interval [ incremental-interval ] ] undo spf-schedule-interval Default The maximum SPF calculation interval is 5 seconds, the minimum interval is 50 milliseconds, and the incremental interval is 200 milliseconds.

  • Page 403: Stub (ospfv3 Area View), Vlink-peer (ospfv3 Area View)

    stub (OSPFv3 area view) Use stub to configure an area as a stub area. Use undo stub to restore the default. Syntax stub [ default-route-advertise-always | no-summary ] * undo stub Default No area is configured as a stub area. Views OSPFv3 area view Predefined user roles...

  • Page 404

    Default No virtual link is configured. Views OSPFv3 area view Predefined user roles network-admin Parameters router-id: Specifies the router ID of the neighbor on the virtual link. dead seconds: Sets the dead interval in the range of 1 to 32768 seconds. The default is 40. The dead interval must be identical with that on the virtual link neighbor, and must be at least four times the hello interval.

  • Page 405: Ipv6 Is-is Configuration Commands, Display Isis Redistribute Ipv6

    IPv6 IS-IS configuration commands IPv6 IS-IS supports all the features of IPv4 IS-IS except that it advertises IPv6 routing information. This chapter describes only IPv6 IS-IS exclusive commands. For other IS-IS configuration commands, see "IS-IS configuration commands." display isis redistribute ipv6 Use display isis redistribute ipv6 to display information about redistributed IPv6 IS-IS routes.

  • Page 406: Display Isis Route Ipv6

    Type : direct Destination: 12:1::/64 IntCost State : Active Table 91 Command output Field Description Route information for IS-IS(1) Redistributed route information for IS-IS process 1. Level-1 IPv6 Redistribute Table Redistributed route information of IS-IS Level-1. Level-2 IPv6 Redistribute Table Redistributed route information of IS-IS Level-2.

  • Page 407

    Usage guidelines If no level is specified, this command displays both Level- 1 and Level-2 route information. Examples # Display IPv6 IS-IS route information. <Sysname> display isis route ipv6 Route information for IS-IS(1) ------------------------------ Level-1 IPv6 Forwarding Table ----------------------------- Destination: 2001:1:: PrefixLen: 64 Flag : R/L/-...

  • Page 408

    Field Description Next Hop Next hop. Interface Outbound interface. # Display detailed IPv6 IS-IS routing information. <Sysname> display isis route ipv6 verbose Route information for IS-IS(1) ------------------------------ Level-1 IPv6 Forwarding Table ----------------------------- IPV6 Dest : 2001:1::/64 Cost : 20 Flag : R/L/- Admin Tag Src Count : 1 NextHop...

  • Page 409: Ipv6 Default-route-advertise

    Field Description Route flag: • D—This is a direct route. • R—The route has been added into the routing table. Flag/Flags • L—The route has been advertised in an LSP. • U—Route leaking flag, indicating the Level- 1 route is from Level-2. U means the route will not be returned to Level-2.

  • Page 410: Ipv6 Enable, Ipv6 Filter-policy Export

    Examples # Configure the router to generate a default route in a Level-2 LSP. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] ipv6 default-route-advertise Related commands apply isis ipv6 enable Use ipv6 enable to enable IPv6 for an IS-IS process. Use undo ipv6 enable to disable IPv6. Syntax ipv6 enable undo ipv6 enable...

  • Page 411

    Predefined user roles network-admin Parameters acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999 to filter redistributed routes. prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter the redistributed routes.

  • Page 412: Ipv6 Filter-policy Import

    Related commands ipv6 filter-policy import ipv6 filter-policy import Use ipv6 filter-policy import to configure IPv6 IS-IS to filter received routes. Use undo ipv6 filter-policy import to remove the configuration. Syntax ipv6 filter-policy { acl6-number | prefix-list prefix-list-name | route-policy route-policy-name } import undo ipv6 filter-policy import Default IPv6 IS-IS does not filter received routes.

  • Page 413: Ipv6 Import-route

    [Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 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 Related commands ipv6 filter-policy export ipv6 import-route Use ipv6 import-route to enable IPv6 IS-IS to redistribute routes from another routing protocol. Use undo ipv6 import-route to disable route redistribution.

  • Page 414: Ipv6 Import-route Isisv6 Level-1 Into Level-2

    Usage guidelines IPv6 IS-IS considers redistributed routes as AS-external routes. You can specify a cost and a level for redistributed routes. The import-route bgp4+ command redistributes only EBGP routes. The import-route bgp4+ allow-ibgp command redistributes both EBGP and IBGP routes, and might cause routing loops. Therefore, use it with caution.

  • Page 415: Ipv6 Import-route Isisv6 Level-2 Into Level-1, Ipv6 Import-route Limit

    <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] ipv6 import-route isisv6 level-1 into level-2 ipv6 import-route isisv6 level-2 into level-1 Use ipv6 import-route isisv6 level-2 into level-1 to enable IPv6 IS-IS route advertisement from Level-2 to Level- 1 . Use undo ipv6 import-route isisv6 level-2 into level-1 to restore the default. Syntax ipv6 import-route isisv6 level-2 into level-1 [ filter-policy { acl6-number | prefix-list prefix-list-name | route-policy route-policy-name } | tag tag ] *...

  • Page 416: Ipv6 Maximum Load-balancing

    Syntax ipv6 import-route limit number undo ipv6 import-route limit Default The maximum number of redistributed Level 1/Level 2 IPv6 routes is 8192. Views IS-IS view Predefined user roles network-admin Parameters number: Specifies the maximum number of redistributed Level 1/Level 2 IPv6 routes, in the range of 1 to 8192.

  • Page 417: Ipv6 Preference, Ipv6 Summary

    Examples # Configure the maximum number of equal-cost routes as 2. <Sysname> system-view [Sysname] isis 100 [Sysname-isis-100] ipv6 maximum load-balancing 2 Related commands max-ecmp-num ipv6 preference Use ipv6 preference to configure the preference for IPv6 IS-IS. Use undo ipv6 preference to restore the default. Syntax ipv6 preference { preference | route-policy route-policy-name } * undo ipv6 preference...

  • Page 418: Isis Ipv6 Bfd Enable

    Syntax ipv6 summary ipv6-prefix prefix-length [ avoid-feedback | generate_null0_route | [ level-1 | level-1-2 | level-2 ] | tag tag ] * undo ipv6 summary ipv6-prefix prefix-length [ level-1 | level-1-2 | level-2 ] Default No summary route is configured. Views IS-IS view Predefined user roles...

  • Page 419: Isis Ipv6 Enable

    Views Interface view Predefined user roles network-admin Examples # Enable BFD for IPv6 IS-IS on VLAN-interface 1 1. <Sysname> system-view [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] isis ipv6 bfd enable isis ipv6 enable Use isis ipv6 enable to enable IPv6 for an IS-IS process on an interface. Use undo isis ipv6 enable to disable the configuration.

  • Page 420: Ipv6 Policy-based Routing Commands, Apply Next-hop

    IPv6 policy-based routing commands apply next-hop Use apply next-hop to set a next hop. Use undo apply next-hop to remove the configuration. Syntax apply next-hop [ vpn-instance vpn-instance-name ] { ipv6-address [ direct ] [ track track-entry-number ] } &<1-n> undo apply next-hop [ [ vpn-instance vpn-instance-name ] { ipv6-address }&<1-n>...

  • Page 421: Display Ipv6 Policy-based-route, Display Ipv6 Policy-based-route Interface

    display ipv6 policy-based-route Use display ipv6 policy-based-route to display IPv6 PBR policy information. Syntax display ipv6 policy-based-route [ policy policy-name ] Views Any view Predefined user roles network-admin network-operator Parameters policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. Usage guidelines If no policy is specified, this command displays information about all policies.

  • Page 422

    Predefined user roles network-admin network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. slot slot-number: Displays the IPv6 PBR configuration and statistics on an IRF member device. The slot-number is the ID of the IRF member device. Examples # Display IPv6 PBR configuration and statistics on VLAN-interface 1 1.

  • Page 423: Display Ipv6 Policy-based-route Setup

    Table 95 Command output Field Description IPv6 PBR configuration and statistics on VLAN-interface 11. failed indicates the policy (including all its nodes) failed to be assigned to the driver. Policy based routing information for For a global interface (with only one-dimensional interface number, for interface Vlan-interface11(failed) example, VLAN-interface 11), failed can be displayed only when you specify the slot slot-number or chassis chassis-number slot slot-number...

  • Page 424: Ipv6 Policy-based-route (interface View), If-match Acl

    Policy Name Interface Name pr01 Vlan-interface11 Table 96 Command output Field Description policy Name Policy name. Interface Name Interface where the policy is applied. Related commands ipv6 policy-based-route (interface view) if-match acl Use if-match acl to configure an ACL match criterion. Use undo if-match acl to remove the ACL match criterion.

  • Page 425: Ipv6 Policy-based-route (system View)

    Default No IPv6 is applied to an interface. Views Interface view Predefined user roles network-admin Parameters policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified policy must already exist. Usage guidelines You can apply only one policy to an interface. Before you apply a new policy, remove the current policy from the interface.

  • Page 426: Reset Ipv6 Policy-based-route Statistics

    deny: Specifies the match mode for the policy node as deny. permit: Specifies the match mode for the policy node as permit (default mode). node node-number: Specifies the number of the IPv6 policy node, in the range of 0 to 255. A smaller number has a higher priority.

  • Page 427: Routing Policy Configuration Commands, Common Routing Policy Configuration Commands, Apply As-path, Apply Comm-list Delete

    Routing policy configuration commands Common routing policy configuration commands apply as-path Use apply as-path to set the AS_PATH attribute for BGP routes. Use undo apply as-path to restore the default. Syntax apply as-path as-number&<1-32> [ replace ] undo apply as-path Default No AS_PATH attribute is set.

  • Page 428: Apply Community

    Use undo apply comm-list to restore the default. Syntax apply comm-list { comm-list-number | comm-list-name } delete undo apply comm-list Default No COMMUNITY attributes are deleted from BGP routes. Views Routing policy node view Predefined user roles network-admin Parameters comm-list-number: Specifies a basic community list by its number in the range of 1 to 99 or an advanced community list by its number in the range of 100 to 199.

  • Page 429: Apply Cost

    Parameters none: Removes the COMMUNITY attributes of BGP routes. community-number&<1-32>: Specifies a community sequence number in the range of 1 to 4294967295. &<1-32> indicates that the argument before it can be entered up to 32 times. aa:nn&<1-32>: Specifies a community number; both aa and nn are in the range of 0 to 65535. &<1-32> indicates that the argument before it can be entered up to 32 times.

  • Page 430: Apply Cost-type

    Parameters +: Increases a cost value. -: Decreases a cost value. value: Specifies a cost in the range of 0 to 4294967295. Examples # Configure node 10 in permit mode for routing policy policy1 to set a cost of 120 for OSPF external routes.

  • Page 431: Apply Extcommunity, Apply Isis

    <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match tag 8 [Sysname-route-policy-policy1-10] apply cost-type internal apply extcommunity Use apply extcommunity to apply the specified extended community attribute. Use undo apply extcommunity to restore the default. Syntax apply extcommunity { rt route-target }&<1-32> [ additive ] undo apply extcommunity Default No extended community attribute is set for BGP routes.

  • Page 432: Apply Local-preference

    Syntax apply isis { level-1 | level-1-2 | level-2 } undo apply isis Default No IS-IS level is set. Views Routing policy node view Predefined user roles network-admin 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.

  • Page 433: Apply Origin, Apply Preference

    <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match as-path 1 [Sysname-route-policy-policy1-10] apply local-preference 130 apply origin Use apply origin to set an ORIGIN attribute for BGP routes. Use undo apply origin to restore the default. Syntax apply origin { egp as-number | igp | incomplete } undo apply origin Default No ORIGIN attribute is set for BGP routes.

  • Page 434: Apply Preferred-value

    Views Routing policy node view Predefined user roles network-admin Parameters preference: Specifies a preference in the range of 1 to 255. Usage guidelines If you have set preferences for routing protocols with the preference command, the apply preference command sets a new preference for the matching routing protocol. Non-matching routing protocols still use the preferences set by the preference command.

  • Page 435: Apply Tag, Continue

    apply tag Use apply tag to set a specified tag for RIP, OSPF, or IS-IS routing information. Use undo apply tag to restore the default. Syntax apply tag value undo apply tag Default No routing tag is set for RIP, OSPF, or IS-IS routing information. Views Routing policy node view Predefined user roles...

  • Page 436: Display Ip As-path, Display Ip Community-list

    Example # Specify the next node 20 for node 10 of routing policy policy1. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] continue 20 display ip as-path Use display ip as-path to display BGP AS path list information. Syntax display ip as-path [ as-path-number ] Views Any view...

  • Page 437: Display Ip Extcommunity-list

    Predefined user roles network-admin network-operator Parameters basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99. adv-community-list-number: Specifies an advanced community list by its number in the range of 100 to 199. comm-list-name: Specifies a community list by its name, a case-sensitive string of 1 to 63 characters that cannot comprise only numbers.

  • Page 438: Display Route-policy

    Examples # Display information about BGP extended community list 1. <Sysname> display ip extcommunity-list 1 Extended Community List Number 1 permit rt : 9:6 Table 99 Command output Field Description Extended Community List Extended community list. Number Match mode: • permit permit.

  • Page 439: If-match As-path, If-match Community

    Field Description Match mode: • permit permit. • deny. if-match Match criterion. continue Specify the next node to be matched. apply Action. if-match as-path Use if-match as-path to match BGP routes whose AS_PATH attribute matches a specified AS path list. Use undo if-match as-path to remove the configuration.

  • Page 440: If-match Cost

    Syntax if-match community { { basic-community-list-number | name comm-list-name } [ whole-match ] | adv-community-list-number }&<1-32> undo if-match community [ { basic-community-list-number | name comm-list-name } [ whole-match ] | adv-community-list-number ]&<1-32> Default No community list match criterion is configured. Views Routing policy node view Predefined user roles...

  • Page 441: If-match Extcommunity

    Views Routing policy node view Predefined user roles network-admin Parameters value: Specifies a cost in the range of 0 to 4294967295. Examples # Configure node 10 in permit mode for routing policy policy1 to permit routing information with a cost of 8.

  • Page 442: If-match Interface, If-match Local-preference

    ip extcommunity-list • if-match interface Use if-match interface to match routes having the specified output interface. Use undo if-match interface to remove the configuration. Syntax if-match interface { interface-type interface-number }&<1- 1 6> undo if-match interface [ interface-type interface-number ]&<1- 1 6> Default No match criterion is configured.

  • Page 443: If-match Route-type

    Predefined user roles network-admin Parameters preference: Specifies a local preference in the range of 0 to 4294967295. Examples # Create node 10 in permit mode for routing policy policy1 to match BGP routes having a local preference of 2. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match preference 2 if-match route-type...

  • Page 444: If-match Tag, Ip As-path

    [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match route-type internal if-match tag Use if-match tag to match routing information having the specified tag. Use undo if-match tag to restore the default. Syntax if-match tag value undo if-match tag Default No tag match criterion is configured. Views Routing policy node view Predefined user roles...

  • Page 445: Ip Community-list

    Parameters as-path-number: Specifies a number for the AS path list, in the range of 1 to 256. deny: Specifies the match mode for the AS path list as deny. permit: Specifies the match mode for the AS path list as permit. regular-expression: Specifies an AS path regular expression, a string of 1 to 63 characters.

  • Page 446

    Parameters basic-comm-list-num: Specifies a number for the basic community list, in the range of 1 to 99. basic: Specifies a name for the basic communist list. advanced: Specifies a name for the advanced communist list. basic-comm-list-name: Specifies the basic community list name, a case-sensitive string of 1 to 63 characters that cannot comprise only letters.

  • Page 447: Ip Extcommunity-list, Route-policy

    ip extcommunity-list Use ip extcommunity-list to define an extended community list entry. Use undo ip extcommunity-list to remove an extended community list. Syntax ip extcommunity-list ext-comm-list-number { deny | permit } { rt route-target }&<1-32> undo ip extcommunity-list ext-comm-list-number [ { deny | permit } [ rt route-target ]&<1-32> ] Default No extended community list is defined.

  • Page 448: Ipv4 Routing Policy Configuration Commands, Apply Fast-reroute

    Syntax route-policy route-policy-name { deny | permit } node node-number undo route-policy route-policy-name [ deny | permit ] [ node node-number ] Default No routing policy is created. Views System view Predefined user roles network-admin Parameters route-policy-name: Specifies a name for the routing policy, a case-sensitive string of 1 to 63 characters. deny: Specifies the deny match mode for the routing policy node.

  • Page 449: Apply Ip-address Next-hop

    Syntax apply fast-reroute backup-interface interface-type interface-number [ backup-nexthop ip-address ] undo apply fast-reroute Default No backup link for FRR is configured. Views Routing policy node view Predefined user roles network-admin Parameters backup-interface interface-type interface-number: Specifies a backup output interface. If the specified interface is a non-P2P interface (including NBMA and broadcast interfaces, such as a VLAN interface), you must also specify a backup next hop.

  • Page 450: Display Ip Prefix-list

    Predefined user roles network-admin Parameters ip-address: Specifies the next hop IP address. public: Specifies the public network. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. Usage guidelines This command cannot set a next hop for redistributed routes. If you do not provide the public keyword or vpn-instance vpn-instance-name option for this command, the next hop belongs to the public network.

  • Page 451: If-match Ip

    Table 101 Command output Field Description Prefix-list Name of the IPv4 prefix list. Permitted Number of routes satisfying the match criterion. Denied Number of routes not satisfying the match criterion. index Index of an item. Match mode of the item: •...

  • Page 452: Ip Prefix-list

    Examples # Configure node 10 of routing policy policy1 to match IPv4 routing information whose next hop matches IP prefix list p1. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match ip next-hop prefix-list p1 ip prefix-list Use ip prefix-list to configure an IPv4 prefix list or an item for the list. Use undo ip prefix-list to remove an IPv4 prefix list or an item of it.

  • Page 453: Reset Ip Prefix-list, Ipv6 Routing Policy Configuration Commands, Apply Ipv6 Next-hop

    If both ip-address and mask-length are specified as 0.0.0.0 0, only the default route will be matched. To match all routes, use 0.0.0.0 0 less-equal 32. Examples # Configure IP prefix list p1 to permit routes destined for network 10.0.0.0/8 and with mask length 17 or 18.

  • Page 454: Display Ipv6 Prefix-list

    Default No next hop is set for IPv6 routes. Views Routing policy node view Predefined user roles network-admin Parameters ipv6-address: Specifies the next hop IPv6 address. Usage guidelines This command cannot set a next hop for redistributed routes. Examples # Configure node 10 for routing policy policy1 to set next hop 3ffe:506::1 for IPv6 routes matching AS path list 1.

  • Page 455: If-match Ipv6

    Table 102 Command output Field Description Prefix-list6 Name of the IPv6 prefix list. Permitted Number of routes satisfying the match criterion. Denied Number of routes not satisfying the match criterion. index Index number of an item. Match mode of the item: •...

  • Page 456: Ipv6 Prefix-list

    Examples # Configure node 10 of routing policy policy1 to permit routing information whose next hop matches IPv6 prefix list p1. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match ipv6 next-hop prefix-list p1 ipv6 prefix-list Use ipv6 prefix-list to configure an IPv6 prefix list or an item for it. Use undo ipv6 prefix-list to remove an IPv6 prefix list or an item.

  • Page 457: Reset Ipv6 Prefix-list

    Usage guidelines An IPv6 prefix list can have multiple items, and each of them specifies a range of IPv6 prefixes. The relation between items is logic OR. If a route passes an item, it passes the IPv6 prefix list. If ipv6-address prefix-length is specified as :: 0, only the default route matches. To match all routes, configure :: 0 less-equal 128.

  • Page 458: Support And Other Resources, Contacting Hp, Subscription Service, Related Information, Documents, Websites

    Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.com/support Before contacting HP, collect the following information: Product model names and numbers • Technical support registration number (if applicable) • • Product serial numbers Error messages •...

  • Page 459: Conventions

    Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. Square brackets enclose syntax choices (keywords or arguments) that are optional. Braces enclose a set of required syntax choices separated by vertical bars, from which { x | y | ...

  • Page 460

    Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features.

  • Page 461: Index

    Index A B C D E F G H I L M N O P R S T V W abr-summary (OSPF area view),60 checkzero,331 abr-summary (OSPFv3 area view),349 checkzero,30 advertise-rib-active,195 circuit-cost,135 aggregate,195 compare-different-as-med,203 apply as-path,416 confederation id,204 apply comm-list delete,416 confederation nonstandard,205...

  • Page 462

    display bgp routing-table flap-info ipv4 unicast,229 display isis redistribute,149 display bgp routing-table flap-info ipv6 unicast,231 display isis redistribute ipv6,394 display bgp routing-table ipv4 unicast,232 display isis route,150 display bgp routing-table ipv4 unicast display isis route ipv6,395 advertise-info,235 display isis statistics,153 display bgp routing-table ipv4 unicast as-path-acl,237 display...

  • Page 463

    ebgp-interface-sensitive,249 host-advertise,101 enable link-local-signaling,93 host-route,41 enable out-of-band-resynchronization,93 if-match acl,324 fast-reroute,37 if-match acl,413 fast-reroute,156 if-match as-path,428 fast-reroute (OSPF view),94 if-match community,428 filter (OSPF area view),94 if-match cost,429 filter (OSPFv3 area view),370 if-match extcommunity,430 filter-policy export,38 if-match interface,431 filter-policy export,157 if-match ip,440 filter-policy export,336 if-match...

  • Page 464

    ipv6 policy-based-route (system view),414 max-ecmp-num,23 ipv6 preference,406 maximum load-balancing,339 ipv6 prefix-list,445 maximum load-balancing,43 ipv6 route-static,327 maximum load-balancing (IS-IS view),185 ipv6 route-static default-preference,329 maximum load-balancing (OSPF view),107 ipv6 summary,406 maximum load-balancing (OSPFv3 view),379 ipv6-family,261 isis,168 network,262 isis authentication-mode,169 network,44 isis bfd enable,170 network (OSPF area view),107...

  • Page 465

    reflector cluster-id,306 refresh bgp ipv4 unicast,308 peer,120 refresh bgp ipv6 unicast,309 peer advertise-community,265 reset bgp all,310 peer advertise-ext-community,266 reset bgp dampening ipv4 unicast,310 peer allow-as-loop,268 reset bgp dampening ipv6 unicast,31 1 peer as-number (for a BGP peer group),270 reset bgp flap-info ipv4 unicast,312 peer as-number (for a BGP peer),269...

  • Page 466

    ripng summary-address,346 summary (IS-IS view),190 route-policy,436 summary automatic,317 router id,124 router id (system view),315 timer,317 router-id,390 timer lsp-generation,191 router-id (BGP view, BGP-VPN instance view),316 timer lsp-max-age,192 timer lsp-refresh,192 set-overload,189 timer spf,193 silent-interface,56 timers,347 silent-interface (OSPF view),125 timers,57 silent-interface(OSPFv3 view),389 transmit-pacing,130 snmp trap rate-limit,127 snmp-agent trap enable...

Comments to this Manuals

Symbols: 0
Latest comments: