HP FlexNetwork 3600 v2 Series Command Reference Manual
HP FlexNetwork 3600 v2 Series Command Reference Manual

HP FlexNetwork 3600 v2 Series Command Reference Manual

Hide thumbs Also See for FlexNetwork 3600 v2 Series:
Table of Contents

Advertisement

HPE FlexNetwork 3600 v2 Switch Series
Layer 3—IP Routing

Command Reference

Part number: 5998-7618R
Software version: Release 2111
Document version: 6W100-20160112

Advertisement

Table of Contents
loading

Summary of Contents for HP FlexNetwork 3600 v2 Series

  • Page 1: Command Reference

    HPE FlexNetwork 3600 v2 Switch Series Layer 3—IP Routing Command Reference Part number: 5998-7618R Software version: Release 2111 Document version: 6W100-20160112...
  • Page 2 © Copyright 2016 Hewlett Packard Enterprise Development LP The information contained herein is subject to change without notice. The only warranties for Hewlett Packard Enterprise 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. Hewlett Packard Enterprise shall not be liable for technical or editorial errors or omissions contained herein.
  • Page 3: Table Of Contents

    Contents Basic IP routing commands ································································ 1   display ip routing-table ·········································································································· 1   display ip routing-table acl ····································································································· 5   display ip routing-table ip-address ··························································································· 8   display ip routing-table ip-prefix ···························································································· 10   display ip routing-table protocol ···························································································· 12  ...
  • Page 4 summary ························································································································· 55   timers ····························································································································· 56   validate-source-address ······································································································ 57   version ···························································································································· 58   OSPF configuration commands ························································· 59   abr-summary (OSPF area view) ··························································································· 59   area (OSPF view) ·············································································································· 60   asbr-summary ·················································································································· 60   authentication-mode ·········································································································· 61  ...
  • Page 5 ospf timer dead ··············································································································· 111   ospf timer hello ··············································································································· 112   ospf timer poll ················································································································· 113   ospf timer retransmit ········································································································ 113   ospf trans-delay ·············································································································· 114   peer······························································································································ 114   preference ····················································································································· 115   reset ospf counters ·········································································································· 116  ...
  • Page 6 isis timer holding-multiplier ································································································ 168   isis timer lsp ··················································································································· 169   isis timer retransmit ·········································································································· 170   is-level ·························································································································· 171   is-name ························································································································· 171   is-name map ·················································································································· 172   is-snmp-traps enable ········································································································ 173   log-peer-change (IS-IS view) ····························································································· 173  ...
  • Page 7 ebgp-interface-sensitive ···································································································· 218   filter-policy export (BGP/BGP-VPN instance view) ·································································· 219   filter-policy import (BGP/BGP-VPN instance view) ·································································· 220   graceful-restart (BGP view) ······························································································· 221   graceful-restart timer restart ······························································································· 222   graceful-restart timer wait-for-rib ························································································· 222   group (BGP/BGP-VPN instance view) ·················································································· 223  ...
  • Page 8 RIPng configuration commands ······················································· 265   checkzero ······················································································································ 265   default cost (RIPng view) ·································································································· 265   display ripng ··················································································································· 266   display ripng database ······································································································ 267   display ripng interface ······································································································ 268   display ripng route ··········································································································· 270   enable ipsec-policy (RIPng view) ························································································...
  • Page 9 ospfv3 dr-priority ············································································································· 319   ospfv3 ipsec-policy ·········································································································· 319   ospfv3 mtu-ignore ············································································································ 320   ospfv3 network-type ········································································································· 320   ospfv3 peer ···················································································································· 321   ospfv3 timer dead ············································································································ 322   ospfv3 timer hello ············································································································ 322   ospfv3 timer retransmit ····································································································· 323  ...
  • Page 10 group (IPv6 address family view) ························································································ 372   import-route (IPv6 address family view/IPv6 BGP-VPN instance view) ········································ 372   ipv6-family ····················································································································· 373   network (IPv6 address family view/IPv6 BGP-VPN instance view) ············································· 374   peer advertise-community (IPv6 address family view) ····························································· 375  ...
  • Page 11 apply local-preference ······································································································ 414   apply origin ···················································································································· 414   apply preference ············································································································· 415   apply preferred-value ······································································································· 415   apply tag ······················································································································· 416   continue ························································································································ 417   display ip as-path ············································································································ 417   display ip community-list ··································································································· 418  ...
  • Page 12 filter-policy export ············································································································ 462   filter-policy import ············································································································ 463   import route-policy ··········································································································· 463   ip binding vpn-instance ····································································································· 464   ip vpn-instance ··············································································································· 465   ipv4-family ····················································································································· 465   ipv4-family vpn-instance ··································································································· 466   peer allow-as-loop ··········································································································· 466   refresh bgp vpn-instance ···································································································...
  • Page 13: Basic Ip Routing Commands

    Basic IP routing commands The term "router" in this chapter refers to both routers and Layer 3 switches. The term "interface" in the routing features collectively refers to Layer 3 interfaces, including VLAN interfaces and Layer 3 Ethernet interfaces. You can set an Ethernet port as a Layer 3 interface by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide).
  • Page 14 Destinations : 7 Routes : 7 Destination/Mask Proto Cost NextHop Interface 1.1.2.0/24 Direct 0 1.1.2.1 Vlan11 1.1.2.1/32 Direct 0 127.0.0.1 InLoop0 2.2.2.0/24 OSPF 1.1.2.2 Vlan12 127.0.0.0/8 Direct 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 127.0.0.1 InLoop0 192.168.0.0/24 Direct 0 192.168.0.1 Vlan1 192.168.0.1/32 Direct 0 127.0.0.1...
  • Page 15 RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active NoAdv Age: 06h46m22s Tag: 0 Destination: 2.2.2.0/24 Protocol: OSPF Process ID: 1 Preference: 10 Cost: 2 IpPrecedence: QosLcId: NextHop: 1.1.2.2 Interface: Vlan-interface12 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0...
  • Page 16 RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active Adv Age: 06h46m35s Tag: 0 Destination: 192.168.0.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: QosLcId: NextHop: 127.0.0.1 Interface: InLoopBack0 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0...
  • Page 17: Display Ip Routing-Table Acl

    Field Description Route status: • Active—This is an active unicast route. • Adv—This route can be advertised. • Delete—This route is deleted. • Gateway—This is an indirect route. • Holddown—Number of holddown routes. Holddown is a route advertisement policy used in some distance vector (D-V) routing protocols, such as RIP, to avoid the propagation of some incorrect routes.
  • Page 18 acl-number: Specifies the basic ACL number, in the range of 2000 to 2999. verbose: Displays detailed routing table information, including inactive routes. Without this argument, the command displays only brief information about active routes. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 19 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor: 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active Adv Age: 1d00h25m32s Tag: 0 Destination: 10.1.1.2/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: QosLcId: NextHop: 127.0.0.1 Interface: InLoopBack0 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0...
  • Page 20: Display Ip Routing-Table Ip-Address

    BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor: 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active Adv Age: 1d00h05m31s Tag: 0 Destination: 10.1.3.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: QosLcId: NextHop: 127.0.0.1 Interface: InLoopBack0 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0...
  • Page 21 include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ip routing-table ip-address to display information about routes to a specified destination address. Executing the command with different parameters yields different output: •...
  • Page 22: Display Ip Routing-Table Ip-Prefix

    Destination/Mask Proto Cost NextHop Interface 11.1.1.0/24 Static 60 0.0.0.0 NULL0 # Display route entries by specifying a destination IP address and mask. <Sysname> display ip routing-table 11.1.1.1 24 Routing Table : Public Summary Count : 1 Destination/Mask Proto Cost NextHop Interface 11.1.1.0/24 Static 60...
  • Page 23 Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. ip-prefix-name: Specifies the IP prefix list name, a string of 1 to 19 characters. verbose: Displays detailed routing table information, including inactive routes.
  • Page 24: Display Ip Routing-Table Protocol

    State: Active Adv Age: 1d00h20m52s Tag: 0 Destination: 2.2.2.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: QosLcId: NextHop: 127.0.0.1 Interface: InLoopBack0 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active NoAdv Age: 1d00h20m52s...
  • Page 25: Display Ip Routing-Table Statistics

    <Sysname> display ip routing-table protocol direct Public Routing Table : Direct Summary Count : 6 Direct Routing Table Status : <Active> Summary Count : 6 Destination/Mask Proto Cost NextHop Interface 2.2.2.0/24 Direct 0 2.2.2.1 Vlan2 2.2.2.2/32 Direct 0 127.0.0.1 InLoop0 127.0.0.0/8 Direct 0 127.0.0.1...
  • Page 26: Display Ipv6 Routing-Table

    |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 27 Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. verbose: Displays detailed information about both active and inactive routes. Without this keyword, only brief information about active routes is displayed.
  • Page 28: Display Ipv6 Routing-Table Acl

    RelayNextHop : :: : 0H Neighbor : :: ProcessID Interface : InLoopBack0 Protocol : Direct State : Active NoAdv Cost Tunnel ID : 0x0 Label : NULL : 22161sec Table 5 Command output Field Description Destination IPv6 address of the destination network/host PrefixLength Prefix length of the address NextHop...
  • Page 29: Display Ipv6 Routing-Table Ipv6-Address

    verbose: Displays both active and inactive verbose routing information permitted by the ACL. Without this keyword, only brief active routing information is displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow.
  • Page 30 ipv6-address1/ipv6-address2: Specifies the an IPv6 address range from IPv6 address1 to IPv6 address2. prefix-length1/prefix-length2: Specifies the prefix length, in the range of 0 to 128. verbose: Displays both active and inactive verbose routing information. Without this keyword, only brief active routing information is displayed. |: Filters command output by specifying a regular expression.
  • Page 31: Display Ipv6 Routing-Table Ipv6-Prefix

    NextHop : :: Preference: 60 Interface : NULL0 Cost # Display brief information about the matched route with the longest prefix length. <Sysname> display ipv6 routing-table 10:: 127 longer-match Routing Tables: Public Summary Count : 1 Destination: 10::/120 Protocol : Static NextHop : :: Preference: 60...
  • Page 32: Display Ipv6 Routing-Table Protocol

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ipv6 routing-table ipv6-prefix to display routes permitted by the IPv6 prefix list.
  • Page 33: Display Ipv6 Routing-Table Statistics

    Description Use display ipv6 routing-table protocol to display IPv6 routes of a specified routing protocol. Examples # Display brief information about all direct routes. <Sysname> display ipv6 routing-table protocol direct Public Routing Table : Direct Summary Count : 1 Direct Routing Table Status : <Active> Summary Count : 1 Destination: ::1/128 Protocol...
  • Page 34: Reset Ip Routing-Table Statistics Protocol

    Protocol route active added deleted freed DIRECT STATIC RIPng OSPFv3 IS-ISv6 BGP4+ Total Table 6 Command output Field Description Protocol Routing protocol route Route number of the protocol active Number of active routes added Routes added after the last startup of the router deleted Deleted routes, which will be released after a specified time freed...
  • Page 35: Reset Ipv6 Routing-Table Statistics

    reset ipv6 routing-table statistics Syntax reset ipv6 routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } View User view Default level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed.
  • Page 36: Static Routing Configuration Commands

    Static routing configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. delete static-routes all Syntax delete [ vpn-instance vpn-instance-name ] static-routes all View System view Default level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters.
  • Page 37 [ bfd control-packet bfd-source ip-address | track track-entry-number ] } [ preference preference-value ] [ tag tag-value ] [ permanent ] [ description description-text ] undo ip route-static vpn-instance s-vpn-instance-name&<1-6> dest-address { mask | mask-length } [ next-hop-address [ public ] | interface-type interface-number [ next-hop-address ] | vpn-instance d-vpn-instance-name next-hop-address ] [ preference preference-value ] View System view...
  • Page 38 Use undo ip route-static to delete a unicast static route. When you configure a unicast static route, follow these guidelines: • If the destination IP address and the mask are both 0.0.0.0 (or 0), the configured route is a default route. The default route will be used for forwarding a packet if no route is available for the packet in the routing table.
  • Page 39: Ip Route-Static Default-Preference

    ip route-static default-preference Syntax ip route-static default-preference default-preference-value undo ip route-static default-preference View System view Default level 2: System level Parameters default-preference-value: Specifies the default preference for static routes, in the range of 1 to 255. Description Use ip route-static default-preference to configure the default preference for static routes. Use undo ip route-static default-preference to restore the default.
  • Page 40 By default, static route FRR is not configured. Configuring static route FRR needs to reference a routing policy, which specifies a backup next hop with the apply fast-reroute backup-interface command. For more information about the command and routing policy configurations, see Layer 3—IP Routing Configuration Guide. Static route FRR takes effect only for static routes that have both the output interface and next hop specified.
  • Page 41: Rip Configuration Commands

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

    Use undo default cost to restore the default. By default, the default metric of redistributed routes is 0. When you use the import-route command to redistribute routes from other protocols without specifying a metric, the metric specified by the default cost command applies. Related command: import-route.
  • Page 43: Display Rip

    display rip Syntax display rip [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: RIP process ID, in the range of 1 to 65535. If no process ID is specified, information about all configured RIP processes is displayed.
  • Page 44 Networks : 192.168.1.0 Configured peers : None Triggered updates sent : 0 Number of routes changes : 0 Number of replies to queries : 0 Table 7 Command output Field Description The RIP process runs under a public VPN Public VPN-instance name (or Private VPN-instance instance./The RIP process runs under a private VPN name) instance.
  • Page 45: Display Rip Database

    Field Description Triggered updates sent Number of sent triggered updates. Number of routes changes Number of changed routes in the database. Number of replies to queries Number of RIP responses. display rip database Syntax display rip process-id database [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 46: Display Rip Interface

    display rip interface Syntax display rip process-id interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: RIP process ID, in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number.
  • Page 47: Display Rip Route

    Field Description designated. Additional routing metric added to the outgoing MetricOut routes. Name of the routing policy used to add the additional routing metric for the outgoing routes. If no routing MetricOut route policy policy is referenced, the field displays Not designated.
  • Page 48 regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display rip route to display the routing information of a specified RIP process. Examples # Display all routing information of RIP process 1. <Sysname> display rip 1 route Route Flags: R - RIP, T - TRIP P - Permanent, A - Aging, S - Suppressed, G - Garbage-collect ----------------------------------------------------------------------------...
  • Page 49: Dscp (Rip View)

    dscp (RIP view) Syntax dscp dscp-value undo dscp View RIP view Default level 2: System level Parameters dscp-value: Sets the Differentiated Services Code Point (DSCP) value for RIP packets, in the range of 0 to 63. Description Use dscp to set the DSCP value for RIP packets. Use undo dscp to restore the default.
  • Page 50: Filter-Policy Export (Rip View)

    IMPORTANT: • RIP FRR is only effective for non-recursive RIP routes that are learned from directly connected neighbors. • Do not use RIP FRR and BFD for RIP at the same time; otherwise, RIP FRR may fail to take effect. •...
  • Page 51: Filter-Policy Import (Rip View)

    By default, RIP does not filter outbound routes. If a protocol is specified, RIP filters only the routes redistributed from the specified routing protocol. Otherwise, RIP filters all routes to be advertised. If interface-type interface-number is specified, RIP filters only the routes advertised by the specified interface.
  • Page 52: Host-Route

    Default level 2: System level Parameters acl-number: Number of the ACL used for filtering incoming routes, in the range of 2000 to 3999. ip-prefix ip-prefix-name: References an IP prefix list to filter incoming routes. The ip-prefix-name is a string of 1 to 19 characters. gateway ip-prefix-name: References an IP prefix list to filter routes from the gateway.
  • Page 53: Import-Route (Rip View)

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

    route-policy route-policy-name: Specifies a routing policy with 1 to 63 case-sensitive characters. Description Use import-route to enable route redistribution from another routing protocol. Use undo import-route to disable route redistribution. By default, RIP does not redistribute routes from other routing protocols. The import-route bgp command only redistributes eBGP routes.
  • Page 55: Network

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

    count: Maximum number of RIP packets sent at each interval. It is in the range of 1 to 20. Description Use output-delay to configure the maximum RIP packets that can be sent at the specified interval for all interfaces under the RIP process. Use undo output-delay to restore the default.
  • Page 57: Reset Rip Process

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

    reset rip statistics Syntax reset rip process-id statistics View User view Default level 2: System level Parameters process-id: RIP process ID, in the range of 1 to 65535. Description Use reset rip statistics to clear the statistics of the specified RIP process. This command can clear the statistics of debugging.
  • Page 59: Rip Authentication-Mode

    Examples # Create a RIP process and enter RIP process view. <Sysname> system-view [Sysname] rip [Sysname-rip-1] rip authentication-mode Syntax rip authentication-mode { md5 { rfc2082 [ cipher ] key-string key-id | rfc2453 [ cipher ] key-string } | simple [ cipher ] password } undo rip authentication-mode View Interface view...
  • Page 60: Rip Bfd Enable

    [Sysname-Vlan-interface10] rip version 2 [Sysname-Vlan-interface10] rip authentication-mode md5 rfc2453 rose rip bfd enable Syntax rip bfd enable undo rip bfd enable View Interface view Default level 2: System level Parameters None Description Use rip bfd enable to enable BFD on the RIP interface. Use undo rip bfd enable to restore the default and delete the relevant BFD session.
  • Page 61: Rip Input

    Description Use rip default-route to configure the RIP interface to advertise a default route with the specified metric. Use undo rip default-route to disable the RIP interface from sending a default route. By default, a RIP interface can advertise a default route if the RIP process is configured with default route advertisement.
  • Page 62: Rip Metricout

    View Interface view Default level 2: System level Parameters route-policy route-policy-name: Specifies the name of a routing policy used to add an additional metric for the routes matching it. The name is a string of 1 to 63 case-sensitive characters. value: Additional metric added to received routes, in the range of 0 to 16.
  • Page 63: Rip Mib-Binding

    value: Additional metric of sent routes, in the range of 1 to 16. Description Use rip metricout to add a metric to sent routes. Use undo rip metricout to restore the default. By default, the additional metric for sent routes is 1. With the command configured on an interface, the metric of RIP routes sent on the interface will be increased.
  • Page 64: Rip Output

    Examples # Enable RIP process 100 to receive SNMP requests. <Sysname> system-view [Sysname] rip mib-binding 100 # Restore the default. [Sysname] undo rip mib-binding rip output Syntax rip output undo rip output View Interface view Default level 2: System level Parameters None Description...
  • Page 65: Rip Split-Horizon

    Use undo rip poison-reverse to disable the poison reverse function. By default, the poison reverse function is disabled. Examples # Enable the poison reverse function for RIP routing updates on VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip poison-reverse rip split-horizon Syntax rip split-horizon...
  • Page 66: Rip Version

    Parameters ip-address: Destination IP address of summary route. mask: Subnet mask of summary route, in dotted decimal format. mask-length: Subnet mask length of summary route, in the range of 0 to 32. Description Use rip summary-address to configure RIPv2 to advertise a summary route through the interface. Use undo rip summary-address to remove the configuration.
  • Page 67: Silent-Interface (Rip View)

    • Sends RIPv2 broadcast messages • Receives RIPv1 broadcast and unicast messages, and RIPv2 broadcast, multicast, and unicast messages When RIPv2 runs on the interface in multicast mode, the interface can perform the following operations: • Sends RIPv2 multicast messages •...
  • Page 68: Timers

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

    • Update timer—Defines the interval between routing updates. • Timeout timer—Defines the route aging time. If no routing update related to a route is received after the aging time, the metric of the route is set to 16 in the routing table. •...
  • Page 70: Version

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

    OSPF configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. HPE FlexNetwork 3600 v2 SI Switch Series does not support OSPF. abr-summary (OSPF area view) Syntax abr-summary ip-address { mask | mask-length } [ advertise | not-advertise ] [ cost cost ] undo abr-summary ip-address { mask | mask-length } View OSPF area view...
  • Page 72: Area (Ospf View)

    area (OSPF view) Syntax area area-id undo area area-id View OSPF view Default level 2: System level Parameters area-id: ID of an area, which is 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. Description Use area to create an area and enter area view.
  • Page 73: Authentication-Mode

    tag tag: Specifies a tag value for the summary route, used by a routing policy to control summary route advertisement, in the range of 0 to 4294967295. The default is 1. Description Use asbr-summary to configure a summary route. Use undo asbr-summary to remove a summary route. No ASBR route summarization is configured by default.
  • Page 74: Bandwidth-Reference (Ospf View)

    Examples # Configure OSPF area 0 to use the MD5 authentication mode. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 0 [Sysname-ospf-100-area-0.0.0.0] authentication-mode md5 bandwidth-reference (OSPF view) Syntax bandwidth-reference value undo bandwidth-reference View OSPF view Default level 2: System level Parameters value: Bandwidth reference value for link cost calculation, in the range of 1 to 2147483648 Mbps.
  • Page 75: Default-Cost (Ospf Area View)

    limit: Specifies the default upper limit of routes redistributed per time, in the range of 1 to 2147483647. tag: Specifies the default tag for redistributed routes, in the range of 0 to 4294967295. type: Specifies the default type for redistributed routes: 1 or 2. Description Use default to configure default parameters for redistributed routes.
  • Page 76: Default-Route-Advertise (Ospf View)

    default-route-advertise (OSPF view) Syntax default-route-advertise [ [ [ always | permit-calculate-other ] | cost cost | route-policy route-policy-name | type type ] * | summary cost cost ] undo default-route-advertise View OSPF view Default level 2: System level Parameters always: Generates a default route in a Type-5 LSA into the OSPF routing domain regardless of whether there is a default route in the routing table.
  • Page 77: Description (Ospf/Ospf Area View)

    Examples # Generate a default route in an ASE LSA into the OSPF routing domain, regardless of whether the default route is available in the routing table. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] default-route-advertise always description (OSPF/OSPF area view) Syntax description description undo description View...
  • Page 78: Display Ospf Asbr-Summary

    Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. Use this argument to display information about the routes to the ABR/ASBR under the specified OSPF process. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 79 Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. ip-address: IP address, in dotted decimal format. mask: IP address mask, in dotted decimal format. mask-length: Mask length, in the range of 0 to 32 bits. |: Filters command output by specifying a regular expression.
  • Page 80: Display Ospf Brief

    Table 13 Command output Field Description Total Summary Address Count Total number of summary routes Address of the summary route Mask Mask of the summary route address Tag of the summary route Status Advertisement status of the summary route Cost Cost to the summary net The Count of Route Number of routes that are summarized...
  • Page 81 OSPF Protocol Information RouterID: 192.168.1.2 Router Type: NSSA Route Tag: 0 Multi-VPN-Instance is not enabled SPF-schedule-interval: 5 0 5000 LSA generation interval: 5 0 5000 LSA arrival interval: 1000 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...
  • Page 82 Field Description LSA generation interval LSA generation interval. LSA arrival interval LSA arrival interval. LSU packet transmit rate of the interface: • Interval—Indicates the LSU transmit interval of the Transmit pacing interface. • Count—Indicates the maximum number of LSU packets sent at each interval.
  • Page 83: Display Ospf Cumulative

    display ospf cumulative Syntax display ospf [ process-id ] cumulative [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. |: Filters command output by specifying a regular expression.
  • Page 84: Display Ospf Error

    LSAs Originated: 4 LSAs Received: 7 Routing Table: Intra Area: 2 Inter Area: 3 ASE/NSSA: 0 Table 15 Command output Field Description IO statistics Statistics about input/output packets and LSAs Type OSPF packet type Input Packets received Output Packets sent Hello Hell packet DB Description...
  • Page 85 Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 86: Display Ospf Interface

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

    Field Description Router priority. The DR on the interface's network segment. The BDR on the interface’s network segment. display ospf lsdb Syntax display ospf [ process-id ] lsdb [ brief | [ { asbr | ase | network | nssa | opaque-area | opaque-as | opaque-link | router | summary } [ link-state-id ] ] [ originate-router advertising-router-id | self-originate ] ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 89 Examples # Display OSPF LSDB information. <Sysname> display ospf lsdb OSPF Process 1 with Router ID 192.168.0.1 Link State Database Area: 0.0.0.0 Type LinkState ID AdvRouter Sequence Metric Router 192.168.0.2 192.168.0.2 80000004 Router 192.168.0.1 192.168.0.1 80000009 Network 192.168.0.1 192.168.0.1 80000003 Sum-Net 192.168.1.0 192.168.0.1...
  • Page 90: Display Ospf Nexthop

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

    Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 92 Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. verbose: Displays detailed neighbor information. interface-type interface-number: Specifies an interface by its type and number. neighbor-id: Neighbor router ID. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 93 Field Description Router ID Neighbor router ID. Address Neighbor router address. GR State GR state. Neighbor state: • Down—This is the initial state of a neighbor conversation. • Init—In this state, the router has seen a Hello packet from the neighbor. However, the router has not established bidirectional communication with the neighbor (the router itself did not appear in the neighbor's hello packet).
  • Page 94: Display Ospf Peer Statistics

    Table 22 Command output Field Description Area Neighbor area Router ID Neighbor router ID Address Neighbor interface address Neighboring router priority Dead-Time Dead interval remained Interface Interface connected to the neighbor Neighbor state: Down, Init, Attempt, 2-Way, Exstart, Exchange, State Loading or Full display ospf peer statistics Syntax...
  • Page 95: Display Ospf Request-Queue

    Table 23 Command output Field Description Area ID. The state statistics of all the routers in the area to which the router belongs Area ID is displayed. Down Number of neighboring routers in Down state in the same area. Attempt Number of neighboring routers in Attempt state in the same area.
  • Page 96: Display Ospf Retrans-Queue

    <Sysname> display ospf request-queue The Router's Neighbor is Router ID 2.2.2.2 Address 10.1.1.2 Interface 10.1.1.1 Area 0.0.0.0 Request list: Type LinkState ID AdvRouter Sequence Router 2.2.2.2 1.1.1.1 80000004 Network 192.168.0.1 1.1.1.1 80000003 Sum-Net 192.168.1.0 1.1.1.1 80000002 Table 24 Command output Field Description The Router's Neighbor is Router ID...
  • Page 97: Display Ospf Routing

    Description Use display ospf retrans-queue to display retransmission queue information. If no OSPF process is specified, the retransmission queue information of all OSPF processes is displayed. Examples # Display OSPF retransmission queue information. <Sysname> display ospf retrans-queue The Router's Neighbor is Router ID 2.2.2.2 Address 10.1.1.2 Interface 10.1.1.1 Area 0.0.0.0...
  • Page 98 nexthop nexthop-address: Displays OSPF routing information with the specified next hop. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 99: Display Ospf Vlink

    display ospf vlink Syntax display ospf [ process-id ] vlink [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. |: Filters command output by specifying a regular expression.
  • Page 100: Display Router Id

    display router id Syntax display router id [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 101: Enable Link-Local-Signaling

    <Sysname> system-view [Sysname] ospf [Sysname-ospf-1] dscp 63 enable link-local-signaling Syntax enable link-local-signaling undo enable link-local-signaling View OSPF view Default level 2: System level Parameters None Description Use enable link-local-signaling to enable the OSPF link-local signaling (LLC) capability. Use undo enable link-local-signaling to disable the OSPF link-local signaling capability. By default, this capability is disabled.
  • Page 102: Enable Out-Of-Band-Resynchronization

    OSPF logging is disabled by default. If no keyword is specified, all logging is enabled. Examples # Enable OSPF logging. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] enable log enable out-of-band-resynchronization Syntax enable out-of-band-resynchronization undo enable out-of-band-resynchronization View OSPF view Default level 2: System level Parameters None...
  • Page 103: Fast-Reroute

    fast-reroute Syntax fast-reroute { auto [ abr-only ] | route-policy route-policy-name } undo fast-reroute View OSPF view Default level 2: System level Parameters auto: Calculates a backup next hop automatically for all routes. abr-only: Selects only the route to the ABR as the backup path. route-policy route-policy-name: References a routing policy to designate a backup next hop.
  • Page 104: Filter

    filter Syntax filter { acl-number | ip-prefix ip-prefix-name } { export | import } undo filter { export | import } View OSPF area view Default level 2: System level Parameters acl-number: ACL number, in the range of 2000 to 3999. ip-prefix-name: IP prefix list name, a string of up to 19 characters.
  • Page 105: Filter-Policy Import (Ospf View)

    Parameters acl-number: Number of an ACL used to filter redistributed routes, in the range of 2000 to 3999. ip-prefix-name: Name of an IP prefix list used to filter redistributed routes, a string of up to 19 characters. protocol: Specifies a protocol from which to filter redistributed routes. The protocol can be direct, static, rip, ospf, isis or bgp.
  • Page 106 View OSPF view Default level 2: System level Parameters acl-number: Number of an ACL used to filter incoming routes, in the range of 2000 to 3999. gateway ip-prefix-name: Name of an IP address prefix list used to filter routes received from specific neighbors.
  • Page 107: Graceful-Restart (Ospf View)

    graceful-restart (OSPF view) Syntax graceful-restart [ ietf | nonstandard ] undo graceful-restart View OSPF view Default level 2: System level Parameters ietf: Enables the IETF GR capability. nonstandard: Enables the non-IETF GR capability. Description Use graceful-restart to enable OSPF Graceful Restart capability. Use undo graceful-restart to disable OSPF Graceful Restart capability.
  • Page 108: Graceful-Restart Interval (Ospf View)

    View OSPF view Default level 2: System level Parameters acl-number: Basic or advanced ACL number, in the range of 2000 to 3999. prefix-list: Name of the specified IP prefix list, a string of 1 to 19 characters. Description Use graceful-restart help to configure for which OSPF neighbors the current router can serve as a GR Helper.
  • Page 109: Host-Advertise

    The Graceful Restart interval of OSPF cannot be less than the maximum value of dead intervals on all OSPF interfaces; otherwise, the Graceful Restart of OSPF may fail. Related commands: ospf timer dead. Examples # Configure the Graceful Restart interval for OSPF process 1 as 100 seconds. <Sysname>...
  • Page 110 Parameters protocol: Redistributes routes from the specified protocol, which can be bgp, direct, isis, ospf, rip, or static. process-id: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the protocol is rip, ospf, or isis. all-processes: Redistributes routes from all the processes of the specified routing protocol.
  • Page 111: Ispf Enable

    <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] import-route rip 40 type 2 tag 33 cost 50 ispf enable Syntax ispf enable undo ispf enable View OSPF view Default level 2: System level Parameters None Description Use ispf enable to enable OSPF ISPF. Use undo ispf enable to disable OSPF ISPF.
  • Page 112: Lsa-Arrival-Interval

    The logging is enabled by default. With this feature enabled, information about neighbor state changes is displayed on the terminal until the feature is disabled. Examples # Disable the logging of neighbor state changes for OSPF process 100. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] undo log-peer-change lsa-arrival-interval...
  • Page 113: Lsdb-Overflow-Limit

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

    [Sysname] ospf 100 [Sysname-ospf-100] lsdb-overflow-limit 400000 maximum load-balancing (OSPF view) Syntax maximum load-balancing maximum undo maximum load-balancing View OSPF view Default level 2: System level Parameters maximum: Maximum number of ECMP routes, in the range of 1 to 8. No load balancing is available when the number is set to 1.
  • Page 115: Network (Ospf Area View)

    Use undo maximum-routes to restore the default route maximum value of a specified type. Examples # Specify the maximum number of intra-area routes as 500. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] maximum-routes intra 500 network (OSPF area view) Syntax network ip-address wildcard-mask undo network ip-address wildcard-mask View OSPF area view...
  • Page 116: Opaque-Capability Enable

    Default level 2: System level Parameters default-route-advertise: Usable on an NSSA ABR or an ASBR only. If it is configured on an NSSA ABR, the ABR generates a default route in a Type-7 LSA into the NSSA area regardless of whether a default route is configured.
  • Page 117: Ospf

    Description Use opaque-capability enable to enable opaque LSA advertisement and reception. With the command configured, the OSPF device can receive and advertise the Type-9, Type-10 and Type-11 opaque LSAs. Use the undo opaque-capability command to restore the default. The feature is disabled by default. Examples # Enable advertising and receiving opaque LSAs.
  • Page 118: Ospf Authentication-Mode

    ospf authentication-mode Syntax For MD5/HMAC-MD5 authentication: ospf authentication-mode { hmac-md5 | md5 } key-id [ cipher | plain ] password undo ospf authentication-mode { hmac-md5 | md5 } key-id For simple authentication: ospf authentication-mode simple [ cipher | plain ] password undo ospf authentication-mode simple View Interface view...
  • Page 119: Ospf Bfd Enable

    [Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255 [Sysname-ospf-100-area-0.0.0.1] authentication-mode md5 [Sysname-ospf-100-area-0.0.0.1] quit [Sysname-ospf-100] quit [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf authentication-mode md5 15 plain abc # Configure the network 131.119.0.0/16 in Area 1 to support simple authentication, and set for the interface the plaintext authentication password to abc. <Sysname>...
  • Page 120: Ospf Cost

    ospf cost Syntax ospf cost value undo ospf cost View Interface view Default level 2: System level Parameters value: OSPF cost, in the range of 0 to 65535 for a loopback interface and 1 to 65535 for other interfaces. Description Use ospf cost to set an OSPF cost for the interface.
  • Page 121: Ospf Mib-Binding

    The bigger the value, the higher the priority. If a device has a priority of 0, it will not be elected as a DR or BDR. Examples # Set the DR priority on the current interface to 8. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf dr-priority 8 ospf mib-binding...
  • Page 122: Ospf Network-Type

    Parameters None Description Use ospf mtu-enable to enable an interface to add the real MTU into DD packets. Use undo ospf mtu-enable to restore the default. By default, an interface adds a MTU of 0 into DD packets, which means no real MTU is added. •...
  • Page 123: Ospf Packet-Process Prioritized-Treatment

    If any two routers on an NBMA network are directly connected via a virtual link—the network is fully meshed, you can configure the network type as NBMA; otherwise, you need to configure it as P2MP for two routers having no direct link to exchange routing information via another router. When the network type of an interface is NBMA or P2MP unicast, you need to use the peer command to specify a neighbor.
  • Page 124: Ospf Timer Hello

    View Interface view Default level 2: System level Parameters seconds: Dead interval in seconds, in the range of 1 to 2147483647. Description Use ospf timer dead to set the dead interval. Use undo ospf timer dead to restore the default. The dead interval defaults to 40s for Broadcast, P2P interfaces and defaults to 120s for P2MP and NBMA interfaces.
  • Page 125: Ospf Timer Poll

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

    Description Use ospf timer retransmit to set the LSA retransmission interval on an interface. Use undo ospf timer retransmit to restore the default. The interval defaults to 5s. After sending an LSA, an interface waits for an acknowledgement packet. If the interface receives no acknowledgement within the retransmission interval, it will retransmit the LSA.
  • Page 127: Preference

    View OSPF view Default level 2: System level Parameters ip-address: Neighbor IP address. cost value: Specifies the cost to reach the neighbor, in the range of 1 to 65535. dr-priority dr-priority: Specifies the neighbor DR priority, in the range of 0 to 255. The default neighbor DR priority is 1.
  • Page 128: Reset Ospf Counters

    route-policy route-policy-name: References a routing policy to set priorities for specified routes. A route-policy-name is a string of 1 to 63 case-sensitive characters. value: Preference value, in the range of 1 to 255. A smaller value represents a higher preference. Description Use preference to set the preference of OSPF routes.
  • Page 129: Reset Ospf Redistribution

    View User view Default level 2: System level Parameters process-id: OSPF process ID, in the range of 1 to 65535. graceful-restart: Reset the OSPF process using GR. Description Use reset ospf process to reset all OSPF processes or a specified process. Using the reset ospf process command will: •...
  • Page 130: Rfc1583 Compatible

    rfc1583 compatible Syntax rfc1583 compatible undo rfc1583 compatible View OSPF view Default level 2: System level Parameters None Description Use rfc1583 compatible to make routing rules defined in RFC 1583 compatible. Use undo rfc1583 compatible to disable the function. By default, RFC 1583 routing rules are compatible. RFC 1583 and RFC 2328 have different routing rules on selecting the best route when multiple AS external LSAs describe routes to the same destination.
  • Page 131: Silent-Interface (Ospf View)

    Some routing protocols use a router ID to identify a device. You can configure a global router ID, which is used by routing protocols that have no router ID configured. If no global router ID is configured, the highest loopback interface IP address, if any, is used as the router ID.
  • Page 132: Snmp-Agent Trap Enable Ospf

    snmp-agent trap enable ospf Syntax snmp-agent trap enable ospf [ process-id ] [ ifauthfail | ifcfgerror | ifrxbadpkt | ifstatechange | iftxretransmit | lsdbapproachoverflow | lsdboverflow | maxagelsa | nbrstatechange | originatelsa | vifcfgerror | virifauthfail | virifrxbadpkt | virifstatechange | viriftxretransmit | virnbrstatechange ] * undo snmp-agent trap enable ospf [ process-id ] [ ifauthfail | ifcfgerror | ifrxbadpkt | ifstatechange | iftxretransmit | lsdbapproachoverflow | lsdboverflow | maxagelsa |...
  • Page 133: Spf-Schedule-Interval

    Examples # Enable the sending of SNMP traps for OSPF process 1. <Sysname> system-view [Sysname] snmp-agent trap enable ospf 1 spf-schedule-interval Syntax spf-schedule-interval maximum-interval [ minimum-interval [ incremental-interval ] ] undo spf-schedule-interval View OSPF view Default level 2: System level Parameters maximum-interval: Maximum OSPF route calculation interval in seconds, in the range of 1 to 60.
  • Page 134: Stub-Router

    View OSPF area view Default level 2: System level Parameters default-route-advertise-always: Usable only on a stub ABR. With this keyword configured, 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 135: Transmit-Pacing

    The router LSAs from the stub router may contain different link type values. A value of 3 means a link to the stub network, so the cost of the link remains unchanged. A value of 1, 2 or 4 means a point-to-point link, a link to a transit network or a virtual link;...
  • Page 136 View OSPF area view Default level 2: System level Parameters router-id: Router ID of the neighbor on the virtual link. hello seconds: Hello interval in seconds, in the range of 1 to 8192. The default is 10. It must be identical to the hello interval on the virtual link neighbor.
  • Page 137 Examples # Configure a virtual link to the neighbor with router ID 1.1.1.1. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 2 [Sysname-ospf-100-area-0.0.0.2] vlink-peer 1.1.1.1...
  • Page 138: Is-Is Configuration Commands

    IS-IS configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. HPE FlexNetwork 3600 v2 SI Switch Series does not support IS-IS. area-authentication-mode Syntax area-authentication-mode { md5 | simple } [ cipher ] password [ ip | osi ] undo area-authentication-mode View IS-IS view...
  • Page 139: Auto-Cost Enable

    [Sysname] isis 1 [Sysname-isis-1] area-authentication-mode simple ivg auto-cost enable Syntax auto-cost enable undo auto-cost enable View IS-IS view Default level 2: System level Parameters None Description Use auto-cost enable to enable automatic link cost calculation. Use undo auto-cost enable to disable the function. This function is disabled by default.
  • Page 140: Bandwidth-Reference (Is-Is View)

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

    Use undo circuit-cost to restore the default. By default, no global link cost is configured. If no level is specified, the specified cost applies to both Level-1 and Level-2. Related commands: isis cost and cost-style. Examples # Set the global Level-1 link cost of IS-IS process 1 to 11. <Sysname>...
  • Page 142: Default-Route-Advertise (Is-Is View)

    default-route-advertise (IS-IS view) Syntax default-route-advertise [ route-policy route-policy-name | [ level-1 | level-1-2 | level-2 ] ] * undo default-route-advertise [ route-policy route-policy-name ] View IS-IS view Default level 2: System level Parameters route-policy-name: Specifies the name of a routing policy, a case-sensitive string of 1 to 63 characters.
  • Page 143 Parameters process-id: Displays IS-IS brief configuration information for the IS-IS process. The process ID is in the range of 1 to 65535. vpn-instance vpn-instance-name: Displays IS-IS brief configuration information for the MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS brief configuration information of the public network is displayed.
  • Page 144: Display Isis Debug-Switches

    Field Description routes • lsp-max-age—Maximum life period of LSP • lsp-refresh—Refresh interval of LSP Timers • Interval between SPFs—Interval between SPF calculations display isis debug-switches Syntax display isis debug-switches { process-id | vpn-instance vpn-instance-name } [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 145 Default level 1: Monitor level Parameters level-1: Displays the IS-IS Level-1 Graceful Restart state. level-2: Displays the IS-IS Level-2 Graceful Restart state. process-id: IS-IS Process ID, in the range of 1 to 65535. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters.
  • Page 146: Display Isis Interface

    Table 30 Command output Field Description Restart Interval Graceful Restart interval. SA Bit Supported The SA bit is set. Total Number of Interfaces = 1 The current IS-IS interface number. Restart Status Graceful Restart status. Number of LSPs not obtained by the GR restarter Number of LSPs Awaited from GR helpers during LSDB synchronization.
  • Page 147 --------------------------------- Interface: Vlan-interface11 IPV4.State IPV6.State Type Down 1497 L1/L2 No/No # Display detailed IS-IS interface information. <Sysname> display isis interface verbose Interface information for ISIS(1) --------------------------------- Interface: Vlan-interface999 IPV4.State IPV6.State Type Down 1497 L1/L2 No/No SNPA Address : 000f-e237-c6e0 IP Address : 192.168.1.48 Secondary IP Address(es) IPV6 Link Local Address...
  • Page 148 Disabled Table 31 Command output Field Description Interface Interface type and number Circuit ID IPV4.State IPv4 state IPV6.State IPv6 state Interface MTU Type Interface link adjacency type Whether the interface is elected as the DIS or not SNPA Address Subnet access point address IP Address Primary IP address Secondary IP Address(es)
  • Page 149: Display Isis Lsdb

    Field Description enabled, this field displays a hyphen (-). Number of IS-ISv6 interfaces in down state. If IPv6 is not IPv6 DOWN enabled, this field displays a hyphen (-). display isis lsdb Syntax display isis lsdb [ [ l1 | l2 | level-1 | level-2 ] | [ lsp-id lspid | lsp-name lspname ] | local | verbose ] * [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 150 LSPID Seq Num Checksum Holdtime Length ATT/P/OL -------------------------------------------------------------------------- 1000.0000.0001.00-00* 0x00000016 0x314e 0/0/0 1000.0000.0001.00-01* 0x0000000b 0xbd7 0 (616) 0/0/0 1000.0000.0001.00-02* 0x0000000f 0x68aa 0/0/0 1000.0000.0002.00-00 0x00000009 0x20ba 0/0/0 1000.0000.0002.00-01 0x00000006 0x9f1c 0/0/0 1000.0000.0002.01-00 0x00000004 0x1b9c 0/0/0 *-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload # Display detailed Level-1 LSDB information.
  • Page 151: Display Isis Name-Table

    SOURCE 1000.0000.0002.01 NLPID IPV4 NLPID IPV6 +NBR 1000.0000.0002.00 COST: 0 +NBR 1000.0000.0001.00 COST: 0 *-Self LSP, +-Self LSP(Extended), ATT-Attached, P-Partition, OL-Overload Table 33 Command output Field Description LSPID Link state packet ID. Seq Num LSP sequence number. Checksum LSP checksum. Holdtime LSP lifetime which decreases as time elapses.
  • Page 152 View Any view Default level 1: Monitor level Parameters process-id: Displays the host name-to-system ID mapping table for the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance vpn-instance-name: Displays the host name-to-system ID mapping table for the MPLS L3VPN.
  • Page 153: Display Isis Peer

    display isis peer Syntax display isis peer [ statistics | verbose ] [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters statistics: Displays IS-IS neighbor statistics. verbose: Displays detailed IS-IS neighbor information.
  • Page 154 ---------------------------- System Id: 1111.1111.1111 Interface: Vlan-interface11 Circuit Id: 1111.1111.1112.01 State: Up HoldTime: 27s Type: L1(L1L2) PRI: 64 Area Address(es):10 Peer IP Address(es): 3.1.1.2 Uptime: 00:38:15 Adj Protocol: IPV4 System Id: 1111.1111.1111 Interface: Vlan-interface11 Circuit Id: 1111.1111.1112.01 State: Up HoldTime: 28s Type: L2(L1L2) PRI: 64 Area Address(es):10...
  • Page 155: Display Isis Route

    --------------------------------------- Type IPv4 Up/Init IPv6 Up/Init LAN Level-1 LAN Level-2 Table 36 Command output Field Description Neighbor type: • LAN Level-1—Number of Level-1 neighbors whose network type is broadcast Type • LAN Level-2—Number of Level-2 neighbors whose network type is broadcast •...
  • Page 156 Description Use display isis route to display IS-IS IPv4 routing information. If no level is specified, both Level-1 and Level-2 routing information will be displayed. Examples # Display IS-IS IPv4 routing information. <Sysname> display isis route 1 Route information for ISIS(1) ----------------------------- ISIS(1) IPv4 Level-1 Forwarding Table -------------------------------------...
  • Page 157 Field Description • L—The route has been advertised in an LSP. • U—A route's penetration flag. Setting it to UP can prevent an LSP sent from L2 to L1 from being sent back to L2. # Display detailed IS-IS IPv4 routing information. <Sysname>...
  • Page 158: Display Isis Spf-Log

    Field Description Ext. Cost External route cost. Admin Tag Tag. Src Count Count of advertising sources Route state flag: • R—Indicates the route have been installed into the routing table. Flag • L—The route has been flooded in an LSP. •...
  • Page 159: Display Isis Statistics

    IS_SPFTRIG_PERIODIC 13:3:24 IS_SPFTRIG_PERIODIC 13:18:8 IS_SPFTRIG_PERIODIC 13:18:8 IS_SPFTRIG_PERIODIC 13:32:28 IS_SPFTRIG_PERIODIC 13:32:28 IS_SPFTRIG_PERIODIC 13:44:0 IS_SPFTRIG_PERIODIC 13:44:0 IS_SPFTRIG_PERIODIC 13:55:43 -->L2 IS_SPFTRIG_PERIODIC 13:55:43 IS_SPFTRIG_PERIODIC 11:54:12 IS_SPFTRIG_PERIODIC 11:54:12 IS_SPFTRIG_PERIODIC 12:7:24 IS_SPFTRIG_PERIODIC 12:7:24 IS_SPFTRIG_PERIODIC 12:21:24 IS_SPFTRIG_PERIODIC 12:21:24 IS_SPFTRIG_PERIODIC 12:35:24 IS_SPFTRIG_PERIODIC 12:35:24 IS_SPFTRIG_PERIODIC 12:49:24 IS_SPFTRIG_PERIODIC 12:49:24 IS_SPFTRIG_PERIODIC 13:3:24 Table 39 Command output Field...
  • Page 160 Displays IS-IS statistics MPLS L3VPN. vpn-instance vpn-instance-name: vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the IS-IS statistics for the public network is displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 161 MTR(Basic-V4): ------------------ 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 162: Domain-Authentication-Mode

    domain-authentication-mode Syntax domain-authentication-mode { md5 | simple } [ cipher ] password [ ip | osi ] undo domain-authentication-mode View IS-IS view Default level 2: System level Parameters md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. cipher: Sets a ciphertext password.
  • Page 163: Filter-Policy Export (Is-Is View)

    View IS-IS view Default level 2: System level Parameters auto: Calculates a backup next hop automatically for all routes. route-policy route-policy-name: References a routing policy to designate a next hop. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. You can specify the backup next hop in the routing policy.
  • Page 164 Default level 2: System level Parameters acl-number: Specifies the number of an ACL that is used to filter redistributed routes, ranging from 2000 to 3999. For ACL configuration information, see ACL and QoS Command Reference. ip-prefix ip-prefix-name: Specifies the name of an IP prefix list that is used to filter redistributed routes, a case-sensitive string of 1 to 19 characters.
  • Page 165: Filter-Policy Import (Is-Is View)

    filter-policy import (IS-IS view) Syntax filter-policy { acl-number | ip-prefix ip-prefix-name | route-policy route-policy-name } import undo filter-policy import View IS-IS view Default level 2: System level Parameters acl-number: Specifies the number of an ACL that is used to filter routes calculated from received LSPs, ranging from 2000 to 3999.
  • Page 166: Flash-Flood

    [Sysname] isis 1 [Sysname-isis 1] filter-policy 3000 import flash-flood Syntax flash-flood [ flood-count flooding-count | max-timer-interval flooding-interval | [ level-1 | level-2 ] ] undo flash-flood [ level-1 | level-2 ] View IS-IS view Default level 2: System level Parameters flood-count flooding-count: Specifies the maximum number of LSPs to be flooded before the next SPF calculation, ranging from 1 to 15.
  • Page 167: Graceful-Restart Interval (Is-Is View)

    Parameters None Description Use graceful-restart to enable IS-IS Graceful Restart capability. Use undo graceful-restart to disable IS-IS Graceful Restart capability. By default, IS-IS Graceful Restart capability is disabled. IMPORTANT: The IS-IS GR and IS-IS non-stop routing (NSR) features are mutually exclusive. Do not configure the graceful-restart and non-stop-routing commands at the same time.
  • Page 168: Import-Route (Is-Is View)

    View IS-IS view Default level 2: System level Parameters None Description Use graceful-restart suppress-sa to suppress the SA (Suppress-Advertisement) bit during restart. Use undo graceful-restart suppress-sa to set the SA bit. By default, the SA bit is set during restart. Suppressing the SA bit is mainly for avoiding black hole route.
  • Page 169: Import-Route Isis Level-2 Into Level-1

    cost-type { external | internal }: Specifies the cost type. The internal type indicates internal routes, and the external type indicates external routes. If external is specified, the cost of a redistributed route to be advertised is added by 64 to make internal routes take priority over external routes. The type is external by default.
  • Page 170: Import-Route Limit (Is-Is View)

    Parameters acl-number: Specifies the number of an ACL that is used to filter routes from Level-2 to Level-1, ranging from 2000 to 3999. For ACL configuration information, see ACL and QoS Command Reference. ip-prefix ip-prefix-name: Specifies the name of an IP prefix list that is used to filter routes from Level-2 to Level-1, a case-sensitive string of 1 to 19 characters.
  • Page 171: Isis

    Examples # Configure IS-IS process 1 to redistribute up to 1000 Level 1/Level 2 IPv4 routes. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] import-route limit 1000 isis Syntax isis [ process-id ] [ vpn-instance vpn-instance-name undo isis [ process-id ] View System view Default level 2: System level...
  • Page 172: Isis Bfd Enable

    simple: Specifies the simple authentication mode. cipher: Sets a ciphertext password. If this keyword is not specified, you set a plaintext password. password: Sets the password. This argument is case sensitive. It must be a plaintext string of 1 to 16 characters, or a ciphertext string of 33 to 53 characters.
  • Page 173: Isis Circuit-Level

    Default level 2: System level Parameters None Description Use isis bfd enable to enable BFD on an IS-IS interface for link failure detection. Use undo isis bfd enable to disable BFD on an IS-IS interface. By default, an IS-IS interface is not enabled with BFD. Examples # Enable BFD for IS-IS on VLAN-interface 11.
  • Page 174: Isis Circuit-Type P2P

    [Sysname-Vlan-interface10] isis circuit-level level-1 isis circuit-type p2p Syntax isis circuit-type p2p undo isis circuit-type View Interface view Default level 2: System level Parameters None Description Use isis circuit-type p2p to configure the network type for an interface as P2P. Use undo isis circuit-type to cancel the configuration. By default, the network type of an interface depends on the physical media.
  • Page 175: Isis Dis-Name

    Default level 2: System level Parameters value: Specifies an IS-IS cost for the interface. The cost range differs with cost styles. • For cost styles narrow, narrow-compatible and compatible, the cost ranges from 1 to 63. • For cost styles wide and wide-compatible, the cost ranges from 1 to 16777215. level-1: Applies the cost to Level-1.
  • Page 176: Isis Dis-Priority

    NOTE: This command is not available in loopback interface view. Examples # Configure the DIS name as LOCALAREA. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis dis-name LOCALAREA isis dis-priority Syntax isis dis-priority value [ level-1 | level-2 ] undo isis dis-priority [ value ] [ level-1 | level-2 ] View Interface view Default level...
  • Page 177: Isis Enable

    isis enable Syntax isis enable [ process-id ] undo isis enable View Interface view Default level 2: System level Parameters process-id: Specifies a IS-IS process ID, ranging from 1 to 65535. The default is 1. Description Use isis enable to enable an IS-IS process on the interface. Use undo isis enable to disable IS-IS.
  • Page 178: Isis Silent

    Examples # Bind MIBs with IS-IS process 100. <Sysname> system-view [Sysname] isis mib-binding 100 isis silent Syntax isis silent undo isis silent View Interface view Default level 2: System level Parameters None Description Use isis silent to disable the interface from sending and receiving IS-IS packets. Use undo isis silent to restore the default.
  • Page 179: Isis Timer Csnp

    Description Use isis small-hello to configure the interface to send small hello packets without CLVs. Use undo isis small-hello to restore the default. An interface sends standard hello packets by default. NOTE: This command is not available in loopback interface view. Examples # Configure VLAN-interface 10 to send small Hello packets.
  • Page 180: Isis Timer Hello

    [Sysname-Vlan-interface10] isis timer csnp 15 level-2 isis timer hello Syntax isis timer hello seconds [ level-1 | level-2 ] undo isis timer hello [ seconds ] [ level-1 | level-2 ] View Interface view Default level 2: System level Parameters seconds: Specifies the interval in seconds for sending hello packets, ranging from 3 to 255.
  • Page 181: Isis Timer Lsp

    View Interface view Default level 2: System level Parameters value: Number of hello intervals, in the range of 3 to 1000. level-1: Applies the number to the Level-1 IS-IS neighbor. level-2: Applies the number to the Level-2 IS-IS neighbor. NOTE: This command is not available in loopback interface view.
  • Page 182: Isis Timer Retransmit

    Parameters time: Specifies the minimum interval in milliseconds for sending link-state packets, ranging from 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. The default is 5. Description Use isis timer lsp to configure the minimum interval for sending LSPs on the interface and specify the maximum LSPs that can be sent per time.
  • Page 183: Is-Level

    Related commands: isis timer lsp. Examples # Configure the LSP retransmission interval as 10 seconds for Serial 2/0. <Sysname> system-view [Sysname] interface serial 2/0 [Sysname-Serial2/0] isis timer retransmit 10 is-level Syntax is-level { level-1 | level-1-2 | level-2 } undo is-level View IS-IS view Default level...
  • Page 184: Is-Name Map

    View IS-IS view Default level 2: System level Parameters symbolic-name: Specifies a host name for the local IS, a string of 1 to 64 characters. Description Use is-name to specify a host name for the IS to enable dynamic system ID to hostname mapping. Use undo is-name to disable dynamic system ID to hostname mapping.
  • Page 185: Is-Snmp-Traps Enable

    is-snmp-traps enable Syntax is-snmp-traps enable undo is-snmp-traps View IS-IS view Default level 2: System level Parameters None Description Use is-snmp-traps enable to enable the SNMP Trap function of IS-IS. Use the undo is-snmp-traps command to disable this function. SNMP Trap is enabled by default. Examples # Enable SNMP Trap.
  • Page 186: Lsp-Fragments-Extend

    [Sysname] isis 1 [Sysname-isis-1] log-peer-change lsp-fragments-extend Syntax lsp-fragments-extend [ [ level-1 | level-1-2 | level-2 ] | [ mode-1 | mode-2 ] ] * undo lsp-fragments-extend View IS-IS view Default level 2: System level Parameters level-1: Applies the fragment extension mode to Level-1 LSPs. level-1-2: Applies the fragment extension mode to both Level-1 and Level-2 LSPs.
  • Page 187: Lsp-Length Receive

    Parameters size: Specifies the maximum size in bytes of LSP packets, ranging from 512 to 16384. level-1: Applies the size to Level-1 LSP packets. level-2: Applies the size to Level-2 LSP packets. Description Use lsp-length originate to configure the maximum size of generated Level-1 or Level-2 LSPs. Use undo lsp-length originate to restore the default.
  • Page 188: Network-Entity

    View IS-IS view Default level 2: System level Parameters number: Maximum number of equal-cost routes, in the range of 1 to 8. Description Use maximum load-balancing to configure the maximum number of ECMP routes. Use undo maximum load-balancing to restore the default. By default, the maximum number of ECMP routes is 8.
  • Page 189: Non-Stop-Routing

    Related commands: isis, isis enable. Examples # Specify the NET as 10.0001.1010.1020.1030.00, of which 10.0001 is the area ID and 1010.1020.1030 is the system ID. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00 non-stop-routing Syntax non-stop-routing undo non-stop-routing View IS-IS view Default level 2: System level Parameters...
  • Page 190: Preference (Is-Is View)

    Parameters interval-value: NSR interval, in the range of 30 to 1800 seconds. The NSR interval refers to the expected interval of a master/slave switchover on an IRF fabric. Description Use non-stop-routing interval to set the NSR interval. Use undo non-stop-routing interval to restore the default. By default, the NSR interval is 0 seconds—no NSR interval is set.
  • Page 191: Priority High

    <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] preference 25 priority high Syntax priority high { ip-prefix prefix-name | tag tag-value } undo priority high [ ip-prefix | tag ] View IS-IS view Default level 2: System level Parameters ip-prefix ip-prefix-name: Specifies the name of an IP prefix list, a case-sensitive string of 1 to 19 characters.
  • Page 192: Reset Isis Peer

    Description Use reset isis all to clear all IS-IS data structure information. No data structure information is cleared by default. This command is used when the LSP needs to be updated immediately. For example, after performing the area-authentication-mode and domain-authentication-mode commands, you can use this command to clear old LSPs.
  • Page 193: Summary (Is-Is View)

    Parameters on-startup: Sets the overload bit upon system startup. start-from-nbr system-id [ timeout1 [ nbr-timeout ] ]: Starts the nbr-timeout timer when the router begins to establish the neighbor relationship with the neighbor after system startup. If the neighbor relationship is formed within the nbr-timeout interval, IS-IS keeps the overload bit set; if not, the bit is cleared.
  • Page 194: Timer Lsp-Generation

    Parameters ip-address: Destination IP address of the summary route. mask: Mask of the destination IP address, in dotted decimal format. mask-length: Mask length, in the range of 0 to 32. avoid-feedback: Avoids learning summary routes by route calculation. generate_null0_route: Generate the Null 0 route to avoid routing loops. level-1: Summarize only the routes redistributed to Level-1.
  • Page 195: Timer Lsp-Max-Age

    level-1: Applies the intervals to Level-1. level-2: Applies the intervals to Level-2 .If no level is specified, the specified intervals apply to both Level-1 and Level-2. Description Use timer lsp-generation to specify the wait interval before generating IS-IS LSPs. Use undo timer lsp-generation to restore the default. By default, the wait interval before LSP generation is 2 seconds.
  • Page 196: Timer Lsp-Refresh

    The default LSP maximum age is 1200 seconds. Related commands: timer lsp-refresh. Examples # Set the maximum LSP age to 1500 seconds. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] timer lsp-max-age 1500 timer lsp-refresh Syntax timer lsp-refresh seconds undo timer lsp-refresh View IS-IS view Default level...
  • Page 197: Virtual-System

    Parameters maximum-interval: Maximum SPF calculation interval in seconds, ranging from 1 to 120. initial-interval: Wait interval before the first SPF calculation, in milliseconds, ranging from 10 to 60000. second-wait-interval: Wait interval before the second SPF calculation, in milliseconds, ranging from 10 to 60000.
  • Page 198 Description Use virtual-system to configure a virtual system ID for the IS-IS process. Use undo virtual-system to remove a virtual system ID. Up to 50 virtual system IDs can be configured for the IS-IS process. Examples # Set a virtual system ID of 2222.2222.2222 for IS-IS process 1. <Sysname>...
  • Page 199: Bgp Configuration Commands

    BGP configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. For more information about routing policy configuration commands in this document, see "Routing policy configuration commands." HPE FlexNetwork 3600 v2 SI Switch Series does not support BGP. aggregate Syntax aggregate ip-address { mask | mask-length } [ as-set | attribute-policy route-policy-name |...
  • Page 200: Balance (Bgp/Bgp-Vpn Instance View)

    Keywords Function Sets attributes except the AS_PATH attribute for the summary route. The same work attribute-policy can be done by using the peer route-policy command. Description Use aggregate to create a summary route in the BGP routing table. Use undo aggregate to remove a summary route. By default, no summary route is configured.
  • Page 201: Bestroute As-Path-Neglect (Bgp/Bgp-Vpn Instance View)

    Examples # In BGP view, set the number of routes participating in BGP load balancing to 2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] balance 2 # In BGP-VPN instance view, set the number of routes participating in BGP load balancing to 2. (The VPN has been created.) <Sysname>...
  • Page 202: Bestroute Med-Confederation (Bgp/Bgp-Vpn Instance View)

    undo bestroute compare-med View BGP view, BGP-VPN instance view Default level 2: System level Parameters None Description Use bestroute compare-med to enable the comparison of the MED for routes on a per-AS basis. Use undo bestroute compare-med to disable this comparison. This comparison is not enabled by default.
  • Page 203: Bgp

    Examples # In BGP view, enable the comparison of the MED for paths from peers within the confederation. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] bestroute med-confederation # In BGP-VPN instance view, enable the comparison of the MED for paths from peers within the confederation.
  • Page 204: Confederation Id

    Parameters None Description Use compare-different-as-med to enable the comparison of the MED for paths from peers in different ASs. Use undo compare-different-as-med to disable the comparison. The comparison is disabled by default. If several paths to one destination are available, the path with the smallest MED is selected. Do not use this command unless associated ASs adopt the same IGP protocol and routing selection method.
  • Page 205: Confederation Nonstandard

    Examples # Confederation 9 consists of four sub-ASs numbered 38, 39, 40 and 41. The peer 10.1.1.1 is a member of the confederation and the peer 200.1.1.1 is outside of the confederation. Take sub AS 41 as an example. <Sysname> system-view [Sysname] bgp 41 [Sysname-bgp] confederation id 9 [Sysname-bgp] confederation peer-as 38 39 40...
  • Page 206: Confederation Peer-As

    confederation peer-as Syntax confederation peer-as as-number-list undo confederation peer-as [ as-number-list ] View BGP view Default level 2: System level Parameters as-number-list: Sub-AS number list. Up to 32 sub-ASs can be configured in one command line. The expression is as-number-list = as-number &<1-32>, in which as-number specifies a sub-AS number, and &<1-32>...
  • Page 207: Default Ipv4-Unicast

    half-life-unreachable: Specifies a half-life for suppressed routes from 1 to 45 minutes. By default, the value is 15 minutes. reuse: Specifies a reuse threshold value for suppressed routes from 1 to 20000. A suppressed route whose penalty value decreases under the value is reused. By default, the reuse value is 750. suppress: Specifies a suppression threshold from 1 to 20000.
  • Page 208: Default Local-Preference (Bgp/Bgp-Vpn Instance View)

    Use undo default ipv4-unicast to disable the default use of IPv4 unicast address family for the peers that are established using the peer as-number command. The use of IPv4 unicast address family is enabled by default. The default ipv4-unicast or undo default ipv4-unicast command applies to only BGP peers that are established after it is executed.
  • Page 209: Default Med (Bgp/Bgp-Vpn Instance View)

    default med (BGP/BGP-VPN instance view) Syntax default med med-value undo default med View BGP view, BGP-VPN instance view Default level 2: System level Parameters med-value: Default MED value, in the range of 0 to 4294967295. Description Use default med to specify a default MED value. Use undo default med to restore the default.
  • Page 210: Display Bgp Group

    Description Use default-route imported to allow default route redistribution into the BGP routing table. Use undo default-route imported to disallow the redistribution. By default, default route redistribution is not allowed. You must use the default-route imported command together with the import-route command to redistribute default routes from other protocols.
  • Page 211 BGP peer-group is aaa Remote AS 200 Type : external Maximum allowed prefix number: 4294967295 Threshold: 75% Configured hold timer value: 180 Keepalive timer value: 60 Minimum time between advertisement runs is 30 seconds Peer Preferred Value: 0 No routing policy is configured Members: Peer MsgRcvd...
  • Page 212: Display Bgp Network

    Field Description State State machine state of the peer display bgp network Syntax display bgp network [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 213: Display Bgp Paths

    display bgp paths Syntax display bgp paths [ as-regular-expression | | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. |: Filters command output by specifying a regular expression.
  • Page 214: Display Bgp Peer

    display bgp peer Syntax display bgp peer [ ip-address { log-info | verbose } | group-name log-info | verbose ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ip-address: IP address of an peer to be displayed, in dotted decimal notation.
  • Page 215 Threshold: 75% Minimum time between advertisement runs is 30 seconds Optional capabilities: Route refresh capability has been enabled ORF advertise capability based on prefix (type 64): Local: both Negotiated: send Peer Preferred Value: 0 BFD: Enabled Routing policy configured: No routing policy is configured Table 45 Command output Field Description...
  • Page 216 Field Description Route refresh capability has been enabled The route-refresh capability has been enabled. The BGP peer supports the ORF capability based on ORF advertise capability based on prefix (type 64): IP prefix. The capability value is 64. The local BGP router supports both the ORF sending Local: both and receiving capabilities.
  • Page 217: Display Bgp Peer Received Ip-Prefix

    Field Description Notification, which identifies the specific information about the reported error. display bgp peer received ip-prefix Syntax display bgp peer ip-address received ip-prefix [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ip-address: IP address of a BGP peer.
  • Page 218: Display Bgp Routing-Table

    display bgp routing-table Syntax display bgp routing-table [ ip-address [ { mask | mask-length } [ longer-prefixes ] ] ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ip-address: Destination IP address.
  • Page 219: Display Bgp Routing-Table As-Path-Acl

    Table 48 Command output Field Description Total Number of Total Number of Routes Routes BGP Local router BGP local router ID Status codes: • * – valid—Valid route. • ^ - VPNv4 best—Best VPNv4 route. • > – best—Best route. •...
  • Page 220: Display Bgp Routing-Table Cidr

    Default level 1: Monitor level Parameters as-path-acl-number: Displays routing information permitted by the AS path list, which is specified with a number from 1 to 256. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 221: Display Bgp Routing-Table Community

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

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

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

    Table 49 Command output Field Description From IP address from which the route was received Reuse Reuse time of the route For description of the other fields, see Table display bgp routing-table dampening parameter Syntax display bgp routing-table dampening parameter [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 225: Display Bgp Routing-Table Different-Origin-As

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

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

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

    display bgp routing-table peer Syntax display bgp routing-table peer ip-address { advertised-routes | received-routes } [ network-address [ mask | mask-length ] | statistic ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ip-address: IP address of a peer.
  • Page 229: Display Bgp Routing-Table Regular-Expression

    display bgp routing-table regular-expression Syntax display bgp routing-table regular-expression as-regular-expression View Any view Default level 1: Monitor level Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. Description Use display bgp routing-table regular-expression to display BGP routing information matching the specified AS path regular expression.
  • Page 230: Display Router Id

    Description Use display bgp routing-table statistic to display BGP routing statistics. Examples # Display BGP routing statistics. <Sysname> display bgp routing-table statistic Total Number of Routes: 4 display router id Syntax display router id [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 231: Filter-Policy Export (Bgp/Bgp-Vpn Instance View)

    Description Use ebgp-interface-sensitive to enable the clearing of EBGP session on any interface that becomes down. Use undo ebgp-interface-sensitive to disable the function. This function is enabled by default. Examples # In BGP view, enable the clearing of EBGP session on any interface that becomes down. <Sysname>...
  • Page 232: Filter-Policy Import (Bgp/Bgp-Vpn Instance View)

    If no routing protocol is specified, all outgoing routes are filtered. By default, no route filtering is configured. If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard destination dest-addr dest-wildcard command to deny/permit a route with the specified destination and mask.
  • Page 233: Graceful-Restart (Bgp View)

    Use undo filter-policy import to disable the filtering. By default, incoming routing information is not filtered. If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard destination dest-addr dest-wildcard command to deny/permit a route with the specified destination and mask.
  • Page 234: Graceful-Restart Timer Restart

    During main and backup boards switchover, a GR-capable BGP speaker can maintain the packet forwarding table. During restart, it may not maintain the forwarding table. Examples # Enable the Graceful Restart capability for BGP process 100. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] graceful-restart graceful-restart timer restart Syntax...
  • Page 235: Group (Bgp/Bgp-Vpn Instance View)

    Parameters timer: Time to wait for the End-of-RIB marker, in the range of 3 to 300 seconds. Description 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. By default, the time to wait for the End-of-RIB marker is 180 seconds.
  • Page 236: Ignore-First-As

    [Sysname-bgp] peer 10.1.1.1 group test [Sysname-bgp] peer 10.1.2.1 group test # In BGP-VPN instance view, create an EBGP peer group test with AS number 200, and add EBGP peers 10.1.1.1 and 10.1.2.1 into the group. (The VPN has been created.) <Sysname>...
  • Page 237: Log-Peer-Change

    Parameters protocol: Redistributes routes from the specified routing protocol, which can be direct, isis, ospf, rip or static. process-id: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the protocol is isis, ospf, or rip. all-processes: Redistributes routes from all the processes of the specified protocol.
  • Page 238: Network (Bgp/Bgp-Vpn Instance View)

    View BGP view Default level 2: System level Parameters None Description Use log-peer-change to enable the global BGP logging on peers going up and down. Use undo log-peer-change to disable the function. By default, the function is enabled. Examples # Enable BGP logging on peers going up and down. <Sysname>...
  • Page 239: Network Short-Cut (Bgp/Bgp-Vpn Instance View)

    [Sysname] bgp 100 [Sysname-bgp] network 10.0.0.0 255.255.0.0 # In BGP-VPN instance view, advertise the network segment 10.0.0.0/16. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] network 10.0.0.0 255.255.0.0 network short-cut (BGP/BGP-VPN instance view) Syntax network ip-address [ mask | mask-length ] short-cut undo network ip-address [ mask | mask-length ] short-cut...
  • Page 240: Peer Advertise-Ext-Community (Bgp/Bgp-Vpn Instance View)

    undo peer { group-name | ip-address } advertise-community View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use peer advertise-community to advertise the COMMUNITY attribute to a peer/peer group.
  • Page 241: Peer Allow-As-Loop (Bgp/Bgp-Vpn Instance View)

    Use undo peer advertise-ext-community to disable the extended community attribute advertisement to a peer/peer group. By default, no extended community attribute is advertised to a peer/peer group. Related commands: ip extcommunity-list, if-match extcommunity, and apply extcommunity. Examples # In BGP view, advertise the extended community attribute to the peer group test. <Sysname>...
  • Page 242: Peer As-Number (Bgp/Bgp-Vpn Instance View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 allow-as-loop 2 peer as-number (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } as-number as-number undo peer group-name as-number undo peer ip-address View BGP view, BGP-VPN instance view Default level 2: System level Parameters...
  • Page 243: Peer As-Path-Acl (Bgp/Bgp-Vpn Instance View)

    peer as-path-acl (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } as-path-acl as-path-acl-number { export | import } undo peer { group-name | ip-address } as-path-acl as-path-acl-number { export | import } View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters.
  • Page 244: Peer Capability-Advertise Conventional

    Parameters ip-address: IP address of a peer. Description Use peer bfd to enable BFD for a BGP peer. Use undo peer bfd to disable BFD for a BGP peer. By default, BFD is disabled. After the link to the BGP peer fails, BFD may detect the failure before the system performs GR. As a result, GR will fail.
  • Page 245: Peer Capability-Advertise Orf

    peer capability-advertise orf Syntax peer { group-name | ip-address } capability-advertise orf ip-prefix { both | receive | send } undo peer { group-name | ip-address } capability-advertise orf ip-prefix { both | receive | send } View BGP view, BGP-VPN instance view Default level 2: System level Parameters...
  • Page 246: Peer Capability-Advertise Orf Non-Standard

    [Sysname-bgp] peer 18.10.0.9 capability-advertise orf ip-prefix both The related configuration needs to be made on the peer. # In BGP-VPN instance view, enable the ORF capability for the BGP peer 18.10.0.9. Then, after negotiation, the local router can exchange ORF information with the peer 18.10.0.9. (vpn1 must have been created.) <Sysname>...
  • Page 247: Peer Capability-Advertise Route-Refresh

    [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 18.10.0.9 as-number 200 [Sysname-bgp-ipv4-vpn1] peer 18.10.0.9 capability-advertise orf non-standard [Sysname-bgp-ipv4-vpn1] peer 18.10.0.9 capability-advertise orf ip-prefix both peer capability-advertise route-refresh Syntax peer { group-name | ip-address } capability-advertise route-refresh undo peer { group-name | ip-address } capability-advertise route-refresh View BGP view, BGP-VPN instance view Default level...
  • Page 248: Peer Connect-Interface (Bgp/Bgp-Vpn Instance View)

    Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use peer capability-advertise suppress-4-byte-as to enable 4-byte AS number suppression. Use undo peer capability-advertise suppress-4-byte-as to disable the function. By default, the 4-byte AS number suppression function is disabled.
  • Page 249: Peer Default-Route-Advertise (Bgp/Bgp-Vpn Instance View)

    Description Use peer connect-interface to specify the source interface for establishing TCP connections to a peer/peer group. Use undo peer connect-interface to restore the default. By default, BGP uses the outbound interface of the best route to the BGP peer/peer group as the source interface for establishing a TCP connection to the peer/peer group.
  • Page 250: Peer Description (Bgp/Bgp-Vpn Instance View)

    With this command used, the router unconditionally sends a default route with the next hop being itself to the peer/peer group regardless of whether the default route is available in the routing table. Examples # In BGP view, advertise a default route to peer group test. <Sysname>...
  • Page 251: Peer Dscp (Bgp/Bgp-Vpn Instance View)

    [Sysname-bgp-ipv4-vpn1] peer test description ISP1 peer dscp (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } dscp dscp-value undo peer { group-name | ip-address } dscp View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Specifies the name of a peer group, a string of 1 to 47 characters. ip-address: Specifies the IP address of a peer.
  • Page 252: Peer Enable (Bgp/Bgp-Vpn Instance View)

    Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. hop-count: Maximum hop count, in the range of 1 to 255. The default is 64. Description Use peer ebgp-max-hop to allow establishing an EBGP connection with a peer/peer group that is on an indirectly connected network.
  • Page 253: Peer Fake-As (Bgp/Bgp-Vpn Instance View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 18.10.0.9 group group1 [Sysname-bgp] undo peer 18.10.0.9 enable peer fake-as (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } fake-as as-number undo peer { group-name | ip-address } fake-as View BGP view, BGP-VPN instance view Default level 2: System level Parameters...
  • Page 254: Peer Group (Bgp/Bgp-Vpn Instance View)

    View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. acl-number: ACL number, in the range of 2000 to 3999. export: Applies the filter-policy to routes advertised to the peer/peer group.
  • Page 255: Peer Ignore (Bgp/Bgp-Vpn Instance View)

    Description Use peer group to add a peer to a peer group. Use undo peer group to delete a specified peer from a peer group. By default, no peer is added into a peer group. If you have specified an AS number for the peer to be added, make sure that the as-number argument is consistent with the specified peer AS number.
  • Page 256: Peer Ip-Prefix

    Examples # In BGP view, disable session establishment with peer 10.10.10.10. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 10.10.10.10 ignore # In BGP-VPN instance view, disable session establishment with peer 10.10.10.10. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 10.10.10.10 ignore peer ip-prefix...
  • Page 257: Peer Keep-All-Routes (Bgp/Bgp-Vpn Instance View)

    peer keep-all-routes (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } keep-all-routes undo peer { group-name | ip-address } keep-all-routes View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.
  • Page 258: Peer Next-Hop-Local (Bgp/Bgp-Vpn Instance View)

    ip-address: IP address of a peer. Description Use peer log-change to enable the logging of session state and event information for a specified peer or peer group. Use undo peer log-change to remove the configuration. The logging is enabled by default. Examples # In BGP view, enable the logging of session state and event information for peer group test.
  • Page 259: Peer Password

    [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer test next-hop-local peer password Syntax peer { group-name | ip-address } password { cipher | simple } password undo peer { group-name | ip-address } password View BGP view, BGP-VPN instance view Default level 2: System level Parameters...
  • Page 260: Peer Preferred-Value (Bgp/Bgp-Vpn Instance View)

    [Sysname-bgp-ipv4-vpn1] peer 10.1.100.2 password simple aabbcc # Perform the similar configuration on the peer. <Sysname> system-view [Sysname] bgp 200 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 10.1.100.1 password simple aabbcc peer preferred-value (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } preferred-value value undo peer { group-name | ip-address } preferred-value View BGP view, BGP-VPN instance view...
  • Page 261: Peer Public-As-Only (Bgp/Bgp-Vpn Instance View)

    [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 131.108.1.1 preferred-value 50 peer public-as-only (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } public-as-only undo peer { group-name | ip-address } public-as-only View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters.
  • Page 262: Peer Route-Limit (Bgp/Bgp-Vpn Instance View)

    Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use peer reflect-client to configure the router as a route reflector and specify a peer/peer group as a client. Use undo peer reflect-client to remove the configuration.
  • Page 263: Peer Route-Policy (Bgp/Bgp-Vpn Instance View)

    percentage-value: Threshold value for the router to display an alarm message (the router displays an alarm message when the ratio of the number of received prefixes to the prefix-number exceeds the percentage). It is in the range of 1 to 100 and defaults to 75. Description Use peer route-limit to set the number of route prefixes that can be received from a peer/peer group.
  • Page 264: Peer Route-Update-Interval (Bgp/Bgp-Vpn Instance View)

    The peer route-policy command does not apply the if-match interface clause in the referenced routing policy. See "Routing policy configuration commands" for related commands. Examples # In BGP view, apply routing policy test-policy to routes outgoing to the peer group test. <Sysname>...
  • Page 265: Peer Timer (Bgp/Bgp-Vpn Instance View)

    [Sysname-bgp-ipv4-vpn1] peer test as-number 100 [Sysname-bgp-ipv4-vpn1] peer test route-update-interval 10 peer timer (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } timer keepalive keepalive hold holdtime undo peer { group-name | ip-address } timer View BGP view, BGP-VPN instance view Default level 2: System level Parameters...
  • Page 266: Preference (Bgp/Bgp-Vpn Instance View)

    # In BGP view, configure both the keepalive interval and holdtime interval for peer group test as 0 seconds, indicating the peer group will never time out. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test timer keepalive 0 hold 0 # In BGP-VPN instance view, configure both the keepalive interval and holdtime interval for peer group test as 0 seconds, indicating the peer group will never time out.
  • Page 267: Reflect Between-Clients (Bgp View/Bgp-Vpn Instance View)

    [Sysname-bgp-ipv4-vpn1] preference 20 20 200 reflect between-clients (BGP view/BGP-VPN instance view) Syntax reflect between-clients undo reflect between-clients View BGP view, BGP-VPN instance view Default level 2: System level Parameters None Description Use reflect between-clients to enable route reflection between clients. Use undo reflect between-clients to disable this function.
  • Page 268: Refresh Bgp

    Parameters cluster-id: Cluster ID in the format of an integer from 1 to 4294967295. ip-address: Cluster ID in the format of an IPv4 address in dotted decimal notation. Description Use reflector cluster-id to configure the cluster ID of the route reflector. Use undo reflector cluster-id to remove the configured cluster ID.
  • Page 269: Reset Bgp

    To perform BGP soft reset, all routers in the network must support route-refresh. If a router not supporting route-refresh exists in the network, you need to configure the peer keep-all-routes command to save all routing updates before performing soft reset. Examples # Perform inbound BGP soft reset.
  • Page 270: Reset Bgp Flap-Info

    Description Use reset bgp dampening to clear route dampening information and release suppressed routes. Related commands: dampening and display bgp routing-table dampened. Examples # Clear damping information of route 20.1.0.0/16 and release the suppressed route. <Sysname> reset bgp dampening 20.1.0.0 255.255.0.0 reset bgp flap-info Syntax reset bgp flap-info [ ip-address [ mask-length | mask ] | as-path-acl as-path-acl-number | regexp...
  • Page 271: Router Id

    Description Use reset bgp ipv4 all to reset all the BGP connections of IPv4 unicast address family. Examples # Reset all the BGP connections of IPv4 unicast address family. <Sysname> reset bgp ipv4 all router id Syntax router id router-id undo router id View System view...
  • Page 272: Summary Automatic

    Default level 2: System level Parameters router-id: Router ID in IP address format. Description Use router-id to specify a router ID. Use undo router-id to remove the router ID. To run BGP protocol, a router must have a router ID (an unsigned 32-bit integer), the unique ID of the router in the AS.
  • Page 273: Synchronization (Bgp View)

    [Sysname] bgp 100 [Sysname-bgp] summary automatic # In BGP-VPN instance view, enable automatic summarization. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] summary automatic synchronization (BGP view) Syntax synchronization undo synchronization View BGP view Default level 2: System level Parameters...
  • Page 274 Default level 2: System level Parameters keepalive: Keepalive interval in seconds, ranging from 0 to 21845. holdtime: Holdtime interval in seconds, whose value is 0 or in the range of 3 to 65535. Description Use timer to configure the BGP keepalive interval and holdtime interval. Use undo timer to restore the default.
  • Page 275: Ipv6 Static Routing Configuration Commands

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

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

    Use undo default cost to restore the default. The default metric of redistributed routes is 0. The specified default metric applies to the routes redistributed by the import-route command with no metric specified. Related commands: import-route. Examples # Set the default metric of redistributed routes to 2. <Sysname>...
  • Page 279: Display Ripng Database

    Suppress time : 120 sec(s) Garbage-Collect time : 120 sec(s) Number of periodic updates sent : 0 Number of trigger updates sent : 0 IPsec policy name: policy001, SPI: 300 Table 53 Command output Field Description Public VPN-instance name Public VPN instance name. RIPng process RIPng process ID.
  • Page 280: Display Ripng Interface

    Description Use display ripng database to display all active routes in the advertising database of the specified RIPng process, which are sent in normal RIPng update messages. Examples # Display the active routes in the database of RIPng process 100. <Sysname>...
  • Page 281 View Any view Default level 1: Monitor level Parameters process-id: RIPng process ID, in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 282: Display Ripng Route

    Field Description means that the default route and other RIPng routes are advertised. • Off—Indicates that no default route is advertised or the garbage-collect time expires after the default route advertisement was disabled. • In garbage-collect status—With default route advertisement disabled, the interface advertises the default route with metric 16 during the garbage-collect time.
  • Page 283: Enable Ipsec-Policy (Ripng View)

    Dest 3FFE:C00:C18:2::/64, via FE80::200:5EFF:FE04:B602, cost 2, tag 0, A, 34 Sec Peer FE80::200:5EFF:FE04:B601 on Vlan-interface12 Dest 3FFE:C00:C18:1::/64, via FE80::200:5EFF:FE04:B601, cost 2, tag 0, A, 13 Sec Dest 3FFE:C00:C18:3::/64, via FE80::200:5EFF:FE04:B601, cost 2, tag 0, A, 13 Sec Peer FE80::200:5EFF:FE04:3302 on Vlan-interface13 Dest 100::/32, via FE80::200:5EFF:FE04:3302, cost 2, tag 0, A, 6 Sec...
  • Page 284: Filter-Policy Export (Ripng View)

    Description Use enable ipsec-policy to apply an IPsec policy in a RIPng process. Use undo enable ipsec-policy to remove the IPsec policy from the RIPng process. By default, no IPsec policy is configured for the RIPng process. The IPsec policy to be applied must have been configured. Examples # Apply IPsec policy policy001 to RIPng process 1.
  • Page 285: Filter-Policy Import (Ripng View)

    Examples # Use IPv6 prefix list Filter 2 to filter advertised RIPng updates. <Sysname> system-view [Sysname] ripng 100 [Sysname-ripng-100] filter-policy ipv6-prefix Filter2 export # Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter advertised RIPng updates.
  • Page 286: Import-Route

    [Sysname-ripng-100] filter-policy ipv6-prefix Filter1 import # Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter incoming RIPng updates. <Sysname> system-view [Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit...
  • Page 287: Maximum Load-Balancing (Ripng View)

    maximum load-balancing (RIPng view) Syntax maximum load-balancing number undo maximum load-balancing View RIPng view Default level 2: System level Parameters number: Maximum number of ECMP routes, in the range of 1 to 8. Description Use maximum load-balancing to specify the maximum number of ECMP routes. Use undo maximum load-balancing to restore the default.
  • Page 288: Reset Ripng Process

    • The preference set by the routing policy applies to all matching RIPng routes. The preference of other routes is set by the preference command. • If no preference is set by the routing policy, the preference of all RIPng routes is set by the preference command.
  • Page 289: Ripng

    Examples # Clear the statistics of RIPng process 100. <Sysname> reset ripng 100 statistics ripng Syntax ripng [ process-id ] [ vpn-instance vpn-instance-name ] undo ripng [ process-id ] [ vpn-instance vpn-instance-name ] View System view Default level 2: System level Parameters process-id: RIPng process ID, in the range of 1 to 65535.
  • Page 290: Ripng Enable

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

    Examples # Enable RIPng 100 on VLAN-interface 100. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng 100 enable ripng ipsec-policy Syntax ripng ipsec-policy policy-name undo ripng ipsec-policy View Interface view Default level 2: System level Parameters policy-name: IPsec policy name, a string of 1 to 15 characters. Description Use ripng ipsec-policy to apply an IPsec policy on a RIPng interface.
  • Page 292: Ripng Metricout

    Use undo ripng metricin to restore the default. By default, the additional metric to received routes is 0. Related commands: ripng metricout. Examples # Specify the additional routing metric as 12 for RIPng routes received by VLAN-interface 100. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng metricin 12 ripng metricout...
  • Page 293: Ripng Split-Horizon

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

    View Interface view Default level 2: System level Parameters ipv6-address: Destination IPv6 address of the summary route. prefix-length: Prefix length of the destination IPv6 address of the summary route, in the range of 0 to 128. It indicates the number of consecutive 1s of the prefix, which defines the network ID. Description Use ripng summary-address to configure a summary network to be advertised through the interface.
  • Page 295 RIPng is controlled by the following timers: • Update timer—Defines the interval between update messages. • Timeout timer—Defines the route aging time. If no update message related to a route is received within the aging time, the metric of the route is set to 16 in the routing table. •...
  • Page 296: Ospfv3 Configuration Commands

    OSPFv3 configuration commands The term "router" in the chapter refers to both routers and Layer 3 switches. HPE FlexNetwork 3600 v2 SI Switch Series does not support OSPFv3. abr-summary (OSPFv3 area view) Syntax abr-summary ipv6-address prefix-length [ not-advertise ] undo abr-summary ipv6-address prefix-length View OSPFv3 area view Default level...
  • Page 297: Bandwidth-Reference

    Parameters area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295 and changed to IPv4 address format by the system) or an IPv4 address. Description Use area to enter OSPFv3 area view. The undo form of the command is not available. An area is removed automatically if no configuration is made and no interface is up in the area.
  • Page 298: Default Cost

    default cost Syntax default cost value undo default cost View OSPFv3 view Default level 2: System level Parameters value: Specifies a default cost for redistributed routes, in the range of 1 to 16777214. Description Use default cost to configure a default cost for redistributed routes. Use undo default cost to restore the default.
  • Page 299: Default-Route-Advertise

    You have two commands to configure a stub area: stub, defaulted-cost. You need to use the stub command on routers connected to a stub area to configure the area as stub. If multiple OSPFv3 processes are running, use of this command takes effect only for the current process.
  • Page 300: Display Ospfv3

    • The default route cost’s priority from high to low is: the cost set by the apply cost clause in the routing policy, the one set by the default-route-advertise command and the one set by the default cost command. • The default route type’s priority from high to low is: the type set by the apply cost-type clause in the routing policy, and the one set by the default-route-advertise command.
  • Page 301 Number of external LSA 0. These external LSAs’ checksum Sum 0x0000 Number of AS-Scoped Unknown LSA 0 Number of LSA originated 3 Number of LSA received 0 Number of areas in this router is 1 Area 0.0.0.1 Number of interfaces in this area is 1 SPF algorithm executed 1 times Number of LSA 2.
  • Page 302: Display Ospfv3 Graceful-Restart Status

    display ospfv3 graceful-restart status Syntax display ospfv3 [ process-id ] graceful-restart status [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: ID of an OSPFv3 process, ranging from 1 to 65535. |: Filters command output by specifying a regular expression.
  • Page 303: Display Ospfv3 Interface

    Field Description • Calculating routes—Indicates route calculation is in process. • Flushing LSAs—Indicates the device is flushing stale LSA. • Normal—Indicates the device is not in GR or Helper status. • Helper—Indicates the Helper status. GR remaining time Remaining time before the GR timer expires. Neighbor ID Router ID of the neighbor router.
  • Page 304 Transmit Delay is 1 sec, State Point-To-Point, Priority 1 No designated router on this link No backup designated router on this link Timer interval configured, Hello: 10, Dead: 40, Wait: 40, Retransmit: 5 Hello due in 00:00:02 Neighbor Count is 1, Adjacent neighbor count is 1 IPsec policy name: policy001, SPI: 300 BFD: Enabled Table 59 Command output...
  • Page 305: Display Ospfv3 Lsdb

    display ospfv3 lsdb Syntax display ospfv3 [ process-id ] lsdb [ [ external | inter-prefix | inter-router | intra-prefix | link | network | router | grace ] [ link-state-id ] [ originate-router router-id ] | total ] [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 306 Grace-LSA (Interface Vlan-interface10) Link State ID Origin Router SeqNum CkSum 0.0.2.6 1.1.1.1 0x8000004 0xba1f Router-LSA (Area 0.0.0.1) Link State ID Origin Router Seq# CkSum Link 0.0.0.0 1.1.1.1 0050 0x80000002 0x12d1 0.0.0.0 2.2.2.2 0048 0x80000002 0xa142 Table 60 Command output Field Description Link-LSA Type 8 LSA...
  • Page 307 Prefix Options: 0 (-|-|-|-) Table 61 Command output Field Description LS age Age of LSA LS Type Type of LSA Originating Router Originating Router LS Seq Number LSA Sequence Number Checksum LSA Checksum Length LSA Length Priority Router Priority Options Options Link-Local Address Link-Local Address...
  • Page 308: Display Ospfv3 Lsdb Statistic

    # Display LSA statistics in the LSDB. <Sysname> display ospfv3 lsdb total OSPFv3 (Process 1) Database Total Type Of LSA Number Router-LSA Network-LSA Inter-Area-Prefix-LSA Inter-Area-Router-LSA AS-external-LSA Link-LSA Intra-Area-Prefix-LSA Grace-LSA Unknown-LSA Total Number Of LSAs Table 63 Command output Field Description Type Of LSA Type of LSA Number...
  • Page 309: Display Ospfv3 Next-Hop

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ospfv3 lsdb statistic to display LSA statistics in the OSPFv3 LSDB.
  • Page 310: Display Ospfv3 Peer

    |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 311 |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 312: Display Ospfv3 Peer Statistics

    Table 67 Command output Field Description Neighbor Neighbor ID. interface address Interface address. In the area 0.0.0.1 via interface Vlan-interface33 Interface Vlan-interface33 belongs to area 1. DR is 0.0.0.0 BDR is 0.0.0.0 Neither DR nor BDR is elected. Options is 0x000013 (-|R|-|-|E|V6) The option is 0x000013 (-|R|-|-|E|V6).
  • Page 313: Display Ospfv3 Request-List

    OSPFv3 Router with ID (1.1.1.1) (Process 1) Neighbor Statistics ---------------------------------------------------------------------- Area ID Down Init 2-way ExStar Exchange Loading Full 0.0.0.0 Total Table 68 Command output Field Description Area ID Area ID. In this state, neighbor initial state, the router has not received any information from a Down neighboring router for a period of time.
  • Page 314 grace: Displays the Grace-LSA information of the OSPFv3 link state request list. link-state-id: Link state ID, in the format of an IPv4 address. originate-router ip-address: Specifies the router ID of an advertising router. statistics: Displays the LSA statistics of the OSPFv3 link state request list. |: Filters command output by specifying a regular expression.
  • Page 315: Display Ospfv3 Retrans-List

    Table 70 Command output Field Description Interface Interface name Neighbor Neighbor router ID LSA-Count Number of LSAs in the request list display ospfv3 retrans-list Syntax display ospfv3 [ process-id ] retrans-list [ { external | inter-prefix | inter-router | intra-prefix | link | network | router | grace } [ link-state-id ] [ originate-router ip-address ] | statistics ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 316: Display Ospfv3 Routing

    If no process is specified, the link state retransmission list information of all OSPFv3 processes is displayed. Examples # Display the information of the OSPFv3 link state retransmission list. <Sysname> display ospfv3 retrans-list OSPFv3 Router with ID (11.1.1.1) (Process 1) Interface Vlan11 Area-ID 0.0.0.0 --------------------------------------------------------------------------...
  • Page 317 Default level 1: Monitor level Parameters process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535. ipv6-address: IPv6 address prefix. prefix-length: Prefix length, in the range of 0 to 128. abr-routes: Displays routes to ABR. asbr-routes: Displays routes to ASBR. all: Displays all routes.
  • Page 318: Display Ospfv3 Statistics

    OSPFv3 Routing Statistics Intra-area-routes Inter-area-routes External-routes Table 74 Command output Field Description Intra-area-routes Number of Intra-area-routes Inter-area-routes Number of inter-area routes External-routes Number of external routes display ospfv3 statistics Syntax display ospfv3 statistics [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 319: Display Ospfv3 Topology

    Table 75 Command output Field Description Interface Interface name Instance Instance number Type Type of packet Input Number of packets received by the interface Output Number of packets sent by the interface Hello Hello packet DB Description Database description packet Ls Req Link state request packet Ls Upd...
  • Page 320: Display Ospfv3 Vlink

    <Sysname> display ospfv3 topology area 1 OSPFv3 Process (1) OSPFv3 Area (0.0.0.1) topology Type ID(If-Index) Bits Metric Next-Hop Interface 1.1.1.1 2.2.2.2 2.2.2.2 Vlan11 3.3.3.3 3.3.3.3 Vlan11 4.4.4.4 4.4.4.4 Vlan11 4.4.4.4(983049) 0.0.0.0 Vlan11 Table 76 Command output Field Description Type Type of node ID(If-Index) Router ID Bits...
  • Page 321: Enable Ipsec-Policy (Ospfv3 Area View)

    Virtual Link VLINK1 to router 1.1.1.1 is up Transit area :0.0.0.1 via interface Vlan-interface20, instance ID: 0 Local address: 2000:1::1 Remote address: 2001:1:1::1 Transmit Delay is 1 sec, State: P-To-P, Timer intervals configured, Hello: 10, Dead: 40, Wait: 40, Retransmit: 5 Hello due in 00:00:02 Adjacency state :Full IPsec policy name: policy001, SPI: 300...
  • Page 322: Filter-Policy Export (Ospfv3 View)

    Use undo enable ipsec-policy to remove the IPsec policy from the OSPFv3 area. By default, no IPsec policy is applied in an area. The IPsec policy to be applied must have been configured. Examples # Apply IPsec policy policy001 to OSPFv3 area 0. <Sysname>...
  • Page 323: Filter-Policy Import (Ospfv3 View)

    route and the destination keyword specifies the prefix of the route (the prefix must be valid; otherwise, the configuration is ineffective). Using the filter-policy export command filters only routes redistributed by the import-route command. If the import-route command is not configured to redistribute routes from other protocols and other OSPFv3 processes, use of the filter-policy export command does not take effect.
  • Page 324: Graceful-Restart Enable

    route and the destination keyword specifies the prefix of the route (the prefix must be valid; otherwise, the configuration is ineffective). Using the filter-policy import command only filters routes computed by OSPFv3. The routes that fail to pass are not added to the routing table. Examples # Filter received routes using the IPv6 prefix list abc.
  • Page 325: Graceful-Restart Helper Enable

    graceful-restart helper enable Syntax graceful-restart helper enable undo graceful-restart helper enable View OSPFv3 view Default level 2: System level Parameters None Description Use graceful-restart helper enable to enable the GR Helper capability for OSPFv3. Use undo graceful-restart helper enable to disable the GR Helper capability for OSPFv3. By default, the GR Helper capability for OSPFv3 is enabled.
  • Page 326: Graceful-Restart Interval

    <Sysname> system-view [Sysname] ospfv3 1 [Sysname-ospfv3-1] graceful-restart helper strict-lsa-checking graceful-restart interval Syntax graceful-restart interval interval-value undo graceful-restart interval View OSPFv3 view Default level 2: System level Parameters interval-value: GR restart interval, in the range of 40 to 1800 seconds. Description Use graceful-restart interval to configure the GR restart interval.
  • Page 327: Log-Peer-Change

    allow-ibgp: Allows redistributing IBGP routes. This keyword takes effect only the protocol is bgp4+. cost value: Specifies a cost for redistributed routes, ranging from 1 to 16777214. The default is 1. route-policy route-policy-name: Redistributes only the routes that match the specified routing policy. route-policy-name is a case-sensitive string of 1 to 63 characters.
  • Page 328: Maximum Load-Balancing (Ospfv3 View)

    [Sysname] ospfv3 100 [Sysname-ospfv3-100] undo log-peer-change maximum load-balancing (OSPFv3 view) Syntax maximum load-balancing maximum undo maximum load-balancing View OSPFv3 view Default level 2: System level Parameters maximum: Maximum number of ECMP routes , in the range of 1 to 8. Description Use maximum load-balancing to configure the maximum number of ECMP routes.
  • Page 329: Ospfv3 Area

    An OSPFv3 process can run properly only when router ID is configured in OSPFv3 view. Otherwise, you can find the process, but which cannot generate any LSA. Related commands: router-id. Examples # Enable the OSPFv3 process with process ID as 120 and configure the Router ID as 1.1.1.1. <Sysname>...
  • Page 330: Ospfv3 Cost

    Default level 2: System level Parameters instance-id: Instance ID of the interface. It ranges from 0 to 255 and defaults to 0. Description Use ospfv3 bfd enable to enable BFD for link failure detection on an OSPFv3 interface. Use undo ospfv3 bfd enable to disable BFD on the OSPFv3 interface. By default, the OSPFv3 interface is not enabled with BFD.
  • Page 331: Ospfv3 Dr-Priority

    ospfv3 dr-priority Syntax ospfv3 dr-priority priority [ instance instance-id ] undo ospfv3 dr-priority [ priority ] [ instance instance-id ] View Interface view Default level 2: System level Parameters priority: DR priority, in the range of 0 to 255. instance-id: ID of the instance an interface belongs to, in the range of 0 to 255, which defaults to 0. Description Use ospfv3 dr-priority to set the DR priority for an interface in an instance.
  • Page 332: Ospfv3 Mtu-Ignore

    The IPsec policy to be applied must have been configured. Examples # Apply IPsec policy policy001 to OSPFv3 interface VLAN-interface 10. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospfv3 ipsec-policy policy001 instance 1 ospfv3 mtu-ignore Syntax ospfv3 mtu-ignore [ instance instance-id ] undo ospfv3 mtu-ignore [ instance instance-id ] View Interface view...
  • Page 333: Ospfv3 Peer

    nbma: Specifies the network type as NBMA. p2mp: Specifies the network type as P2MP. p2p: Specifies the network type as P2P. non-broadcast: Specifies the interface to send packets in unicast mode. By default, an OSPFv3 interface whose network type is P2MP sends packets in multicast mode. instance-id: The instance ID of an interface, in the range of 0 to 255, which defaults to 0.
  • Page 334: Ospfv3 Timer Dead

    ospfv3 timer dead Syntax ospfv3 timer dead seconds [ instance instance-id ] undo ospfv3 timer dead [ seconds ] [ instance instance-id ] View Interface view Default level 2: System level Parameters seconds: Dead time in seconds, ranging from 1 to 65535. instance-id: Instance ID of an interface, in the range of 0 to 255, which defaults to 0.
  • Page 335: Ospfv3 Timer Retransmit

    Description Use ospfv3 timer hello to configure the hello interval for an interface that belongs to an instance. Use undo ospfv3 timer hello to restore the default . By default, the hello interval is 10 seconds for P2P and Broadcast interfaces, and is not supported on the P2MP or NBMA interfaces.
  • Page 336: Ospfv3 Trans-Delay

    undo ospfv3 timer poll [ seconds ] [ instance instance-id ] View Interface view Default level 2: System level Parameters seconds: Poll interval in seconds, in the range of 1 to 65535. instance-id: Interface instance ID, in the range of 0 to 255. The default is 0. Description Use ospfv3 timer poll to set the poll interval on an NBMA interface.
  • Page 337: Preference

    [Sysname-Vlan-interface10] ospfv3 trans-delay 3 instance 1 preference Syntax preference [ ase ] [ route-policy route-policy-name ] preference undo preference [ ase ] View OSPFv3 view Default level 2: System level Parameters ase: Applies the preference to OSPFv3 external routes. If the keyword is not specified, the preference applies to OSPFv3 internal routes.
  • Page 338: Silent-Interface(Ospfv3 View)

    Parameters router-id: 32-bit router ID, in IPv4 address format. Description Use router-id to configure the OSPFv3 router ID. Use undo router-id to remove a configured router ID. Router ID is the unique identifier of a device running an OSPFv3 process in the AS. The OSPFv3 process cannot run without a Router ID.
  • Page 339: Spf Timers

    [Sysname-ospfv3-100] quit [Sysname] ospfv3 200 [Sysname-ospfv3-200] router-id 20.18.0.7 [Sysname-ospfv3-200] silent-interface vlan-interface 10 spf timers Syntax spf timers delay-interval hold-interval undo spf timers View OSPFv3 view Default level 2: System level Parameters delay-interval: Interval in seconds between when OSPFv3 receives a topology change and when it starts SPF calculation.
  • Page 340: Vlink-Peer (Ospfv3 Area View)

    Default level 2: System level Parameters no-summary: This argument is only applicable to the ABR of a stub area. With it configured, the ABR advertises only a default route in a Summary-LSA to the stub area (such an area is called a totally stub area).
  • Page 341 Description Use vlink-peer to create and configure a virtual link. Use undo vlink-peer to remove a virtual link. For a non-backbone area without a direct connection to the backbone area or for a backbone area that cannot maintain connectivity, you can use the vlink-peer command to create logical links. A virtual link can be considered as an interface with OSPFv3 enabled, because parameters such as hello, dead, retransmit and trans-delay are configured in the similar way.
  • Page 342: Ipv6 Is-Is Configuration Commands

    IPv6 IS-IS configuration commands IPv6 IS-IS supports all the features of IPv4 IS-IS except that it advertises IPv6 routing information instead. This document describes only IPv6 IS-IS exclusive commands. See "IS-IS configuration commands" for other IS-IS configuration commands. The term "router" in this chapter refers to both routers and Layer 3 switches. HPE FlexNetwork 3600 v2 SI Switch Series does not support IPv6 IS-IS.
  • Page 343 ISIS(1) IPv6 Level-1 Forwarding Table ------------------------------------- Destination: 2001:1:: PrefixLen: 64 Flag : R/L/- Cost : 20 Next Hop : FE80::200:5EFF:FE64:8905 Interface: Vlan11 Destination: 2001:2:: PrefixLen: 64 Flag : D/L/- Cost : 10 Next Hop : Direct Interface: Vlan11 Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set ISIS(1) IPv6 Level-2 Forwarding Table ------------------------------------- Destination: 2001:1::...
  • Page 344: Ipv6 Default-Route-Advertise

    Admin Tag Src Count : 1 NextHop Interface : ExitIndex : FE80::200:5EFF:FE64:8905 Vlan11 0x00000003 IPV6 Dest : 2001:2::/64 Cost : 10 Flag : D/L/- Admin Tag Src Count : 2 NextHop Interface : ExitIndex : Direct Vlan11 0x00000000 Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set ISIS(1) IPv6 Level-2 Forwarding Table ------------------------------------- IPV6 Dest...
  • Page 345: Ipv6 Enable

    View IS-IS view Default level 2: System level Parameters level-1: Specifies the default route as Level-1. level-1-2: Specifies the default route as Level-1-2. level-2: Specifies the default route as Level-2. route-policy-name: Specifies the name of a routing policy with a case-sensitive string of 1 to 63 characters.
  • Page 346: Ipv6 Filter-Policy Export

    Use undo ipv6 enable to disable IPv6. IPv6 is disabled by default. Examples # Create IS-IS routing process 1, and enable IPv6 for the process. <Sysname> system-view [Sysname] ipv6 [Sysname] isis 1 [Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00 [Sysname-isis-1] ipv6 enable ipv6 filter-policy export Syntax ipv6 filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name | route-policy route-policy-name } export [ protocol [ process-id ] ]...
  • Page 347: Ipv6 Filter-Policy Import

    • If no protocol is specified, routes redistributed from all protocols are filtered before advertisement. • If a protocol is specified, only routes redistributed from the protocol are filtered before advertisement. If you want to reference an advanced ACL (with a number from 3000 to 3999) in the command or in the routing policy, the ACL should be configured with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command to...
  • Page 348: Ipv6 Import-Route

    Description Use ipv6 filter-policy import to configure IPv6 IS-IS to filter the received routes. Use undo ipv6 filter-policy import to disable the filtering. The filtering is disabled by default. In some cases, only the routing information satisfying certain conditions will be received. You can configure the filtering conditions using the ipv6 filter-policy command.
  • Page 349: Ipv6 Import-Route Isisv6 Level-2 Into Level-1

    level-1: Redistributes routes into Level-1 routing table. level-1-2: Redistributes routes into Level-1 and Level-2 routing tables. level-2: Redistributes routes into Level-2 routing table. route-policy-name: Name of a routing policy used to filter routes when they are being redistributed, a case-sensitive string of 1 to 63 characters. tag: Specifies a administrative tag number for the redistributed routes, in the range of 1 to 4294967295.
  • Page 350: Ipv6 Import-Route Limit

    Description Use ipv6 import-route isisv6 level-2 into level-1 to enable IPv6 IS-IS route leaking from Level-2 to Level-1. Use undo ipv6 import-route isisv6 level-2 into level-1 to disable the leaking. The leaking is disabled by default. The route leaking feature enables a Level-1-2 router to advertise routes destined to other Level-2 areas to the Level-1 and Level-1-2 routers in the local area.
  • Page 351: Ipv6 Preference

    Default level 2: System level Parameters number: Maximum number of ECMP routes , in the range of 1 to 8. Description Use ipv6 maximum load-balancing to configure the maximum number of ECMP routes. Use undo ipv6 maximum load-balancing to restore the default. By default, the maximum number of ECMP routes is 8.
  • Page 352: Ipv6 Summary

    ipv6 summary 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 ] View IS-IS view Default level 2: System level Parameters ipv6-prefix: IPv6 prefix of the summary route.
  • Page 353: Isis Ipv6 Enable

    View Interface view Default level 2: System level Parameters None Description Use isis ipv6 bfd enable to enable BFD on an IPv6 IS-IS interface for link failure detection. Use undo isis ipv6 bfd enable to disable BFD on an IPv6 IS-IS interface. By default, an IPv6 IS-IS interface is not enabled with BFD.
  • Page 354: Multiple-Topology Ipv6-Unicast

    [Sysname--Vlan-interface100] isis ipv6 enable 1 multiple-topology ipv6-unicast Syntax multiple-topology ipv6-unicast undo multiple-topology ipv6-unicast View IS-IS view Default level 2: System level Parameters None Description Use multiple-topology ipv6-unicast to enable IPv6 IS-IS MTR. This command enables separate route calculation in IPv4 and IPv6 topologies. Use undo multiple-topology ipv6-unicast to disable IPv6 IS-IS MTR.
  • Page 355: Ipv6 Bgp Configuration Commands

    IPv6 BGP configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. For more information about routing policy configuration commands in this document, see "Routing policy configuration commands." HPE FlexNetwork 3600 v2 SI Switch Series does not support IPv6 BGP. aggregate (IPv6 address family view) Syntax aggregate...
  • Page 356: Balance (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    Keywords Function same work can be done by using the peer route-policy command. Description Use aggregate to create an IPv6 summary route in the IPv6 BGP routing table. Use undo aggregate to remove an IPv6 summary route. By default, no summary route is configured. Examples # In IPv6 address family view, create a summary of 12::/64 in the IPv6 routing table.
  • Page 357: Bestroute As-Path-Neglect (Ipv6 Address Family View)

    bestroute as-path-neglect (IPv6 address family view) Syntax bestroute as-path-neglect undo bestroute as-path-neglect View IPv6 address family view Default level 2: System level Parameters None Description Use bestroute as-path-neglect to configure the IPv6 BGP router to not evaluate the AS_PATH during best route selection. Use undo bestroute as-path-neglect to configure the IPv6 BGP router to use the AS_PATH during best route selection.
  • Page 358: Bestroute Med-Confederation (Ipv6 Address Family View)

    Examples # Compare the MED for paths from an AS for selecting the best route. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] bestroute compare-med bestroute med-confederation (IPv6 address family view) Syntax bestroute med-confederation undo bestroute med-confederation View IPv6 address family view Default level 2: System level Parameters...
  • Page 359: Dampening (Ipv6 Address Family View)

    Parameters None Description Use compare-different-as-med to enable the comparison of the MED for paths from peers in different ASs. Use undo compare-different-as-med to disable the comparison. The comparison is disabled by default. If several paths are available for one destination, the path with the smallest MED value is selected. Do not use this command unless associated ASs adopt the same IGP protocol and routing selection method.
  • Page 360: Default Local-Preference (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    Use undo dampening to disable route dampening. By default, no route dampening is configured. Related commands: reset bgp ipv6 dampening, reset bgp ipv6 flap-info, display bgp ipv6 routing-table dampened, display bgp ipv6 routing-table dampening parameter, and display bgp ipv6 routing-table flap-info. Examples # Enable IPv6 BGP route dampening and configure route dampening parameters.
  • Page 361: Default-Route Imported (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    undo default med View IPv6 address family view, IPv6 BGP-VPN instance view Default level 2: System level Parameters med-value: MED value, in the range of 0 to 4294967295. Description Use default med to specify the default MED value. Use undo default med to restore the default. By default, the default med-value is 0.
  • Page 362: Display Bgp Ipv6 Group

    Examples # Enable the redistribution of default route from OSPFv3 into IPv6 BGP. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] default-route imported [Sysname-bgp-af-ipv6] import-route ospfv3 1 display bgp ipv6 group Syntax display bgp ipv6 group [ ipv6-group-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 363 2001::1 0 00:00:07 Idle Table 81 Command output Field Description BGP peer-group Name of the peer group. AS number of the peer group If the peer group AS number has been specified with the peer Remote AS ipv6-address as-number as-number command, the specified AS number is displayed in this field.
  • Page 364: Display Bgp Ipv6 Network

    Field Description (when no session is established). State State machine state of peer. display bgp ipv6 network Syntax display bgp ipv6 network [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.
  • Page 365: Display Bgp Ipv6 Paths

    display bgp ipv6 paths Syntax display bgp ipv6 paths [ as-regular-expression | | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. |: Filters command output by specifying a regular expression.
  • Page 366: Display Bgp Ipv6 Peer

    Field Description ORIGIN attribute of the route, which can take on one of the following values: • i—Indicates the route is interior to the AS. Summary routes and routes defined using the network command are considered IGP routes. Origin • e—Indicates that a route is learned from the exterior gateway protocol (EGP).
  • Page 367 Peer MsgRcvd MsgSent OutQ PrefRcv Up/Down State 2001::1 0 00:02:02 Active Table 84 Command output Field Description BGP local router ID Local router ID Local AS number Local AS number Total number of peers Total number of BGP peers Peers in established Number of established BGP peers state Peer...
  • Page 368 Maximum allowed prefix number: 4294967295 Threshold: 75% Minimum time between advertisement runs is 30 seconds Optional capabilities: Route refresh capability has been enabled Peer Preferred Value: 0 Routing policy configured: No routing policy is configured BFD: Enabled # Display the detailed information of IPv6 BGP peers. <Sysname>...
  • Page 369 Field Description • GR restart timer of the peer is150 seconds Restart Timer Value of Peer: 150 seconds • Address family information for which the peer preserves the forwarding state Forwarding State preserved by Peer for following Address families: Address family IPv6 Unicast: BGP IPv6 unicast capability: the advertising and receiving advertised and received capabilities have been successfully negotiated.
  • Page 370: Display Bgp Ipv6 Peer Received Ipv6-Prefix

    Table 86 Command output Field Description Peer IPv6 address of the peer. Date Date on which the Notification was sent or received. Time Time at which the Notification was sent or received. BGP session state, which can be: • State Up—Indicates the BGP session is up.
  • Page 371: Display Bgp Ipv6 Routing-Table

    Table 87 Command output Field Description ORF ipv6-prefix entries Number of ORF prefix entries. index Index of a prefix entry. rule Matching rule of the prefix. prefix Prefix information. greater-equal, indicating the mask length must be greater than or equal to the specific value.
  • Page 372 *> Network : 30:30:: PrefixLen : 64 NextHop : 30:30::30:1 LocPrf PrefVal : 0 Label : NULL Path/Ogn: i *> Network : 40:40:: PrefixLen : 64 NextHop : 40:40::40:1 LocPrf PrefVal : 0 Label : NULL Path/Ogn: i Table 88 Command output Field Description Local router ID...
  • Page 373: Display Bgp Ipv6 Routing-Table As-Path-Acl

    Field Description ORIGIN attribute of the route, which can take on one of the following values: • i—Indicates that a route is interior to the AS. • Summary routes and the routes configured using the network command are considered IGP routes. •...
  • Page 374: Display Bgp Ipv6 Routing-Table Community

    Path/Ogn: i For description of the fields, see Table display bgp ipv6 routing-table community Syntax display bgp ipv6 routing-table community [ aa:nn&<1-13> ] [ no-advertise | no-export | no-export-subconfed ] * [ whole-match ] [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 375: Display Bgp Ipv6 Routing-Table Community-List

    Path/Ogn: i For description of the fields, see Table display bgp ipv6 routing-table community-list Syntax display bgp ipv6 routing-table community-list { { basic-community-list-number | comm-list-name } [ whole-match ] | adv-community-list-number } [ | { begin | exclude | include } regular-expression ] View Any view Default level...
  • Page 376: Display Bgp Ipv6 Routing-Table Dampened

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

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

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

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

    advertised-routes: Routing information advertised to the specified peer. received-routes: Routing information received from the specified peer. network-address prefix-length: IPv6 address and prefix length. The prefix length ranges from 0 to 128. statistic: Displays route statistics. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.
  • Page 381: Display Bgp Ipv6 Routing-Table Statistic

    Default level 1: Monitor level Parameters as-regular-expression: AS regular expression, a string of 1 to 80 characters. Description Use display bgp ipv6 routing-table regular-expression to display the routes permitted by the specified AS regular expression. Examples # Display routing information matching the specified AS regular expression. <Sysname>...
  • Page 382: Filter-Policy Export (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    Total Number of Routes: 1 filter-policy export (IPv6 address family view/IPv6 BGP-VPN instance view) Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ protocol process-id ] undo filter-policy export [ protocol process-id ] View IPv6 address family view, IPv6 BGP-VPN instance view Default level 2: System level Parameters...
  • Page 383: Filter-Policy Import (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    [Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] filter-policy 3000 export filter-policy import (IPv6 address family view/IPv6 BGP-VPN instance view) Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } import undo filter-policy import View IPv6 address family view, IPv6 BGP-VPN instance view...
  • Page 384: Group (Ipv6 Address Family View)

    [Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] filter-policy 3000 import group (IPv6 address family view) Syntax group ipv6-group-name [ internal | external ] undo group ipv6-group-name View IPv6 address family view...
  • Page 385: Ipv6-Family

    Default level 2: System level Parameters protocol: Redistributes routes from the specified protocol, which can be direct, isisv6, ospfv3, ripng and static. process-id: Process ID, in the range of 1 to 65535. The default is 1. It is available only when the protocol is isisv6, ospfv3 or ripng.
  • Page 386: Network (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    IPv4 BGP unicast view is the default. Before entering IPv6 BGP-VPN instance view, you must create the VPN instance. Examples # Enter IPv6 address family view. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] # Enter IPv6 BGP-VPN instance view. <Sysname>...
  • Page 387: Peer Advertise-Community (Ipv6 Address Family View)

    [Sysname-bgp-af-ipv6] network 2002:: 16 peer advertise-community (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } advertise-community undo peer { group-name | ipv4-address | ipv6-address } advertise-community View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters.
  • Page 388: Peer Allow-As-Loop (Ipv6 Address Family View)

    Description Use peer advertise-ext-community to advertise the extended community attribute to a peer/peer group. Use undo peer advertise-ext-community to remove the configuration. By default, no extended community attribute is advertised to a peer/peer group. Examples # Advertise the extended community attribute to the peer 1:2::3:4. <Sysname>...
  • Page 389: Peer As-Number (Ipv6 Address Family View)

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

    Use undo peer ipv6-address to delete a peer. Examples # Configure peer 2001::1 in AS 200. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family vpn-instance vpn1 [Sysname-bgp-ipv6-vpn1] peer 2001::1 as-number 200 peer as-path-acl (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } as-path-acl as-path-acl-number { import | export } undo peer { group-name | ipv4-address | ipv6-address } as-path-acl as-path-acl-number { import | export }...
  • Page 391: Peer Bfd (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    peer bfd (IPv6 address family view/IPv6 BGP-VPN instance view) Syntax peer ipv6-address bfd undo peer ipv6-address bfd View IPv6 address family view, IPv6 BGP-VPN instance view Default level 2: System level Parameters ipv6-address: IPv6 address of a peer. Description Use peer bfd to enable BFD over the link to a BGP peer. Use undo peer bfd to restore the default.
  • Page 392: Peer Capability-Advertise Orf Non-Standard (Ipv6 Address Family View)

    receive: Supports receiving route-refresh messages carrying the ORF information. send: Supports sending route-refresh messages carrying the ORF information. Description Use peer capability-advertise orf to enable the ORF capability for a BGP peer or peer group. Use undo peer capability-advertise orf to disable the ORF capability for the BGP peer or peer group.
  • Page 393: Peer Capability-Advertise Route-Refresh

    Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Parameters Use peer capability-advertise orf non-standard to enable the non-standard ORF capability (the early implementation of ORF is different from that defined in RFC) for a BGP peer or peer group. Use undo peer capability-advertise orf non-standard to disable the non-standard ORF capability for the BGP peer or peer group.
  • Page 394: Peer Capability-Advertise Suppress-4-Byte-As (Ipv6 Address Family View)

    [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 as-number 100 [Sysname-bgp-af-ipv6] undo peer 1:2::3:4 capability-advertise route-refresh peer capability-advertise suppress-4-byte-as (IPv6 address family view) Syntax peer { group-name | ipv6-address } capability-advertise suppress-4-byte-as undo peer { group-name | ipv6-address } capability-advertise suppress-4-byte-as View IPv6 address family view Default level...
  • Page 395: Peer Connect-Interface (Ipv6 Address Family View)

    View IPv6 BGP-VPN instance view Default level 2: System level Parameters ipv6-address: IPv6 address of a peer. Description Use peer capability-advertise suppress-4-byte-as to enable 4-byte AS number suppression. Use undo peer capability-advertise suppress-4-byte-as to disable the function. By default, the 4-byte AS number suppression function is disabled. The device supports 4-byte AS numbers and uses 4-byte AS numbers by default.
  • Page 396: Peer Default-Route-Advertise

    To enhance stability of IPv6 BGP connections, Hewlett Packard Enterprise recommends using a loopback interface as the source interface for establishing a TCP connection. To establish multiple BGP connections to a BGP router, you need to specify on the local router the respective source interfaces for establishing TCP connections to the peers on the peering BGP router;...
  • Page 397: Peer Description (Ipv6 Address Family View)

    peer description (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } description description-text undo peer { ipv6-group-name | ipv6-address } description View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer.
  • Page 398: Peer Ebgp-Max-Hop (Ipv6 Address Family View)

    Description Use peer dscp to set the DSCP value for IPv6 BGP packets sent to the specified IPv6 BGP peer or peer group. Use undo peer dscp to remove the configuration. By default, the DSCP value in BGP packets is 48. The IPv6 BGP peer or peer group you specified must have been created.
  • Page 399: Peer Enable (Ipv6 Address Family View)

    peer enable (IPv6 address family view) Syntax peer { ipv4-group-name | ipv4-address | ipv6-address } enable undo peer { ipv4-group-name | ipv4-address | ipv6-address } enable View IPv6 address family view Default level 2: System level Parameters ipv4-group-name: Name of an IPv4 peer group, a string of 1 to 47 characters. The IPv4 peer group should be created beforehand.
  • Page 400: Peer Filter-Policy (Ipv6 Address Family View)

    Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. as-number: Local AS number, in the range of 1 to 4294967295. Description Use peer fake-as to configure a fake local AS number for a peer or peer group. Use undo peer fake-as to remove the configuration.
  • Page 401: Peer Group (Ipv6 Address Family View)

    [Sysname-acl6-basic-2000] rule permit source 2001:1:: 64 [Sysname-acl6-basic-2000] quit [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 filter-policy 2000 export peer group (IPv6 address family view) Syntax peer { ipv4-address | ipv6-address } group group-name [ as-number as-number ] undo peer ipv6-address group group-name View IPv6 address family view Default level...
  • Page 402: Peer Ipv6-Prefix

    Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use peer ignore to terminate the session to a peer or peer group. Use undo peer ignore to remove the configuration. By default, a router can establish sessions with a peer or peer group.
  • Page 403: Peer Ipsec-Policy (Ipv6 Address Family View)

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

    ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. Description Use peer keep-all-routes to save the original routing information from a peer or peer group, including even routes that failed to pass the inbound policy. Use undo peer keep-all-routes to disable this function. By default, the function is not enabled.
  • Page 405: Peer Password

    undo peer { ipv6-group-name | ipv6-address } next-hop-local View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use peer next-hop-local to configure the next hop of routes advertised to a peer/peer group as the local router.
  • Page 406: Peer Preferred-Value (Ipv6 Address Family View)

    By default, no MD5 authentication is performed for TCP connection establishment. The MD5 authentication requires that the two parties have the same authentication mode and password to establish TCP connection; otherwise, the TCP connection cannot be established due to authentication failure. The authentication password, set in either plain text or cipher text, is saved to the configuration file in cipher text.
  • Page 407: Peer Preferred-Value (Ipv6 Bgp-Vpn Instance View)

    this document, and the command apply preferred-value preferred-value in "Routing policy configuration commands." Examples # Configure the preferred value as 50 for routes from peer 1:2::3:4. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 preferred-value 50 peer preferred-value (IPv6 BGP-VPN instance view) Syntax peer ipv6-address preferred-value value undo peer ipv6-address [ preferred-value ]...
  • Page 408: Peer Reflect-Client (Ipv6 Address Family View)

    undo peer { ipv6-group-name | ipv6-address } public-as-only View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use peer public-as-only to configure IPv6 BGP updates to a peer/peer group to not carry private AS numbers.
  • Page 409: Peer Route-Limit (Ipv6 Address Family View)

    Examples # Configure the local device as a route reflector and specify the peer group test as a client. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] group test [Sysname-bgp-af-ipv6] peer test reflect-client peer route-limit (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } route-limit prefix-number [ { alert-only | reconnect reconnect-time } | percentage ] * undo peer { group-name | ipv4-address | ipv6-address } route-limit...
  • Page 410: Peer Route-Policy (Ipv6 Address Family View)

    [Sysname-bgp-af-ipv6] peer 1:2::3:4 route-limit 100 peer route-policy (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } route-policy route-policy-name { import | export } undo peer { group-name | ipv4-address | ipv6-address } route-policy route-policy-name { import | export } View IPv6 address family view...
  • Page 411: Peer Route-Update-Interval (Ipv6 Address Family View)

    undo peer ipv6-address [ route-policy route-policy-name { export | import } ] View IPv6 BGP-VPN instance view Default level 2: System level Parameters ipv6-address: IPv6 address of a peer. route-policy-name: Name of a routing policy, a string of 1 to 63 characters. import: Applies the routing policy to routes from the peer (group).
  • Page 412: Peer Substitute-As (Ipv6 Address Family View)

    Description Use peer route-update-interval to specify the interval for sending the same update to a peer/peer group. Use undo peer route-update-interval to restore the default. By default, the interval is 15 seconds for the IBGP peer, and 30 seconds for the EBGP peer. Examples # Specify the interval for sending the same update to the peer 1:2::3:4 as 10 seconds.
  • Page 413 View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. keepalive: Specifies the keepalive interval in seconds, ranging from 0 to 21845. holdtime: Specifies the holdtime in seconds, whose value is 0 or in the range of 3 to 65535.
  • Page 414: Preference (Ipv6 Address Family View/Ipv6 Bgp-Vpn Instance View)

    preference (IPv6 address family view/IPv6 BGP-VPN instance view) Syntax preference external-preference internal-preference local-preference route-policy route-policy-name } undo preference View IPv6 address family view, IPv6 BGP-VPN instance view Default level 2: System level Parameters external-preference: Preference of EBGP route learned from an EBGP peer, in the range of 1 to 255. internal-preference: Preference of IBGP route learned from an IBGP peer, in the range of 1 to 255.
  • Page 415: Reflector Cluster-Id (Ipv6 Address Family View)

    Description Use reflect between-clients to enable route reflection between clients. Use undo reflect between-clients to disable this function. By default, route reflection between clients is enabled. After a route reflector is configured, it reflects routes between clients. If the clients are fully meshed, Hewlett Packard Enterprise recommends disabling route reflection on the route reflector to reduce costs.
  • Page 416: Refresh Bgp Ipv6

    refresh bgp ipv6 Syntax refresh bgp ipv6 { ipv4-address | ipv6-address | all | external | group group-name | internal } { export | import } View User view Default level 1: Monitor level Parameters ipv4-address: Soft-resets the connection with an IPv4 BGP peer. ipv6-address: Soft-resets the connection with an IPv6 BGP peer.
  • Page 417: Reset Bgp Ipv6 Dampening

    ipv4-address: Resets the connection to the specified IPv4 BGP peer. ipv6-address: Resets the connection to the specified IPv6 BGP peer. all: Resets all IPv6 BGP connections. external: Resets all the EBGP connections. group group-name: Resets the connections to the specified IPv6 BGP peer group. internal: Resets all the IBGP connections.
  • Page 418: Router-Id

    Parameters ipv6-address: Clears the flap statistics for the specified IPv6 address. prefix-length: Prefix length of the address, in the range of 1 to 128. as-path-acl-number: Clears the flap statistics for routes matching the AS path list. The number is in the range of 1 to 256.
  • Page 419: Synchronization (Ipv6 Address Family View)

    [Sysname] bgp 100 [Sysname-bgp] router-id 10.18.4.221 synchronization (IPv6 address family view) Syntax synchronization undo synchronization View IPv6 address family view Default level 2: System level Parameters None Description Use synchronization to enable the synchronization between IPv6 BGP and IGP. Use undo synchronization to disable the synchronization. The feature is disabled by default.
  • Page 420 Description Use timer to specify the IPv6 BGP keepalive interval and holdtime interval. Use undo timer to restore the default. By default, the keepalive and holdtime intervals are 60s and 180s. The timers configured with the peer timer command are preferred to the timers configured with the timer command.
  • Page 421: Routing Policy Configuration Commands

    Routing policy configuration commands The common routing policy configuration commands are applicable to both IPv4 and IPv6. HPE FlexNetwork 3600 v2 SI Switch Series does not support OSPF, BGP, IS-IS, OSPFv3, IPv6 BGP, or IPv6 IS-IS. Common routing policy configuration commands apply as-path Syntax apply as-path as-number&<1-10>...
  • Page 422: Apply Community

    View Routing policy view Default level 2: System level Parameters comm-list-number: Community list number. A basic community list number ranges from 1 to 99. A advanced community list number ranges from 100 to 199. comm-list-name: Community list name, a string of 1 to 31 characters, which can contain letters, numbers, and signs.
  • Page 423: Apply Cost

    no-export: Sets the NO_EXPORT community attribute for BGP routes. Routes with this attribute cannot be advertised out of the autonomous system or confederation, but can be advertised to other sub ASs in the confederation. no-export-subconfed: Sets the NO_EXPORT_SUBCONFED community attribute for BGP routes. Routes with this attribute cannot be advertised out of the sub autonomous system.
  • Page 424: Apply Cost-Type

    [Sysname-route-policy] apply cost 120 apply cost-type Syntax apply cost-type { external | internal | type-1 | type-2 } undo apply cost-type View Routing policy view Default level 2: System level Parameters external: Sets the cost type to IS-IS external route. internal: Sets the cost type to IS-IS internal route, or sets the MED value for a matching BGP route as the IGP metric to the route’s next hop.
  • Page 425: Apply Isis

    Parameters rt route-target: Sets the route target (RT) extended community attribute, a string of 3 to 21 characters. A route-target has one of the following forms: • 16-bit AS number—32-bit self-defined number, for example, 101:3 • 32-bit IP address—16-bit self-defined number, for example, 192.168.122.15:1 •...
  • Page 426: Apply Local-Preference

    <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match tag 8 [Sysname-route-policy] apply isis level-2 apply local-preference Syntax apply local-preference preference undo apply local-preference View Routing policy view Default level 2: System level Parameters preference: Local preference for BGP routes, in the range of 0 to 4294967295. Description Use apply local-preference to configure the specified local preference for BGP routes.
  • Page 427: Apply Preference

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

    View Routing policy view Default level 2: System level Parameters preferred-value: Preferred value, in the range of 0 to 65535. Description Use apply preferred-value to set a preferred value for BGP routes. Use undo apply preferred-value to remove the clause configuration. No preferred value is set for BGP routes by default.
  • Page 429: Display Ip As-Path

    continue Syntax continue [ node-number ] undo continue View Routing policy view Default level 2: System level Parameters node-number: Routing policy node number, in the range of 0 to 65535. Description Use continue to specify the next node of the routing policy to be matched. Use undo continue to remove the configuration.
  • Page 430: Display Ip Community-List

    Information about all BGP AS path lists will be displayed if no as-path-number is specified. Related commands: ip as-path, if-match as-path, and apply as-path. Examples # Display the information of BGP AS path list 1. <Sysname> display ip as-path 1 ListID Mode Expression...
  • Page 431: Display Ip Extcommunity-List

    Community List Number 1 permit 1:1 1:2 2:2 display ip extcommunity-list Syntax display ip extcommunity-list [ ext-comm-list-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ext-comm-list-number: Extended community list number, in the range of 1 to 199. |: Filters command output by specifying a regular expression.
  • Page 432: If-Match As-Path

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

    The match criterion is not configured by default. Related commands: ip as-path-acl. Examples # Define AS path list 2, allowing BGP routing information containing AS number 200 or 300 to pass. Configure node 10 in permit mode of routing policy test to match AS path list. <Sysname>...
  • Page 434: If-Match Cost

    if-match cost Syntax if-match cost value undo if-match cost View Routing policy view Default level 2: System level Parameters value: Cost in the range of 0 to 4294967295. Description Use if-match cost to match routing information having the specified cost. Use undo if-match cost to remove the match criterion.
  • Page 435: If-Match Interface

    Examples # Configure node 10 in permit mode of routing policy policy1 to match BGP routing information to extended community lists 100 and 150. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match extcommunity 100 150 if-match interface Syntax if-match interface { interface-type interface-number }&<1-16>...
  • Page 436: If-Match Tag

    Default level 2: System level Parameters external-type1: OSPF Type 1 external routes. external-type1or2: OSPF Type 1 or 2 external routes. external-type2: OSPF Type 2 external routes. internal: Internal routes (OSPF intra-area and inter-area routes). is-is-level-1: IS-IS Level-1 routes. is-is-level-2: IS-IS Level-2 routes. nssa-external-type1: OSPF NSSA Type 1 external routes.
  • Page 437: Ip As-Path

    [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match tag 8 ip as-path Syntax ip as-path as-path-number { deny | permit } regular-expression undo ip as-path as-path-number View System view Default level 2: System level Parameters as-path-number: AS path list number, in the range of 1 to 256. deny: Specifies the match mode for the AS path list as deny.
  • Page 438: Ip Extcommunity-List

    Default level 2: System level Parameters basic-comm-list-num: Basic community list number, in the range of 1 to 99. basic: Specifies a basic communist list name. advanced: Specifies an advanced communist list name. comm-list-name: Community list name, a string of 1 to 31 characters, which can contain letters, numbers, and signs.
  • Page 439: Route-Policy

    View System view Default level 2: System level Parameters ext-comm-list-number: Extended community list number, in the range of 1 to 199. 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: Specifies the RT extended community attribute, a string of 3 to 21 characters.
  • Page 440: Ipv4 Routing Policy Configuration Commands

    Description Use route-policy to create a routing policy and a node of it and enter routing policy view. Use undo route-policy to remove a routing policy or a node of it. No routing policy is created by default. A routing policy is used for filtering routing information. It contains several nodes and each node comprises a set of if-match and apply clauses.
  • Page 441: Apply Ip-Address Next-Hop

    This command allows you to specify a backup next hop in a routing policy for routes matching specified criteria. Examples # Create a routing policy named policy1, and specify backup outbound interface VLAN-interface 1 and backup next hop 193.1.1.8 in the routing policy for packets destined to 100.1.1.0/24. <Sysname>...
  • Page 442: If-Match Acl

    Default level 1: Monitor level Parameters ip-prefix-name: IP prefix list name, a string of 1 to 19 characters. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.
  • Page 443: If-Match Ip

    Default level 2: System level Parameters acl-number: ACL number from 2000 to 3999. Description Use if-match acl to configure an ACL match criterion. Use undo if-match acl to remove the match criterion. No ACL match criterion is configured by default. Examples # Configure node 10 of routing policy policy1 to permit routes matching ACL 2000.
  • Page 444: If-Match Ip-Prefix

    if-match ip-prefix Syntax if-match ip-prefix ip-prefix-name undo if-match ip-prefix View Routing policy view Default level 2: System level Parameters ip-prefix-name: Matches an IP prefix list with a name being a string of 1 to 19 characters. Description Use if-match ip-prefix to configure an IP prefix list based match criterion. Use undo if-match ip-prefix to remove the match criterion.
  • Page 445: Reset Ip Ip-Prefix

    ip-address mask-length: Specifies an IPv4 prefix and mask length. The mask-length is in the range of 0 to 32. min-mask-length, max-mask-length: Specifies the prefix range. greater-equal means "greater than or equal to" and less-equal means "less than or equal to". The range relation is mask-length <= min-mask-length <= max-mask-length <= 32.
  • Page 446: Ipv6 Routing Policy Configuration Commands

    IPv6 routing policy configuration commands apply ipv6 next-hop Syntax apply ipv6 next-hop ipv6-address undo apply ipv6 next-hop View Routing policy view Default level 2: System level Parameters ipv6-address: Next hop IPv6 address. Description Use apply ipv6 next-hop to configure a next hop for IPv6 routes. Use undo apply ipv6 next-hop to remove the clause configuration.
  • Page 447: If-Match Ipv6

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ip ipv6-prefix to display the statistics of the specified IPv6 prefix list. If no IPv6 prefix list is specified, the statistics of all IPv6 prefix lists will be displayed. Examples # Display the statistics of all IPv6 prefix lists.
  • Page 448: Ip Ipv6-Prefix

    Description Use if-match ipv6 to configure a destination, next hop or source address based match criterion for IPv6 routes. Use undo if-match ipv6 to remove the match criterion. The match criterion is not configured by default. Examples # Configure node 10 of routing policy policy1 to permit routing information whose next hop address matches IPv6 prefix list p1.
  • Page 449: Reset Ip Ipv6-Prefix

    No IPv6 prefix list is configured by default. An IPv6 prefix list may have multiple items, and each of them specifies a range of IPv6 prefixes. The relation between items is logic OR. If a route passes an item of it, the route will pass the IPv6 prefix list.
  • Page 450: Policy-Based Routing Configuration Commands

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

    View PBR policy node view Default level 2: System level Parameters ip-address: IP address of the next hop. direct: Specifies the current next hop as valid when it is a directly connected next hop. track track-entry-number: Specifies a track entry. The track-entry-number argument is in the range of 1 to 1024.
  • Page 452: Display Ip Policy-Based-Route

    Precedence value Precedence type flash-override critical internet network Description Use apply ip-precedence to set a precedence for packets. Use undo apply ip-precedence to remove the configuration. Examples # Set the precedence to 5 (critical) for packets. <Sysname> system-view [Sysname] policy-based-route aa permit node 11 [Sysname-pbr-aa-11] apply ip-precedence critical display ip policy-based-route Syntax...
  • Page 453: Display Ip Policy-Based-Route Setup

    Table 98 Command output Field Description Policy Name Policy name PBR type. This field displays local for a local PBR or a specific interface (such as interface VLAN-interface 10) to which the policy has been applied to implement interface PBR. display ip policy-based-route setup Syntax display ip policy-based-route setup { policy-name | interface interface-type interface-number...
  • Page 454: Display Policy-Based-Route

    if-match acl 3101 apply ip-address next-hop 1.1.1.1 # Display the local PBR routing information. <Sysname> display ip policy-based-route setup local Local policy based routing configuration information: policy-based-route: pr01 permit node 1: if-match acl 3101 apply ip-address next-hop 1.1.1.1 Table 99 Command output Field Description policy Name...
  • Page 455: If-Match Acl

    If no policy name is specified, all PBR policy information is displayed. If a policy name is specified, information about the specified policy is displayed. Examples # Display the PBR policy information. <Sysname> display policy-based-route Policy based routing configuration information: policy-based-route : aaa Node permit :...
  • Page 456: Ip Policy-Based-Route

    View System view Default level 2: System level Parameters policy-name: Policy name, a string of 1 to 19 characters. Description Use ip local policy-based-route to configure local PBR based on a specified policy. Use undo ip local policy-based-route to remove the configuration. No policy is referenced for local PBR by default.
  • Page 457: Policy-Based-Route

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

    MCE configuration commands This chapter describes only the commands related to the multi-VPN-instance CE (MCE) feature. For information about the routing protocol configuration commands in the configuration examples, see Layer 3—IP Routing Command Reference. The term "Layer 3 Ethernet interface" refers to route-mode (Layer 3) Ethernet ports. You can set an Ethernet port to operate in route mode by using the port link-mode route command (see Layer 2—LAN Switching Configuration Guide).
  • Page 459 |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression.
  • Page 460: Display Bgp Vpnv4 Vpn-Instance Network

    Field Description information. • Receive—Supports receiving Route-refresh messages with ORF information. Peer Preferred Value Weight for the routes from the peer No routing policy is configured Whether the VPN instance is configured with a routing policy Peer IP address of the peer AS number of the peer group MsgRcvd Number of messages received...
  • Page 461: Display Bgp Vpnv4 Vpn-Instance Paths

    10.0.0.0 255.0.0.0 Table 102 Command output Field Description BGP Local Router ID Router ID of the local BGP router Local AS Number Local AS number Network Advertised network route Mask Mask of the advertised network route Route-policy Routing policy configured Short-cut Whether this route is a short-cut route display bgp vpnv4 vpn-instance paths...
  • Page 462: Display Bgp Vpnv4 Vpn-Instance Peer

    Table 103 Command output Field Description Address Routing address in the local database Hash Hash bucket for storing routes Refcount Number of times that the path is referenced Metric for routes Path/Origin AS_PATH attribute/Route origin code display bgp vpnv4 vpn-instance peer Syntax display bgp vpnv4 vpn-instance vpn-instance-name peer [ group-name log-info | ip-address { log-info | verbose } | verbose ] [ | { begin | exclude | include } regular-expression ]...
  • Page 463 Table 104 Command output Field Description BGP Local router ID Router ID of the local BGP router local AS number Local AS number Total number of peers Total number of peers Peers in established state Number of peers in the state of established Peer IP address of the peer AS number of the peer group...
  • Page 464 No routing policy is configured Table 105 Command output Field Description Peer IP address of the peer Local IP address of the local router Type BGP type BGP version Version of BGP that the peer runs remote router ID Router ID of the remote router BGP current state Current status of the BGP session Up for...
  • Page 465: Display Bgp Vpnv4 Vpn-Instance Routing-Table

    Field Description • send—The local peer can send Route-refresh messages with the ORF information and the remote peer can receive Route-refresh messages with the ORF information. • receive—The local peer can receive Route-refresh messages with the ORF information and the remote peer can send Route-refresh messages with the ORF information.
  • Page 466 community-list: Displays routing information of the specified BGP community list. basic-community-list-number: Basic community list number, in the range of 1 to 99. adv-community-list-number: Advanced community list number, in the range of 100 to 199. &<1-16>: Specifies that the argument before it can be entered up to 16 times. dampened: Displays information about dampened BGP VPNv4 routes.
  • Page 467: Display Fib Vpn-Instance

    Table 106 Command output Field Description Total Number of Routes Total number of routes BGP Local router ID Router ID of the local BGP router Status codes Route status code. For valid values. Origin Route origin code. For valid values. Network Network address in the BGP routing table NextHop...
  • Page 468 <Sysname> display fib vpn-instance vpn1 Destination count: 2 FIB entry count: 2 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static R:Relay Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.0.0/16 10.2.1.1 Vlan1 Null Invalid 10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid 127.0.0.0/8 127.0.0.1 InLoop0 Null Invalid 127.0.0.1/32 127.0.0.1...
  • Page 469: Display Fib Vpn-Instance Ip-Address

    Field Description Nexthop Address of the next hop Flag of the route. Possible values are: • U—usable route • G—gateway route • Flag H—host route • B—blackhole route • D—dynamic route • S—static route OutInterface Forwarding interface Token LSP index number display fib vpn-instance ip-address Syntax display fib vpn-instance vpn-instance-name ip-address [ mask | mask-length ] [ | { begin | exclude...
  • Page 470: Display Ip Vpn-Instance

    FIB entry count: 1 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid For more information about the command output, see Table 107. display ip vpn-instance Syntax display ip vpn-instance [ instance-name vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View Any view...
  • Page 471 # Display detailed information about a specific VPN instance. <Sysname> display ip vpn-instance instance-name vpn1 VPN-Instance Name and ID : vpn1, 1 Create time : 2000/04/26 12:03:26 Up time : 0 days, 00 hours, 03 minutes and 30 seconds Route Distinguisher : 100:1 Export VPN Targets : 100:1 Import VPN Targets :...
  • Page 472: Domain-Id

    domain-id Syntax domain-id domain-id [ secondary ] undo domain-id [ domain-id ] View OSPF view Default level 2: System level Parameters domain-id: OSPF domain ID, which can be in one of the following formats: • Integer, in the range of 0 to 4294967295. For example, 1. •...
  • Page 473: Ext-Community-Type

    Description Use export route-policy to apply an export routing policy to a VPN instance. Use undo export route-policy to remove the application. By default, no policy is applied to filter the routes to be advertised. You can specify an export routing policy when the VPN route advertisement control provided by the extended community attributes is not enough.
  • Page 474: Filter-Policy Export

    [Sysname] ospf 100 [Sysname-ospf-100] ext-communityroute-type domain-id 8005 [Sysname-ospf-100] ext-communityroute-type router-id 8001 [Sysname-ospf-100] ext-communityroute-type route-type 8000 filter-policy export Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ direct | isis process-id | ospf process-id | rip process-id | static ] undo filter-policy export [ direct | isis process-id | ospf process-id | rip process-id | static ] View BGP-VPN instance view...
  • Page 475: Filter-Policy Import

    filter-policy import Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } import undo filter-policy import View BGP-VPN instance view Default level 2: System level Parameters acl-number: IP ACL number, in the range of 2000 to 3999. ip-prefix-name: IP address prefix list name, a string of 1 to 19 characters. Description Use filter-policy import to configure BGP to filter received routes.
  • Page 476: Ip Binding Vpn-Instance

    You can specify an import routing policy when the route redistribution control provided by the extended community attributes is not enough. An import routing policy may deny routes that are permitted by the import target attributes. An import routing policy specified in VPN instance view applies to both the IPv4 VPN and the IPv6 VPN.
  • Page 477: Ip Vpn-Instance

    ip vpn-instance Syntax ip vpn-instance vpn-instance-name undo ip vpn-instance vpn-instance-name View System view Default level 2: System level Parameters vpn-instance-name: Name of the VPN instance, a case-insensitive string of 1 to 31 characters. Description Use ip vpn-instance to create a VPN instance and enter VPN instance view. Use undo ip vpn-instance to delete a VPN instance.
  • Page 478: Ipv4-Family Vpn-Instance

    [Sysname-vpn-ipv4-vpn1] ipv4-family vpn-instance Syntax ipv4-family vpn-instance vpn-instance-name undo ipv4-family vpn-instance vpn-instance-name View BGP view Default level 2: System level Parameters vpn-instance vpn-instance-name: Associates a VPN instance with an IPv4 address family and enters BGP VPN instance view. The vpn-instance-name argument specifies the VPN instance name, a case-sensitive string of 1 to 31 characters.
  • Page 479: Refresh Bgp Vpn-Instance

    Description Use peer allow-as-loop to allow the local AS number to appear in the AS-PATH attribute of a received route and to set the allowed maximum number of repetitions. Use undo peer allow-as-loop to remove the configuration. Examples # Allow the local AS number to appear repeatedly in the AS-PATH attribute of a route received from peer 1.1.1.1 for up to twice.
  • Page 480: Reset Bgp Vpn-Instance Dampening

    View User view Default level 1: Monitor level Parameters vpn-instance-name: VPN instance name, a case-sensitive string of 1 to 31 characters. as-number: AS number, in the range of 1 to 4294967295. ip-address: IP address of a peer. group group-name: Resets the connections with the specified BGP peer group. The group-name argument is a string of 1 to 47 characters.
  • Page 481: Reset Bgp Vpn-Instance Flap-Info

    reset bgp vpn-instance flap-info Syntax reset bgp vpn-instance vpn-instance-name ip-address flap-info reset bgp vpn-instance vpn-instance-name flap-info [ ip-address [ mask | mask-length ] | as-path-acl as-path-acl-number | regexp as-path-regexp ] View User view Default level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a string of 1 to 31 characters. ip-address: IP address of the peer.
  • Page 482: Routing-Table Limit

    An RD is used to create the routing and forwarding table of a VPN. By prefixing an RD to an IPv4 prefix, you make the VPN IPv4 prefix unique globally. NOTE: • No RD is configured by default; you must configure an RD for each VPN instance. •...
  • Page 483: Vpn-Instance-Capability Simple

    Examples # Specify that VPN instance vpn1 supports up to 1000 routes and can receive new routes after the number of existing routes exceeds the limit. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] route-distinguisher 100:1 [Sysname-vpn-instance-vpn1] routing-table limit 1000 simply-alert vpn-instance-capability simple Syntax vpn-instance-capability simple...
  • Page 484 • 16-bit AS number:32-bit user-defined number. For example, 101:3. • 32-bit IP address:16-bit user-defined number. For example, 192.168.122.15:1. • 32-bit AS number:16-bit user-defined number, where the AS number must not be less than 65536. For example, 65536:1. both: Uses the specified VPN targets as both import targets and export targets. The both keyword is also used when you do not specify any of both, export-extcommunity, and import-extcommunity.
  • Page 485: Ipv6 Mce Configuration Commands

    IPv6 MCE configuration commands This chapter describes only the commands related to the IPv6 MCE feature. For information about the routing protocol configuration commands in the configuration examples, see Layer 3—IP Routing Command Reference. display bgp vpnv6 vpn-instance peer Syntax display bgp vpnv6 vpn-instance vpn-instance-name peer [ ipv6-address verbose | verbose ] [ | { begin | exclude | include } regular-expression ] View...
  • Page 486 Table 110 Command output Field Description BGP local router ID Router ID of the local BGP router Peer IPv6 address of the peer AS number of the peer MsgRcvd Number of messages received MsgSent Number of messages sent OutQ Number of messages to be sent to the peer PrefRcv Number of prefixes received Up/Down...
  • Page 487: Display Bgp Vpnv6 Vpn-Instance Routing-Table

    Field Description remote AS AS number of the peer Type BGP type BGP version Version of BGP that the peer runs remote router ID Router ID of the peer BGP current state Current state of the BGP session Up for Duration since the peer is established BGP current event Current event of the BGP session...
  • Page 488 Default level 1: Monitor level Parameters vpn-instance-name: VPN instance name, a case-sensitive string of 1 to 31 characters. network-address: IPv6 address of the destination network segment. prefix-length: Length of the prefix, in the range of 0 to 128. longer-prefixes: Displays each routing entry that meets the following conditions: •...
  • Page 489: Display Ipv6 Fib Vpn-Instance

    Field Description Status codes Route status codes. Origin Route origin codes. Network Destination network address PrefixLen Prefix length of the destination network address NextHop IPv6 address of the next hop LocPrf Local preference value PrefVal Preference value of the route Label Received label Metric associated with the destination network...
  • Page 490: Display Ipv6 Fib Vpn-Instance Ipv6-Address

    Examples # Display all IPv6 FIB information of VPN instance vpn1. <Sysname> display ipv6 fib vpn-instance vpn1 FIB Table: Total number of Routes : 1 Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination: PrefixLength : 128 NextHop Flag : UH Label Null Token...
  • Page 491: Export Route-Policy

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ipv6 fib vpn-instance ipv6-address to display a VPN’s IPv6 FIB information that matches a destination IPv6 address.
  • Page 492: Filter-Policy Export

    Default level 2: System level Parameters route-policy: Name of an export routing policy, a case-sensitive string of 1 to 63 characters. Description Use export route-policy to apply an export routing policy to a VPN instance, an IPv4 VPN, or an IPv6 VPN.
  • Page 493: Filter-Policy Import

    isisv6 process-id: Filters IPv6 ISIS routes to be advertised that are from a specific IPv6 ISIS process. The process-id argument is in the range of 1 to 65535. ospfv3 process-id: Filters OSPFv3 routes to be advertised that are from a specific OSPFv3 process. The process-id argument is in the range of 1 to 65535.
  • Page 494: Import Route-Policy

    [Sysname] bgp 100 [Sysname-bgp] ipv6-family vpn-instance vpn1 [Sysname-bgp-ipv6-vpn1] filter-policy 2255 import import route-policy Syntax import route-policy route-policy undo import route-policy View VPN instance view, IPv6 VPN view Default level 2: System level Parameters route-policy: Name of an import routing policy, a case-sensitive string of 1 to 63 characters. Description Use import route-policy to apply an import routing policy to a VPN instance, an IPv4 VPN or an IPv6 VPN.
  • Page 495: Ipv6-Family Vpn-Instance

    Views VPN instance view Default level 2: System level Parameters None Description Use ipv6-family to enter IPv6 VPN view. Use undo ipv6-family to remove all configurations performed in IPv6 VPN view. Examples # Enter IPv6 VPN view. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] ipv6-family [Sysname-vpn-ipv6-vpn1] ipv6-family vpn-instance...
  • Page 496: Refresh Bgp Ipv6 Vpn-Instance

    refresh bgp ipv6 vpn-instance Syntax refresh bgp ipv6 vpn-instance vpn-instance-name { ipv6-address | all | external } { export | import } View User view Default level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters. ipv6-address: Soft resets the BGP connection with the BGP peer identified by this IPv6 address.
  • Page 497: Routing-Table Limit

    Examples # Reset all IPv6 BGP connections in VPN instance vpn1. <Sysname> reset bgp ipv6 vpn-instance vpn1 all routing-table limit Syntax routing-table limit number { warn-threshold | simply-alert } undo routing-table limit View VPN instance view, IPv6 VPN view Default level 2: System level Parameters number: Specifies the maximum number of routes supported.
  • Page 498: Vpn-Target

    vpn-target Syntax vpn-target vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ] undo vpn-target { all | vpn-target&<1-8> [ both | export-extcommunity | import-extcommunity ] } View VPN instance view, IPv6 VPN view Default level 2: System level Parameters vpn-target&<1-8>: Adds VPN target extended community attributes to the import VPN target extended community attribute list (Import Target) or export VPN target extended community attribute list (Export Target).
  • Page 499 [Sysname] ip vpn-instance vpn3 [Sysname-vpn-instance-vpn3] ipv6-family [Sysname-vpn-ipv6-vpn3] vpn-target 3:3 export-extcommunity [Sysname-vpn-ipv6-vpn3] vpn-target 4:4 import-extcommunity [Sysname-vpn-ipv6-vpn3] vpn-target 5:5 both...
  • Page 500: Document Conventions And Icons

    Document conventions and icons Conventions This section describes the conventions used in the documentation. Port numbering in examples The port numbers in this document are for illustration only and might be unavailable on your device. Command conventions Convention Description Bold text represents commands and keywords that you enter literally as shown. Boldface Italic text represents arguments that you replace with actual values.
  • Page 501: Network Topology Icons

    Network topology icons Convention Description 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 502: Support And Other Resources

    Hewlett Packard Enterprise Support Center More Information on Access to Support Materials page: www.hpe.com/support/AccessToSupportMaterials IMPORTANT: Access to some updates might require product entitlement when accessed through the Hewlett Packard Enterprise Support Center. You must have an HP Passport set up with relevant entitlements.
  • Page 503: Customer Self Repair

    Websites Website Link Networking websites Hewlett Packard Enterprise Networking Information Library www.hpe.com/networking/resourcefinder Hewlett Packard Enterprise Networking website www.hpe.com/info/networking Hewlett Packard Enterprise Networking My Support www.hpe.com/networking/support General websites Hewlett Packard Enterprise Information Library www.hpe.com/info/enterprise/docs Hewlett Packard Enterprise Support Center www.hpe.com/support/hpesc Contact Hewlett Packard Enterprise Worldwide www.hpe.com/assistance Subscription Service/Support Alerts www.hpe.com/support/e-updates...
  • Page 504: Index

    Index A B C D E F G H I L M N O P R S T V W bestroute med-confederation (BGP/BGP-VPN instance view),190 abr-summary (OSPF area view),59 bestroute med-confederation (IPv6 address family abr-summary (OSPFv3 area view),284 view),346 aggregate,187 bgp,191 aggregate (IPv6 address family view),343...
  • Page 505 display ip ip-prefix,429 delete static-routes all,24 description,446 display ip ipv6-prefix,434 description (OSPF/OSPF area view),65 display ip policy-based-route,440 display ip policy-based-route setup,441 display bgp group,198 display bgp ipv6 group,350 display ip routing-table,1 display bgp ipv6 network,352 display ip routing-table acl,5 display bgp ipv6 paths,353 display ip routing-table ip-address,8...
  • Page 506 filter-policy export (RIP view),38 display ospfv3 peer,298 display ospfv3 peer statistics,300 filter-policy export (RIPng view),272 display ospfv3 request-list,301 filter-policy import,463 filter-policy import,481 display ospfv3 retrans-list,303 display ospfv3 routing,304 filter-policy import (BGP/BGP-VPN instance view),220 display ospfv3 statistics,306 filter-policy import (IPv6 address family view/IPv6 display ospfv3 topology,307 BGP-VPN instance...
  • Page 507 isis silent,166 import-route,274 import-route (BGP/BGP-VPN instance view),224 isis small-hello,166 import-route (IPv6 address family view/IPv6 isis timer csnp,167 BGP-VPN instance view),372 isis timer hello,168 import-route (IS-IS view),156 isis timer holding-multiplier,168 import-route (OSPF view),97 isis timer lsp,169 import-route (OSPFv3 view),314 isis timer retransmit,170 import-route (RIP view),41...
  • Page 508 peer capability-advertise orf,233 ospf cost,108 ospf dr-priority,108 peer capability-advertise orf,379 ospf mib-binding,109 peer capability-advertise orf non-standard,234 peer capability-advertise orf non-standard (IPv6 ospf mtu-enable,109 address family view),380 ospf network-type,110 peer capability-advertise route-refresh,235 ospf packet-process prioritized-treatment,111 peer capability-advertise route-refresh,381 ospf timer dead,111 peer capability-advertise suppress-4-byte-as,235 ospf timer...
  • Page 509 reset bgp ipv6 dampening,405 peer preferred-value (IPv6 address family view),394 peer preferred-value (IPv6 BGP-VPN instance reset bgp ipv6 flap-info,405 view),395 reset bgp ipv6 vpn-instance,484 peer public-as-only (BGP/BGP-VPN instance reset bgp vpn-instance,467 view),249 reset bgp vpn-instance dampening,468 peer public-as-only (IPv6 address family view),395 reset bgp vpn-instance flap-info,469...
  • Page 510 timer (IPv6 address family view),407 routing-table limit,485 timer lsp-generation,182 timer lsp-max-age,183 set-overload,180 timer lsp-refresh,184 silent-interface (OSPF view),119 timer spf,184 silent-interface (RIP view),55 timers,282 silent-interface(OSPFv3 view),326 timers,56 snmp-agent trap enable ospf,120 transmit-pacing,123 timers,327 spf-schedule-interval,121 validate-source-address,57 stub (OSPF area view),121 stub (OSPFv3 area view),327 version,58 stub-router,122...

Table of Contents