HP 5920 Series Command Reference Manual

HP 5920 Series Command Reference Manual

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

Advertisement

HP 5920 & 5900 Switch Series
Layer 3—IP Routing

Command Reference

Part number: 5998-5321a
Software version: Release 23xx
Document version: 6W101-20150320

Advertisement

Table of Contents
loading

Summary of Contents for HP 5920 Series

  • Page 1: Command Reference

    HP 5920 & 5900 Switch Series Layer 3—IP Routing Command Reference Part number: 5998-5321a Software version: Release 23xx Document version: 6W101-20150320...
  • Page 2 The only warranties for HP products and services are set forth in the express warranty statements accompanying such products and services. Nothing herein should be construed as constituting an additional warranty.
  • Page 3: Table Of Contents

    Contents Basic IP routing commands ········································································································································· 1   address-family ipv4 ·················································································································································· 1   address-family ipv6 ·················································································································································· 1   display ecmp mode ·················································································································································· 2   display ip routing-table ············································································································································ 2   display ip routing-table acl ······································································································································ 5   display ip routing-table ip-address ························································································································· 8  ...
  • Page 4 filter-policy import ·················································································································································· 63   graceful-restart ······················································································································································· 65   host-route ································································································································································ 65   import-route ···························································································································································· 66   maximum load-balancing ····································································································································· 67   network ··································································································································································· 68   output-delay ···························································································································································· 69   peer ········································································································································································· 69   preference ······························································································································································ 70   reset rip process ···················································································································································· 71  ...
  • Page 5 display ospf peer ················································································································································· 120   display ospf peer statistics ·································································································································· 123   display ospf request-queue ································································································································· 124   display ospf retrans-queue ·································································································································· 125   display ospf routing············································································································································· 126   display ospf spf-tree ············································································································································ 129   display ospf statistics ··········································································································································· 132  ...
  • Page 6 reset ospf counters ··············································································································································· 172   reset ospf process ················································································································································ 172   reset ospf redistribution ······································································································································· 173   rfc1583 compatible ············································································································································ 173   router id ································································································································································ 174   silent-interface (OSPF view) ································································································································ 175   snmp-agent trap enable ospf ······························································································································ 175  ...
  • Page 7 isis cost ································································································································································· 234   isis dis-name ························································································································································· 235   isis dis-priority ······················································································································································ 235   isis enable ···························································································································································· 236   isis mib-binding ···················································································································································· 237   isis silent ······························································································································································· 237   isis small-hello ······················································································································································ 238   isis timer csnp ······················································································································································ 238  ...
  • Page 8 dampening ··························································································································································· 276   default local-preference ······································································································································ 278   default med ·························································································································································· 279   default-route imported ········································································································································· 280   display bgp dampening parameter ipv4 unicast ····························································································· 281   display bgp dampening parameter ipv6 unicast ····························································································· 282   display bgp group ··············································································································································· 283  ...
  • Page 9 peer description ··················································································································································· 354   peer ebgp-max-hop ············································································································································· 354   peer enable ·························································································································································· 355   peer fake-as·························································································································································· 358   peer filter-policy ··················································································································································· 359   peer group ··························································································································································· 360   peer ignore ·························································································································································· 362   peer ignore-originatorid······································································································································ 363   peer ipsec-profile ················································································································································· 364  ...
  • Page 10 display ipv6 route-static nib ······························································································································· 411   display ipv6 route-static routing-table ··············································································································· 414   ipv6 route-static···················································································································································· 416   ipv6 route-static default-preference ···················································································································· 418   RIPng commands ····················································································································································· 419   checkzero ····························································································································································· 419   default cost ··························································································································································· 419   display ripng ························································································································································ 420  ...
  • Page 11 display ospfv3 vlink ············································································································································ 482   enable ipsec-profile ············································································································································· 483   filter (OSPFv3 area view) ··································································································································· 484   filter-policy export (OSPFv3 view) ····················································································································· 485   filter-policy import (OSPFv3 view) ····················································································································· 486   graceful-restart enable ········································································································································ 487   graceful-restart helper enable ···························································································································· 488  ...
  • Page 12 ipv6 import-route ················································································································································· 533   ipv6 import-route isisv6 level-1 into level-2 ······································································································· 534   ipv6 import-route isisv6 level-2 into level-1 ······································································································· 535   ipv6 import-route limit ········································································································································· 536   ipv6 maximum load-balancing ·························································································································· 536   ipv6 preference ··················································································································································· 537   ipv6 priority ·························································································································································...
  • Page 13 ························································································································································ 581   ipv6 prefix-list ······················································································································································· 582   reset ipv6 prefix-list ············································································································································· 583   Support and other resources ·································································································································· 585   Contacting HP ······························································································································································ 585   Subscription service ············································································································································ 585   Related information ······················································································································································ 585   Documents ···························································································································································· 585  ...
  • Page 14: Basic Ip Routing Commands

    Basic IP routing commands address-family ipv4 Use address-family ipv4 to create a RIB IPv4 address family and enter RIB IPv4 address family view. Use undo address-family ipv4 to remove a RIB IPv4 address family and all configurations in the view. Syntax address-family ipv4 undo address-family ipv4...
  • Page 15: Display Ecmp Mode

    Examples # Create a RIB IPv6 address family and enter RIB IPv6 address family view. <Sysname> system-view [Sysname] rib [Sysname-rib] address-family ipv6 [Sysname-rib-ipv6] display ecmp mode Use display ecmp mode to display the ECMP mode. Syntax display ecmp mode Views Any view Predefined user roles network-admin...
  • Page 16 <Sysname> display ip routing-table Destinations : 13 Routes : 13 Destination/Mask Proto Cost NextHop Interface 0.0.0.0/32 Direct 0 127.0.0.1 InLoop0 1.1.1.0/24 Static 60 192.168.47.4 Vlan1 127.0.0.0/8 Direct 0 127.0.0.1 InLoop0 127.0.0.0/32 Direct 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 127.0.0.1 InLoop0 127.255.255.255/32 Direct 0 127.0.0.1...
  • Page 17 Destination: 0.0.0.0/32 Protocol: Direct Process ID: 0 SubProtID: 0x0 Age: 08h34m37s Cost: 0 Preference: 0 Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000000 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1000c OrigNextHop: 127.0.0.1 Label: NULL RealNextHop: 127.0.0.1 BkLabel: NULL...
  • Page 18: Display Ip Routing-Table Acl

    Field Description Route status: • Active—Active unicast route. • Adv—Route that can be advertised. • Inactive—Inactive route. State • NoAdv—Route that the router must not advertise. • Vrrp—Routes generated by VRRP. • Nat—Routes generated by NAT. • TunE—Tunnel. OrigTblID Original routing table ID. OrigVrf Original VPN that the route belongs to.
  • Page 19 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. acl-number: Specifies a basic ACL by its number in the range of 2000 to 2999. verbose: Displays detailed information about all routes permitted by the basic ACL.
  • Page 20 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: Vlan-interface1 BkTunnel ID: Invalid BkInterface: N/A Destination: 192.168.1.0/32 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 NibID: 0x10000003 LastAs: 0...
  • Page 21: Display Ip Routing-Table Ip-Address

    For command output, see Table display ip routing-table ip-address Use display ip routing-table ip-address to display information about routes to a specific destination address. Use display ip routing-table ip-address1 to ip-address2 to display information about routes to a range of destination addresses.
  • Page 22 If the two operations yield the same result for an entry with a subnet mask not greater than the entered subnet mask, the entry is displayed. display ip routing-table ip-address longer-match: • The system ANDs the entered destination IP address with the subnet mask in each active route entry.
  • Page 23: Display Ip Routing-Table Prefix-List

    Summary Count : 1 Destination/Mask Proto Cost NextHop Interface 11.0.0.0/16 Static 60 0.0.0.0 NULL0 # Display brief information about the routes to destination addresses in the range of 1.1.1.0 to 5.5.5.0. <Sysname> display ip routing-table 1.1.1.0 to 5.5.5.0 Summary Count : 6 Destination/Mask Proto Cost...
  • Page 24: Display Ip Routing-Table Protocol

    # Display brief information about the active route permitted by the IP prefix list. [Sysname] display ip routing-table prefix-list test Routes Matched by Prefix list : test Summary Count : 1 Destination/Mask Proto Cost NextHop Interface 1.1.1.0/24 Direct 0 1.1.1.2 Vlan2 For command output, see Table...
  • Page 25 protocol: Specifies a routing protocol. It can be bgp, direct, isis, ospf, rip, or static. 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.
  • Page 26: Display Ip Routing-Table Statistics

    display ip routing-table statistics Use display ip routing-table statistics to display IPv4 route statistics. Syntax display ip 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 27: Display Ipv6 Rib Graceful-Restart

    Views Any view Predefined user roles network-admin network-operator Parameters attribute-id: Specifies a route attribute by its ID in the range of 0 to FFFFFFFF. Examples # Display route attribute information in the IPv6 RIB. <Sysname> display ipv6 rib attribute Total number of attribute(s): 1 Detailed information of attribute 0x9: Flag: 0x0 Protocol: BGP4+...
  • Page 28: Display Ipv6 Rib Nib

    Protocol Lifetime FD State Start/End -------------------------------------------------- DIRECT6 No/No STATIC6 No/No ISISV6 No/No BGP4+ No/No For command output, see Table 1 display ipv6 rib nib Use display ipv6 rib nib to display next hop information in the IPv6 RIB. Syntax display ipv6 rib nib [ self-originated ] [ nib-id ] [ verbose ] display ipv6 rib nib protocol protocol-name [ verbose ] Views Any view...
  • Page 29: Display Ipv6 Route-Direct Nib

    # Display detailed next hop information in the IPv6 RIB. <Sysname> display ipv6 rib nib verbose Total number of nexthop(s): 151 NibID: 0x20000000 Sequence: 0 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: :: IFIndex: 0x111 LocalAddr: :: RefCnt: 4 FlushRefCnt: 1 Flag: 0x84...
  • Page 30 network-operator Parameters nib-id: Specifies a NIB by its ID in the range of 1 to FFFFFFFF. verbose: Displays detailed next hop information for IPv6 direct routes. Without this keyword, the command displays brief next hop information for IPv6 direct routes. Examples # Display brief next hop information for IPv6 direct routes.
  • Page 31 UserKey1: 0x0 Nexthop: :: IFIndex: 0x111 LocalAddr: :: RefCnt: 1 FlushRefCnt: 0 Flag: 0x2 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: :: RelyDepth: 0 RealNexthop: :: Interface: NULL0 LocalAddr: :: TunnelCnt: 0 Vrf: vpn1 TunnelID: N/A NibID: 0x20000001 Sequence: 1 Type: 0x1 Flushed: Yes UserKey0: 0x0...
  • Page 32: Display Ipv6 Routing-Table

    Field Description Version Version of the next hop. display ipv6 routing-table Use display ipv6 routing-table to display IPv6 routing table information. Syntax display ipv6 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 33 Field Description NextHop Next hop address of the route. Preference Preference of the route. Interface Output interface for packets to be forwarded along the route. Protocol that installed the route. Route types include: • O_INTRA—OSPF intra area route. • O_INTER—OSPF inter area route. •...
  • Page 34 AttrID: 0xffffffff Neighbor: :: Flags: 0x10084 OrigNextHop: :: 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...
  • Page 35: Display Ipv6 Routing-Table Acl

    Field Description OrigAs Original AS number. NibID ID of the next hop. LastAs Last AS number. 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.
  • Page 36 Examples # Display brief information about active routes permitted by IPv6 ACL 2000. <Sysname> display ipv6 routing-table acl 2000 Routes Matched by Access control list : 2000 Summary Count : 3 Destination : ::1/128 Protocol : Direct NextHop : ::1 Preference: 0 Interface : InLoop0...
  • Page 37: Display Ipv6 Routing-Table Ipv6-Address

    BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid Interface: NULL0 BkTunnel ID: Invalid BkInterface: N/A For command output, see Table 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.
  • Page 38 The system ANDs the destination IPv6 address in each active route entry with the entered prefix length. If the two operations yield the same result for an entry with a prefix length not greater than the entered prefix length, the entry is displayed. display ipv6 routing-table ipv6-address longer-match: •...
  • Page 39: Display Ipv6 Routing-Table Prefix-List

    Interface : NULL0 Cost # Display brief information about the routes to destination addresses in the range of 100:: to 300::. <Sysname> display ipv6 routing-table 100:: to 300:: Summary Count : 3 Destination: 100::/64 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0...
  • Page 40: Display Ipv6 Routing-Table Protocol

    [Sysname] ipv6 prefix-list test permit ::1 128 # Display brief information about the active IPv6 route permitted by the IPv6 prefix list. [Sysname] display ipv6 routing-table prefix-list test Routes Matched by Prefix list : test Summary Count : 1 Destination: ::1/128 Protocol : Direct NextHop...
  • Page 41 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. protocol: Specifies a routing protocol. It can be bgp4+, direct, isisv6, ospfv3, ripng, or static. inactive: Displays information about inactive routes.
  • Page 42: Display Ipv6 Routing-Table Statistics

    Destination: 3::3/128 Protocol : Static NextHop : 2::2 Preference: 60 Interface : Vlan2 Cost Static Routing table Status : <Inactive> 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...
  • Page 43: Display Max-Ecmp-Num

    Field Description deleted Number of routes marked as deleted, which will be cleared after a period. Total Total number of routes. 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...
  • Page 44 Examples # Display route attribute information in the RIB. <Sysname> display rib attribute Total number of attribute(s): 10 Detailed information of attribute 0x0: Flag: 0x0 Protocol: BGP Address family: IPv4 Reference count: 0 Local preference: 0 Ext-communities number: 26 Ext-communities value: <RT: 1:1> <RT: 2:2> <RT: 3:3> <RT: 123.123.123.123:65535 >...
  • Page 45: Display Rib Graceful-Restart

    Field Description Values of the AS_PATH attribute, including AS_SET, AS_SEQUENCE, AS-path value confederation AS_SET, and confederation AS_SEQUENCE. This field displays N/A when no value exists, and it can display up to 20 values. display rib graceful-restart Use display rib graceful-restart to display RIB GR state information. Syntax display rib graceful-restart Views...
  • Page 46 Table 11 Command output Field Description RIB GR status: • Start—GR starts. • IGP end—All IGP protocols complete GR. • VPN-triggering end—Optimal route selection triggered by VPN routes completes. • VPN-calculation end—Optimal VPN route selection completes. • Routing protocol end—All routing protocols complete GR. RIB GR state •...
  • Page 47: Display Rib Nib

    display rib nib Use display rib nib to display next hop information in the RIB. Syntax display rib nib [ self-originated ] [ nib-id ] [ verbose ] display rib nib protocol protocol-name [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters...
  • Page 48 SubNibID: 0x21000023 SubSeq: 35 NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x21000003 SubSeq: 36 NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x21000004 SubSeq: 37 NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x21000005 SubSeq: 38 NthpCnt: 1 Samed: 0 NthpType: IP Table 12 Command output Field Description...
  • Page 49 RefCnt: 6 FlushRefCnt: 2 Flag: 0x84 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 0.0.0.0 RelyDepth: 0 RealNexthop: 0.0.0.0 Interface: NULL0 LocalAddr: 0.0.0.0 TunnelCnt: 0 Vrf: vpn1 TunnelID: N/A NibID: 0x10000001 Sequence: 1 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112...
  • Page 50: Display Route-Direct Nib

    RelyDepth: 0 RealNexthop: 10.1.1.2 Interface: Vlan10 LocalAddr: 10.1.1.1 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A PrefixIndex: 1 OrigNexthop: 11.1.1.2 RelyDepth: 0 RealNexthop: 11.1.1.2 Interface: Vlan11 LocalAddr: 11.1.1.1 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A Table 13 Command output Field Description Policy Tunnel policy name. x nexthop (s) Number of next hops.
  • Page 51 Parameters nib-id: Specifies a NIB by its ID in the range of 1 to FFFFFFFF. verbose: Displays detailed next hop information for direct routes. Without this keyword, the command displays brief next hop information for direct routes. Examples # Display brief next hop information for direct routes. <Sysname>...
  • Page 52 RefCnt: 2 FlushRefCnt: 0 Flag: 0x2 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 0.0.0.0 RelyDepth: 0 RealNexthop: 0.0.0.0 Interface: NULL0 LocalAddr: 0.0.0.0 TunnelCnt: 0 Vrf: vpn1 TunnelID: N/A NibID: 0x10000001 Sequence: 1 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112...
  • Page 53: Ecmp Mode Enhanced

    ecmp mode enhanced Use ecmp mode enhanced to enable the enhanced ECMP mode. Use undo ecmp mode to restore the default. Syntax ecmp mode enhanced undo ecmp mode Default The enhanced ECMP mode is disabled. Views System view Predefined user roles network-admin Examples # Enable the enhanced ECMP mode.
  • Page 54: Max-Ecmp-Num

    Examples # Set the maximum lifetime for IPv4 routes in the FIB to 60 seconds. <Sysname> system-view [Sysname] rib [Sysname-rib] address-family ipv4 [Sysname-rib-ipv4] fib lifetime 60 max-ecmp-num Use max-ecmp-num to configure the maximum number of ECMP routes. Syntax max-ecmp-num number Default The maximum number of ECMP routes is 8.
  • Page 55: Reset Ip Routing-Table Statistics Protocol

    Default The maximum lifetime for IPv4 or IPv6 routes and labels in the RIB is 480 seconds. Views RIB IPv4 address family view, RIB IPv6 address family view Predefined user roles network-admin Parameters second: Sets the maximum lifetime for routes and labels in the RIB, in the range of 0 to 900 seconds. When this argument is set to 0, RIB entries immediately age out when a protocol switchover occurs.
  • Page 56: Reset Ipv6 Routing-Table Statistics Protocol

    reset ipv6 routing-table statistics protocol Use reset ipv6 routing-table statistics protocol to clear IPv6 route statistics. Syntax reset ipv6 routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } Views User view Predefined user roles network-admin Parameters vpn-instance vpn-instance-name: Clears route statistics for an MPLS L3VPN instance specified by its name, a case-sensitive string of 1 to 31 characters.
  • Page 57: Static Routing Commands

    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 58 network-operator Parameters nib-id: Specifies a NIB by its ID in the range of 1 to FFFFFFFF. verbose: Displays detailed static route next hop information. Without this keyword, the command displays brief static route next hop information. Examples # Display brief static route next hop information. <Sysname>...
  • Page 59 UserKey0: 0x111 VrfNthp: 0 UserKey1: 0x0 Nexthop: 0.0.0.0 IFIndex: 0x111 LocalAddr: 0.0.0.0 RefCnt: 2 FlushRefCnt: 0 Flag: 0x2 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 0.0.0.0 RelyDepth: 0 RealNexthop: 0.0.0.0 Interface: NULL0 LocalAddr: 0.0.0.0 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A NibID: 0x11000001 Sequence: 1 Type: 0x41...
  • Page 60: Display Route-Static Routing-Table

    Field Description RefCnt Reference count of the next hop. FlushRefCnt Reference count of the next hop that is flushed to the FIB. Flag Flag of the next hop. Version Version of the next hop. display route-static routing-table Use display route-static routing-table to display static routing table information. Syntax display route-static routing-table [ vpn-instance vpn-instance-name ] [ ip-address { mask-length | mask } ]...
  • Page 61 BfdMode: N/A vrfIndexNH: 0 Permanent: 0 Tag: 0 Destination: 0.0.0.0/0 NibID: 0x1100000b NextHop: 2.2.2.11 MainNibID: N/A BkNextHop: N/A BkNibID: N/A Interface: N/A TableID: 0x2 BkInterface: N/A Flag: 0x82d01 BfdSrcIp: N/A DbIndex: 0xd BfdIfIndex: 0x0 Type: Normal BfdVrfIndex: 0 TrackIndex: 0xffffffff Label: NULL Preference: 60 vrfIndexDst: 0...
  • Page 62: Ip Route-Static

    Field Description DbIndex Index of the database to which the route belongs. Route type: • Normal. Type • DHCP. • NAT. BfdSrcIp Source IP address of the indirect BFD session. BfdIfIndex Index of the interface where BFD is enabled. BfdVrfIndex Index of the VPN instance where BFD is enabled.
  • Page 63 Specifies the BFD control mode. bfd-source ip-address: Specifies the source IP address of BFD packets. HP recommends that you specify the loopback interface address. permanent: Specifies the route as a permanent static route. If the output interface is down, the permanent static route is still active.
  • Page 64: Ip Route-Static Default-Preference

    tag tag-value: Sets a tag value for marking the static route, in the range of 1 to 4294967295. The default is 0. Tags of routes are used for route control in routing policies. For more information about routing policies, see Layer 3—IP Routing Configuration Guide. description description-text: Configures a description for the static route, which comprises 1 to 60 characters, including special characters like the space, but excluding the question mark (?).
  • Page 65 Views System view Predefined user roles network-admin Parameters default-preference-value: Specifies a default preference for static routes, in the range of 1 to 255. Usage guidelines If no preference is specified for a static route, the default preference applies. When the default preference is reconfigured, it applies to only newly added static routes. Examples # Set a default preference of 120 for static routes.
  • Page 66: Rip Commands

    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 67: 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 68: 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 69 Triggered updates sent: 0 Number of routes changes: 1 Number of replies to queries: 0 Table 19 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.
  • Page 70: Display Rip Database

    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 [ ip-address { mask-length | mask } ] Views Any view Predefined user roles network-admin network-operator Parameters...
  • Page 71 Syntax display rip process-id interface [ interface-type interface-number ] 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. 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.
  • Page 72: Display Rip Route

    Field Description Indicates whether the interface is enabled to receive and send RIP messages: Input/Output • on—Enabled. • off—Disabled. 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. •...
  • Page 73 O - Optimal, F - Flush to RIB ---------------------------------------------------------------------------- Peer 1.1.1.1 on Vlan-interface2 Destination/Mask Nexthop Cost Flags 3.0.0.0/8 1.1.1.1 RAOF # Display specified routing information for RIP process 1. <Sysname> display rip 1 route 3.0.0.0 8 verbose Route Flags: R – RIP A - Aging, S - Suppressed, G - Garbage-collect O - Optimal, F - Flush to RIB ----------------------------------------------------------------------------...
  • Page 74: Fast-Reroute

    Table 23 Command output Field Description Peer IP address of a neighbor. Optimal Total number of optimal routes. Aging Total number of aging routes. Garbage Total number of routes in the Garbage-collection state. Local Total number of locally generated direct routes. Total Total number of routes learned from all RIP neighbors.
  • Page 75: Filter-Policy Export

    [Sysname] route-policy frr permit node 10 [Sysname-route-policy-frr-10] if-match ip address prefix-list abc [Sysname-route-policy-frr-10] apply fast-reroute backup-interface vlan-interface 1 backup-nexthop 193.1.1.8 [Sysname-route-policy-frr-10] quit [Sysname] rip 100 [Sysname-rip-100] fast-reroute route-policy frr filter-policy export Use filter-policy export to configure RIP to filter redistributed routes. Use undo filter-policy export to remove the filtering.
  • Page 76: Filter-Policy Import

    To deny/permit a route with the specified destination and mask, use the rule [ rule-id ] { deny | • permit } ip source sour-addr sour-wildcard destination dest-addr dest-wildcard command. The source keyword specifies the destination address of a route and the destination keyword specifies the subnet mask of the route.
  • Page 77 Views RIP view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter received routes. prefix-list prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter received routes.
  • Page 78: Graceful-Restart

    Related commands acl (ACL and QoS Command Reference) • ip prefix-list • graceful-restart Use graceful-restart to enable GR for RIP. Use undo graceful-restart to disable RIP GR capability. Syntax graceful-restart undo graceful-restart Default RIP GR is disabled. Views RIP view Predefined user roles network-admin Examples...
  • Page 79: Import-Route

    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. This command takes effect only for RIPv2 routes.
  • Page 80: Maximum Load-Balancing

    Usage guidelines The import-route bgp command redistributes only EBGP routes. The import-route bgp allow-ibgp command additionally redistributes IBGP routes and might cause routing loops. Therefore, use it with caution. This command redistributes only active routes. To view route state information, use the display ip routing-table protocol command.
  • Page 81: Network

    [Sysname-rip-1] maximum load-balancing 2 Related commands max-ecmp-num network Use network to enable RIP on an interface attached to a specified network. Use undo network to disable RIP on an interface attached to a specified network. Syntax network network-address [ wildcard-mask ] undo network network-address Default RIP is disabled on an interface.
  • Page 82: Output-Delay

    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 83: Preference

    Usage guidelines Do not use the peer ip-address command when the neighbor is directly connected. Otherwise, the neighbor might receive both unicast and multicast (or broadcast) messages with the same routing information. This command must be executed together with the undo validate-source-address command, which disables source IP address check on inbound RIP routing updates.
  • Page 84: Reset Rip Process

    Examples # Set a preference of 120 for RIP routes. <Sysname> system-view [Sysname] rip 1 [Sysname-rip-1] preference 120 reset rip process Use reset rip process to reset a RIP process. Syntax reset rip process-id process Views User view Predefined user roles network-admin Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535.
  • Page 85: Rip

    Use rip to enable RIP and enter RIP view. Use undo rip to disable RIP. Syntax rip [ process-id ] [ vpn-instance vpn-instance-name ] undo rip [ process-id ] Default RIP is disabled. Views System view Predefined user roles network-admin Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535.
  • Page 86: Rip Bfd Enable

    Predefined user roles network-admin Parameters md5: Specifies the MD5 authentication. rfc2082: Uses the message format defined in RFC 2082. cipher: Sets a ciphertext key. cipher-string: Specifies a ciphertext key, a case-sensitive string of 33 to 53 characters. plain: Sets a plaintext key. plain-string: Specifies a plaintext key, a case-sensitive string of 1 to 16 characters.
  • Page 87: Rip Bfd Enable Destination

    Predefined user roles network-admin Usage guidelines RIP supports BFD echo-mode detection for a directly connected neighbor, and BFD control-mode detection for an indirectly neighbor. BFD echo-mode detection only applies to a RIP neighbor one hop away. Using the undo peer command does not delete the neighbor relationship immediately and cannot bring down the BFD session immediately.
  • Page 88: Rip Default-Route

    [Sysname-Vlan-interface10] rip bfd enable destination 202.38.165.1 rip default-route Use rip default-route to configure a RIP interface to advertise a default route with a specified metric. Use undo rip default-route to disable a RIP interface from sending a default route. Syntax rip default-route { { only | originate } [ cost cost ] | no-originate } undo rip default-route Default...
  • Page 89: Rip Input

    Syntax rip process-id enable [ exclude-subip ] undo rip enable Default RIP is disabled on an interface. Views Interface view Predefined user roles network-admin Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. exclude-subip: Excludes secondary IP addresses from being enabled with RIP.
  • Page 90: Rip Max-Packet-Length

    <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] undo rip input rip max-packet-length Use rip max-packet-length to set the maximum length of RIP packets. Use undo rip max-packet-length to restore the default. Syntax rip max-packet-length value undo rip max-packet-length Default The maximum length of RIP packets is 512 bytes. Views Interface view Predefined user roles...
  • Page 91: 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 92: Rip Mib-Binding

    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 93: Rip Output

    Use undo rip mib-binding to restore the default. Syntax rip mib-binding process-id undo rip mib-binding Default MIB operation is bound to the RIP process with the smallest process ID. Views System view Predefined user roles network-admin Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. Usage guidelines If the specified process ID does not exist, the MIB binding configuration fails.
  • Page 94: Rip Poison-Reverse

    rip poison-reverse Use rip poison-reverse to enable the poison reverse function. Use undo rip poison-reverse to disable the poison reverse function. Syntax rip poison-reverse undo rip poison-reverse Default The poison reverse function is disabled. Views Interface view Predefined user roles network-admin Examples # Enable the poison reverse function on VLAN-interface 10.
  • Page 95: Rip Summary-Address

    [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip split-horizon rip summary-address Use rip summary-address to configure RIPv2 to advertise a summary route on an interface. Use undo rip summary-address to remove the configuration. Syntax rip summary-address ip-address { mask-length | mask } undo rip summary-address ip-address { mask-length | mask } Default RIPv2 does not advertise a summary route.
  • Page 96: Silent-Interface

    Default No RIP version is configured on an interface. The interface can send RIPv1 broadcasts, and receive RIPv1 broadcasts and unicasts, and RIPv2 broadcasts, multicasts, and unicasts. Views Interface view Predefined user roles network-admin Parameters 1: Specifies the RIP version as RIPv1. 2: Specifies the RIP version as RIPv2.
  • Page 97: Summary

    undo silent-interface { interface-type interface-number | all } Default All RIP interfaces can send RIP messages. Views RIP view Predefined user roles network-admin Parameters interface-type interface-number: Disables a specified interface from sending RIP messages. all: Disables all interfaces from sending RIP messages. Examples # Configure all VLAN interfaces to operate in silent mode except VLAN-interface 10.
  • Page 98: Timers

    16. If no update is announced for that route before the garbage-collect timer expires, RIP deletes the route from the routing table. HP recommends not changing the default values of these timers. The timer lengths must be consistent on all routers on the network.
  • Page 99: Validate-Source-Address

    Examples # Configure the update, timeout, suppress, and garbage-collect timers as 5, 15, 15, and 30 seconds. <Sysname> system-view [Sysname] rip 100 [Sysname-rip-100] timers update 5 timeout 15 suppress 15 garbage-collect 30 validate-source-address Use validate-source-address to enable source IP address check on inbound RIP routing updates. Use undo validate-source-address to disable source IP address check.
  • Page 100 Parameters 1: Specifies the RIP version as RIPv1. 2: Specifies the RIP version as RIPv2. RIPv2 messages are multicast. Usage guidelines An interface prefers the RIP version configured on it over the global RIP version. If no RIP version is specified for the interface and the global version is RIPv1, the interface uses RIPv1, and it can send RIPv1 broadcasts, and receive RIPv1 broadcasts and unicasts.
  • Page 101: Ospf Commands

    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-length | mask } [ advertise | not-advertise ] [ cost cost ] undo abr-summary ip-address { mask-length | mask } Default No route summarization is configured on an ABR.
  • Page 102: Area (Ospf View)

    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, an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format by the system.
  • Page 103: Authentication-Mode

    mask: Specifies the mask in dotted decimal notation. cost cost: Specifies the cost of the summary route, in the range of 1 to 16777214. Without this option, the cost of Type- 1 external routes defaults to the largest cost among routes that are summarized, and the cost of Type-2 external routes defaults to the largest cost among routes that are summarized plus 1.
  • Page 104 undo authentication-mode Default No authentication is performed for an area. Views OSPF area view Predefined user roles network-admin Parameters hmac-md5: Specifies the HMAC-MD5 authentication mode. md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. key-id: Specifies a key by its ID in the range of 0 to 255. cipher: Sets a ciphertext key.
  • Page 105: Bandwidth-Reference (Ospf View)

    [Sysname-ospf-100-area-0.0.0.0] authentication-mode md5 15 plain abc Related commands ospf authentication-mode bandwidth-reference (OSPF view) Use bandwidth-reference to specify a reference bandwidth value for link cost calculation. Use undo bandwidth-reference to restore the default value. Syntax bandwidth-reference value undo bandwidth-reference Default The default value is 100 Mbps. Views OSPF view Predefined user roles...
  • Page 106: Default

    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 107: 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 108: 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 109: Discard-Route

    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 110: Display Ospf

    Examples # Configure the device to generate external and internal discard routes with preferences 100 and 200, respectively. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] discard-route external 100 internal 200 display ospf Use display ospf to display OSPF process information. Syntax display ospf [ process-id ] [ verbose ] [ standby slot slot-number ] Views Any view...
  • Page 111 Transmit pacing: Interval: 20 Count: 3 Default ASE parameters: Metric: 1 Tag: 1 Type: 2 Route preference: 10 ASE route preference: 150 SPF computation count: 22 RFC 1583 compatible Graceful restart interval: 120 SNMP trap rate limit interval: 2 Count: 300 This process is currently bound to MIB Area count: 1 NSSA area count: 1...
  • Page 112 Field Description RouterID Router ID. Router type: • ABR. • Router type ASBR. • NSSA. • Null. Route tag Tag of redistributed routes. Multi-VPN-Instance is not enabled The OSPF process does not support multi-VPN-instance. Opaque LSA advertisement and reception capability is Opaque capable enabled.
  • Page 113 Field Description Route calculation trigger type: • Full—Calculation of all routes is triggered. • Area topology change—Topology change in an area. • Intra router change—Incremental intra-area route change. • ASBR change—Incremental ASBR route change. • 7to5 translator—Type-7-to-Type-5 LSA translator role change.
  • Page 114 Field Description Current process reset type: • N/A—The process is not reset. • Normal—Normal reset. Current reset type • GR quit—Normal reset when GR quits abnormally. • Delete—Delete OSPF process. • VPN delete—Delete VPN. Next process reset type: • N/A—The process is not reset. •...
  • Page 115 Field Description Reset phase of each module: • Main control module: N/A—Not reset. Delete area. Delete process. • Neighbor maintenance (P) module: N/A—Not reset. Delete neighbor. Delete interface. Delete vlink—Delete virtual link. Delete shamlink—Delete sham link. • LSDB synchronization (L) module: N/A—Not reset.
  • Page 116: Display Ospf Abr-Asbr

    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 117: Display Ospf Abr-Summary

    Usage guidelines If you use this command on routers in a stub area, the commands displays no ASBR information. Examples # Display brief information about routes to the ABR or ASBR. <Sysname> display ospf abr-asbr OSPF Process 1 with Router ID 192.168.1.2 Routing Table to ABR and ASBR Type Destination...
  • Page 118 Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays information about ABR summary routes for all OSPF processes. area area-id: Specifies an OSPF area by its ID. The area ID is an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format.
  • Page 119: Display Ospf Asbr-Summary

    ABR Summary Addresses Total summary address count: 1 Area: 0.0.0.1 Total summary addresses: 1 : 100.0.0.0 Mask : 255.0.0.0 Status : Advertise Cost : (Not Configured) Routes count: 1 Destination NetMask Metric 100.1.1.0 255.255.255.0 1000 Table 27 Command output Field Description Destination Destination address of a summarized route.
  • Page 120 Examples # Display information about all summarized redistributed routes for OSPF process 1. <Sysname> display ospf 1 asbr-summary OSPF Process 1 with Router ID 2.2.2.2 Summary Addresses Total Summary Address Count: 1 Summary Address : 30.1.0.0 Mask : 255.255.0.0 : 20 Status : Advertise Cost...
  • Page 121: Display Ospf Event-Log Spf

    display ospf event-log spf Use display ospf event-log spf to display OSPF route calculation log information for a process. Syntax display ospf [ process-id ] event-log spf Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays OSPF route calculation log information for all processes.
  • Page 122: Display Ospf Fast-Reroute Lfa-Candidate

    Field Description Reasons why the route calculation is performed: • Intra-area LSA—Intra-area LSA changes. • Inter-area LSA—Inter-area LSA changes. • External LSA—External LSA changes. • Configuration—Configuration changes. • Area 0 full neighbor number—Number of FULL-state neighbors in Area 0 changes. •...
  • Page 123: Display Ospf Graceful-Restart

    10.0.1.1 10.0.1.2 Vlan10 10.0.11.1 10.0.11.2 Vlan20 Table 30 Command output Field Description Area Area to which the backup next hops belong. Candidate nexthop count Number of backup next hops. NextHop Backup next hop address. IntIP IP address of the output interface. Interface Output interface.
  • Page 124 Restarter : None Helper : None Area: 0.0.0.0 Authtype: None Area flag: Normal Area up Interface count: 2 Interface: 40.4.0.1 (Vlan-interface40) Restarter state: Normal State: P-2-P Type: PTP Last exit reason: Restarter : None Helper : None Neighbor count of this interface: 1 Number of neighbors under Helper: 0 Neighbor IP address...
  • Page 125 Field Description Helper capability that the process supports: • Enable (IETF)—Supports IETF GR helper capability. • Enable (Nonstandard)—Supports non IETF GR helper capability. Helper capability • Enable (IETF and nonstandard)—Supports both IETF GR helper capability and non IETF GR helper capability.
  • Page 126: Display Ospf Interface

    Field Description Neighbor GR state: • Normal—Normal state. GR state • Under GR—GR is in process. • Under Helper—The process is acting as GR helper. Last Helper exit reason Reason that the helper exited last time. Virtual-link Neighbor-ID Router ID of the virtual link's neighbor. Neighbor state: Down, Init, 2-Way, ExStart, Exchange, Neighbor-State Loading, and Full.
  • Page 127 IP Address Type State Cost 192.168.1.1 P-2-P 1562 0.0.0.0 0.0.0.0 Area: 0.0.0.1 IP Address Type State Cost 172.16.0.1 Broadcast 172.16.0.1 0.0.0.0 Table 32 Command output Field Description Area Area ID of the interface. IP address Interface IP address (regardless of whether TE is enabled or not). Type Interface network type: PTP, PTMP, Broadcast, or NBMA.
  • Page 128: Display Ospf Lsdb

    The rollover is in progress, 2 neighbor(s) left. Table 33 Command output Field Description Interface Information about the interface, such as the IP address. Timers OSPF timers: hello, dead, poll, retransmit, and transmit delay. FRR backup Indicates whether LFA calculation is enabled on an interface. Enabled by interface configuration (including OSPF is enabled on the interface (including secondary IP addresses).
  • Page 129 opaque-link: Displays Type-9 LSA (Opaque-link LSA) information in the LSDB. router: Displays Type- 1 LSA (Router LSA) information in the LSDB. summary: Displays Type-3 LSA (Network Summary LSA) information in the LSDB. link-state-id: Specifies a link state ID in the IP address format. originate-router advertising-router-id: Specifies an advertising router by its ID.
  • Page 130 Field Description *Opq-Link Opaque LSA generated by a virtual link. # Display Type-2 LSA (Network LSA) information in the LSDB. <Sysname> display ospf 1 lsdb network OSPF Process 1 with Router ID 192.168.1.1 Area: 0.0.0.0 Link State Database Type : Network LS ID : 192.168.0.2 Adv Rtr...
  • Page 131: Display Ospf Nexthop

    Field Description LSA options: • O—Opaque LSA advertisement capability. • E—AS External LSA reception capability. • Options EA—External extended LSA reception capability. • DC—On-demand link support. • N—NSSA external LSA support. • P—Capability of an NSSA ABR to translate Type-7 LSAs into Type-5 LSAs. Seq# LSA sequence number.
  • Page 132: Display Ospf Non-Stop-Routing Status

    Field Description Nexthop Next hop address. Interface Output interface. RefCount Reference count (routes that reference the next hop). Status Next hop status: valid or invalid. display ospf non-stop-routing status Use display ospf non-stop-routing status to display OSPF NSR status information. Syntax display ospf [ process-id ] non-stop-routing status Views...
  • Page 133: Display Ospf Peer

    display ospf peer Use display ospf peer to display information about OSPF neighbors. Syntax display ospf [ process-id ] peer [ verbose ] [ interface-type interface-number ] [ neighbor-id ] [ standby slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters...
  • Page 134 BFD status: Disabled Table 38 Command output Field Description Neighbor information of the interface in the specified area: • areaID—Area to which the neighbor belongs. Area areaID interface IPAddress(InterfaceName)'s neighbors • IPAddress—Interface IP address. • InterfaceName—Interface name. Router ID Neighbor router ID. Address Neighbor router address.
  • Page 135 Field Description LSA options: • O—Opaque LSA advertisement capability. • E—AS External LSA reception capability. • EA—External extended LSA reception capability. Options • DC—On-demand link support. • N—NSSA external LSA support. • P—Capability of an NSSA ABR to translate Type-7 LSAs into Type-5 LSAs.
  • Page 136: Display Ospf Peer Statistics

    Field Description Neighbor state: Down, Init, Attempt, 2-Way, Exstart, Exchange, State Loading, or Full. Sham link 11.11.11.11 -> Sham link from 11.11.11.11 to 22.22.22.22. 22.22.22.22 display ospf peer statistics Use display ospf peer statistics to display OSPF neighbor statistics. Syntax display ospf [ process-id ] peer statistics [ standby slot slot-number ] Views Any view...
  • Page 137: Display Ospf Request-Queue

    Field Description 2-Way Number of neighboring routers in 2-Way state in the same area. ExStart Number of neighboring routers in ExStart state in the same area. Exchange Number of neighboring routers in Exchange state in the same area. Loading Number of neighboring routers in Loading state in the same area. Full Number of neighboring routers in Full state in the same area.
  • Page 138: Display Ospf Retrans-Queue

    Table 41 Command output Field Description The Router's Neighbor is Router ID Neighbor router ID. Address Neighbor interface IP address. Interface Local interface IP address. Area Area ID. Request list Request list information. Type LSA type. LinkState ID Link state ID. AdvRouter Advertising router.
  • Page 139: Display Ospf Routing

    Network 12.18.0.1 2.2.2.2 80000003 Sum-Net 12.18.1.0 2.2.2.2 80000002 Table 42 Command output Field Description The Router's Neighbor is Router ID Neighbor router ID. Address Neighbor interface IP address. Interface Interface address of the router. Area Area ID. Retrans List Retransmission list. Type LSA type.
  • Page 140 Usage guidelines If no OSPF process is specified, this command displays the routing information for all OSPF processes. If no interface is specified, this command displays OSPF routing information for all interfaces. If no next hop is specified, this command displays all OSPF routing information. Examples # Display OSPF routing information.
  • Page 141 AdvRouter: 192.168.1.2 Area: 0.0.0.0 SubProtoID: 0x1 Preference: 10 NextHop: 192.168.1.2 BkNextHop: N/A IfType: Broadcast BkIfType: N/A Interface: Vlan10 BkInterface: N/A NibID: 0x0 Status: Local Destination: 172.16.0.0/16 Cost: 1563 Type: Inter AdvRouter: 192.168.1.1 Area: 0.0.0.0 SubProtoID: 0x1 Preference: 10 NextHop: 192.168.1.1 BkNextHop: N/A IfType: Broadcast BkIfType: N/A...
  • Page 142: Display Ospf Spf-Tree

    display ospf spf-tree Use display ospf spf-tree to display OSPF topology information. Syntax display ospf [ process-id ] [ area area-id ] spf-tree [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays topology information for all OSPF processes.
  • Page 143 Table 45 Command output Field Description SPF node, represented by a router ID when the node type is Router, or the IP address of the DR when the node type is Network. Node flag: • I—The node is in initialization state. SpfNode •...
  • Page 144 192.168.119.130 Interface: Vlan-interface2 BkNextHop: 1 0.0.0.0 Interface: Vlan-interface2 -->LinkId(114.114.114.111) AdvId : 100.0.0.4 LinkType : NET2RT LsId : 192.168.119.130 LinkCost NextHopCnt: 1 LinkData: 0.0.0.0 LinkNewCost: 0 LinkFlag -->LinkId(100.0.0.4) AdvId : 100.0.0.4 LinkType : NET2RT LsId : 192.168.119.130 LinkCost NextHopCnt: 1 LinkData: 0.0.0.0 LinkNewCost: 0 LinkFlag Table 46 Command output...
  • Page 145: Display Ospf Statistics

    Field Description Link flag: • I—The link is in initialization state. • P—The peer is the parent node. • C—The peer is the child node. • D—The link is to be deleted. LinkFlag • H—The next hop is changed. • V—When the peer node is deleted or added, the peer node is not on the SPF tree or is deleted.
  • Page 146 LSAs originated by this router Router Network : 0 Sum-Net : 0 Sum-Asbr: 0 External: 0 NSSA Opq-Link: 0 Opq-Area: 0 Opq-As LSAs originated: 4 LSAs received: 7 Routing table: Intra area: 2 Inter area: 3 ASE/NSSA: 0 Table 47 Command output Field Description I/O statistics...
  • Page 147 Field Description Inter area Number of inter-area routes. Number of ASE routes. # Display OSPF error statistics. <Sysname> display ospf statistics error OSPF Process 1 with Router ID 192.168.1.112 OSPF Packet Error Statistics : Router ID confusion : Bad packet : Bad version : Bad checksum : Bad area ID...
  • Page 148: Display Ospf Vlink

    Field Description HELLO: Hello-time mismatch Hello packets with mismatched hello timer. HELLO: Dead-time mismatch Hello packets with mismatched dead timer. HELLO: Ebit option mismatch Hello packets with mismatched E-bit in the option field. DD: MTU option mismatch DD packets with mismatched MTU. DD: Unknown LSA type DD packets with unknown LSA type.
  • Page 149: Display Router Id

    Transit Area: 0.0.0.1 Timers: Hello 10 , Dead 40 , Retransmit 5 , Transmit Delay 1 MD5 authentication enabled. The last key is 3. The rollover is in progress, 2 neighbor(s) left. Table 49 Command output Field Description Virtual-link Neighbor-ID ID of the neighbor on the virtual link.
  • Page 150: Enable Link-Local-Signaling

    Syntax dscp dscp-value undo dscp Default The DSCP value for outgoing OSPF packets is 48. Views OSPF view Predefined user roles network-admin Parameters dscp-value: Specifies a DSCP value in the range of 0 to 63 for outgoing OSPF packets. Examples # Set the DSCP value for outgoing OSPF packets to 63 in OSPF process 1.
  • Page 151: Fast-Reroute (Ospf View)

    Use undo enable out-of-band-resynchronization to disable the OSPF out-of-band resynchronization capability. Syntax enable out-of-band-resynchronization undo enable out-of-band-resynchronization Default The OSPF out-of-band resynchronization capability is disabled. Views OSPF view Predefined user roles network-admin Usage guidelines Before you configure this command, enable the link-local signaling capability. Examples # Enable the out-of-band resynchronization capability for OSPF process 1.
  • Page 152: Filter (Ospf Area View)

    route-policy route-policy-name: Uses a 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 Do not use OSPF FRR and BFD for OSPF at the same time. Otherwise, OSPF FRR might fail to work. Do not use the fast-reroute lfa command together with the vlink-peer or sham-link (see MPLS Command Reference) command.
  • Page 153: Filter-Policy Export (Ospf View)

    Examples # Use IP prefix list my-prefix-list to filter inbound Type-3 LSAs, and use ACL 2000 to filter outbound Type-3 LSAs in OSPF Area 1. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] filter prefix-list my-prefix-list import [Sysname-ospf-100-area-0.0.0.1] filter 2000 export filter-policy export (OSPF view) Use filter-policy export to configure OSPF to filter redistributed routes.
  • Page 154: Filter-Policy Import (Ospf View)

    Examples # Use ACL 2000 to filter redistributed routes. <Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule deny source 192.168.10.0 0.0.0.255 [Sysname-acl-basic-2000] quit [Sysname] ospf 100 [Sysname-ospf-100] filter-policy 2000 export # Configure ACL 3000 to permit only route 1 13.0.0.0/16. Use ACL 3000 to filter redistributed routes. <Sysname>...
  • Page 155: Graceful-Restart (Ospf View)

    Usage guidelines To reference an advanced ACL (with a number from 3000 to 3999) in the command or in the specified routing policy, 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 156: Graceful-Restart Helper Enable

    nonstandard: Enables non-IETF GR. global: Enables global GR. In global GR mode, a GR process can be completed only when all GR helpers exist. A GR process fails if a GR helper fails (for example, the interface connected to the GR helper goes down).
  • Page 157: Graceful-Restart Helper Strict-Lsa-Checking

    Syntax graceful-restart helper enable [ planned-only ] undo graceful-restart helper enable Default OSPF GR helper capability is enabled. Views OSPF view Predefined user roles network-admin Parameters planned-only: Enable only planned GR for the GR helper. Without this keyword, this command enables both planned GR and unplanned GR for the GR helper.
  • Page 158: Graceful-Restart Interval (Ospf View)

    [Sysname] ospf 1 [Sysname-ospf-1] graceful-restart helper strict-lsa-checking graceful-restart interval (OSPF view) Use graceful-restart interval to configure the GR interval. Use undo graceful-restart interval to restore the default GR interval. Syntax graceful-restart interval interval-value undo graceful-restart interval Default The GR interval is 120 seconds. Views OSPF view Predefined user roles...
  • Page 159: Import-Route (Ospf View)

    Views OSPF area view Predefined user roles network-admin Parameters ip-address: Specifies the IP address of a host. cost: Specifies a cost for the route, in the range of 1 to 65535. Examples # Advertise host route 1.1.1.1 with a cost of 100. <Sysname>...
  • Page 160: Ispf Enable

    and FULL state neighbors exist in the backbone area, the P-bit is set to 0. This keyword applies to NSSA routers. route-policy route-policy-name: Specifies a routing policy to filter redistributed routes. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. tag tag: Specifies a tag for marking external LSAs, in the range of 0 to 4294967295.
  • Page 161: Log-Peer-Change

    Syntax ispf enable undo ispf enable Default OSPF ISPF is enabled. Views OSPF view Predefined user roles network-admin Usage guidelines Upon topology changes, ISPF recomputes only the affected part of the SPT, instead of the entire SPT. Examples # Enable ISPF for OSPF process 100. <Sysname>...
  • Page 162: Lsa-Arrival-Interval

    OSPF discards the LSA. This feature helps protect resources from being over consumed due to frequent network changes. HP recommends setting the interval with the lsa-arrival-interval command to be smaller than or equal to the initial interval set with the lsa-generation-interval command.
  • Page 163: Lsa-Generation-Interval

    Views OSPF view Predefined user roles network-admin Parameters interval: Specifies the interval that OSPF exits overflow state, in the range of 0 to 2147483647 seconds. Usage guidelines When the number of LSAs in the LSDB exceeds the upper limit, the LSDB is in an overflow state. In this state, OSPF does not receive any external LSAs and deletes the external LSAs generated by itself to save system resources.
  • Page 164: Lsdb-Overflow-Limit

    Usage guidelines When network changes are infrequent, LSAs are generated at the minimum-interval. If network changes become frequent, the LSA generation interval is incremented by incremental-interval × 2 (n is the number of generation times) for each generation until the maximum-interval is reached. The minimum interval and the incremental interval cannot be greater than the maximum interval.
  • Page 165: Network (Ospf Area View)

    Syntax maximum load-balancing maximum undo maximum load-balancing Views OSPF view Predefined user roles network-admin Parameters maximum: Specifies the maximum number of ECMP routes. No ECMP load balancing is available when the number is set to 1. Usage guidelines The default maximum number of OSPF ECMP routes equals the maximum number of ECMP routes supported by the system.
  • Page 166: Non-Stop-Routing

    Parameters ip-address: Specifies the IP address of a network. wildcard-mask: Specifies the wildcard mask of the IP address. For example, the wildcard mask of mask 255.0.0.0 is 0.255.255.255. Usage guidelines This command enables OSPF on the interface attached to the specified network. The interface's primary IP address must be in the specified network.
  • Page 167: Nssa

    nssa Use nssa to configure the current area as an NSSA area. Use undo nssa to restore the default. Syntax nssa [ default-route-advertise [ cost cost | nssa-only | route-policy route-policy-name | type type ] * | no-import-route | no-summary | suppress-fa | [ translate-always | translate-never ] | translator-stability-interval value ] * undo nssa Default...
  • Page 168: Opaque-Capability Enable

    translator-stability-interval value: Specifies the stability interval of the translator. During the interval, the translator can maintain its translating capability after another device becomes the new translator. The value argument is the stability interval in the range of 0 to 900 seconds and defaults to 0. A value of 0 means the translator does not maintain its translating capability when a new translator arises.
  • Page 169: Ospf Area

    Syntax ospf [ process-id | router-id router-id | vpn-instance vpn-instance-name ] * undo ospf [ process-id ] Default OSPF is disabled. 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. router-id router-id: Specifies an OSPF router ID in dotted decimal notation.
  • Page 170: Ospf Authentication-Mode

    area-id: Specifies an area by its ID, an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format by the system. exclude-subip: Excludes secondary IP addresses. Without this keyword, the command enables OSPF also on secondary IP addresses.
  • Page 171: Ospf Bfd Enable

    cipher-string: Specifies a ciphertext key. This argument is case sensitive. If simple is specified, the key must be a string of 33 to 41 characters. If md5 or hmac-md5 is specified, the key must be a string of 33 to 53 characters.
  • Page 172: Ospf Cost

    undo ospf bfd enable Default BFD for OSPF is disabled. Views Interface view Predefined user roles network-admin Parameters echo: Enables BFD single-hop echo detection. Without this keyword, this command enables BFD bidirectional control detection. Usage guidelines Do not use OSPF FRR and BFD for OSPF at the same time. Otherwise, OSPF FRR might fail to take effect. Examples # Enable BFD for OSPF on VLAN-interface 1 1.
  • Page 173: Ospf Dr-Priority

    Examples # Set the OSPF cost on VLAN-interface 10 to 65. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf cost 65 Related commands bandwidth-reference ospf dr-priority Use ospf dr-priority to set the router priority for DR/BDR election on an interface. Use undo ospf dr-priority to restore the default value.
  • Page 174: Ospf Mib-Binding

    Default LFA is enabled on the interface. Predefined user roles network-admin Usage guidelines If you enable LFA on an interface, it can be selected as a backup interface. After you disable LFA on the interface, it cannot be selected as a backup. Examples # Disable VLAN-interface 1 1 from calculating a backup next hop by using the LFA algorithm.
  • Page 175: Ospf Mtu-Enable

    ospf mtu-enable Use ospf mtu-enable to enable an interface to add the interface MTU into DD packets. Use undo ospf mtu-enable to restore the default. Syntax ospf mtu-enable undo ospf mtu-enable Default The MTU in DD packets is 0. Views Interface view Predefined user roles network-admin...
  • Page 176: Ospf Prefix-Suppression

    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 OSPF packets. By default, a P2MP interface multicasts OSPF packets.
  • Page 177: Ospf Timer Dead

    Default Prefix suppression is disabled. Views Interface view Predefined user roles network-admin Parameters disable: Disables prefix suppression on an interface. Usage guidelines To disable prefix suppression on an interface associated with an OSPF process that has been enabled with prefix suppression, execute the ospf prefix-suppression disable command on that interface. For more information, see "prefix-suppression."...
  • Page 178: Ospf Timer Hello

    Usage guidelines If an interface receives no hello packet from a neighbor within the dead interval, the interface considers the neighbor down. The dead interval on an interface is at least four times the hello interval. Routers attached to the same segment must have the same dead interval. Examples # Configure the dead interval for VLAN-interface 10 as 60 seconds.
  • Page 179: Ospf Timer Poll

    ospf timer poll Use ospf timer poll to set the poll interval on an NBMA interface. Use undo ospf timer poll to restore the default. Syntax ospf timer poll seconds undo ospf timer poll Default The poll interval is 120 seconds on an interface. Views Interface view Predefined user roles...
  • Page 180: Ospf Trans-Delay

    Predefined user roles network-admin Parameters interval: Specifies the LSA retransmission interval in the range of 1 to 3600 seconds. Usage guidelines After sending an LSA, an interface waits for an acknowledgement packet. If the interface receives no acknowledgement within the retransmission interval, it retransmits the LSA. To avoid unnecessary retransmissions, set an appropriate retransmission interval.
  • Page 181: Peer

    peer Use peer to specify a neighbor in an NBMA or P2MP network. Use undo peer to remove the configuration. Syntax peer ip-address [ cost value | dr-priority dr-priority ] undo peer ip-address Default No neighbor is specified. Views OSPF view Predefined user roles network-admin Parameters...
  • Page 182: Preference

    Syntax pic [ additional-path-always ] undo pic Default OSPF PIC is enabled. Views OSPF view Predefined user roles network-admin Parameters additional-path-always: Allows the indirect suboptimal route as the backup route. Usage guidelines Prefix Independent Convergence (PIC) enables the device to speed up network convergence by ignoring the number of prefixes.
  • Page 183: Prefix-Priority

    value: Specifies the preference value in the range of 1 to 255. The smaller the value, the higher the preference. Usage guidelines If multiple routing protocols find routes to the same destination, the router uses the route found by the protocol with the highest preference.
  • Page 184: Prefix-Suppression

    Predefined user roles network-admin Usage guidelines If you want to use prefix suppression, HP recommends that you configure prefix suppression on all OSPF routers. To disable an OSPF process from advertising the prefixes of loopback interfaces and passive interfaces, configure prefix suppression on the interfaces by using the ospf prefix-suppression command.
  • Page 185: Reset Ospf Counters

    Related commands ospf prefix-suppression reset ospf counters Use reset ospf counters to clear OSPF statistics. Syntax reset ospf [ process-id ] counters Views User view Predefined user roles network-admin Parameters process-id: Clears the statistics for an OSPF process specified by its ID in the range of 1 to 65535. Examples # Clear OSPF statistics for all processes.
  • Page 186: Reset Ospf Redistribution

    Examples # Reset all OSPF processes. <Sysname> reset ospf process Reset OSPF process? [Y/N]:y reset ospf redistribution Use reset ospf redistribution to restart route redistribution. Syntax reset ospf [ process-id ] redistribution Views User view Predefined user roles network-admin Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535.
  • Page 187: Router Id

    Selects the route with lower cost if two routes have equal preference. Selects the route with larger originating area ID if two routes have equal cost. To avoid routing loops, HP recommends setting identical RFC 1583-compatibility on all routers in a routing domain.
  • Page 188: Silent-Interface (Ospf View)

    after a physical interface address is selected as the router ID, or a higher interface IP address is configured as the router ID. After a router ID is changed, you must use the reset command to enable it. Examples # Configure a global router ID as 1.1.1.1. <Sysname>...
  • Page 189 Syntax 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 ] * 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 |...
  • Page 190: Snmp Trap Rate-Limit

    virtneighbor-state-change: Specifies notifications about the neighbor state change of a virtual interface. Examples # Disable SNMP notifications for OSPF. <Sysname> system-view [Sysname] undo snmp-agent trap enable ospf snmp trap rate-limit Use snmp trap rate-limit to configure the SNMP notification output interval and the maximum number of SNMP notifications that can be output at each interval.
  • Page 191: Stub (Ospf Area View)

    Views OSPF view Predefined user roles network-admin Parameters maximum-interval: Specifies the maximum OSPF SPF calculation interval in the range of 1 to 60 seconds. minimum-interval: Specifies the minimum OSPF SPF calculation interval in the range of 10 to 60000 milliseconds. incremental-interval: Specifies the incremental OSPF SPF calculation interval in the range of 10 to 60000 milliseconds.
  • Page 192: Stub-Router

    Parameters default-route-advertise-always: Used only on a stub ABR. With this keyword, the ABR advertises a default route in a Type-3 LSA into the stub area regardless of whether FULL-state neighbors exist in the backbone area. Without this keyword, the ABR advertises a default route in a Type-3 LSA into the stub area only when at least one FULL-state neighbor exists in the backbone area.
  • Page 193: Transmit-Pacing

    wait-for-bgp seconds: Specifies the router as a stub router during BGP route convergence after reboot, and specifies the timeout time in the range of 5 to 86400 seconds. The default timeout time is 600 seconds. summary-lsa max-metric-value: Specifies a cost for the Type-3 LSAs, in the range of 1 to 16777215. The default cost value is 1671 1680.
  • Page 194: Vlink-Peer (Ospf Area View)

    [Sysname] ospf 1 [Sysname-ospf-1] transmit-pacing interval 30 count 10 vlink-peer (OSPF area view) Use vlink-peer to configure a virtual link. Use undo vlink-peer to remove a virtual link. Syntax vlink-peer router-id [ dead seconds | hello seconds | { { hmac-md5 | md5 } key-id { cipher cipher-string | plain plain-string } | simple { cipher cipher-string | plain plain-string } } | retransmit seconds | trans-delay seconds ] * undo vlink-peer router-id [ dead | hello | { hmac-md5 | md5 } key-id | retransmit | simple |...
  • Page 195 Usage guidelines As defined in RFC 2328, all non-backbone areas must maintain connectivity to the backbone. You can use the vlink-peer command to configure a virtual link to connect an area to the backbone. When you configure this command, follow these guidelines: The smaller the hello interval is, the faster the network converges, and the more network resources •...
  • Page 196: Is-Is Commands

    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 197: 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 198: Bandwidth-Reference (Is-Is View)

    Interface bandwidth Cost ≤155 Mbps ≤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 • isis cost • bandwidth-reference (IS-IS view) Use bandwidth-reference to set the bandwidth reference value for automatic link cost calculation.
  • Page 199: Circuit-Cost

    circuit-cost Use circuit-cost to set a global IS-IS link cost. 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...
  • Page 200: Default-Route-Advertise (Is-Is View)

    Default Only narrow cost style packets can be received and sent. Views 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 201: Display Isis Brief

    Predefined user roles network-admin Parameters level-1: Advertises a Level- 1 default route. level-1-2: Advertises both Level- 1 and Level-2 default routes. 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.
  • Page 202: Display Isis Graceful-Restart Event-Log

    IS-IS(1) Protocol Brief Information network-entity : 10.0000.0000.0001.00 is-level : level-1-2 cost-style : narrow fast-reroute : disable preference : 15 lsp-length receive : 1497 lsp-length originate level-1 : 1497 level-2 : 1497 maximum imported routes : 1000000 timers lsp-max-age : 1200 lsp-refresh : 900 SPF intervals...
  • Page 203: Display Isis Graceful-Restart Status

    Syntax display isis graceful-restart event-log slot slot-number Views Any view Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies an IRF member device by its ID. Examples # Display IS-IS GR log information about IRF member device 1. <Sysname> display isis graceful-restart event-log slot 1 IS-IS loginfo : Jul 18 20:44:33 2012 -Slot=0 Enter HA Block status Jul 18 10:44:33 2012 -Slot=0 Exit HA Block status...
  • Page 204 Views Any view Predefined user roles network-admin 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. Without this argument, the command displays GR state of all IS-IS processes.
  • Page 205: Display Isis Interface

    Field Description Current Restart phase: • Initialization. • LSDB synchronization. • First SPF computation. • Restart phase Redistribution. • Second SPF computation. • LSP stability—Ready to generate LSPs. • LSP generation. • Finish. Restart t1 T1 timer, in seconds. count Number of T1 timer expirations.
  • Page 206 standby slot slot-number: Displays backup IS-IS interface information for an IRF member device. Without this option, the command displays IS-IS interface information. Examples # Display brief IS-IS interface information. <Sysname> display isis interface Interface information for IS-IS(1) ---------------------------------- Interface: Vlan-interface2 IPv4.State IPv6.State Type...
  • Page 207: Display Isis Lsdb

    Field Description IP address Primary IP address. Secondary IP address(es) Secondary IP addresses. IPv6 link-local address IPv6 link local address. CSNP timer value Interval for sending CSNP packets. Hello timer value Interval for sending Hello packets. Hello multiplier value Number of invalid Hello packets. Lsp timer value Minimum interval for sending LSP packets.
  • Page 208 Syntax display isis lsdb [ [ level-1 | level-2 ] | local | [ lsp-id lspid | lsp-name lspname ] | verbose ] * [ process-id ] [ standby slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters level-1: Displays the level- 1 LSDB.
  • Page 209 *-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload # Display detailed Level- 1 LSDB information. <Sysname> display isis lsdb level-1 verbose Database information for ISIS(1) -------------------------------- Level-1 Link State Database --------------------------- LSPID Seq Num Checksum Holdtime Length ATT/P/OL ------------------------------------------------------------------------------- 5555.1111.1111.00-00 0x00000006 0x8519 1124 0/0/0...
  • Page 210: Display Isis Name-Table

    Table 56 Command output Field Description LSPID LSP ID. Seq Num LSP sequence number. Checksum LSP checksum. Holdtime LSP lifetime, which decreases as time elapses. Length LSP length. • ATT—Attach bit. • P—Partition bit. ATT/P/OL • OL—Overload bit. 1 means the LSP bit is set and 0 means the LSP bit is not set. Source System ID of the originating router.
  • Page 211: Display Isis Non-Stop-Routing Event-Log

    Parameters process-id: Displays the host name to system ID mapping table for an IS-IS process specified by its ID in the range of 1 to 65535. Without this argument, the command displays the host name to system ID mapping table for all IS-IS processes. Examples # Configure a name RUTA for the local IS system.
  • Page 212: Display Isis Non-Stop-Routing Status

    <Sysname> display isis non-stop-routing event-log slot 0 IS-IS loginfo : Jul 20 08:34:05 2012 -Slot=0 Enter HA Block status Jul 19 22:34:05 2012 -Slot=0 Exit HA Block status Jul 19 22:37:53 2012 -Slot=0 Process 1 enter NSR phase (Initialization). Jul 19 22:37:53 2012 -Slot=0 Process 1 enter NSR phase (Smooth). Jul 19 22:37:53 2012 -Slot=0 Process 1 enter NSR phase (First SPF computation).
  • Page 213: Display Isis Peer

    Table 59 Command output Field Description NSR phase: • Initialization. • Smooth. • First SPF computation. • NSR phase Redistribution. • Second SPF computation. • LSP stability—Ready to generate LSPs. • LSP generation. • Finish. display isis peer Use display isis peer to display IS-IS neighbor information. Syntax display isis peer [ statistics | verbose ] [ process-id ] [ standby slot slot-number ] Views...
  • Page 214 System Id: 0000.0000.0001 Interface: Vlan2 Circuit Id: 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: 0000.1111.2222 Interface: Vlan2 Circuit Id: 0000.1111.2222.01 State: Up Holdtime: Type: L1(L1L2) PRI: 64...
  • Page 215 Field Description Circuit type: • L1—Means the circuit type is Level- 1 and the neighbor is a Level- 1 router. • L2—Means the circuit type is Level-2 and the neighbor is a Level-2 router. Type • L1(L1L2)—Means the circuit type is Level- 1 and the neighbor is a Level- 1 -2 router.
  • Page 216: Display Isis Redistribute

    display isis redistribute Use display isis redistribute to display the redistributed IS-IS routing information. Syntax display isis redistribute [ ipv4 [ ip-address mask-length ] ] [ level-1 | level-2 ] [ process-id ] Views Any view Predefined user roles network-admin network-operator Parameters ipv4: Displays the redistributed IPv4 routing information (the default).
  • Page 217: Display Isis Route

    Field Description Redistributed route type: • Direct. • IS-IS. • Type Static. • OSPF. • BGP. • RIP. IPV4 Destination IPv4 destination address. IntCost Internal cost of the route. ExtCost External cost of the route. Tag value. State Indicates whether the route is valid. display isis route Use display isis route to display IS-IS IPv4 routing information.
  • Page 218 <Sysname> display isis route Route information for ISIS(1) ----------------------------- Level-1 IPv4 Forwarding Table ----------------------------- IPv4 Destination IntCost ExtCost ExitInterface NextHop Flags ------------------------------------------------------------------------------- 8.8.8.0/24 NULL Vlan2 Direct D/L/- 9.9.9.0/24 NULL Vlan2 8.8.8.5 R/L/- Flags: D-Direct, R-Added to Rib, L-Advertised in LSPs, U-Up/Down Bit Set Level-2 IPv4 Forwarding Table ----------------------------- IPv4 Destination...
  • Page 219 ----------------------------- Level-1 IPv4 Forwarding Table ----------------------------- IPV4 Dest : 8.8.8.0/24 Int. Cost : 10 Ext. Cost : NULL Admin Tag : - Src Count : 2 Flag : D/L/- NextHop Interface : ExitIndex : Direct Vlan2 0x00000000 IPV4 Dest : 9.9.9.0/24 Int.
  • Page 220: Display Isis Spf-Tree

    display isis spf-tree Use display isis spf-tree to display IS-IS IPv4 topology information. Syntax display isis spf-tree [ ipv4 ] [ [ level-1 | level-2 ] | verbose ] * [ process-id ] Views Any view Predefined user roles network-admin network-operator Parameters ipv4: Displays IS-IS IPv4 topology information.
  • Page 221 -->0000.0000.0064.00 -/-/C/-/-/-/-/-/- 0000.0000.0032.01 S/-/-/R/-/- -->0000.0000.0064.00 -/-/C/-/-/-/-/-/- -->0000.0000.0032.00 -/-/-/P/-/-/-/-/- 0000.0000.0064.00 S/-/-/R/-/- -->0000.0000.0032.00 -/-/-/P/-/-/-/-/- -->0000.0000.0032.01 -/-/-/P/-/-/-/-/- Level-2 Shortest Path Tree -------------------------- SpfNode NodeFlag SpfLink LinkCost LinkFlag ------------------------------------------------------------------------------- 0000.0000.0032.00 S/-/-/-/-/- -->0000.0000.0032.01 -/-/C/-/-/-/-/-/- -->0000.0000.0064.00 -/-/C/-/-/-/-/-/- 0000.0000.0032.01 S/-/-/R/-/- -->0000.0000.0064.00 -/-/C/-/-/-/-/-/- -->0000.0000.0032.00 -/-/-/P/-/-/-/-/- 0000.0000.0064.00 S/-/-/R/-/- -->0000.0000.0032.00 -/-/-/P/-/-/-/-/- -->0000.0000.0032.01 -/-/-/P/-/-/-/-/-...
  • Page 222 LinkSrcCnt : 1 Type: Adjacent Interface: N/A Cost: 10 Nexthop : N/A -->0000.0000.0064.00 LinkCost : 10 LinkNewCost: 10 LinkFlag : -/-/C/-/-/-/-/-/- LinkSrcCnt : 1 Type: Adjacent Interface: Tun1 Cost: 10 Nexthop : 20.20.20.64 SpfNode : 0000.0000.0032.01 Distance : 10 NodeFlag : S/-/-/R/-/- NextHopCnt: 0 SpfLinkCnt: 2...
  • Page 223 LinkSrcCnt : 1 Type: Remote Interface: N/A Cost: 10 Nexthop : N/A -->0000.0000.0032.01 LinkCost : 10 LinkNewCost: 10 LinkFlag : -/-/-/P/-/-/-/-/- LinkSrcCnt : 1 Type: Remote Interface: N/A Cost: 10 Nexthop : N/A Level-2 Shortest Path Tree -------------------------- SpfNode : 0000.0000.0032.00 Distance NodeFlag : S/-/-/-/-/-...
  • Page 224 LinkNewCost: 0 LinkFlag : -/-/-/P/-/-/-/-/- LinkSrcCnt : 1 Type: Adjacent Interface: N/A Cost: 0 Nexthop : N/A SpfNode : 0000.0000.0064.00 Distance : 10 NodeFlag : S/-/-/R/-/- NextHopCnt: 2 Neighbor : 0000.0000.0064.00 Interface : Vlan2 NextHop : 10.10.10.64 BkNeighbor: N/A BkInterface: N/A BkNextHop : N/A Neighbor : 0000.0000.0064.00...
  • Page 225: Display Isis Statistics

    Field Description NextHop Primary next hop of the node or the link advertising source. Interface Primary output interface of the node or the link advertising source. BkNextHop Backup next hop. BkInterface Backup output interface. Neighbor ID of the primary next hop neighbor. BkNeighbor ID of the backup next hop neighbor.
  • Page 226 Parameters level-1: Displays IS-IS Level- 1 statistics. level-1-2: Displays IS-IS Level- 1 -2 statistics. level-2: Displays IS-IS Level-2 statistics. process-id: Displays statistics for an IS-IS process specified by its ID in the range of 1 to 65535. 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.
  • Page 227: Display Osi

    Learnt routes information: Total IPv4 Learnt Routes in IPv4 Routing Table: 0 Total IPv6 Learnt Routes in IPv6 Routing Table: 0 Imported routes information: IPv4 Imported Routes: Static: 0 Direct: 0 ISIS: BGP: RIP: OSPF: Total Number: IPv6 Imported Routes: Static: 0 Direct: 0 ISISv6: 0...
  • Page 228 Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies an IRF member device by its ID. Without this option, the command displays OSI connection information about all IRF member devices. Examples # Display OSI connection information. <Sysname> display osi Total OSI socket number: 1 Slot: 1 Creator: isisd[1007] State: N/A...
  • Page 229: Display Osi Statistics

    Field Description Input interfaces and matched multicast MAC addresses. Only Enabled interfaces packets received from Ethernet link-layer interfaces need to match the multicast MAC addresses. display osi statistics Use display osi statistics to display OSI packet statistics, including received packets, relayed packets, discarded packets, and sent packets.
  • Page 230: Domain-Authentication-Mode

    Field Description Number of discarded packets due to unavailable IRF Invalid service slot member device. Number of discarded packets due to mismatches in input No matched socket interfaces, MAC addresses, or connection filter criteria. Not delivered, input socket Number of undelivered packets due to a socket receiving full buffer overflow.
  • Page 231: Fast-Reroute

    hmac-sha-1: Specifies the HMAC-SHA- 1 algorithm. hmac-sha-224: Specifies the HMAC-SHA-224 algorithm. hmac-sha-256: Specifies the HMAC-SHA-256 algorithm. hmac-sha-384: Specifies the HMAC-SHA-384 algorithm. hmac-sha-512: Specifies the HMAC-SHA-512 algorithm. cipher: Sets a ciphertext password. cipher-string: Specifies a ciphertext password of 33 to 53 characters. plain: Sets a plaintext password.
  • Page 232: Filter-Policy Export

    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. Usage guidelines Do not use FRR and BFD at the same time.
  • Page 233: Filter-Policy Import

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

    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 235: Graceful-Restart

    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. Views IS-IS view Predefined user roles network-admin Parameters flood-count flooding-count: Specifies the maximum number of LSPs to be flooded before the next SPF calculation, in the range of 1 to 15.
  • Page 236: Graceful-Restart Suppress-Sa

    Usage guidelines IS-IS GR and IS-IS NSR are mutually exclusive. Therefore, do not configure the graceful-restart command and the non-stop-routing command at the same time. 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...
  • Page 237: Graceful-Restart T2

    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 Parameters seconds: Specifies the T1 timer in the range of 3 to 10 seconds. count: Specifies the number of times that the T1 timer can expire, in the range of 1 to 20.
  • Page 238: Graceful-Restart T3

    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. If the LSDBs have not achieved synchronization before the two timers expire, the GR process fails.
  • Page 239: Import-Route

    <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] graceful-restart t3 500 Related commands graceful-restart • graceful-restart t1 • graceful-restart t2 • import-route Use import-route to redistribute routes from another routing protocol or another IS-IS process. Use undo import-route to remove the redistribution. Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | cost-type { external | internal } | [ level-1 | level-1-2 | level-2 ] | route-policy route-policy-name | tag tag ] *...
  • Page 240: Import-Route Isis Level-1 Into Level-2

    route-policy route-policy-name: Redistributes only routes matching the specified routing policy. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. tag tag: Specifies a tag value for marking redistributed routes, in the range of 1 to 4294967295. Usage guidelines IS-IS takes all the redistributed routes as external routes to destinations outside the IS-IS routing domain.
  • Page 241: Import-Route Isis Level-2 Into Level-1

    acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter routes from Level- 1 to Level-2. 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- 1 to Level-2 by destination address. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter routes from Level- 1 to Level-2.
  • Page 242: Import-Route Limit

    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. route-policy route-policy-name: Uses the specified routing policy to filter routes from Level-2 to Level- 1 . The route-policy-name argument is a case-sensitive string of 1 to 63 characters.
  • Page 243: Isis

    [Sysname-isis-1] import-route limit 1000 Related commands import-route isis Use isis to enable an IS-IS process and enter IS-IS view. Use undo isis to disable an IS-IS process. Syntax isis [ process-id ] [ vpn-instance vpn-instance-name ] undo isis [ process-id ] Default The system does not run any IS-IS process.
  • Page 244 Default No neighbor relationship authentication is configured. Views Interface view Predefined user roles network-admin 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 245: Isis Bfd Enable

    Examples # On VLAN-interface 10, configure the authentication mode as simple, and set the plaintext password to 123456. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis authentication-mode simple plain 123456 Related commands area-authentication-mode • domain authentication-mode • isis bfd enable Use isis bfd enable to enable BFD.
  • Page 246: Isis Circuit-Type P2P

    Views Interface view Predefined user roles network-admin Parameters level-1: Sets the circuit level to Level- 1 . level-1-2: Sets the circuit level to Level- 1 -2. level-2: Sets the circuit level to Level-2. Usage guidelines For a Level- 1 (Level-2) router, the circuit level can only be Level- 1 (Level-2). For a Level- 1 -2 router, you must specify a circuit level for a specific interface to form only the specified level neighbor relationship.
  • Page 247: Isis Cost

    If only two routers exist on a broadcast network, configure the network type of attached interfaces as P2P to avoid DIS election and CSNP flooding, saving network bandwidth and speeding up network convergence. Examples # Configure the network type of VLAN-interface 10 as P2P. <Sysname>...
  • Page 248: Isis Dis-Name

    isis dis-name NOTE: This command does not take effect on a Point-to-Point interface. Use isis dis-name to configure a name for a DIS to represent the pseudo node on a broadcast network. Use undo isis dis-name to restore the default. Syntax isis dis-name symbolic-name undo isis dis-name...
  • Page 249: Isis Enable

    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. On an IS-IS broadcast network, a router must be elected as the DIS at each routing level.
  • Page 250: Isis Mib-Binding

    <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 mib-binding Use isis mib-binding to bind an IS-IS process to MIB operation. Use undo isis mib-binding to restore the default. Syntax isis mib-binding process-id undo isis mib-binding...
  • Page 251: Isis Small-Hello

    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 252: 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 253: 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 If a neighbor does not receive any hello packets from the router within the advertised hold time, it considers the router down and recalculates the routes.
  • Page 254: Isis Timer Lsp

    level-2: Applies the number to the Level-2 IS-IS neighbor. Usage guidelines The hello multiplier is the number of hello packets a neighbor must miss before declaring the router is down. If a neighbor does not receive any hello packets from the router within the advertised hold time, it considers the router down and recalculates the routes.
  • Page 255: Isis Timer Retransmit

    Parameters time: Specifies the minimum interval in milliseconds for sending link-state packets, in the range of 1 to 1000. count: Specifies the maximum number of link-state packets to be sent at one time, in the range of 1 to 1000. Usage guidelines If a change occurs in the LSDB, IS-IS advertises the changed LSP to neighbors.
  • Page 256: Is-Level

    [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis circuit-type p2p [Sysname-Vlan-interface10] isis timer retransmit 50 Related commands isis circuit-type p2p • isis timer lsp • is-level Use is-level to specify the IS level. Use undo is-level to restore the default. Syntax is-level { level-1 | level-1-2 | level-2 } undo is-level Default The IS level is level-1-2.
  • Page 257: Is-Name Map

    Syntax is-name sys-name undo is-name Default Dynamic system ID to hostname mapping is not enabled. Views IS-IS view Predefined user roles network-admin Parameters sys-name: Specifies a host name for the local IS, a case-insensitive string of 1 to 64 characters. Usage guidelines To display the host name rather than the system ID of an IS by using the display isis lsdb command, first enable dynamic system ID to hostname mapping.
  • Page 258: Ispf Enable

    Examples # Map the host name RUTB to the system ID 0000.0000.0041 of the remote IS. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] is-name map 0000.0000.0041 RUTB Related commands display isis name-table ispf enable Use ispf enable to enable IS-IS incremental SPF (ISPF). Use undo ispf enable to disable IS-IS ISPF.
  • Page 259: 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 information center. The information center processes the logs according to user-defined output rules (whether to output logs and where to output). For more information about the information center, see Network Management and Monitoring Configuration Guide.
  • Page 260: Lsp-Length Originate

    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 261: Maximum Load-Balancing (Is-Is View)

    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 262: Non-Stop-Routing

    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 263: Preference

    undo non-stop-routing Views IS-IS view Predefined user roles network-admin Usage guidelines IS-IS NSR and IS-IS GR are mutually exclusive. Therefore, do not configure the non-stop-routing command and the graceful-restart command at the same time. Examples # Enable NSR for IS-IS process 1. <Sysname>...
  • Page 264: Priority

    [Sysname-isis-1] preference 25 priority Use priority to assign convergence priorities to specific IS-IS routes. Use undo priority to remove the configuration. Syntax priority { critical | high | medium } { prefix-list prefix-list-name | tag tag-value } undo priority { critical | high | medium } [ prefix-list | tag ] Default IS-IS routes have the lowest convergence priority.
  • Page 265: Reset Isis Graceful-Restart Event-Log

    Predefined user roles network-admin Parameters process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535 to clear the data structure information for an IS-IS process. graceful-restart: Recovers the data through graceful restart after the data is cleared. Usage guidelines If no IS-IS process is specified, the command clears data structure information for all IS-IS processes.
  • Page 266: Reset Isis Peer

    Examples # Clear IS-IS NSR log information on IRF member device 1. <Sysname> reset isis non-stop-routing event-log slot 1 reset isis peer Use reset isis peer to clear data structure information for a specified IS-IS neighbor. Syntax reset isis peer system-id [ process-id ] Views User view Predefined user roles...
  • Page 267: Set-Overload

    set-overload Use set-overload to set the overload bit. Use undo set-overload to clear the overload bit. Syntax set-overload [ on-startup [ [ start-from-nbr system-id [ timeout1 [ nbr-timeout ] ] ] | timeout2 ] [ allow { external | interlevel } * ] undo set-overload Default The overload bit is not set.
  • Page 268: Snmp Context-Name

    <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] set-overload snmp context-name Use snmp context-name to set the context name for the SNMP object for managing IS-IS. Use undo snmp context-name to restore the default. Syntax snmp context-name context-name undo snmp context-name Default No context name is set for the SNMP object for managing IS-IS.
  • Page 269 maxarea-mismatch | own-lsp-purge | protocol-support | rejected-adjacency | skip-sequence-number | version-skew ] * undo snmp-agent trap enable isis [ adjacency-state-change | area-mismatch | authentication | authentication-type | buffsize-mismatch | id-length-mismatch | lsdboverload-state-change | lsp-corrupt | lsp-parse-error | lsp-size-exceeded | manual-address-drop | max-seq-exceeded | maxarea-mismatch | own-lsp-purge | protocol-support | rejected-adjacency | skip-sequence-number | version-skew ] * Default...
  • Page 270: Summary (Is-Is View)

    Examples # Disable IS-IS notification sending. <Sysname> system-view [Sysname] undo snmp-agent trap enable isis summary (IS-IS view) Use summary to configure a summary route. Use undo summary to remove a summary route. Syntax summary ip-address { mask-length | mask } [ avoid-feedback | generate_null0_route | [ level-1 | level-1-2 | level-2 ] | tag tag ] * undo summary ip-address { mask-length | mask } [ level-1 | level-1-2 | level-2 ] Default...
  • Page 271: Timer Lsp-Generation

    <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] summary 202.0.0.0 255.0.0.0 timer lsp-generation Use timer lsp-generation to configure LSP generation interval. Use undo timer lsp-generation to remove the configuration. Syntax timer lsp-generation maximum-interval [ minimum-interval [ incremental-interval ] ] [ level-1 | level-2 ] undo timer lsp-generation [ level-1 | level-2 ] Default The maximum interval is 5 seconds, the minimum interval is 50 milliseconds, and the incremental interval...
  • Page 272: Timer Lsp-Max-Age

    timer lsp-max-age Use timer lsp-max-age to set the LSP maximum age in the LSDB. Use undo timer lsp-max-age to restore the default. Syntax timer lsp-max-age seconds undo timer lsp-max-age Default The LSP maximum age is 1200 seconds. Views IS-IS view Predefined user roles network-admin Parameters...
  • Page 273: Timer Spf

    Predefined user roles network-admin Parameters seconds: Specifies the LSP refresh interval in the range of 1 to 65534 seconds. Usage guidelines To prevent valid routes from aging out and to synchronize LSPs in the network, each router needs to refresh its LSPs at a configurable interval and send them to other routers. A smaller refresh interval speeds up network convergence but consumes more bandwidth.
  • Page 274: Virtual-System

    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. By adjusting the SPF calculation interval, you can prevent bandwidth and router resources from being overused due to frequent topology changes.
  • Page 275: Bgp Commands

    BGP commands address-family ipv4 Use address-family ipv4 to create the BGP IPv4 unicast address family or BGP-VPN IPv4 unicast address family and enter its view. Use undo address-family ipv4 to remove the BGP IPv4 unicast address family or BGP-VPN IPv4 unicast address family and all configurations in address family view.
  • Page 276: Address-Family Ipv6

    address-family ipv6 Use address-family ipv6 to create the BGP IPv6 unicast address family or BGP-VPN IPv6 unicast address family and enter its view. Use undo address-family ipv6 to remove the BGP IPv6 unicast address family or BGP-VPN IPv6 unicast address family and all configurations in address family view. Syntax address-family ipv6 [ unicast ] undo address-family ipv6 [ unicast ]...
  • Page 277: Aggregate

    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. Views BGP view Predefined user roles network-admin Usage guidelines The advertise-rib-active command does not apply to the following routes: Routes redistributed by the import-route command •...
  • Page 278 Default No summary route is configured. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view Predefined user roles network-admin Parameters ip-address: Specifies a summary address. mask: Specifies a mask for the summary address, in dotted decimal notation. mask-length: Specifies a mask length for the summary address, in the range of 0 to 32.
  • Page 279 Table 69 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 280: 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] address-family ipv4 unicast [Sysname-bgp-ipv4] aggregate 1.1.0.0 255.255.0.0 origin-policy srcrt # In BGP IPv4 unicast address family 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 281 Default Load balancing is not enabled. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family 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 282: Balance As-Path-Neglect

    balance as-path-neglect Use balance as-path-neglect to enable BGP to implement load balancing over routes with different AS_PATH attributes. Use undo balance as-path-neglect to disable BGP to implement load balancing over routes with different AS_PATH attributes. Syntax balance as-path-neglect undo balance as-path-neglect Default BGP does not implement load balancing over routes with different AS_PATH attributes.
  • Page 283: Bestroute Compare-Med

    Syntax bestroute as-path-neglect undo bestroute as-path-neglect Default BGP considers the AS_PATH during best route selection. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view Predefined user roles network-admin Examples...
  • Page 284: Bestroute Med-Confederation

    becomes the optimal route in the BGP routing table. In this way, route learning sequence might affect optimal route selection. 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.
  • Page 285: Bgp

    peers. The AS_PATH attributes of these routes are 65006 65009, 65007 65009, and 65008 65009, and the MED values of them are 2, 3, and 1. Because the third route's AS_PATH attribute contains AS number 65008 that does not belong to the confederation, BGP does not compare it with other routes. As a result, the first route becomes the optimal route.
  • Page 286: Compare-Different-As-Med

    A router supports 4-byte AS number. 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.
  • Page 287: Confederation Id

    [Sysname-bgp] address-family ipv6 unicast [Sysname-bgp-ipv6] compare-different-as-med confederation id Use confederation id to configure a confederation ID. Use undo confederation id to remove the specified confederation ID. Syntax confederation id as-number undo confederation id Default No confederation ID is configured. Views BGP view Predefined user roles network-admin...
  • Page 288: Confederation Nonstandard

    [Sysname-bgp] peer 200.1.1.1 group Remote98 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...
  • Page 289: Dampening

    undo confederation peer-as [ as-number-list ] 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. A maximum of 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 290 Predefined user roles network-admin 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.
  • Page 291: Default Local-Preference

    display bgp dampening parameter ipv6 unicast • 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 address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view...
  • Page 292: 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 address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view Predefined user roles network-admin...
  • Page 293: 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 address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view Predefined user roles network-admin...
  • Page 294: Display Bgp Dampening Parameter Ipv4 Unicast

    # In BGP-VPN IPv6 unicast address family 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] address-family ipv6 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 295: 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 296: Display Bgp Group

    display bgp group Use display bgp group to display BGP peer group information. Syntax display bgp group { ipv4 | ipv6 } [ unicast ] [ vpn-instance vpn-instance-name ] [ group-name ] display bgp group vpnv4 [ vpn-instance vpn-instance-name ] [ group-name ] display bgp group { l2vpn | vpnv6 } [ group-name ] Views Any view...
  • Page 297 BGP peer group: group1 Remote AS: 600 Type: external Maximum number of prefixes allowed: 4294967295 Threshold: 75% Configured hold time: 180 seconds Keepalive time: 60 seconds Minimum time between advertisements: 30 seconds Peer preferred value: 0 Routing policy configured: No routing policy is configured Members: Peer MsgRcvd...
  • Page 298: Display Bgp Network

    Field Description Maximum number of routes allowed to learn from the peer. Maximum number of prefixes allowed This field does not apply to BGP L2VPN. Percentage of received routes from the peer to maximum routes allowed to learn from the peer. If the percentage is reached, the system Threshold generates a log message.
  • Page 299 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. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters.
  • Page 300: 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 73 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 301: Display Bgp Peer

    Table 74 Command output Field Description RefCount Number of BGP routes with these path attributes. MULTI_EXIT_DISC attribute. 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 302 group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. ip-address: Specifies a peer by its IP address. log-info: Displays log information. verbose: Displays detailed information. Usage guidelines If no parameter is specified, this command displays brief information about all BGP peers for the specified address family.
  • Page 303 BGP last state: OpenConfirm Port: Local - 179 Remote - 60672 Configured: Active Hold Time: 180 sec Keepalive Time: 60 sec Received : Active Hold Time: 180 sec Negotiated: Active Hold Time: 180 sec Keepalive Time: 60 sec Peer optional capabilities: Peer support BGP multi-protocol extended Peer support BGP route refresh capability Peer support BGP route AS4 capability...
  • Page 304 Optional capabilities: Multi-protocol extended capability has been enabled Route refresh capability has been enabled Peer preferred value: 0 BFD: Enabled IPsec profile name: profile001 Routing policy configured: No routing policy is configured # Display detailed information about BGP L2VPN peer 10.1.1.1. <Sysname>...
  • Page 305 Table 76 Command output Field Description Peer IP address of the peer. Local Local router ID. BGP connection type between the local router and the peer: • Type IBGP link—IBGP connection. • EBGP link—EBGP connection. remote router ID Router ID of the peer. BGP current state Current state of the BGP session between the local router and the peer.
  • Page 306: Display Bgp Routing-Table Dampened Ipv4 Unicast

    Field Description IPsec profile applied to the IPv6 BGP peer. IPsec profile name This field is available only for the IPv6 unicast and IPv6 multicast address families. Routing policy configured for the peer. Routing policy configured If no routing policy is specified, this field displays No routing policy is configured.
  • Page 307 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. If no VPN instance is specified, the command displays dampened BGP IPv4 unicast routes for the public network.
  • Page 308: Display Bgp Routing-Table Dampened Ipv6 Unicast

    Field Description From IP address from which the route was received. Reuse Reuse time of the route. AS_PATH and ORIGIN attributes of the route: • AS_PATH attribute—Records the ASs the route has passed to avoid routing Path/Ogn loops. • ORIGIN attribute—Identifies the origin of the route. Related commands •...
  • Page 309: Display Bgp Routing-Table Flap-Info Ipv4 Unicast

    de Network : 2:: PrefixLen : 64 From : 1::1 Reuse : 00:39:49 Path/Ogn: 100i Table 79 Command output Field Description Status codes: • * – valid—Valid route. • > – best—Best route. • d – dampened—Dampened route. • Status codes h –...
  • Page 310 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. If no VPN instance is specified, the command displays BGP IPv4 unicast route flap statistics for the public. network-address: Specifies a destination network address. mask: Specifies a network mask, in dotted decimal notation.
  • Page 311: Display Bgp Routing-Table Flap-Info Ipv6 Unicast

    Table 80 Command output Field Description Status codes: • * – valid—Valid route. • > – best—Best route. • d – dampened—Dampened route. • Status codes h – history—History route. • s – suppressed—Suppressed route. • S – stale—Stale route. •...
  • Page 312 Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If no VPN instance is specified, the command displays BGP IPv6 unicast route flap statistics for the public network. network-address prefix-length: Specifies the destination network address and prefix length. The value range for the prefix-length argument is 0 to 128.
  • Page 313: Display Bgp Routing-Table Ipv4 Unicast

    Field Description Origin of the route: • i – IGP—Originated in the AS. The origin of summary routes and routes advertised with the network command is IGP. Origin • e – EGP—Learned through EGP. • ?– incomplete—Unknown origin. The origin of routes redistributed from IGP protocols is INCOMPLETE.
  • Page 314 AND the specified network address with the specified mask. Display the route with the longest mask among the matching routes that have a mask shorter than or equal to the specified mask. Usage guidelines If the network-address, mask, and mask-length arguments are not specified, the command displays •...
  • Page 315 Field Description Origin of the route: • i – IGP—Originated in the AS. The origin of summary routes and routes advertised with the network command is IGP. Origin • e – EGP—Learned through EGP. • ?– incomplete—Unknown origin. The origin of routes redistributed from IGP protocols is INCOMPLETE.
  • Page 316: Display Bgp Routing-Table Ipv4 Unicast Advertise-Info

    Table 83 Command output Field Description Number of routes: • Paths available—Number of valid routes. • best—Number of optimal routes. Original next hop of the route. If the route is received from a BGP update Original nexthop message, the original next hop is the next hop IP address in the message. OutLabel Outgoing label of the route.
  • Page 317 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. If no VPN instance is specified, the command displays advertisement information of BGP IPv4 unicast routes for the public network. network-address: Specifies a destination network address.
  • Page 318: Display Bgp Routing-Table Ipv4 Unicast As-Path-Acl

    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. Syntax display bgp routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] as-path-acl as-path-acl-number Views Any view Predefined user roles network-admin...
  • Page 319: Display Bgp Routing-Table Ipv4 Unicast Peer

    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 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 320 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 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 321: Display Bgp Routing-Table Ipv4 Unicast Statistics

    * > 10.2.1.0/24 10.2.1.1 * > 192.168.1.0 192.168.1.135 # Display all BGP IPv4 unicast routing information received from BGP peer 10.2.1.2 for the public network. <Sysname> display bgp routing-table ipv4 peer 10.2.1.2 received-routes Total number of routes: 2 BGP local router ID is 192.168.100.1 Status codes: * - valid, >...
  • Page 322: Display Bgp Routing-Table Ipv6 Unicast

    Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If no VPN instance is specified, the command displays the BGP IPv4 unicast route statistics for the public network. Usage guidelines The command with the unicast keyword has the same effect as that without the unicast keyword.
  • Page 323 s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete * >e Network : 3:: PrefixLen : 64 NextHop : 1::2 LocPrf PrefVal : 0 OutLabel : NULL Path/Ogn: 100i Table 86 Command output Field...
  • Page 324 Paths: 2 available, 1 best BGP routing table information of 2::/64: From : 10.1.1.1 (192.168.1.136) Relay nexthop : ::FFFF:10.1.1.1 Original nexthop: ::FFFF:10.1.1.1 OutLabel : NULL AS-path : 100 Origin : igp Attribute value : MED 0, pref-val 0 State : valid, external, best, From : 1::1 (192.168.1.136) Relay nexthop...
  • Page 325: Display Bgp Routing-Table Ipv6 Unicast As-Path-Acl

    Field Description Current state of the route: • valid. • internal. State • external. • local. • best. 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.
  • Page 326: Display Bgp Routing-Table Ipv6 Unicast Community-List

    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. If no VPN instance is specified, the command displays BGP IPv6 unicast routes permitted by an AS path list for the public network. as-path-acl-number: Specifies an AS path list by its number in the range of 1 to 256.
  • Page 327 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. If no VPN instance 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 328: Display Bgp Routing-Table Ipv6 Unicast Inlabel

    display bgp routing-table ipv6 unicast inlabel Use display bgp routing-table ipv6 unicast inlabel to display incoming labels for BGP IPv6 unicast routing information. Syntax display bgp routing-table ipv6 [ unicast ] inlabel Views Any view Predefined user roles network-admin network-operator Usage guidelines The command with the unicast keyword has the same effect as that without the unicast keyword.
  • Page 329: Display Bgp Routing-Table Ipv6 Unicast Outlabel

    Field Description Incoming label of the IPv6 unicast route, which is assigned by the local 6PE InLabel device. display bgp routing-table ipv6 unicast outlabel Use display bgp routing-table ipv6 unicast outlabel to display outgoing labels for BGP IPv6 unicast routing information. Syntax display bgp routing-table ipv6 [ unicast ] outlabel Views...
  • Page 330: Display Bgp Routing-Table Ipv6 Unicast Peer

    Field Description Outgoing label of the IPv6 unicast route, which is assigned by the peer 6PE OutLabel device. display bgp routing-table ipv6 unicast peer Use display bgp routing-table ipv6 unicast peer to display BGP IPv6 unicast routing information advertised to or received from the specified BGP peer. Syntax display bgp routing-table ipv6 [ unicast ] peer { ip-address | ipv6-address } { advertised-routes | received-routes } [ network-address prefix-length | statistics ]...
  • Page 331: Display Bgp Routing-Table Ipv6 Unicast Statistics

    s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete * > Network : 2:: PrefixLen : 64 NextHop : :: LocPrf OutLabel : NULL Path/Ogn: i # Display all BGP IPv6 unicast routing information received from BGP peer 1::1. <Sysname>...
  • Page 332: Display Bgp Update-Group

    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. If no VPN instance is specified, the command displays the BGP IPv6 unicast route statistics for the public network. Usage guidelines The command with the unicast keyword has the same effect as that without the unicast keyword.
  • Page 333 ipv6-address: Displays BGP update group information for the specified IPv6 BGP peer. Usage guidelines The update group feature classifies BGP peers that have the same export policy into an update group. When BGP advertises routes to the peers in the update group, it uses the export policy to filter the routes and generates route updates for all the peers only once.
  • Page 334 # Display all update group information for the BGP L2VPN address family. <Sysname> display bgp update-group l2vpn Update-group ID: 0 Type: IBGP link 4-byte AS number: Supported L2VPN signaling (VPLS): Supported L2VPN signaling (VPWS): RFC mode L2VPN auto-discovery: RFC mode Minimum time between advertisements: 15 seconds OutQ: 0 Members: 2...
  • Page 335 Field Description BGP link type: • IBGP link. • Type EBGP link. • Confed IBGP link—Confederation IBGP link. • Confed EBGP link—Confederation EBGP link. Label capability: Supported The peers in the update group support labeled routes. 4-byte AS number suppression is disabled for the peers in the 4-byte AS number: Supported update group.
  • Page 336: Ebgp-Interface-Sensitive

    Field Description L2VPN auto-discovery: Non-standard Peers in the update group support using non-standard NLRI to mode exchange VPLS PE information. 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 337: Filter-Policy Export

    Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view Predefined user roles network-admin Parameters route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines There are two methods to configure BGP FRR: Method 1—Execute the pic command in BGP address family view.
  • Page 338 In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view/BGP VPNv6 address family view: filter-policy { acl6-number | prefix-list ipv6-prefix-name } export [ protocol process-id ] undo filter-policy export [ protocol process-id ] Default Advertised BGP routes are not filtered. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view, BGP...
  • Page 339: Filter-Policy Import

    The sour-addr sour-wildcard argument combination matches the destination address of a route without matching the mask in the route. The dest-addr dest-wildcard argument combination matches the subnet mask of the route without matching the destination address in the route. The dest-wildcard must be contiguous. Otherwise, the ACL rule does not take effect.
  • Page 340 In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view/BGP VPNv6 address family view: filter-policy { acl6-number | prefix-list ipv6-prefix-name } import undo filter-policy import Default Received BGP routes are not filtered. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view, BGP VPNv6 address family view Predefined user roles...
  • Page 341: Graceful-Restart

    [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] address-family ipv6 unicast [Sysname-bgp-ipv6-vpn1] filter-policy 2000 import # Configure ACL6 3000 to permit only route 1 13.0.0.0/16 to pass, and use ACL 3000 to filter received BGP 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...
  • Page 342: Graceful-Restart Timer Restart

    Examples # Enable Graceful Restart capability for BGP process 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] graceful-restart Related commands 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...
  • Page 343: Graceful-Restart Timer Wait-For-Rib

    graceful-restart timer wait-for-rib Use graceful-restart timer wait-for-rib to configure the time to wait for the End-of-RIB marker. Use undo graceful-restart timer wait-for-rib to restore the default. Syntax graceful-restart timer wait-for-rib timer undo graceful-restart timer wait-for-rib Default The time to wait for the End-of-RIB marker is 180 seconds. Views BGP view Predefined user roles...
  • Page 344 Syntax group group-name [ external | internal ] undo group group-name Default No peer group is created. Views BGP view, BGP-VPN instance view 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.
  • Page 345: Ignore-First-As

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] group test external [Sysname-bgp] peer test as-number 200 [Sysname-bgp] peer 1::1 group test [Sysname-bgp] peer 1::2 group test # In BGP-VPN instance view, create an EBGP peer group test with AS number 200, and add EBGP peers 1::1 and 1::2 into the group.
  • Page 346 Use undo import-route to disable route redistribution from an IGP protocol. Syntax In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view: import-route protocol [ { process-id | all-processes } [ med med-value | route-policy route-policy-name ] undo import-route protocol [ process-id | all-processes ] In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view: import-route protocol [ process-id [ med med-value | route-policy route-policy-name ] * ] undo import-route protocol [ process-id ]...
  • Page 347: Ip Vpn-Instance (Bgp View)

    [Sysname] bgp 100 [Sysname-bgp] address-family ipv4 unicast [Sysname-bgp-ipv4] import-route rip 1 med 100 # In BGP-VPN IPv4 unicast address family view, redistribute routes from RIP process 1, and reference a routing policy imprt to exclude route 1.1.1.0/24 from route redistribution. <Sysname>...
  • Page 348: Log-Peer-Change

    Parameters vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31 characters. Usage guidelines After you create a BGP peer in BGP-VPN instance view, the BGP routes learned from the peer are added into the routing table of the specified VPN instance. This command and all commands in BGP-VPN instance view are usually executed on provider edge (PE) or Multi-VPN-Instance CE (MCE) devices to add routes learned from different sites into different VPN instances.
  • Page 349: Network

    device. The output rules of the logs (whether to output the logs and where to output) are determined by the information center configuration. For more information about information center configuration, see Network Management and Monitoring Configuration Guide. If you disable the logging of BGP session state changes, BGP does not generate logs for session establishments and disconnections.
  • Page 350: Network Short-Cut

    route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter routes or set the route attributes. Usage guidelines The network to be injected must be available and active in the local IP routing table. •...
  • Page 351 In BGP IPv6 unicast address family view/BGP-VPN IPv6 unicast address family view: network ipv6-address prefix-length short-cut undo network ipv6-address prefix-length short-cut Default A received EBGP route has a preference of 255. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view Predefined user roles network-admin...
  • Page 352: Peer Advertise-Community

    peer advertise-community Use peer advertise-community to advertise the COMMUNITY attribute to a peer or peer group. Use undo peer advertise-community to disable the COMMUNITY attribute advertisement to a peer or peer group. Syntax In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4 address family view: peer { group-name | ip-address } advertise-community undo peer { group-name | ip-address } advertise-community...
  • Page 353: Peer Advertise-Ext-Community

    [Sysname-bgp-ipv4] peer test advertise-community # In BGP-VPN IPv4 unicast address family view, advertise the COMMUNITY attribute to peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] address-family ipv4 unicast [Sysname-bgp-ipv4-vpn1] peer test advertise-community # In BGP IPv6 unicast address family view, advertise the COMMUNITY attribute to peer group test. <Sysname>...
  • Page 354: Peer Allow-As-Loop

    ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. Usage guidelines To meet increasing user demands, BGP defines a new attribute—extended community attribute. The extended community attribute has the following advantages over the COMMUNITY attribute: The extended community attribute has an 8-byte length.
  • Page 355 Syntax In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4 address family view/BGP L2VPN address family view: peer { group-name | ip-address } allow-as-loop [ number ] undo peer { group-name | ip-address } allow-as-loop In BGP IPv6 unicast address family view: peer { group-name | ip-address | ipv6-address } allow-as-loop [ number ] undo peer { group-name | ip-address | ipv6-address } allow-as-loop In BGP VPN IPv6 unicast address family view:...
  • Page 356: Peer As-Number (For A Bgp Peer)

    # In BGP VPNv4 address family view, configure the number of times the local AS number can appear in AS_PATH attribute of routes from peer group test as 2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] address-family vpnv4 [Sysname-bgp-vpnv4] peer test allow-as-loop 2 # In BGP-VPN IPv6 unicast address family 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 357: Peer As-Number (For A Bgp Peer Group)

    To modify the AS number of a peer, do not execute the peer as-number command repeatedly. Instead, you must first delete the peer and configure it again. After you create a peer, you must use the peer enable command to enable BGP to exchange routing information with the specified peer.
  • Page 358: 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 359: Peer Bfd

    as-path-acl-number: Specifies an AS path list by its number in the range of 1 to 256. export: Filters outgoing routes. 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.
  • Page 360 Default BFD is disabled. 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. multi-hop: Enables multi-hop BFD.
  • Page 361: Peer Capability-Advertise Conventional

    [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer 2::2 bfd Related commands display bgp peer • display bfd session (High Availability Command Reference) • peer capability-advertise conventional Use peer capability-advertise conventional to disable BGP multi-protocol extension and route refresh for a peer or peer group.
  • Page 362: Peer Capability-Advertise Route-Refresh

    # In BGP-VPN instance view, disable multi-protocol extension and route refresh for peer 1::1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer 1::1 as-number 100 [Sysname-bgp-vpn1] peer 1::1 capability-advertise conventional Related commands display bgp peer • peer capability-advertise route-refresh •...
  • Page 363: Peer Capability-Advertise Suppress-4-Byte-As

    Examples # In BGP view, enable BGP route refresh for peer 1.1.1.1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 [Sysname-bgp] peer 1.1.1.1 capability-advertise route-refresh # In BGP-VPN instance view, enable BGP route refresh for peer 1::1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer 1::1 as-number 200...
  • Page 364: Peer Connect-Interface

    2-byte AS numbers instead of 4-byte AS numbers, the session cannot be established. To resolve this issue, enable the 4-byte AS number suppression function. The device then sends an Open message to inform the peer that it does not support 4-byte AS numbers, so the BGP session can be established. If the peer device supports 4-byte AS numbers, do not enable the 4-byte AS number suppression function.
  • Page 365: 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.
  • Page 366 In BGP VPNv4 address family view: peer { group-name | ip-address } default-route-advertise vpn-instance vpn-instance-name undo peer { group-name | ip-address } default-route-advertise vpn-instance vpn-instance-name In BGP IPv6 unicast address family view: peer { group-name | ip-address | ipv6-address } default-route-advertise [ route-policy route-policy-name ] undo peer { group-name | ip-address | ipv6-address } default-route-advertise Default...
  • Page 367: Peer Description

    [Sysname-bgp] address-family ipv6 unicast [Sysname-bgp-ipv6] peer test default-route-advertise peer description Use peer description to configure a description for a peer or peer group. Use undo peer description to remove the description for a peer or peer group. Syntax peer { group-name | ip-address | ipv6-address } description description-text undo peer { group-name | ip-address | ipv6-address } description Default No description information is configured for a peer or peer group.
  • Page 368: Peer Enable

    undo peer { group-name | ip-address | ipv6-address } ebgp-max-hop Default BGP does not establish an EBGP session to an indirectly-connected 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 369 Syntax In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4 address family view/BGP-VPN VPNv4 address family view/BGP VPNv6 address family view/BGP L2VPN address family view: peer { group-name | ip-address } enable undo peer { group-name | ip-address } enable In BGP IPv6 unicast address family view: peer { group-name | ip-address | ipv6-address } enable undo peer { group-name | ip-address | ipv6-address } enable...
  • Page 370 with ISP CEs, and add the VPNv4 routes learned by the PE devices to the routing table of the specified VPN instance. In BGP IPv6 unicast address family view, the command enables the capability to exchange IPv6 • unicast routing information, and adds the learned routes to the IPv6 BGP routing table of the public network.
  • Page 371: Peer Fake-As

    [Sysname-bgp] address-family l2vpn [Sysname-bgp-l2vpn] peer 1.1.1.1 enable Related commands display bgp peer peer fake-as Use peer fake-as to advertise a fake AS number to a peer or peer group. Use undo peer fake-as to restore the default. Syntax peer { group-name | ip-address | ipv6-address } fake-as as-number undo peer { group-name | ip-address | ipv6-address } fake-as Default No fake local AS number is advertised to a peer or peer group.
  • Page 372: Peer Filter-Policy

    [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] peer test fake-as 200 peer filter-policy Use peer filter-policy to filter routes advertised to or received from a peer or peer group by using an ACL. Use undo peer filter-policy to remove the configuration. Syntax In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4 address family view: peer { group-name | ip-address } filter-policy acl-number { export | import }...
  • Page 373: 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 the destination addresses.
  • Page 374 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. The peer group must have been created.
  • Page 375: Peer Ignore

    [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 376: Peer Ignore-Originatorid

    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 377: Peer Ipsec-Profile

    Usage guidelines IMPORTANT: Ignoring the ORIGINATOR_ID attribute might introduce routing loops to the network. Do not use this command to ignore the ORIGINATOR_ID attribute if you are not sure there are no routing loops. By default, BGP drops incoming route updates whose ORIGINATOR_ID attribute is the same as the local router ID.
  • Page 378: Peer Keep-All-Routes

    Usage guidelines IPsec can protect IPv6 BGP packets from data eavesdropping, tampering, and attacks caused by forged IPv6 BGP packets. When two IPv6 BGP neighbor devices, for example Device A and Device B, are configured with IPsec, Device A encapsulates an IPv6 BGP packet with IPsec before sending it to Device B. If Device B successfully receives and decapsulates the packet, it establishes an IPv6 BGP peer relationship with Device A or learns IPv6 BGP routes to Device A.
  • Page 379 peer { group-name | ip-address | ipv6-address } keep-all-routes undo peer { group-name | ip-address | ipv6-address } keep-all-routes Default Route updates from a peer or peer group are not saved. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address family view, BGP IPv6 unicast address family view Predefined user roles network-admin...
  • Page 380: Peer Label-Route-Capability

    peer label-route-capability Use peer label-route-capability to enable BGP to exchange labeled routes with a peer or peer group. Use undo peer label-route-capability to disable BGP from exchanging labeled routes with a peer or peer group. Syntax peer { group-name | ip-address } label-route-capability undo peer { group-name | ip-address } label-route-capability Default BGP cannot exchange labeled routes with a peer or peer group.
  • Page 381: Peer Low-Memory-Exempt

    # In BGP IPv6 unicast address family view, enable BGP to exchange labeled IPv6 routes with peer 2.2.2.2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] address-family ipv6 [Sysname-bgp-ipv6] peer 2.2.2.2 label-route-capability peer low-memory-exempt Use peer low-memory-exempt to configure BGP to protect EBGP peer or peer group when the memory usage reaches level 2 threshold.
  • Page 382: Peer Next-Hop-Local

    <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 low-memory-exempt peer next-hop-local Use peer next-hop-local to set the local router as the next hop for routes sent to a peer or peer group. Use undo peer next-hop-local to restore the default.
  • Page 383: Peer Password

    [Sysname-bgp] address-family ipv4 unicast [Sysname-bgp-ipv4] peer test next-hop-local # In BGP-VPN IPv4 unicast address family view, specify the router as the next hop for routes sent to peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] address-family ipv4 unicast [Sysname-bgp-ipv4-vpn1] peer test next-hop-local # In BGP IPv6 unicast address family view, specify the router as the next hop for routes sent to peer group test.
  • Page 384: Peer Preferred-Value

    Perform MD5 authentication when establishing TCP connections. Only the two parties that have the • same password configured can establish TCP connections. Perform MD5 calculation on TCP segments to avoid modification to the encapsulated BGP packets. • For security purposes, all passwords, including passwords configured in plain text, are saved in cipher text.
  • Page 385 undo peer { group-name | ipv6-address } preferred-value Default The preferred value is 0. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP-VPNv4 address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view, BGP-VPNv6 address family view Predefined user roles network-admin...
  • Page 386: Peer Prefix-List

    [Sysname-bgp-ipv6-vpn1] peer 1::1 preferred-value 50 Related commands • apply preferred-value route-policy • peer prefix-list Use peer prefix-list to reference a prefix list to filter routes received from or advertised to a peer or peer group. Use undo peer prefix-list to remove the configuration. Syntax In BGP IPv4 unicast address family view/BGP-VPN IPv4 unicast address family view/BGP VPNv4 address family view:...
  • Page 387: Peer Public-As-Only

    ipv6-prefix-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters. export: Applies the filter to routes advertised to the specified peer/peer group. import: Applies the filter to routes received from the specified peer/peer group. Usage guidelines The specified IPv4 prefix list or IPv6 prefix list must have been created with the ip prefix-list or ipv6 prefix-list command in system view.
  • Page 388 undo peer { group-name | ip-address | ipv6-address } public-as-only In BGP-VPN IPv6 unicast address family view: peer { group-name | ipv6-address } public-as-only undo peer { group-name | ipv6-address } public-as-only Default BGP updates sent to an EBGP peer or peer group can carry both public and private AS numbers. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view, BGP...
  • Page 389: Peer Reflect-Client

    [Sysname-bgp] address-family vpnv4 [Sysname-bgp-vpnv4] peer test public-as-only # In BGP-VPN IPv6 unicast address family 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] address-family ipv6 unicast [Sysname-bgp-ipv6-vpn1] peer test public-as-only peer reflect-client Use peer reflect-client to configure the device as a route reflector and specify a peer or peer group as a...
  • Page 390: Peer Route-Limit

    Examples # In BGP IPv4 unicast address family 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] address-family ipv4 unicast [Sysname-bgp-ipv4] peer test reflect-client # In BGP VPNv4 address family view, configure the local device as a route reflector and specify the IBGP peer group test as a client.
  • Page 391 undo peer { group-name | ip-address | ipv6-address } route-limit Default The number of routes that can be received from a peer or peer group is not limited. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP VPNv4 address family view, BGP IPv6 unicast address family view, BGP VPNv6 address family view Predefined user roles network-admin...
  • Page 392: Peer Route-Policy

    # In BGP IPv6 unicast address family view, specify the maximum number of routes that can be received from peer 1::1 to 10000, and configure the router to tear down the session to the peer if the number is exceeded. <Sysname>...
  • Page 393: Peer Route-Update-Interval

    route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. export: Applies the routing policy to routes outgoing to the peer or peer group. import: Applies the routing policy to routes incoming from the peer or peer group. Usage guidelines The specified routing policy must have been configured with the route-policy command in system view.
  • Page 394: Peer Substitute-As

    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. ip-address: Specifies a peer by its IP address. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address.
  • Page 395: Peer Timer

    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. The peer must have been created. ipv6-address: Specifies a peer by its IPv6 address.
  • Page 396 ipv6-address: Specifies a peer by its IPv6 address. The peer must have been created. keepalive keepalive: Sets a keepalive interval in the range of 0 to 21845 seconds. hold holdtime: Sets a holdtime in the range of 3 to 65535 seconds. Usage guidelines After establishing a BGP session, two routers send keepalive messages at the specified keepalive interval to each other to keep the session.
  • Page 397: Pic

    Use pic to enable BGP FRR for a BGP address family. Use undo pic to disable BGP FRR for a BGP address family. Syntax undo pic Default BGP FRR is disabled. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view Predefined user roles network-admin...
  • Page 398 Default The preferences of external, internal, and local BGP routes are 255, 255, and 130, respectively. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view, BGP IPv6 unicast address family view, BGP-VPN IPv6 unicast address family view Predefined user roles network-admin Parameters...
  • Page 399: Reflect Between-Clients

    [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] address-family ipv6 unicast [Sysname-bgp-ipv6-vpn1] preference 20 20 200 reflect between-clients Use reflect between-clients to enable route reflection between clients. Use undo reflect between-clients to disable this function. Syntax reflect between-clients undo reflect between-clients Default Route reflection between clients is enabled.
  • Page 400: Reflector Cluster-Id

    [Sysname-bgp-ipv4-vpn1] undo reflect between-clients # In BGP IPv6 unicast address family view, disable route reflection between clients. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] address-family ipv6 unicast [Sysname-bgp-ipv6] undo reflect between-clients # In BGP L2VPN address family view, disable L2VPN information reflection between clients. <Sysname>...
  • Page 401: Refresh Bgp

    Examples # In BGP IPv4 unicast address family view, configure the cluster ID on the local router (a reflector in the cluster) as 80. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] address-family ipv4 unicast [Sysname-bgp-ipv4] reflector cluster-id 80 # In BGP VPNv4 address family view, configure the cluster ID on the local router (a reflector in the cluster) as 80.
  • Page 402 refresh bgp ip-address { export | import } ipv6 [ unicast ] refresh bgp { ip-address | all | external | group group-name | internal } { export | import } vpnv4 [ vpn-instance vpn-instance-name ] refresh bgp { ip-address | all | external | group group-name | internal } { export | import } vpnv6 refresh bgp { ip-address | all | external | group group-name | internal } { export | import } l2vpn Views User view...
  • Page 403: Reset Bgp

    This command requires that both the local router and the peer support route refresh. If the peer keep-all-routes command is configured, the refresh bgp ipv4 unicast import command does not take effect. The command with the unicast keyword has the same effect as that without the unicast keyword. Examples # Soft-reset all inbound BGP sessions for the IPv4 unicast address family.
  • Page 404: Reset Bgp All

    group group-name: Resets the BGP sessions to the peers in the peer group specified by its name, a case-sensitive string of 1 to 47 characters. internal: Resets all IBGP sessions. ipv4: Resets BGP sessions for IPv4 address family. ipv6: Resets BGP sessions for IPv6 address family. unicast: Resets BGP sessions for unicast address family.
  • Page 405: Reset Bgp Dampening Ipv4 Unicast

    Examples # Reset all BGP sessions. <Sysname> reset bgp all reset bgp dampening ipv4 unicast Use reset bgp dampening ipv4 unicast to clear BGP IPv4 unicast route dampening information and release the suppressed BGP IPv4 unicast routes. Syntax reset bgp dampening ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] [ network-address [ mask | mask-length ] ] Views User view...
  • Page 406: Reset Bgp Dampening Ipv6 Unicast

    reset bgp dampening ipv6 unicast Use reset bgp dampening ipv6 unicast to clear BGP IPv6 unicast route dampening information and release suppressed BGP IPv6 unicast routes. Syntax reset bgp dampening ipv6 [ unicast ] [ vpn-instance vpn-instance-name ] [ network-address prefix-length ] Views User view...
  • Page 407: Reset Bgp Flap-Info Ipv6 Unicast

    Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If no VPN instance is specified, this command clears the flap statistics of the BGP IPv4 unicast routes for the public network. network-address: Specifies a destination network address.
  • Page 408: Router Id (System View)

    Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If no VPN instance is specified, this command clears the flap statistics of the BGP IPv6 unicast routes for the public network. network-address prefix-length: Specifies the destination network address and prefix length.
  • Page 409: Router-Id (Bgp View)

    If no global router ID is configured, the highest loopback address, if any, is used as the router ID. If no loopback address is available, the highest physical interface IP address is used, regardless of the interface status. If no IP address is configured for any interface, the router ID is 0.0.0.0. During an active/standby switchover, the standby main processing unit (MPU) checks whether the previous router ID that is backed up before switchover is valid.
  • Page 410: Router-Id (Bgp-Vpn Instance View)

    Examples # Configure the router ID for BGP as 1.1.1.1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] router-id 1.1.1.1 Related commands router id (system view) • router-id (BGP-VPN instance view) • router-id (BGP-VPN instance view) Use router-id to configure a router ID for a BGP VPN instance. Use undo router-id to remove the router ID for a BGP VPN instance.
  • Page 411: Snmp-Agent Trap Enable Bgp

    If a non-zero router ID is selected for the BGP VPN instance, the router ID will not change when a more preferable router ID is available in the BGP VPN instance. Examples # In BGP-VPN instance view, configure the router ID as 1.1.1.1. <Sysname>...
  • Page 412: Timer

    Syntax summary automatic undo summary automatic Default Automatic route summarization is not performed for redistributed IGP subnet routes. Views BGP IPv4 unicast address family view, BGP-VPN IPv4 unicast address family view Predefined user roles network-admin Usage guidelines After the summary automatic command is configured, BGP summarizes IGP subnets redistributed by the import-route command.
  • Page 413 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. hold holdtime: Configures a holdtime in seconds, whose value is 0 or in the range of 3 to 65535. Usage guidelines After establishing a BGP session, two routers send keepalive messages at the specified keepalive interval to each other to keep the session.
  • Page 414 [Sysname] bgp 100 [Sysname-bgp] ip vpn-instance vpn1 [Sysname-bgp-vpn1] timer keepalive 0 hold 0 Related commands display bgp peer • peer timer •...
  • Page 415: Policy-Based Routing Commands

    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 416: Display Ip Policy-Based-Route

    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 417 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.
  • Page 418: Display Ip Policy-Based-Route Local

    Total matched: 0 Table 94 Command output Field Description PBR configuration and statistics on VLAN-interface 1. failed indicates that the policy (including all its nodes) failed to be Policy based routing information for assigned to the driver. interface Vlan-interface1(failed) For a global interface (with only a one-dimensional interface number, for example, VLAN-interface 1), failed can be displayed only when you specify the slot slot-number option for the command.
  • Page 419: Display Ip Policy-Based-Route Setup

    network-operator Parameters 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 local PBR configuration and statistics. <Sysname> display ip policy-based-route local Policy based routing information for local: Policy name: aaa node 0 deny: Matched: 0...
  • Page 420: If-Match Acl

    Views Any view Predefined user roles network-admin network-operator Examples # Display PBR configuration. <Sysname> display ip policy-based-route setup Policy Name Interface Name pr01 Vlan-interface 1 Table 96 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.
  • Page 421: Ip Local Policy-Based-Route

    [Sysname-pbr-aa-11] if-match acl 2011 # Configure Node 1 1 of policy aa to permit the packets matching ACL aaa. <Sysname> system-view [Sysname] policy-based-route aa permit node 11 [Sysname-pbr-aa-11] if-match acl name aaa ip local policy-based-route Use ip local policy-based-route to configure local PBR based on a policy. Use undo ip local policy-based-route to remove the configuration.
  • Page 422: Policy-Based-Route

    undo ip policy-based-route Default No policy 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.
  • Page 423: Reset Ip Policy-Based-Route Statistics

    permit: Specifies the match mode for the policy node as permit (default mode). node node-number: Specifies a policy node by its number in the range of 0 to 255. A smaller number has a higher priority. Usage guidelines A policy that has been applied to an interface or locally cannot be removed. To remove it, you must first cancel the application.
  • Page 424: Ipv6 Static Routing Commands

    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 425 Parameters nib-id: Specifies a NIB by its ID in the range of 1 to FFFFFFFF. verbose: Displays detailed IPv6 static route next hop information. Without this keyword, the command displays brief IPv6 static route next hop information. Examples # Displays brief IPv6 static route next hop information. <Sysname>...
  • Page 426 UserKey1: 0x0 Nexthop: 2::3 IFIndex: 0x0 LocalAddr: :: RefCnt: 1 FlushRefCnt: 0 Flag: 0x12 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 2::3 RelyDepth: 2 RealNexthop: :: Interface: NULL0 LocalAddr: :: TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A NibID: 0x21000001 Sequence: 1 Type: 0x41 Flushed: Yes UserKey0: 0x0...
  • Page 427: Display Ipv6 Route-Static Routing-Table

    Field Description Version Version of the next hop. display ipv6 route-static routing-table Use display ipv6 route-static routing-table to display IPv6 static routing table information. Syntax display ipv6 route-static routing-table [ vpn-instance vpn-instance-name ] [ ipv6-address prefix-length ] Views Any view Predefined user roles network-admin network-operator...
  • Page 428 BkNibID: N/A Interface: NULL0 TableID: 0xa BkInterface: N/A Flag: 0x80d0a BfdSrcIp: N/A DbIndex: 0x1 BfdIfIndex: 0x0 Type: Normal BfdVrfIndex: 0 TrackIndex: 0xffffffff Label: NULL Preference: 60 vrfIndexDst: 0 BfdMode: N/A vrfIndexNH: 0 Permanent: 0 Tag: 0 # Display information about the IPv6 static route with destination IPv6 address 1::1/128. <Sysname>...
  • Page 429: Ipv6 Route-Static

    Field Description BfdIfIndex Index of the interface where BFD is enabled. BfdVrfIndex Index of the VPN instance where BFD is enabled. BFD session mode: • N/A—No BFD session is configured. BfdMode • Ctrl—Control packet mode • Echo—Echo packet mode. TrackIndex NQA Track index.
  • Page 430 Enables BFD to detect reachability of the static route's next hop. control-packet: Specifies the BFD control mode. bfd-source ipv6-address: Specifies the source IPv6 address of BFD packets. HP recommends that you specify the loopback interface address. echo-packet: Specifies the BFD echo mode.
  • Page 431: Ipv6 Route-Static Default-Preference

    ipv6 route-static default-preference Use ipv6 route-static default-preference to configure a default preference for IPv6 static routes. Use undo ipv6 route-static default-preference to restore the default. Syntax ipv6 route-static default-preference default-preference-value undo ipv6 route-static default-preference Default The default preference of IPv6 static routes is 60. Views System view Predefined user roles...
  • Page 432: Ripng Commands

    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 433: 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 434: Display Ripng Database

    Number of trigger updates sent: 1 Table 100 Command output Field Description Public VPN-instance name/Private VPN-instance Public network or VPN where the RIPng process runs. name RIPng process RIPng process ID. Preference RIPng preference. Indicates whether zero field check for RIPng packet Checkzero headers is enabled.
  • Page 435: Display Ripng Interface

    Table 101 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 436: 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 437 Destination 1::/64, via FE80::20C:29FF:FE7A:E3E4, cost 1, tag 0, AOF, 7 secs Destination 2::2/128, via FE80::20C:29FF:FE7A:E3E4, cost 1, tag 0, AOF, 7 secs # Display information of routes with specified prefix for RIPng process 1. <Sysname> display ripng 1 route 1:: 64 verbose Route Flags: A - Aging, S - Suppressed, G - Garbage-collect O - Optimal, F - Flush to RIB ----------------------------------------------------------------...
  • Page 438: Enable Ipsec-Profile

    Field Description Total Total number of routes learned from RIPng neighbors. enable ipsec-profile Use enable ipsec-profile to apply an IPsec profile to a RIPng process. Use undo enable ipsec-profile to remove the IPsec profile from the RIPng process. Syntax enable ipsec-profile profile-name undo enable ipsec-profile Default No IPsec profile is applied to the RIPng process.
  • Page 439 Views RIPng view Predefined user roles network-admin Parameters acl6-number: Specifies an 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 string of 1 to 63 characters, to filter redistributed routes.
  • Page 440: Filter-Policy Import

    filter-policy import Use filter-policy import to configure RIPng to filter received routes. Only routes not filtered can be received. Use undo filter-policy import to remove the configuration. Syntax filter-policy { acl6-number | prefix-list prefix-list-name } import undo filter-policy import Default RIPng does not filter received routes.
  • Page 441: Graceful-Restart

    [Sysname-ripng-100] filter-policy 3000 import graceful-restart Use graceful-restart to enable Graceful Restart (GR) for RIPng. Use undo graceful-restart to disable RIPng GR capability. Syntax graceful-restart undo graceful-restart Default RIPng GR is disabled. Views RIPng view Predefined user roles network-admin Examples # Enable GR for RIPng process 1. <Sysname>...
  • Page 442: Maximum Load-Balancing

    allow-ibgp: Allows redistribution of IBGP routes. This keyword is available when the protocol argument is set to bgp4+. cost cost: Specifies a metric for redistributed routes, in the range of 0 to 16. The default metric is 0. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
  • Page 443: Preference

    Related commands max-ecmp-num preference Use preference to specify the preference for RIPng routes. Use undo preference to restore the default. Syntax preference [ route-policy route-policy-name ] value undo preference Default The preference of RIPng routes is 100. Views RIPng view Predefined user roles network-admin Parameters...
  • Page 444: Reset Ripng Statistics

    Predefined user roles network-admin Parameters process-id: Specifies a RIPng process by its ID in the range of 1 to 65535. Usage guidelines After executing the command, you are prompted to confirm the operation. Examples # Reset RIPng process 100. <Sysname> reset ripng 100 process Reset RIPng process? [Y/N]:y reset ripng statistics Use reset ripng statistics to clear statistics for a RIPng process.
  • Page 445: Ripng Default-Route

    Predefined user roles network-admin Parameters process-id: Specifies a RIPng process by its ID in the range of 1 to 65535. The default value is 1. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If no VPN is specified, the RIPng process runs on the public network. Usage guidelines Before you configure global RIPng parameters, you must create a RIPng process.
  • Page 446: Ripng Enable

    Examples # Configure RIPng on VLAN-interface 100 to advertise only a default route. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng default-route only # Configure RIPng on VLAN-interface 101 to advertise a default route and other routes. <Sysname> system-view [Sysname] interface vlan-interface 101 [Sysname-Vlan-interface101] ripng default-route originate ripng enable Use ripng enable to enable RIPng on an interface.
  • Page 447: Ripng Metricin

    Views Interface view Predefined user roles network-admin Parameters profile-name: Specifies an IPsec profile by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines This command must reference an IPsec profile. For more information about IPsec profiles, see Security Configuration Guide.
  • Page 448: Ripng Poison-Reverse

    Syntax ripng metricout value undo ripng metricout Default The additional metric of outbound routes is 1. Views Interface view Predefined user roles network-admin Parameters value: Adds 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.
  • Page 449: Ripng Summary-Address

    Use undo ripng split-horizon to disable the split horizon function. Syntax ripng split-horizon undo ripng 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 this function, make sure the operation is indispensable.
  • Page 450: Timers

    Usage guidelines Networks on the summary network will not be advertised. The cost of the summary route is the lowest cost among summarized routes. Examples # Assign an IPv6 address with the 64-bit prefix to VLAN-interface 100 and configure a summary with the 35-bit prefix length.
  • Page 451 16. If no update is announced for that route before the garbage-collect timer expires, RIPng deletes the route from the routing table. HP recommends not changing the default values of these timers. The timer lengths must be kept consistent on all routers in the network.
  • Page 452: Ospfv3 Commands

    OSPFv3 commands abr-summary (OSPFv3 area view) Use abr-summary to configure route summarization on an area border router (ABR). Use undo abr-summary to remove the configuration. 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 453: Asbr-Summary (Ospfv3 View)

    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 454: Bandwidth-Reference

    cost cost: Specifies the cost of the summary route, in the range of 1 to 16777214. If you do not specify this option, the summary route uses the largest cost among the summarized routes. If the summarized routes are Type-2 external routes described in Type-5 LSAs translated from Type-7 LSAs, the summary route uses the largest cost among the summarized routes plus 1.
  • Page 455: Default Tag

    Parameters value: Specifies the bandwidth reference value for link cost calculation, in the range of 1 to 2147483648 Mbps. Usage guidelines You can configure an OSPFv3 cost for an interface with one of the following methods: • Configure the cost value in interface view. Configure a bandwidth reference value.
  • Page 456: Default-Cost (Ospfv3 Area View)

    Examples # Configure the tag for redistributed routes as 2. <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] default tag 2 Related commands default-route-advertise (OSPFv3 view) • import-route • route-tag (MPLS Command Reference) • default-cost (OSPFv3 area view) Use default-cost to configure a cost for the default route advertised to the stub area or NSSA area. Use undo default-cost to restore the default.
  • Page 457: Default-Route-Advertise (Ospfv3 View)

    default-route-advertise (OSPFv3 view) Use default-route-advertise to redistribute a default route into the OSPFv3 routing domain. Use undo default-route-advertise to restore the default. Syntax default-route-advertise [ [ always | permit-calculate-other ] | cost cost | route-policy route-policy-name | tag tag | type type ] * undo default-route-advertise Default No default route is redistributed into the OSPFv3 routing domain.
  • Page 458: Display Ospfv3

    <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] default-route-advertise always Related commands import-route (OSPFv3 view) display ospfv3 Use display ospfv3 to display OSPFv3 process information. Syntax display ospfv3 [ process-id ] [ verbose ] 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.
  • Page 459 LSA generation interval: 5 LSA arrival interval: 1000 Transmit pacing: Interval: 20 Count: 3 Default ASE parameters: Tag: 1 Route preference: 10 ASE route preference: 150 SPF calculation count: 0 External LSA count: 0 LSA originated count: 0 LSA received count: 0 Area count: 2 Stub area Count: 0 NSSA area Count: 1...
  • Page 460 Area flag: Normal SPF scheduled count: 0 ExChange/Loading neighbors: 0 LSA count: 0 Up interfaces: 1 MTU: 1500 Default cost: 1 Process reset state: N/A Current reset type: N/A Reset prepare message replied: -/-/-/- Reset process message replied: -/-/-/- Reset phase of module: M-N/A, P-N/A, S-N/A, C-N/A, R-N/A Area: 0.0.0.3 Area flag: NSSA...
  • Page 461 Field Description Indicates whether the OSPFv3 process supports PE or multiple VPN instances: • Multi-VPN-Instance: Disabled—The process does not support multiple VPN instances. Multi-VPN-Instance • Multi-VPN-Instance: Enabled—The process supports multiple VPN instances. • PE Router, Multi-VPN-Instance: Enabled—The local device is a PE. Indicates whether the check is enabled for the DN bit in DN-bit check OSPFv3 LSAs of the OSPFv3 process.
  • Page 462 Field Description Route calculation trigger type: • Full—Calculation of all routes is triggered. • Area topology change—Topology change in an area. • Intra router change—Incremental intra-area route change. • ASBR change—Incremental ASBR route change. • Full IP prefix—Calculation of all IP prefixes is triggered.
  • Page 463 Field Description Current route calculation phase: • Calculation area topology—Calculating area topology. • Calculation router—Calculating routes on routers. • Calculation intra AS—Calculating intra-AS routes. Current calculation phase • Calculation ASBR—Calculating routes on ASBRs. • Calculation inter AS—Calculating AS-external routes. • Calculation end—Ending phase of calculation.
  • Page 464: Display Ospfv3 Abr-Asbr

    Field Description Reset phase of each module: • LSDB synchronization (S) module: N/A—Not reset. Delete ASE—Delete all ASE LSAs. Delete area LSA—Delete LSAs from an area. Delete area IF—Delete interfaces from an area. • Route calculation (C) module: N/A—Not reset. Reset phase of module Delete topology—Delete area topology.
  • Page 465: Display Ospfv3 Abr-Summary

    Examples # Display information about all the routes to the OSPFv3 ABR and ASBR. <Sysname> display ospfv3 abr-asbr OSPFv3 Process 1 with Router ID 1.1.1.1 Destination :1.1.1.2 Rtr Type : ABR Area :0.0.0.0 Path Type: Intra NextHop :FE80:1:1::1 Cost Destination :1.1.1.3 Rtr Type : ASBR Area :0.0.0.0...
  • Page 466 ipv6-address prefix-length: Specifies an IPv6 address. The ipv6-address argument specifies an IPv6 prefix. The prefix-length argument specifies a prefix length in the range of 0 to 128. If you do not specify this argument, the command displays information about all summary routes on the ABR. verbose: Displays detailed ABR summary route information.
  • Page 467: Display Ospfv3 Asbr-Summary

    1000:4:11:3::/96 Table 108 Command output Field Description Destination Destination address of a summarized route. Metric Metric of a summarized route. display ospfv3 asbr-summary Use display ospfv3 asbr-summary to display ASBR summary route information. NOTE: This command is available in Release 2311P04 and later versions. Syntax display ospfv3 [ process-id ] asbr-summary [ ipv6-address prefix-length ] [ verbose ] Views...
  • Page 468 Routes count: 2 Table 109 Command output Field Description Total summary addresses Total number of summary routes. Prefix Prefix and prefix length of the summary route. Advertisement status of the summary route: • Advertise—The summary route has been advertised. Status •...
  • Page 469: Display Ospfv3 Graceful-Restart

    Field Description Protocol Routing protocol from which the route was redistributed. Process of the routing protocol from which the route was Process redistributed. Type of the summarized route. Type Metric Metric of the summarized route. display ospfv3 graceful-restart Use display ospfv3 graceful-restart to display GR information. Syntax display ospfv3 [ process-id ] graceful-restart [ verbose ] Views...
  • Page 470 Table 111 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: • Graceful-restart capability Enabled. • Disabled. GR modes that the process supports (displayed only when GR is enabled): •...
  • Page 471 Field Description Last exit reason: • Restarter—Reason that the restarter exited most recently: None. Completed—GR is completed. Interval timer is fired—The GR timer expires. Interface state change—An interface state change occurs. Received 1-way hello—The device receives 1-way hello packets from the neighbor. Reset neighbor—The neighbor is reset.
  • Page 472 Restarter state: Normal State: P-2-P Type: Virtual Interface: 6696 (Vlan-interface200), Instance-ID: 0 Local IPv6 address: 200:1:FFFF::1 Remote IPv6 address: 201:FFFF::2 Transit area: 0.0.0.1 Last exit reason: Restarter: None Helper : None Neighbor GR state Last helper exit reason 100.1.1.1 Normal None Area: 0.0.0.1 Area flag: Transit...
  • Page 473 Area up interface count: 0 Table 112 Command output Field Description Area Area ID. Type of the area: • Normal. • Transit. • Stub. Area flag • StubNoSummary—Totally stub area. • NSSA. • NSSANoSummary—Totally NSSA area. • NSSANoSummaryNoImportRoute—Totally NSSA area with the no-import-route keyword configured. State of the translator that translates Type-7 LSAs to Type-5 LSAs: •...
  • Page 474: Display Ospfv3 Interface

    Field Description Source Source address of the sham link. Destination Destination address of the sham link. display ospfv3 interface Use display ospfv3 interface to display OSPFv3 interface information. Syntax display ospfv3 [ process-id ] interface [ interface-type interface-number | verbose ] Views Any view Predefined user roles...
  • Page 475 IPsec profile name: profile001 Exchanging/Loading neighbors: 0 Wait timer: Off, LsAck timer: Off Prefix-suppression is enabled Table 113 Command output Field Description Area Area ID that the interface belongs to. Interface ID Interface ID. Instance ID Instance ID. IPv6 prefixes IPv6 prefix.
  • Page 476: Display Ospfv3 Lsdb

    display ospfv3 lsdb Use display ospfv3 lsdb to display the OSPFv3 LSDB. Syntax display ospfv3 [ process-id ] lsdb [ { external | grace | inter-prefix | inter-router | intra-prefix | link | network | nssa | router | unknown [ type ] } [ link-state-id ] [ originate-router router-id | self-originate ] | statistics | total | verbose ] Views Any view...
  • Page 477 OSPFv3 Process 1 with Router ID 1.1.1.1 Link-LSA (Interface Vlan-interface1) ------------------------------------------------------------------------- Link State ID Origin Router SeqNum CkSum Prefix 0.15.0.8 2.2.2.2 0691 0x80000041 0x8315 0.0.0.3 1.1.1.1 0623 0x80000001 0x0fee Router-LSA (Area 0.0.0.1) ------------------------------------------------------------------------- Link State ID Origin Router SeqNum CkSum Link 0.0.0.0 1.1.1.1...
  • Page 478 LS Seq Number : 0x80000041 Checksum : 0x8315 Length : 56 Priority Options : 0x000013 (-|R|-|-|E|V6) Link-Local Address: fe80::200:5eff:fe00:100 Number of Prefixes: 1 Prefix : 1001::/64 Prefix Options: 0 (-|-|-|-) Table 115 Command output Field Description LS age Age of LSA. LS Type Type of LSA.
  • Page 479 Field Description Network Number of Type-2 LSAs. IntePre Number of Type-3 LSAs. InteRou Number of Type-4 LSAs. IntraPre Number of Type-9 LSAs. NSSA Number of Type-7 LSAs. Link Total number of Type-8 LSAs. Grace Number of Type-11 LSAs. Total number of Type-5 LSAs. # Display detailed OSPFv3 LSDB information.
  • Page 480: Display Ospfv3 Nexthop

    Table 117 Command output Field Description SendCnt Number of interfaces to send the LSA. RxmtCnt Number of LSAs in the link state retransmission list. LSA status: • Normal. • Delayed. • Maxage routed—The LSA has reached its Status maximum age. •...
  • Page 481: Display Ospfv3 Non-Stop-Routing

    Table 118 Command output Field Description Nexthop Next hop address. Interface Output interface. RefCount Reference count (routes that reference the next hop). Status Next hop status: valid or invalid. NbrId Neighbor router ID. NbrIntID Neighbor interface ID. display ospfv3 non-stop-routing Use display ospfv3 non-stop-routing to display OSPFv3 NSR information.
  • Page 482: Display Ospfv3 Peer

    Field Description NSR phase: • Normal—Normal status. • Preparation—Upgrade preparation phase. • Upgrade phase Smooth—Upgrade phase. • Precalculation—Route pre-calculation phase. • Calculation—Route calculation phase. • Redistribution—Route redistribution phase. display ospfv3 peer Use display ospfv3 peer to display information about OSPFv3 neighbors. Syntax display ospfv3 [ process-id ] [ area area-id ] peer [ [ interface-type interface-number ] [ verbose ] | peer-router-id | statistics ]...
  • Page 483 Router ID Pri State Dead-Time InstID Interface 2.2.2.2 Init/ - 00:00:36 Vlan1 Table 120 Command output Field Description Router ID Router ID of a neighbor. Priority of neighbor router. State Neighbor state. Dead-Time Dead time remained. Inst ID Instance ID. Interface Interface connected to the neighbor.
  • Page 484 Field Description LSA options: • DC—The originating router supports OSPFv3 over on-demand circuits. • R—Indicates whether the originating router is an active router. • N—Indicates whether the originating router supports NSSA Options LSAs. • x—Reserved. • E—Indicates whether the originating router can receive AS External LSAs.
  • Page 485: Display Ospfv3 Request-Queue

    Field Description This state is available only in an NBMA network. In this state, the OSPFv3 router has not Attempt received any information from a neighbor for a period but can send Hello packets at a longer interval to keep neighbor relationship. In this state, the device received a Hello packet from the neighbor but the packet contains Init no Router ID of the neighbor.
  • Page 486: Display Ospfv3 Retrans-Queue

    Examples # Display OSPFv3 request list information. <Sysname> display ospfv3 request-queue OSPFv3 Process 1 with Router ID 1.1.1.1 Area: 0.0.0.0 Interface Vlan-interface1 ------------------------------------------------------------------------- Nbr-ID 1.3.3.3 Request List Type LinkState ID AdvRouter SeqNum CkSum 0x4005 0.0.34.127 1.3.3.3 0x80000001 0027 0x274d 0x4005 0.0.34.128 1.3.3.3 0x80000001...
  • Page 487: Display Ospfv3 Routing

    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. interface-type interface-number: Specifies an interface by its type and number. neighbor-id: Specifies a neighbor's router ID.
  • Page 488 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 you do not specify this argument, the command displays the OSPFv3 route information for all processes. ipv6-address prefix-length: Specifies an IPv6 address.
  • Page 489: Display Ospfv3 Spf-Tree

    Field Description Cost Route cost value. Nexthop Next hop address. Interface Output interface. AdvRouter Advertising router. Area Area ID. Tag of external routes. Preference Route preference. Total Total number of routes. Intra area Number of intra-area routes. Inter area Number of inter-area routes. Number of Type-5 external routes.
  • Page 490 I-Node or Link is init D-Node or Link is to be deleted P-Neighbor is parent A-Node is in candidate list C-Neighbor is child H-Nexthop changed N-Link is a new path V-Link is involved Area: 0.0.0.0 Shortest Path Tree SPFNode Type Flag SPFLink Type...
  • Page 491 I-Node or Link is init D-Node or Link is to be deleted P-Neighbor is parent A-Node is in candidate list C-Neighbor is child H-Nexthop changed N-Link is a new path V-Link is involved Area: 0.0.0.0 Shortest Path Tree >SPFNode[0] AdvID : 1.1.1.1 LsID : 0.0.0.0...
  • Page 492: Display Ospfv3 Statistics

    Field Description SPFLink count Number of SPF links. IntID Interface ID. Link type: • RT2RT—Router to router. LinkType • NET2RT—Network to router. • RT2NET—Router to network. LinkCost Link cost. LinkNewCost New link cost. Link flag: • I—The link is in initialization state. •...
  • Page 493 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 NSSA-LSA Link-LSA Intra-Area-Prefix-LSA Grace-LSA Unknown-LSA Total...
  • Page 494 Field Description Inter-Area-Prefix-LSA Number of Type-3 LSAs. Inter-Area-Router-LSA Number of Type-4 LSAs. AS-external-LSA Number of Type-5 LSAs. NSSA-LSA Number of Type-7 LSAs. Link-LSA Number of Type-8 LSAs. Intra-Area-Prefix-LSA Number of Type-9 LSAs. Grace-LSA Number of Type-11 LSAs. Unknown-LSA Number of Unknown-LSAs. Total Total number.
  • Page 495: Display Ospfv3 Vlink

    Field Description Bad version Packets with wrong version. Bad checksum Packets with wrong checksum. Unknown neighbor Packets received from unknown neighbors. Bad area ID Packets with invalid area ID. Bad packet Packets illegal. Packet dest error Packets with wrong destination addresses. Inactive area packet Packets received in inactive areas.
  • Page 496: Enable Ipsec-Profile

    network-operator Parameters process-id: Specifies an OSPFv3 process by its ID in the range of 1 to 65535. If you do not specify this argument, the command displays the OSPFv3 virtual link information for all OSPFv3 processes. Examples # Display OSPFv3 virtual link information. <Sysname>...
  • Page 497: Filter (Ospfv3 Area View)

    Default No IPsec profile is applied to an area. Views OSPFv3 area view Predefined user roles network-admin Parameters profile-name: Specifies an IPsec profile by its name, a case-insensitive string of 1 to 63 characters. Usage guidelines To protect routing information and prevent attacks, OSPFv3 can authenticate protocol packets by using an IPsec profile.
  • Page 498: Filter-Policy Export (Ospfv3 View)

    import: Filters Inter-Area-Prefix-LSAs advertised into the local area. Usage guidelines This command is available only on an ABR. Examples # Use IPv6 prefix list my-prefix-list to filter inbound Inter-Area-Prefix-LSAs. Use IPv6 ACL 2000 to filter outbound Inter-Area-Prefix-LSAs in OSPFv3 Area 1. <Sysname>...
  • Page 499: Filter-Policy Import (Ospfv3 View)

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

    gateway prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes by next hop. If you do not specify this option, the command does not filter routes by next hop. prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes by destination.
  • Page 501: Graceful-Restart Helper Enable

    Default The GR capability for OSPFv3 is disabled. Views OSPFv3 view Predefined user roles network-admin Parameters global: Enables global GR. In global GR mode, a GR process can be completed only when all GR helpers exist. A GR process fails if a GR helper fails (for example, the interface connected to the GR helper goes down).
  • Page 502: Graceful-Restart Helper Strict-Lsa-Checking

    undo graceful-restart helper enable Default The GR helper capability for OSPFv3 is enabled. Views OSPFv3 view Predefined user roles network-admin Parameters planned-only: Enables only planned GR for the GR helper. If you do not specify this keyword, the command enables both planned GR and unplanned GR for the GR helper. This keyword is available in Release 231 1P04 and later versions.
  • Page 503: Graceful-Restart Interval

    Examples # Enable strict LSA checking for the GR helper in OSPFv3 process 1. <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] graceful-restart helper strict-lsa-checking Related commands graceful-restart helper enable graceful-restart interval Use graceful-restart interval to configure the GR restart interval. Use undo graceful-restart interval to restore the default. Syntax graceful-restart interval interval-value undo graceful-restart interval...
  • Page 504 Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | nssa-only | route-policy route-policy-name | tag tag | type type ] * undo import-route protocol [ process-id | all-processes ] Default OSPFv3 route redistribution is disabled. Views OSPFv3 view Predefined user roles...
  • Page 505: Log-Peer-Change

    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. The import-route nssa-only command redistributes AS-external routes in Type-7 LSAs only into the NSSA area.
  • Page 506: Lsa-Generation-Interval

    lsa-generation-interval Use lsa-generation-interval to configure the OSPFv3 LSA generation interval. Use undo lsa-generation-interval to restore the default. Syntax lsa-generation-interval maximum-interval [ minimum-interval [ incremental-interval ] ] undo lsa-generation-interval Default The maximum interval is 5 seconds, the minimum interval is 0 milliseconds, and the incremental interval is 0 milliseconds.
  • Page 507: Non-Stop-Routing

    Syntax maximum load-balancing maximum undo maximum load-balancing Views OSPFv3 view Predefined user roles network-admin Parameters maximum: Specifies the maximum number of ECMP routes. When the maximum number is 1, OSPFv3 does not perform load balancing. Usage guidelines The default maximum number of OSPFv3 ECMP routes equals the maximum number of ECMP routes supported by the system.
  • Page 508: Nssa

    Predefined user roles network-admin Usage guidelines OSPFv3 NSR and OSPFv3 GR are mutually exclusive. Do not configure the non-stop-routing command and the graceful-restart enable command at the same time. Examples # Enable NSR for OSPFv3 process 100. <Sysname> system-view [Sysname] ospfv3 100 [Sysname-ospfv3-100] non-stop-routing nssa Use nssa to configure the current area as an NSSA area.
  • Page 509: Ospfv3

    route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. When the specified routing policy is matched, the command distributes a default route in a Type-7 LSA into the OSPFv3 routing domain. The routing policy modifies values in the Type-7 LSA. tag tag: Specifies a tag for marking the default route, in the range of 0 to 4294967295.
  • Page 510: Ospfv3 Area

    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 511: Ospfv3 Bfd Enable

    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 BFD for OSPFv3 is disabled.
  • Page 512: Ospfv3 Dr-Priority

    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 513: Ospfv3 Mib-Binding

    undo ospfv3 ipsec-profile [ instance instance-id ] Default No IPsec profile is applied to an OSPFv3 interface. Views Interface view Predefined user roles network-admin Parameters profile-name: Specifies an IPsec profile by its name, a case-sensitive string of 1 to 63 characters. instance-id: Specifies an ID of the instance of the interface, in the range of 0 to 255.
  • Page 514: Ospfv3 Mtu-Ignore

    Examples # Bind MIB to OSPFv3 process 100. <Sysname> system-view [Sysname] ospfv3 mib-binding 100 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...
  • Page 515: Ospfv3 Peer

    For PPP, LAPB, HDLC, and POS, the default network type is P2P. • Views Interface view 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.
  • Page 516: Ospfv3 Prefix-Suppression

    Default No link-local address is specified for the neighbor interface. Views Interface view Predefined user roles network-admin Parameters ipv6-address: Specifies the link-local IPv6 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.
  • Page 517: Ospfv3 Timer Dead

    instance instance-id: Specifies an instance by its ID in the range of 0 to 255. The default is 0. Usage guidelines To disable prefix suppression for an interface associated with an OSPFv3 process that has been enabled with prefix suppression, use the ospfv3 prefix-suppression disable command on that interface. Examples # Enable prefix suppression for VLAN-interface 10.
  • Page 518: Ospfv3 Timer Hello

    ospfv3 timer hello Use ospfv3 timer hello to configure the hello interval for an interface. Use undo ospfv3 timer hello to restore the default. Syntax ospfv3 timer hello seconds [ instance instance-id ] undo ospfv3 timer hello [ instance instance-id ] Default The hello interval is 10 seconds for P2P and broadcast interfaces, and is 30 seconds for P2MP or NBMA interfaces.
  • Page 519: Ospfv3 Timer Retransmit

    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. The default is 0. Usage guidelines When an NBMA interface finds its neighbor is down, it sends hello packets at the poll interval. The poll interval must be at least four times the hello interval.
  • Page 520: Ospfv3 Trans-Delay

    Examples # Configure the LSA retransmission interval on VLAN-interface 10 in instance 1 as 12 seconds. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospfv3 timer retransmit 12 instance 1 ospfv3 trans-delay Use ospfv3 trans-delay to configure the transmission delay for an interface. Use undo ospfv3 trans-delay to restore the default.
  • Page 521: Prefix-Suppression

    Default The preference for OSPFv3 internal routes is 10, and that for OSPFv3 external routes is 150. Views OSPFv3 view Predefined user roles network-admin Parameters ase: Sets a preference to OSPFv3 external routes. If you do not specify this keyword, the command sets a preference for OSPFv3 internal routes.
  • Page 522: Reset Ospfv3 Process

    Usage guidelines To disable an OSPFv3 process from advertising the prefixes of loopback and passive interfaces, configure prefix suppression on the interfaces by using the ospfv3 prefix-suppression command. When prefix suppression is enabled: OSPFv3 does not advertise the prefixes of suppressed interfaces in Type-8 LSAs. •...
  • Page 523: Reset Ospfv3 Redistribution

    Examples # Restart all OSPFv3 processes. <Sysname> reset ospfv3 process Reset OSPFv3 process? [Y/N]:y reset ospfv3 redistribution Use reset ospfv3 redistribution to restart route redistribution. NOTE: This command is available in Release 2311P04 and later versions. Syntax reset ospfv3 [ process-id ] redistribution Views User view Predefined user roles...
  • Page 524: Router-Id

    Examples # Clear statistics for all OSPFv3 processes. <Sysname> reset ospfv3 statistics router-id Use router-id to configure a router ID. Use undo router-id to remove the configured router ID. Syntax router-id router-id undo router-id Default No router ID is configured. Views OSPFv3 view Predefined user roles...
  • Page 525: Snmp Context-Name

    undo snmp-agent trap enable ospfv3 [ grrestarter-status-change | grhelper-status-change | if-state-change | if-cfg-error | if-bad-pkt | neighbor-state-change | nssatranslator-status-change | virtif-bad-pkt virtif-cfg-error virtif-state-change virtgrhelper-status-change virtneighbor-state-change ] * Default SNMP notifications for OSPFv3 are enabled. Views System view Predefined user roles network-admin Parameters grrestarter-status-change: Specifies notifications about GR restarter state change.
  • Page 526: Snmp Trap Rate-Limit

    Views OSPFv3 view Predefined user roles network-admin Parameters context-name: Specifies a context name, a case-sensitive string of 1 to 32 characters. Usage guidelines The standard OSPFv3 MIB provides only single-instance MIB objects. For SNMP to correctly identify OSPFv3 management information in the standard OSPFv3 MIB, you must configure a unique context name for OSPFv3.
  • Page 527: Silent-Interface(Ospfv3 View)

    [Sysname-ospfv3-100] snmp trap rate-limit interval 5 count 10 silent-interface(OSPFv3 view) Use silent-interface to disable the specified interface from receiving and sending OSPFv3 packets. Use undo silent-interface to restore the default. Syntax silent-interface { interface-type interface-number | all } undo silent-interface { interface-type interface-number | all } Default An interface can receive and send OSPFv3 packets.
  • Page 528: Stub (Ospfv3 Area View)

    Default The maximum SPF calculation interval is 5 seconds, the minimum interval is 50 milliseconds, and the incremental interval is 200 milliseconds. Views OSPFv3 view Predefined user roles network-admin Parameters maximum-interval: Specifies the maximum OSPFv3 route calculation interval in the range of 1 to 60 seconds.
  • Page 529: Stub-Router

    Predefined user roles network-admin Parameters default-route-advertise-always: Enables the ABR to always advertise the default route. no-summary: Enables the ABR of a stub area to advertise only a default route in an Inter-Area-Prefix-LSA into the stub area. No AS-external-LSA, Inter-Area-Prefix-LSA, or other Inter-Area-Router-LSA is advertised in the area.
  • Page 530: Transmit-Pacing

    max-metric: Advertises the locally generated Type- 1 LSAs with the maximum cost of 65535. external-lsa max-metric-value: Specifies a cost for external LSAs, in the range of 1 to 16777215. The default is 1671 1680. summary-lsa max-metric-value: Specifies a cost for Type-3 and Type-4 LSAs, in the range of 1 to 16777215.
  • Page 531: Vlink-Peer (Ospfv3 Area View)

    Parameters interval interval: Specifies an interval at which an interface sends LSU packets, in the range of 10 to 1000 milliseconds. If the router has multiple OSPFv3 interfaces, increase this interval to reduce the total number of LSU packets sent by the router every second. count count: Specifies the maximum number of LSU packets sent by an interface at each interval, in the range of 1 to 200.
  • Page 532 Usage guidelines You can configure a virtual link to maintain connectivity between a non-backbone area and the backbone, or in the backbone itself. A virtual link is similar to an interface with OSPFv3 enabled. You can configure parameters such as hello, dead, retransmit and trans-delay for the virtual link. Both ends of a virtual link must be ABRs that are configured with the vlink-peer command.
  • Page 533: Ipv6 Is-Is Commands

    IPv6 IS-IS 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 commands." display isis redistribute ipv6 Use display isis redistribute ipv6 to display information about redistributed IPv6 IS-IS routes. Syntax display isis redistribute ipv6 [ ipv6-address mask-length ] [ level-1 | level-2 ] [ process-id ] Views...
  • Page 534: Display Isis Route Ipv6

    IntCost State : Active Table 131 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. Redistributed route types: •...
  • Page 535 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/- Cost : 20 Next Hop : FE80::200:5EFF:FE64:8905 Interface: Vlan1 Destination: 2001:2:: PrefixLen: 64 Flag : D/L/-...
  • Page 536 # 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 Interface : ExitIndex : FE80::200:5EFF:FE64:8905...
  • Page 537: Display Isis Spf-Tree Ipv6

    Field Description ExitIndex Outbound interface index. display isis spf-tree ipv6 Use display isis spf-tree ipv6 to display IPv6 IS-IS topology information. Syntax display isis spf-tree ipv6 [ [ level-1 | level-2 ] | verbose ] * [ process-id ] Views Any view Predefined user roles network-admin...
  • Page 538 0000.0000.0032.00 S/-/-/-/-/- -->0000.0000.0032.01 -/-/C/-/-/-/-/-/- -->0000.0000.0064.00 -/-/C/-/-/-/-/-/- 0000.0000.0032.01 S/-/-/R/-/- -->0000.0000.0064.00 -/-/C/-/-/-/-/-/- -->0000.0000.0032.00 -/-/-/P/-/-/-/-/- 0000.0000.0064.00 S/-/-/R/-/- -->0000.0000.0032.00 -/-/-/P/-/-/-/-/- -->0000.0000.0032.01 -/-/-/P/-/-/-/-/- Level-2(Topo 2) Shortest Path Tree ---------------------------------- SpfNode NodeFlag SpfLink LinkCost LinkFlag ------------------------------------------------------------------------------- 0000.0000.0032.00 S/-/-/-/-/- -->0000.0000.0032.01 -/-/C/-/-/-/-/-/- -->0000.0000.0064.00 -/-/C/-/-/-/-/-/- 0000.0000.0032.01 S/-/-/R/-/- -->0000.0000.0064.00 -/-/C/-/-/-/-/-/- -->0000.0000.0032.00 -/-/-/P/-/-/-/-/- 0000.0000.0064.00...
  • Page 539 LinkNewCost: 10 LinkFlag : -/-/C/-/-/-/-/-/- LinkSrcCnt : 1 Type: Adjacent Interface: N/A Cost: 10 Nexthop : N/A -->0000.0000.0064.00 LinkCost : 10 LinkNewCost: 10 LinkFlag : -/-/C/-/-/-/-/-/- LinkSrcCnt : 1 Type: Adjacent Interface: Tun1 Cost: 10 Nexthop : FE80::A0A:A40 SpfNode : 0000.0000.0032.01 Distance : 10 NodeFlag...
  • Page 540 LinkNewCost: 10 LinkFlag : -/-/-/P/-/-/-/-/- LinkSrcCnt : 1 Type: Remote Interface: N/A Cost: 10 Nexthop : N/A -->0000.0000.0032.01 LinkCost : 10 LinkNewCost: 10 LinkFlag : -/-/-/P/-/-/-/-/- LinkSrcCnt : 1 Type: Remote Interface: N/A Cost: 10 Nexthop : N/A Level-2(Topo 2) Shortest Path Tree ---------------------------------- SpfNode : 0000.0000.0032.00...
  • Page 541 -->0000.0000.0032.00 LinkCost LinkNewCost: 0 LinkFlag : -/-/-/P/-/-/-/-/- LinkSrcCnt : 1 Type: Adjacent Interface: N/A Cost: 0 Nexthop : N/A SpfNode : 0000.0000.0064.00 Distance : 10 NodeFlag : S/-/-/R/-/- NextHopCnt: 2 Neighbor : 0000.0000.0064.00 Interface : Vlan2 NextHop : FE80::200:12FF:FE34:1 BkNeighbor: N/A BkInterface: N/A BkNextHop : N/A Neighbor...
  • Page 542: Ipv6 Default-Route-Advertise

    Field Description NextHopCnt Next hop count. Next Hop Primary next hop of the node or the link advertising source. Interface Primary output interface of the node or the link advertising source. BkNextHop Backup next hop. BkInterface Backup output interface. Neighbor ID of the primary next hop neighbor.
  • Page 543: Ipv6 Enable

    Predefined user roles network-admin Parameters level-1: Generates a default route for Level- 1 . level-1-2: Generates a default route for Level- 1 -2. level-2: Generates a default route for Level-2. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
  • Page 544: Ipv6 Filter-Policy Export

    [Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00 [Sysname-isis-1] ipv6 enable ipv6 filter-policy export Use ipv6 filter-policy export to configure IPv6 IS-IS to filter redistributed routes. Use undo ipv6 filter-policy export to remove the configuration. Syntax ipv6 filter-policy { acl6-number | prefix-list prefix-list-name | route-policy route-policy-name } export [ protocol [ process-id ] ] undo ipv6 filter-policy export [ protocol [ process-id ] ] Default...
  • Page 545: Ipv6 Filter-Policy Import

    The source keyword specifies the destination address of a route and the destination keyword specifies the prefix of the route. The specified prefix must be valid. Otherwise, the configuration does not take effect. Examples # Use IPv6 ACL 2006 to filter redistributed routes. <Sysname>...
  • Page 546: Ipv6 Import-Route

    Usage guidelines This command filters received routes. Only routes that have not been filtered can be added into the routing table. To reference an advanced ACL (with a number from 3000 to 3999) in the command or in the routing policy, configure the ACL using one of the following methods: To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ipv6 •...
  • Page 547: Ipv6 Import-Route Isisv6 Level-1 Into Level-2

    Predefined user roles network-admin Parameters protocol: Redistributes routes from the specified routing protocol, which can be direct, static, ripng, isisv6, bgp4+, or ospfv3. process-id: Specifies a process by its ID in the range of 1 to 65535. It is available only when the protocol is ripng, isisv6, or ospfv3.
  • Page 548: Ipv6 Import-Route Isisv6 Level-2 Into Level-1

    Views IS-IS view Predefined user roles network-admin Parameters filter-policy: Specifies a filtering policy. acl6-number: Specifies an IPv6 ACL by its number in the range of 2000 to 3999. prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters.
  • Page 549: Ipv6 Import-Route Limit

    prefix-list prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. tag: Specifies an administrative tag for marking redistributed routes, in the range of 1 to 4294967295. Usage guidelines This command enables a Level- 1 -2 router to redistribute Level-2 routes to the Level- 1 and Level- 1 -2 routers in the local area.
  • Page 550: Ipv6 Preference

    Use undo ipv6 maximum load-balancing to restore the default. Syntax ipv6 maximum load-balancing number undo ipv6 maximum load-balancing Views IS-IS view Predefined user roles network-admin Parameters number: Specifies the maximum number of ECMP routes. Usage guidelines The default maximum number of IPv6 IS-IS ECMP routes equals the maximum number of ECMP routes supported by the system.
  • Page 551: Ipv6 Priority

    Usage guidelines If multiple dynamic routing protocols find routes to the same destination, the route found by the protocol with the highest preference is selected as the optimal route. Examples # Configure the preference for IPv6 IS-IS as 20. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] ipv6 preference 20 ipv6 priority...
  • Page 552: Ipv6 Summary

    ipv6 summary Use ipv6 summary to configure an IPv6 IS-IS summary route. Use undo ipv6 summary to remove the summary route. 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.
  • Page 553: Isis Ipv6 Enable

    Syntax isis ipv6 bfd enable undo isis ipv6 bfd enable Default BFD for IPv6 IS-IS is disabled. 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.
  • Page 554 [Sysname--Vlan-interface100] isis ipv6 enable 1...
  • Page 555: Ipv6 Policy-Based Routing Commands

    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 556: Display Ipv6 Policy-Based-Route

    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 557 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.
  • Page 558: Display Ipv6 Policy-Based-Route Local

    Table 136 Command output Field Description IPv6 PBR configuration and statistics on Vlan-interface1. failed indicates the policy (including all its nodes) failed to be assigned Policy based routing information for to the driver. interface Vlan-interface1(failed) For a global interface (with only one-dimensional interface number, for example, VLAN-interface 1), failed can be displayed only when you specify the slot slot-number option for the command.
  • Page 559: Display Ipv6 Policy-Based-Route Setup

    Parameters slot slot-number: Displays the IPv6 PBR configuration and statistics on an IRF member device. The slot-number argument is the ID of the IRF member device. Examples # Display IPv6 local PBR configuration and statistics. <Sysname> display ipv6 policy-based-route local Policy based routing information for local: Policy name: aaa node 0 deny:...
  • Page 560: If-Match Acl

    Predefined user roles network-admin network-operator Examples # Display IPv6 PBR configuration. <Sysname> display ipv6 policy-based-route setup Policy Name Interface Name pr01 Vlan-interface 1 Table 138 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...
  • Page 561: Ipv6 Local Policy-Based-Route

    # Configure Node 10 of policy aa to permit the packets matching ACL aaa. <Sysname> system-view [Sysname] ipv6 policy-based-route aa permit node 10 [Sysname-pbr6-aa-10] if-match acl name aaa ipv6 local policy-based-route Use ipv6 local policy-based-route to configure IPv6 local PBR based on a specified policy. Use undo ipv6 local policy-based-route to remove the configuration.
  • Page 562: Ipv6 Policy-Based-Route (System View)

    undo ipv6 policy-based-route 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.
  • Page 563: Reset Ipv6 Policy-Based-Route Statistics

    Parameters policy-name: Specifies a policy name, a case-sensitive string of 1 to 19 characters. 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 an IPv6 policy node by its number in the range of 0 to 255. A smaller number has a higher priority.
  • Page 564: Routing Policy Commands

    display ipv6 policy-based-route local • Routing policy commands Common routing policy 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 565: 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 566: 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 567: 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 568: Apply Extcommunity

    <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 569: 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 570: Apply Mpls-Label

    <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 mpls-label Use apply mpls-label to set MPLS labels for routes. Use undo apply mpls-label to restore the default. Syntax apply mpls-label undo apply mpls-label Default No MPLS label is set for routes.
  • Page 571: Apply Preference

    Parameters egp as-number: Sets the ORIGIN attribute to EGP. The as-number argument specifies an AS number in the range 1 to 4294967295 for EGP routes. igp: Sets the ORIGIN attribute to IGP. incomplete: Sets the ORIGIN attribute to UNKNOWN. Examples # Configure node 10 in permit mode for routing policy policy1 to set the ORIGIN attribute for routes matching AS path list 1 to IGP.
  • Page 572: Apply Preferred-Value

    apply preferred-value Use apply preferred-value to set a preferred value for BGP routes. Use undo apply preferred-value to restore the default. Syntax apply preferred-value preferred-value undo apply preferred-value Default No preferred value is set for BGP routes. Views Routing policy node view Predefined user roles network-admin Parameters...
  • Page 573: Apply Tag

    medium: Sets the medium prefix priority for routes. Examples # Configure node 10 in permit mode for routing policy policy1 to set prefix priority critical for routes matching prefix list abc. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match ip address prefix-list abc [Sysname-route-policy-policy1-10] apply prefix-priority critical apply tag Use apply tag to set a specified tag for IGP routes.
  • Page 574: Display Ip As-Path

    Views Routing policy node view Predefined user roles network-admin Parameters node-number: Specifies the routing policy node number in the range of 0 to 65535. Usage guidelines The specified next node must have a larger number than the current node. Example # Specify the next node 20 for node 10 of routing policy policy1.
  • Page 575: Display Ip Community-List

    display ip community-list Use display ip community-list to display BGP community list information. Syntax display ip community-list [ basic-community-list-number | adv-community-list-number | name comm-list-name ] Views Any view Predefined user roles network-admin network-operator Parameters basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99. adv-community-list-number: Specifies an advanced community list by its number in the range of 100 to 199.
  • Page 576: Display Route-Policy

    Views Any view Predefined user roles network-admin network-operator Parameters ext-comm-list-number: Specifies an extended community list by its number in the range of 1 to 199. Without this argument, the command displays information about all BGP extended community lists. Examples # Display information about BGP extended community list 1. <Sysname>...
  • Page 577: If-Match As-Path

    permit : 1 if-match cost 10 continue: next node 11 apply comm-list a delete Table 142 Command output Field Description Route-policy Routing policy name. Match mode: • permit permit. • deny. if-match Match criterion. continue Specify the next node to be matched. apply Action.
  • Page 578: If-Match Community

    ip as-path-acl • if-match community Use if-match community to match BGP routes whose COMMUNITY attribute matches a specified community list. Use undo if-match community to remove the configuration. Syntax if-match community { { basic-community-list-number | name comm-list-name } [ whole-match ] | adv-community-list-number }&<1-32>...
  • Page 579: If-Match Extcommunity

    Syntax if-match cost value undo if-match cost Default No cost match criterion is configured. 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 routes with a cost of 8. <Sysname>...
  • Page 580: If-Match Interface

    [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match extcommunity 100 150 Related commands apply extcommunity • 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>...
  • Page 581: If-Match Mpls-Label

    Default No local preference match criterion is configured. Views Routing policy node view 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.
  • Page 582: If-Match Tag

    Syntax if-match route-type { external-type1 | external-type1or2 | external-type2 | internal | is-is-level-1 | is-is-level-2 | nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 } * undo if-match route-type [ external-type1 | external-type1or2 | external-type2 | internal | is-is-level-1 | is-is-level-2 | nssa-external-type1 | nssa-external-type1or2 | nssa-external-type2 ] * Default No route-type match criterion is configured.
  • Page 583: Ip As-Path

    Predefined user roles network-admin Parameters value: Specifies a tag in the range of 0 to 4294967295. Examples # Configure node 10 in permit mode for routing policy policy1 to match IGP routes having a tag of 8. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match tag 8 ip as-path Use ip as-path to create an AS path list.
  • Page 584: Ip Community-List

    display ip as-path • • if-match ip as-path ip community-list Use ip community-list to configure a community list entry. Use undo ip community-list to remove a community list or entry. Syntax ip community-list { basic-comm-list-num | basic basic-comm-list-name } { deny | permit } [ community-number&<1-32>...
  • Page 585: Ip Extcommunity-List

    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. internet: Specifies the INTERNET community attribute. Routes with this attribute can be advertised to all BGP peers.
  • Page 586: Route-Policy

    deny: Specifies the match mode for the extended community list as deny. permit: Specifies the match mode for the extended community list as permit. { rt route-target }&<1-32>: Specifies the RT extended community attribute, a string of 3 to 21 characters. &<1-32>...
  • Page 587: Ipv4 Routing Policy Commands

    permit: Specifies the permit match mode for the routing policy node. If a route matches all the if-match clauses of the node, it is handled by the apply clauses of the node. If not, it matches against the next node. node node-number: Specifies a number for the node, in the range of 0 to 65535.
  • Page 588: Apply Ip-Address Next-Hop

    Usage guidelines This command sets a backup link in the routing policy for FRR. Using the routing policy, a routing protocol can designate a backup link for specific routes to implement FRR. When the primary link fails, FRR immediately directs packets to the backup link to minimize interruption time.
  • Page 589: Display Ip Prefix-List

    [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match as-path 1 [Sysname-route-policy-policy1-10] apply ip-address next-hop 193.1.1.8 display ip prefix-list Use display ip prefix-list to display IPv4 prefix list statistics. Syntax display ip prefix-list [ name prefix-list-name ] Views Any view Predefined user roles network-admin network-operator Parameters...
  • Page 590: If-Match Ip

    if-match ip Use if-match ip to match IPv4 routes whose destination, next hop, or source matches the specified IPv4 prefix list. Use undo if-match ip to remove the configuration. Syntax if-match ip { address | next-hop | route-source } { acl acl-number | prefix-list prefix-list-name } undo if-match ip { address | next-hop | route-source } [ acl | prefix-list ] Default No IPv4 prefix list match criterion is configured.
  • Page 591: Reset Ip Prefix-List

    Views System view Predefined user roles network-admin Parameters prefix-list-name: Specifies a name for the IPv4 prefix list, a case-sensitive string of 1 to 63 characters. index-number: Specifies an index number for an IPv4 prefix list item, in the range of 1 to 65535. An item with a smaller number is matched first.
  • Page 592: Ipv6 Routing Policy Commands

    Views User view Predefined user roles network-admin Parameters prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. Without this argument, this command clears statistics for all IPv4 prefix lists. Examples # Clear the statistics for IPv4 prefix list abc. <Sysname>...
  • Page 593: Apply Ipv6 Next-Hop

    <Sysname> system-view [Sysname] ipv6 prefix-list abc index 10 permit 100::1 64 [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match ipv6 address prefix-list abc [Sysname-route-policy-policy1-10] apply ipv6 fast-reroute backup-nexthop 1::1 apply ipv6 next-hop Use apply ipv6 next-hop to set a next hop for IPv6 routes. Use undo apply ipv6 next-hop to restore the default.
  • Page 594: If-Match Ipv6

    network-operator Parameters name prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters. Without this argument, this command displays statistics for all IPv6 prefix lists. Examples # Display the statistics for all IPv6 prefix lists. <Sysname>...
  • Page 595: Ipv6 Prefix-List

    Predefined user roles network-admin Parameters address: Matches the destination address of IPv6 routes. next-hop: Matches the next hop of IPv6 routes. route-source: Matches the source address of IPv6 routes. acl acl6-number: Specifies an IPv6 ACL for filtering by its number in the range of 2000 to 3999 for address, and 2000 to 2999 for next-hop and route-source.
  • Page 596: Reset Ipv6 Prefix-List

    permit: Specifies the permit mode. If a route matches the item, it passes the IPv4 prefix list. If not, it matches against the next item (suppose the IPv6 prefix list has multiple items). ipv6-address prefix-length: Specifies an IPv6 prefix and prefix length. The value range for the prefix-length argument is 0 to 128.
  • Page 597 Syntax reset ipv6 prefix-list [ prefix-list-name ] Views User view Predefined user roles network-admin Parameters prefix-list-name: Specifies an IPv6 prefix list by its name, a case-sensitive string of 1 to 63 characters. Without this argument, this command clears statistics for all IPv6 prefix lists. Examples # Clear the statistics for IPv6 prefix list abc.
  • Page 598: Support And Other Resources

    Related information Documents To find related documents, browse to the Manuals page of the HP Business Support Center website: http://www.hp.com/support/manuals For related documentation, navigate to the Networking section, and select a networking category. •...
  • Page 599: 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 600 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 601: Index

    Index A B C D E F G H I L M N O P R S T V W balance,267 balance as-path-neglect,269 abr-summary (OSPF area view),88 bandwidth-reference,441 abr-summary (OSPFv3 area view),439 bandwidth-reference (IS-IS view),185 address-family ipv4,262 bandwidth-reference (OSPF view),92 address-family ipv4,1 bestroute...
  • Page 602 discard-route,96 display ipv6 policy-based-route local,545 display bgp dampening parameter ipv4 unicast,281 display ipv6 policy-based-route setup,546 display bgp dampening parameter ipv6 unicast,282 display ipv6 prefix-list,580 display bgp group,283 display ipv6 rib attribute,13 display bgp network,285 display ipv6 rib graceful-restart,14 display bgp paths,287 display ipv6 rib nib,15...
  • Page 603 display ospf peer,120 ebgp-interface-sensitive,323 display ospf peer statistics,123 ecmp mode enhanced,40 display ospf request-queue,124 enable ipsec-profile,425 display ospf retrans-queue,125 enable ipsec-profile,483 display ospf routing,126 enable link-local-signaling,137 display ospf spf-tree,129 enable out-of-band-resynchronization,137 display ospf statistics,132 display ospf vlink,135 fast-reroute,61 display ospfv3,445 fast-reroute,218 display ospfv3 abr-asbr,451...
  • Page 604 graceful-restart timer restart,329 ipv6 import-route isisv6 level- 1 into level-2,534 graceful-restart timer wait-for-rib,330 ipv6 import-route isisv6 level-2 into level- 1 ,535 group,330 ipv6 import-route limit,536 ipv6 local policy-based-route,548 ipv6 maximum load-balancing,536 host-advertise,145 ipv6 policy-based-route (interface view),548 host-route,65 ipv6 policy-based-route (system view),549 ipv6 preference,537...
  • Page 605 lsa-generation-interval,493 ospfv3 area,497 lsdb-overflow-interval,149 ospfv3 bfd enable,498 lsdb-overflow-limit,151 ospfv3 cost,498 lsp-fragments-extend,246 ospfv3 dr-priority,499 lsp-length originate,247 ospfv3 ipsec-profile,499 lsp-length receive,247 ospfv3 mib-binding,500 ospfv3 mtu-ignore,501 ospfv3 network-type,501 max-ecmp-num,41 ospfv3 peer,502 maximum load-balancing,429 ospfv3 prefix-suppression,503 maximum load-balancing,67 ospfv3 timer dead,504 maximum load-balancing (IS-IS view),248 ospfv3 timer hello,505...
  • Page 606 peer password,370 reset osi statistics,253 peer preferred-value,371 reset ospf counters,172 peer prefix-list,373 reset ospf process,172 peer public-as-only,374 reset ospf redistribution,173 peer reflect-client,376 reset ospfv3 process,509 peer route-limit,377 reset ospfv3 redistribution,510 peer route-policy,379 reset ospfv3 statistics,510 peer route-update-interval,380 reset rip process,71 peer substitute-as,381 reset rip...
  • Page 607 summary (IS-IS view),257 summary automatic,398 set-overload,254 silent-interface,83 silent-interface (OSPF view),175 timer,399 silent-interface(OSPFv3 view),514 timer lsp-generation,258 snmp context-name,512 timer lsp-max-age,259 snmp context-name,255 timer lsp-refresh,259 snmp trap rate-limit,513 timer spf,260 snmp trap rate-limit,177 timers,85 snmp-agent trap enable bgp,398 timers,437 snmp-agent trap enable isis,255 transmit-pacing,180 snmp-agent trap enable...

This manual is also suitable for:

5900 series

Table of Contents