HP FlexFabric 7900 Switch Series Layer 3 - IP Routing Command Reference Part number: 5998-4293 Software version: Release 2109 Document version: 6W100-20140122
Legal and notice information © Copyright 2014 Hewlett-Packard Development Company, L.P. No part of this documentation may be reproduced or transmitted in any form or by any means without prior written consent of Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.
Contents Basic IP routing commands ········································································································································· 1 address-family ipv4 ·················································································································································· 1 display ip routing-table ············································································································································ 1
rip bfd enable destination ···································································································································· 54 rip default-route······················································································································································ 54 rip enable ······························································································································································· 55 rip
filter-policy import (OSPF view) ·························································································································· 121 graceful-restart (OSPF view) ······························································································································· 122 graceful-restart helper enable ···························································································································· 124 graceful-restart helper strict-
bandwidth-reference (IS-IS view)························································································································ 165 circuit-cost ····························································································································································· 165 cost-style ······························································································································································· 166 defau
lsp-length originate ·············································································································································· 225 lsp-length receive ················································································································································· 226 maximum load-balancing (IS-IS view) ··············································································································· 226 network-entity ········
filter-policy import ················································································································································ 278 graceful-restart ····················································································································································· 280 graceful-restart timer restart ································································································································ 280 gracefu
snmp-agent trap enable bgp ······························································································································ 326 summary automatic ············································································································································· 326 timer ······································································································································································ 327 Policy-based
reset ip prefix-list ·················································································································································· 365 Support and other resources ·································································································································· 366 Contacting HP ······························································································································································ 366
Basic IP routing commands 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). address-family ipv4 Use address-family ipv4 to create a RIB IPv4 address family and enter RIB IPv4 address family view.
Parameters verbose: Displays detailed routing table information, including information about both active and inactive routes. Without this keyword, the command displays only brief information about active routes. Examples # Display brief information about active routes in the routing table. display ip routing-table Destinations : 13 Destination/Mask Proto 0.0.0.0/32 1.1.1.0/24 Routes : 13 Pre Cost NextHop Interface Direct 0 0 127.0.0.1 InLoop0 Static 60 0 192.168.47.4 Vlan1 127.
Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000000 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1000c OrigNextHop: 127.0.0.1 Label: NULL RealNextHop: 127.0.0.1 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid BkTunnel ID: Invalid Interface: InLoopBack0 BkInterface: N/A Destination: 1.1.1.
Field Description Route status: State • • • • • • • Active—Active unicast route. Adv—Route that can be advertised. Inactive—Inactive route. NoAdv—Route that the router must not advertise. Vrrp—Routes generated by VRRP. Nat—Routes generated by NAT. TunE—Tunnel. OrigTblID Original routing table ID. OrigVrf Original VPN that the route belongs to. TableID ID of the routing table. OrigAs Original AS number. NibID ID of the next hop. LastAs Last AS number. AttrID Attribute ID.
verbose: Displays detailed information about all routes permitted by the basic ACL. Without this keyword, the command displays only brief information about active routes permitted by the basic ACL. Usage guidelines If the specified ACL does not exist or has no rules configured, the command displays information about all routes. Examples # Define basic ACL 2000 and set the route filtering rules. system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 192.168.1.0 0.0.0.
SubProtID: 0x0 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active NoAdv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1008c OrigNextHop: 192.168.1.111 Label: NULL RealNextHop: 192.168.1.111 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid BkTunnel ID: Invalid Interface: Vlan-interface1 BkInterface: N/A Destination: 192.168.1.
Use display ip routing-table ip-address1 to ip-address2 to display information about routes to a range of destination addresses. Syntax display ip routing-table ip-address [ mask | mask-length ] [ longer-match ] [ verbose ] display ip routing-table ip-address1 to ip-address2 [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters ip-address: Specifies a destination IP address in dotted decimal notation. mask: Specifies the IP address mask in dotted decimal notation.
{ The system ANDs the destination IP address in each active route entry with the entered subnet mask. If the two operations yield the same result for multiple entries and the entries have a mask less than or equal to the entered subnet mask, the one with the longest mask length is displayed. • display ip routing-table ip-address1 to ip-address2: The system displays active route entries with destinations in the range of ip-address1/32 to ip-address2/32.
1.1.1.1/32 Direct 0 0 127.0.0.1 InLoop0 2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2 3.3.3.0/24 Direct 0 0 3.3.3.1 Vlan2 3.3.3.1/32 Direct 0 0 127.0.0.1 InLoop0 4.4.4.0/24 Direct 0 0 4.4.4.1 Vlan1 4.4.4.1/32 Direct 0 0 127.0.0.1 InLoop0 For command output, see Table 1. display ip routing-table prefix-list Use display ip routing-table prefix-list to display routes permitted by an IP prefix list.
Destination: 1.1.1.0/24 Protocol: Direct Process ID: 0 SubProtID: 0x1 Age: 04h20m37s Cost: 0 Preference: 0 Tag: 0 State: Active Adv OrigTblID: 0x0 OrigVrf: default-vrf TableID: 0x2 OrigAs: 0 NibID: 0x10000003 LastAs: 0 AttrID: 0xffffffff Neighbor: 0.0.0.0 Flags: 0x1008c OrigNextHop: 1.1.1.2 Label: NULL RealNextHop: 1.1.1.2 BkLabel: NULL BkNextHop: N/A Tunnel ID: Invalid BkTunnel ID: Invalid Interface: Vlan-interface2 BkInterface: N/A For command output, see Table 2.
0.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 2.2.2.0/24 Direct 0 0 2.2.2.1 Vlan2 2.2.2.0/32 Direct 0 0 2.2.2.1 Vlan2 2.2.2.2/32 Direct 0 0 127.0.0.1 InLoop0 2.2.2.255/32 Direct 0 0 2.2.2.1 Vlan2 127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0 127.0.0.0/32 Direct 0 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0 127.255.255.255/32 Direct 0 0 127.0.0.1 InLoop0 192.168.80.0/24 Direct 0 0 192.168.80.10 Vlan1 192.168.80.0/32 Direct 0 0 192.168.80.
display ip routing-table statistics Proto route active added deleted DIRECT 12 12 30 18 STATIC 3 3 5 2 RIP 0 0 0 0 OSPF 0 0 0 0 ISIS 0 0 0 0 BGP 0 0 0 0 Total 15 15 35 20 Table 3 Command output Field Description Proto Protocol that installed the route. route Number of routes installed by the protocol. active Number of active routes. added Number of routes added to the routing table after the router started up or the routing table was last cleared.
display rib attribute Use display rib attribute to display route attribute information in the RIB. Syntax display rib attribute [ attribute-id ] Views Any view Predefined user roles network-admin network-operator Parameters attribute-id: Specifies a route attribute by its ID in the range of 0 to FFFFFFFF. Examples # Display route attribute information in the RIB.
AS-path number: 0 AS-path value: N/A Table 5 Command output Field Description Protocol Protocol that generates the attribute. Ext-communities number Number of the extended community attribute values. Ext-communities value Values of the extended community attribute. This field displays N/A when no value exists, and it can display up to 20 values. Communities number Number of the COMMUNITY attribute values. Communities value Values of the COMMUNITY attribute.
Table 6 Command output Field Description RIB GR status: • Start—GR starts. • IGP end—All IGP protocols complete GR. • VPN-triggering end—Optimal route selection triggered by VPN routes completes. RIB GR state • • • • • • • VPN-calculation end—Optimal VPN route selection completes. Routing protocol end—All routing protocols complete GR. Triggering start—All triggered optimal route selection starts. Triggering end—All triggered optimal route selection completes.
Syntax display rib nib [ self-originated ] [ nib-id ] [ verbose ] display rib nib protocol protocol-name [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters nib-id: Specifies a NIB by its ID in the range of 1 to FFFFFFFF. self-originated: Displays information about next hops of self-originated routes in the RIB. verbose: Displays detailed next hop information in the RIB. Without this keyword, the command displays brief next hop information in the RIB.
NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x21000004 SubSeq: 37 NthpCnt: 1 Samed: 0 NthpType: IP SubNibID: 0x21000005 SubSeq: 38 NthpCnt: 1 Samed: 0 NthpType: IP ... Table 7 Command output Field Description NibID ID of the next hop. Sequence Sequence number of the next hop. Type Type of the next hop. Flushed Indicates whether the route with the next hop has been flushed to the FIB. UserKey0 Reserved data 1. UserKey1 Reserved data 2. VrfNthp VPN to which the next hop belongs.
Interface: NULL0 TunnelCnt: 0 LocalAddr: 0.0.0.0 Vrf: vpn1 TunnelID: N/A NibID: 0x10000001 Type: 0x1 Sequence: 1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112 RefCnt: 13 Flag: 0x84 LocalAddr: 127.0.0.1 FlushRefCnt: 5 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 127.0.0.1 RelyDepth: 0 RealNexthop: 127.0.0.1 Interface: InLoop0 TunnelCnt: 0 LocalAddr: 127.0.0.
RelyDepth: 0 Interface: Vlan11 RealNexthop: 11.1.1.2 LocalAddr: 11.1.1.1 TunnelCnt: 0 Vrf: default-vrf TunnelID: N/A ... Table 8 Command output Field Description Policy Tunnel policy name. x nexthop (s) Number of next hops. PrefixIndex Prefix index of the next hop for an ECMP route. Vrf VPN name. OrigNexthop Original next hop. RealNexthop Real next hop. Interface Output interface. LocalAddr Local interface address. RelyDepth Recursion depth.
Examples # Display brief next hop information for direct routes. display route-direct nib Total number of nexthop(s): 116 NibID: 0x10000000 Sequence: 0 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 IFIndex: 0x111 NibID: 0x10000001 Nexthop: 0.0.0.0 LocalAddr: 0.0.0.0 Sequence: 1 Type: 0x1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 IFIndex: 0x112 Nexthop: 127.0.0.1 LocalAddr: 127.0.0.1 ... Table 9 Command output Field Description NibID ID of the NIB.
Interface: NULL0 LocalAddr: 0.0.0.0 TunnelCnt: 0 Vrf: vpn1 TunnelID: N/A NibID: 0x10000001 Type: 0x1 Sequence: 1 Flushed: Yes UserKey0: 0x0 VrfNthp: 1 UserKey1: 0x0 Nexthop: 127.0.0.1 IFIndex: 0x112 RefCnt: 5 Flag: 0x2 LocalAddr: 127.0.0.1 FlushRefCnt: 0 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 127.0.0.1 RelyDepth: 0 RealNexthop: 127.0.0.1 Interface: InLoop0 LocalAddr: 127.0.0.1 TunnelCnt: 0 Vrf: vpn1 TunnelID: N/A ...
undo fib lifetime Default The maximum lifetime for IPv4 routes in the FIB is 600 seconds. Views RIB IPv4 address family view Predefined user roles network-admin Parameters second: Sets the maximum lifetime for routes in the FIB, in the range of 0 to 900 seconds. When this argument is set to 0, FIB entries immediately age out after a protocol or RIB process switchover.
protocol lifetime Use protocol lifetime to set the maximum lifetime for IPv4 routes and labels in the RIB. Use undo protocol lifetime to restore the default. Syntax protocol protocol lifetime seconds undo protocol protocol lifetime Default The maximum lifetime for IPv4 routes and labels in the RIB is 480 seconds. Views RIB IPv4 address family view Predefined user roles network-admin Parameters second: Sets the maximum lifetime for routes and labels in the RIB, in the range of 0 to 900 seconds.
Examples # Clear all IPv4 route statistics for the public network. reset ip routing-table statistics protocol all rib Use rib to enter RIB view. Use undo rib to remove all configurations in RIB view. Syntax rib undo rib Views System view Predefined user roles network-admin Examples # Enter RIB view.
Static routing commands delete static-routes all Use delete static-routes all to delete all static routes. Syntax delete static-routes all Views System view Predefined user roles network-admin Usage guidelines When you use this command, the system will prompt you to confirm the operation before deleting all the static routes. To delete one static route, use the undo ip route-static command. To delete all static routes, including the default route, use the delete static-routes all command.
Parameters nib-id: Specifies a NIB by its ID in the range of 1 to FFFFFFFF. verbose: Displays detailed static route next hop information. Without this keyword, the command displays brief static route next hop information. Examples # Displays brief static route next hop information. display route-static nib Total number of nexthop(s): 44 NibID: 0x11000000 Sequence: 0 Type: 0x21 Flushed: Yes UserKey0: 0x111 VrfNthp: 0 UserKey1: 0x0 Nexthop: 0.0.0.0 IFIndex: 0x111 LocalAddr: 0.0.0.
IFIndex: 0x111 RefCnt: 2 Flag: 0x2 LocalAddr: 0.0.0.0 FlushRefCnt: 0 Version: 1 1 nexthop(s): PrefixIndex: 0 OrigNexthop: 0.0.0.0 RelyDepth: 0 RealNexthop: 0.0.0.0 Interface: NULL0 TunnelCnt: 0 LocalAddr: 0.0.0.0 Vrf: default-vrf TunnelID: N/A NibID: 0x11000001 Type: 0x41 Sequence: 1 Flushed: Yes UserKey0: 0x0 VrfNthp: 5 UserKey1: 0x0 Nexthop: 2.2.2.2 IFIndex: 0x0 RefCnt: 1 Flag: 0x12 LocalAddr: 0.0.0.0 FlushRefCnt: 0 Version: 1 2 nexthop(s): PrefixIndex: 0 OrigNexthop: 2.2.2.
Field Description Flag Flag of the next hop. Version Version of the next hop. display route-static routing-table Use display route-static routing-table to display static routing table information. Syntax display route-static routing-table [ ip-address { mask-length | mask } ] Views Any view Predefined user roles network-admin network-operator Parameters ip-address: Specifies the destination IP address in dotted decimal notation.
TableID: 0x2 Flag: 0x82d01 DbIndex: 0xd Type: Normal TrackIndex: 0xffffffff Preference: 60 BfdMode: N/A Permanent: 0 BkInterface: N/A BfdSrcIp: N/A BfdIfIndex: 0x0 BfdVrfIndex: 0 Label: NULL vrfIndexDst: 0 vrfIndexNH: 0 Tag: 0 ... # Display information about the static route with destination address 1.2.3.4/32. display route-static routing-table 1.2.3.4 32 *Destination: 1.2.3.4/32 NibID: 0x11000017 NextHop: 4.4.4.4 MainNibID: 0x11000015 BkNextHop: 5.5.5.
Field Description BfdIfIndex Index of the interface where BFD is enabled. BFD session mode: BfdMode • N/A—No BFD session is configured. • Ctrl—Control packet mode • Echo—Echo packet mode. TrackIndex NQA Track index. Permanent Permanent static route flag. 1 indicates a permanent static route. ip route-static Use ip route-static to configure a static route. Use undo ip route-static to delete a static route.
bfd-source ip-address: Specifies the source IP address of BFD packets. HP recommends that you specify the loopback interface address. permanent: Specifies the route as a permanent static route. If the output interface is down, the permanent static route is still active. track track-entry-number: Associates the static route with a track entry specified by its number in the range of 1 to 1024. For more information about Track, see High Availability Configuration Guide.
ip route-static default-preference Use ip route-static default-preference to configure a default preference for static routes. Use undo ip route-static default-preference to restore the default. Syntax ip route-static default-preference default-preference-value undo ip route-static default-preference Default The default preference of static routes is 60.
RIP commands checkzero Use checkzero to enable zero field check on RIPv1 messages. Use undo checkzero to disable zero field check. Syntax checkzero undo checkzero Default The zero field check function is enabled. Views RIP view Predefined user roles network-admin Usage guidelines When the zero field check is enabled, the router discards RIPv1 messages in which zero fields contain non-zero values. If all messages are trustworthy, disable this feature to reduce the workload of the CPU.
Predefined user roles network-admin Parameters value: Specifies a default metric for redistributed routes, in the range of 0 to 16. Usage guidelines When you use the import-route command to redistribute routes from another routing protocol without specifying a metric, the metric specified by the default cost command applies. Examples # Configure a default metric of 3 for redistributed routes.
[Sysname] rip 100 [Sysname-rip-100] default-route only cost 2 Related commands rip default-route display rip Use display rip to display state and configuration information for a RIP process. Syntax display rip [ process-id ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. If no process is specified, the command displays state and configuration information for all RIP processes.
Triggered updates sent: 0 Number of routes changes: 1 Number of replies to queries: 0 Table 14 Command output Field Description RIP process RIP process ID. RIP version RIP version 1 or 2. Preference RIP preference. Checkzero Indicates whether the zero field check is enabled for RIPv1 messages. Default cost Default cost of redistributed routes. Summary Indicates whether route summarization is enabled. Host routes Indicates whether to receive host routes. Update time RIP update interval.
Syntax display rip process-id database [ ip-address { mask-length | mask } ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. ip-address { mask-length | mask }: Displays active routes for the specified IP address. Without this argument, the command displays all actives routes for a RIP process. Examples # Display active routes for RIP process 100. display rip 100 database 1.0.0.
Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number. If no interface is specified, the command displays information about all RIP interfaces for the RIP process. Examples # Display information about all interfaces for RIP process 1. display rip 1 interface Interface: Vlan-interface2 Address/Mask: 1.1.1.
Field Description Indicates whether the interface is enabled to receive and send RIP messages: Input/Output • on—Enabled. • off—Disabled. Indicates whether to send a default route to RIP neighbors: • • • • Default route Only—Advertises only a default route. Originate—Advertises both a default route and other routes. No-originate—Advertises only non-default routes. Off—Advertises no default route. Default route cost Metric for a default route.
O - Optimal, F - Flush to RIB ---------------------------------------------------------------------------Peer 111.1.1.2 on Vlan-interface1 Destination/Mask Nexthop Cost Tag Flags Sec 122.0.0.0/8 111.1.1.2 1 0 RAOF 22 123.0.0.0/8 111.1.1.2 1 0 RAOF 20 # Display specified routing information for RIP process 1. display rip 1 route 123.0.0.
Table 18 Command output Field Description Peer IP address of a neighbor. Optimal Total number of optimal routes. Aging Total number of aging routes. Garbage Total number of routes in the Garbage-collection state. Total Total number of routes learned from all RIP neighbors. fast-reroute Use fast-reroute to configure RIP FRR. Use undo fast-reroute to restore the default. Syntax fast-reroute route-policy route-policy-name undo fast-reroute Default RIP FRR is disabled.
[Sysname-route-policy-frr-10] apply fast-reroute backup-interface vlan-interface 1 backup-nexthop 193.1.1.8 [Sysname-route-policy-frr-10] quit [Sysname] rip 100 [Sysname-rip-100] fast-reroute route-policy frr filter-policy export Use filter-policy export to configure RIP to filter redistributed routes. Use undo filter-policy export to remove the filtering.
The source keyword specifies the destination address of a route and the destination keyword specifies the subnet mask of the route. The specified subnet mask must be contiguous. Otherwise, the mask configuration does not take effect. Examples # Use ACL 2000 to filter redistributed routes. system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule deny source 192.168.10.0 0.0.0.
Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter received routes. prefix-list prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter received routes. gateway prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter routes based on their next hops.
graceful-restart Use graceful-restart to enable GR for RIP. Use undo graceful-restart to disable RIP GR capability. Syntax graceful-restart undo graceful-restart Default RIP GR is disabled. Views RIP view Predefined user roles network-admin Examples # Enable GR for RIP process 1. system-view [Sysname] rip 1 [Sysname-rip-1] graceful-restart host-route Use host-route to enable host route reception. Use undo host-route to disable host route reception.
system-view [Sysname] rip 1 [Sysname-rip-1] undo host-route import-route Use import-route to enable route redistribution from another routing protocol. Use undo import-route to disable route redistribution. Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | route-policy route-policy-name | tag tag ] * undo import-route protocol [ process-id | all-processes ] Default RIP does not redistribute routes from any other routing protocol.
Examples # Redistribute static routes into RIP, and set the cost for redistributed routes to 4. system-view [Sysname] rip 1 [Sysname-rip-1] import-route static cost 4 Related commands default cost maximum load-balancing Use maximum load-balancing to specify the maximum number of equal-cost multi-path (ECMP) routes for load balancing. Use undo maximum load-balancing to restore the default.
Syntax network network-address [ wildcard-mask ] undo network network-address Default RIP is disabled on an interface. Views RIP view Predefined user roles network-admin Parameters network-address: Specifies a subnet address where an interface resides. wildcard-mask: Specifies an IP address wildcard mask. A wildcard mask can be thought of as a subnet mask, with 1s and 0s inverted. For example, a wildcard mask of 255.255.255.0 corresponds to a subnet mask of 0.0.0.255.
Views RIP view Predefined user roles network-admin Parameters time: Specifies the sending interval in the range of 10 to 100 milliseconds. count: Specifies the maximum number of RIP packets sent at each interval, in the range of 1 to 30. Examples # Configure all interfaces running RIP process 1 to send up to 10 RIP packets every 60 milliseconds.
Related commands validate-source-address preference Use preference to specify a preference for RIP routes. Use undo preference to restore the default. Syntax preference [ route-policy route-policy-name ] value undo preference Default The preference of RIP routes is 100. Views RIP view Predefined user roles network-admin Parameters route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Views User view Predefined user roles network-admin Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. Usage guidelines After executing the command, you are prompted to confirm the operation. Examples # Reset RIP process 100. reset rip 100 process Reset RIP process? [Y/N]:y reset rip statistics Use reset rip statistics to clear statistics for a RIP process.
Views System view Predefined user roles network-admin Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. The default is 1. Usage guidelines You must enable a RIP process before configuring global parameters for it. This restriction does not apply to configuring interface parameters. If you disable a RIP process, the configured interface parameters become invalid. Examples # Enable RIP process 1 and enter RIP view.
rfc2453: Uses the message format defined in RFC 2453 (IETF standard). simple: Specifies the simple authentication mode. Usage guidelines A newly configured key overwrites the old one, if any. Although you can specify an authentication mode for RIPv1 in interface view, the configuration does not take effect because RIPv1 does not support authentication. For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
Examples # Enable BFD for RIP on VLAN-interface 11. system-view [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] rip bfd enable rip bfd enable destination Use rip bfd enable destination to enable BFD single-hop echo detection for a specific destination. Use undo rip bfd enable to disable BFD for RIP. Syntax rip bfd enable destination ip-address undo rip bfd enable Default BFD single-hop echo detection for a specific destination is disabled on an interface.
Default A RIP interface advertises a default route if the RIP process that the interface runs is enabled to advertise a default route. Views Interface view Predefined user roles network-admin Parameters only: Advertises only a default route. originate: Advertises both a default route and other routes. cost: Specifies a cost for the default route, in the range of 1 to 15. The default is 1. no-originate: Advertises only non-default routes.
Predefined user roles network-admin Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. exclude-subip: Excludes secondary IP addresses from being enabled with RIP. Without this keyword, RIP is also enabled on secondary IP addresses of a RIP-enabled interface. Usage guidelines The rip enable command has a higher priority than the network command. Examples # Enable RIP process 100 on VLAN-interface 10.
Syntax rip max-packet-length value undo rip max-packet-length Default The maximum length of RIP packets is 512 bytes. Views Interface view Predefined user roles network-admin Parameters value: Sets the maximum length of RIP packets, in the range of 32 to 65535 bytes. Usage guidelines If the configured value in the rip max-packet-length command is greater than the MTU of an interface, the interface MTU value is used as the maximum length of RIP packets.
Predefined user roles network-admin Parameters route-policy route-policy-name: Uses the specified routing policy to add an additional metric for the routes matching it. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. value: Adds an additional metric to inbound routes, in the range of 0 to 16. Usage guidelines When a valid RIP route is received, the system adds a metric to it and then installs it into the routing table.
Views Interface view Predefined user roles network-admin Parameters route-policy route-policy-name: Uses the specified routing policy to add an additional metric for the routes matching it. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. value: Adds an additional metric to outbound routes, in the range of 1 to 16. Usage guidelines With the command configured on an interface, the metric of RIP routes sent on the interface will be increased.
Views System view Predefined user roles network-admin Parameters process-id: Specifies a RIP process by its ID in the range of 1 to 65535. Usage guidelines If the specified process ID does not exist, the MIB binding configuration fails. Deleting a RIP process bound to MIB operation deletes the MIB binding configuration. After the RIP process is deleted, MIB operation is bound to the RIP process with the smallest process ID. Examples # Bind MIB operation to RIP process 100.
Syntax rip poison-reverse undo rip poison-reverse Default The poison reverse function is disabled. Views Interface view Predefined user roles network-admin Examples # Enable the poison reverse function on VLAN-interface 10. system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip poison-reverse rip split-horizon Use rip split-horizon to enable the split horizon function. Use undo rip split-horizon to disable the split horizon function.
rip summary-address Use rip summary-address to configure RIPv2 to advertise a summary route on an interface. Use undo rip summary-address to remove the configuration. Syntax rip summary-address ip-address { mask-length | mask } undo rip summary-address ip-address { mask-length | mask } Default RIPv2 does not advertise a summary route. Views Interface view Predefined user roles network-admin Parameters ip-address: Specifies the destination IP address of the summary route.
Views Interface view Predefined user roles network-admin Parameters 1: Specifies the RIP version as RIPv1. 2: Specifies the RIP version as RIPv2. [ broadcast | multicast ]: Sends RIPv2 messages in broadcast mode or multicast mode (default). Usage guidelines If an interface has no RIP version configured, it uses the global RIP version. Otherwise, it uses the RIP version configured on it. An interface running RIPv1 can perform the following operations: • Sends RIPv1 broadcast messages.
Views RIP view Predefined user roles network-admin Parameters interface-type interface-number: Disables a specified interface from sending RIP messages. all: Disables all interfaces from sending RIP messages. Examples # Configure all VLAN interfaces to operate in silent mode except VLAN-interface 10. system-view [Sysname] rip 100 [Sysname-rip-100] silent-interface all [Sysname-rip-100] undo silent-interface vlan-interface 10 [Sysname-rip-100] network 131.108.0.
timers Use timers to configure RIP timers. Use undo timers to restore the default. Syntax timers { garbage-collect garbage-collect-value | suppress suppress-value | timeout timeout-value | update update-value } * undo timers { garbage-collect | suppress | timeout | update } * Default The garbage-collect timer is 120 seconds, the suppress timer is 120 seconds, the timeout timer is 180 seconds, and the update timer is 30 seconds.
[Sysname-rip-100] timers update 5 timeout 15 suppress 15 garbage-collect 30 validate-source-address Use validate-source-address to enable source IP address check on inbound RIP routing updates. Use undo validate-source-address to disable source IP address check. Syntax validate-source-address undo validate-source-address Default Source IP address check on inbound RIP routing updates is enabled.
Usage guidelines An interface prefers the RIP version configured on it over the global RIP version. If no RIP version is specified for the interface and the global version is RIPv1, the interface uses RIPv1, and it can send RIPv1 broadcasts, and receive RIPv1 broadcasts and unicasts. If no RIP version is specified for the interface and the global version is RIPv2, the interface uses RIPv2 multicast mode, and it can send RIPv2 multicasts, and receive RIPv2 broadcasts, multicasts, and unicasts.
OSPF commands abr-summary (OSPF area view) Use abr-summary to configure a summary route on an area border router (ABR). Use undo abr-summary to remove a summary route. Syntax abr-summary ip-address { mask-length | mask } [ advertise | not-advertise ] [ cost cost ] undo abr-summary ip-address { mask-length | mask } Default No route summarization is configured on an ABR.
area (OSPF view) Use area to create an area and enter area view. Use undo area to remove an area. Syntax area area-id undo area area-id Default No OSPF area is created. Views OSPF view Predefined user roles network-admin Parameters area-id: Specifies an area by its ID, 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. Examples # Create area 0 and enter area 0 view.
mask: Specifies the mask in dotted decimal notation. cost cost: Specifies the cost of the summary route, in the range of 1 to 16777214. Without this option, the cost of Type-1 external routes defaults to the largest cost among routes that are summarized, and the cost of Type-2 external routes defaults to the largest cost among routes that are summarized plus 1. not-advertise: Disables advertising the summary route. Without this keyword, the command advertises the route.
undo authentication-mode Default No authentication is performed for an area. Views OSPF area view Predefined user roles network-admin Parameters hmac-md5: Specifies the HMAC-MD5 authentication mode. md5: Specifies the MD5 authentication mode. simple: Specifies the simple authentication mode. key-id: Specifies a key by its ID in the range of 0 to 255. cipher: Sets a ciphertext key. plain: Sets a plaintext key. password: Specifies a password.
[Sysname-ospf-100-area-0.0.0.0] authentication-mode md5 15 plain abc Related commands ospf authentication-mode bandwidth-reference (OSPF view) Use bandwidth-reference to specify a reference bandwidth value for link cost calculation. Use undo bandwidth-reference to restore the default value. Syntax bandwidth-reference value undo bandwidth-reference Default The default value is 100 Mbps.
default Use default to configure default parameters for redistributed routes. Use undo default to remove the configuration. Syntax default { cost cost | tag tag | type type } * undo default { cost | tag | type } * Default The cost is 1, the tag is 1, and the route type is 2. Views OSPF view Predefined user roles network-admin Parameters cost cost: Specifies the default cost for redistributed routes, in the range of 0 to 16777214.
Parameters cost: Specifies a cost for the default route advertised to the Stub or NSSA area, in the range of 0 to 16777214. Usage guidelines This command takes effect only on the ABR of a stub area or the ABR/ASBR of an NSSA area. Examples # Configure Area 1 as a stub area, and specify the cost of the default route advertised to the stub area as 20. system-view [Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] stub [Sysname-ospf-100-area-0.0.0.
cost cost: Specifies a cost for the default route, in the range of 0 to 16777214. If no cost is specified, the default cost specified by the default cost command applies. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters.
Usage guidelines The description specified by this command is used to identify an OSPF process or area. Examples # Describe OSPF process 100 as abc. system-view [Sysname] ospf 100 [Sysname-ospf-100] description abc # Describe OSPF area 0 as bone area. system-view [Sysname] ospf 100 [Sysname-ospf-100] area 0 [Sysname-ospf-100-area-0.0.0.0] description bone area discard-route Use discard-route to configure discard routes for summary networks.
[Sysname-ospf-100] discard-route external 100 internal 200 display ospf Use display ospf to display OSPF process information. Syntax In standalone mode: display ospf [ process-id ] [ verbose ] [ standby slot slot-number ] In IRF mode: display ospf [ process-id ] [ verbose ] [ standby chassis chassis-number slot slot-number ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535.
SPF-schedule-interval: 5 50 200 LSA generation interval: 5 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 RFC 1583 compatible Graceful restart interval: 120 SNMP trap rate limit interval: 2 Count: 300 This process is currently bound to MIB Area count: 1 NSSA area count: 1 External areas with up interfaces: 0 NSSA areas with up interfaces: 1 Up interfaces: 1 ExChang
Table 19 Command output Field Description OSPF Process 1 with Router ID 192.168.1.2 OSPF process ID and OSPF router ID. RouterID Router ID. Router type: Router type • • • • ABR. ASBR. NSSA. Null. Route tag Tag of redistributed routes. Opaque capable Opaque LSA advertisement and reception capability is enabled. Originating router-LSAs with maximum metric The maximum cost value for router LSAs (excluding stub links) is used. Status of the stub router: Condition • • • • Always.
Field Description Route calculation trigger type: • • • • • Calculation trigger type Full—Calculation of all routes is triggered. Area topology change—Topology change in an area. Intra router change—Incremental intra-area route change. ASBR change—Incremental ASBR route change. 7to5 translator—Type-7-to-Type-5 LSA translator role change. • Full IP prefix—Calculation of all IP prefixes is triggered. • Full intra AS—Calculation of all intra-AS prefixes is triggered.
Field Description Current process reset type: Current reset type • • • • N/A—The process is not reset. Normal—Normal reset. GR quit—Normal reset when GR quits abnormally. Delete—Delete OSPF process. Next process reset type: Next reset type • • • • N/A—The process is not reset. Normal—Normal reset. GR quit—Normal reset when GR quits abnormally. Delete—Delete OSPF process. Modules that reply reset prepare messages: Reset prepare message replied • • • • P—Neighbor maintenance module.
Field Description Reset phase of each module: • Main control module: { N/A—Not reset. { Delete area. { Delete process. • Neighbor maintenance (P) module: { N/A—Not reset. { Delete neighbor. { Delete interface. { Delete vlink—Delete virtual link. { Delete shamlink—Delete sham link. • LSDB synchronization (L) module: Reset phase of module { N/A—Not reset. { Stop timer. { Delete ASE—Delete all ASE LSAs. { Delete ASE maps—Delete ASE LSA maps. { Clear process data.
Field Description Authentication type of the area: Authtype • None—No authentication. • Simple—Simple authentication. • MD5—MD5 authentication. Type of the area: Area flag • • • • • Normal. Stub. StubNoSummary (totally stub area). NSSA. NSSANoSummary (totally NSSA area). SPF scheduled Count SPF calculation count in the OSPF area. Interface Interface in the area. Cost Interface cost. State Interface state. Type Interface network type. MTU Interface MTU. Priority Router priority.
Usage guidelines If you use this command on routers in a stub area, the commands displays no ASBR information. Examples # Display brief information about routes to the ABR or ASBR. display ospf abr-asbr OSPF Process 1 with Router ID 192.168.1.2 Routing Table to ABR and ASBR Type Destination Area Cost Nexthop RtType Inter 3.3.3.3 0.0.0.0 3124 10.1.1.2 ASBR Intra 2.2.2.2 0.0.0.0 1562 10.1.1.2 ABR # Display detailed information about routes to the ABR or ASBR.
Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays information about ABR summary routes for all OSPF processes. area area-id: Specifies an OSPF area by its ID, which is an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format.
ABR Summary Addresses Total summary address count: 1 Area: 0.0.0.1 Total summary addresses: 1 Net : 100.0.0.0 Mask : 255.0.0.0 Status : Advertise Cost : (Not Configured) Routes count: 1 Destination NetMask Metric 100.1.1.0 255.255.255.0 1000 Table 22 Command output Field Description Destination Destination address of a summarized route. NetMask Network mask of a summarized route. Metric Metric of a summarized route.
Examples # Display information about all summarized redistributed routes for OSPF process 1. display ospf 1 asbr-summary OSPF Process 1 with Router ID 2.2.2.2 Summary Addresses Total Summary Address Count: 1 Summary Address Net : 30.1.0.0 Mask : 255.255.0.0 Tag : 20 Status : Advertise Cost : 10 (Configured) The Count of Route is : 2 Destination Net Mask Proto Process Type Metric 30.1.2.0 255.255.255.0 OSPF 2 2 1 30.1.1.0 255.255.255.
display ospf event-log spf Use display ospf event-log spf to display OSPF route calculation log information for a process. Syntax display ospf [ process-id ] event-log spf Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays OSPF route calculation log information for all processes.
Field Description Reasons why the route calculation is performed: • • • • • Intra-area LSA—Intra-area LSA changes. Inter-area LSA—Inter-area LSA changes. External LSA—External LSA changes. Configuration—Configuration changes. Area 0 full neighbor number—Number of FULL-state neighbors in Area 0 changes. • Area 0 up interface number—Number of interfaces in up state in Area 0 Reason changes. • • • • • • LSDB overflow state—Overflow status changes. AS number—AS number changes.
10.0.1.1 10.0.1.2 Vlan10 10.0.11.1 10.0.11.2 Vlan20 Table 25 Command output Field Description Area Area to which the backup next hops belong. Candidate nexthop count Number of backup next hops. NextHop Backup next hop address. IntIP IP address of the output interface. Interface Output interface. display ospf graceful-restart Use display ospf graceful-restart to display GR information for an OSPF process.
Restarter : None Helper : None Area: 0.0.0.0 Authtype: None Area flag: Normal Area up Interface count: 2 Interface: 40.4.0.1 (Vlan-interface40) Restarter state: Normal State: P-2-P Type: PTP Last exit reason: Restarter : None Helper : None Neighbor count of this interface: 1 Number of neighbors under Helper: 0 Neighbor IP address GR state Last Helper exit reason 3.3.3.3 40.4.0.3 Normal None Virtual-link Neighbor-ID -> 4.4.4.4, Neighbor-State: Full Restarter state: Normal Interface: 20.
Field Description Helper capability that the process supports: • Enable (IETF)—Supports IETF GR helper capability. • Enable (Nonstandard)—Supports non IETF GR helper capability. Helper capability • Enable (IETF and nonstandard)—Supports both IETF GR helper capability and non IETF GR helper capability. • Disable—Does not support GR helper capability.
Field Description Neighbor GR state: • Normal—Normal state. • Under GR—GR is in process. • Under Helper—The process is acting as GR helper. GR state Last Helper exit reason Reason that the helper exited last time. Virtual-link Neighbor-ID Router ID of the virtual link's neighbor. Neighbor-State Neighbor state: Down, Init, 2-Way, ExStart, Exchange, Loading, and Full. Interface Output interface of the virtual link.
Examples # Display all OSPF interface brief information. display ospf interface OSPF Process 1 with Router ID 192.168.1.1 Interfaces Area: 0.0.0.0 IP Address Type State Cost Pri DR BDR 192.168.1.1 PTP P-2-P 1562 1 0.0.0.0 0.0.0.0 IP Address Type State Cost Pri DR BDR 172.16.0.1 Broadcast DR 1 1 172.16.0.1 0.0.0.0 Area: 0.0.0.1 Table 27 Command output Field Description Area Area ID of the interface.
Designated router: 172.16.0.1 Backup designated router: 0.0.0.0 Timers: Hello 10, Dead 40, Poll 40, Retransmit 5, Transmit Delay 1 FRR backup: Enabled Enabled by interface configuration (including secondary IP addresses) MD5 authentication enabled. The last key is 3. The rollover is in progress, 2 neighbor(s) left. Table 28 Command output Field Description Interface Information about the interface, such as the IP address. Timers OSPF timers: hello, dead, poll, retransmit, and transmit delay.
area area-id: Specifies an OSPF area by its ID, which is an IP address or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format. Without this option, the command displays LSDB information for all OSPF areas. brief: Displays brief LSDB information. asbr: Displays Type-4 LSA (ASBR Summary LSA) information in the LSDB. ase: Displays Type-5 LSA (AS External LSA) information in the LSDB. network: Displays Type-2 LSA (Network LSA) information in the LSDB.
*Opq-Link 3.0.0.0 7.2.2.1 8 14 80000001 10.1.1.2 *Opq-Link 3.0.0.0 7.2.2.2 8 14 80000001 20.1.1.2 Table 29 Command output Field Description Area LSDB information of the area. Type LSA type. LinkState ID Link state ID. AdvRouter Advertising router. Age Age of the LSA. Len Length of the LSA. Sequence Sequence number of the LSA. Metric Cost of the LSA. *Opq-Link Opaque LSA generated by a virtual link. # Display Type-2 LSA (Network LSA) information in the LSDB.
Table 30 Command output Field Description Type LSA type. LS ID DR IP address. Adv Rtr Router that advertised the LSA. LS Age LSA age time. Len LSA length. LSA options: • • • • • • Options O—Opaque LSA advertisement capability. E—AS External LSA reception capability. EA—External extended LSA reception capability. DC—On-demand link support. N—NSSA external LSA support. P—Capability of an NSSA ABR to translate Type-7 LSAs into Type-5 LSAs. Seq# LSA sequence number. Checksum LSA checksum.
1.1.1.2 4.4.4.4 Loop1 1 Valid 1.1.1.1 1.1.1.1 Vlan1 3 Valid 1.1.1.2 1.1.1.2 Vlan1 4 Valid Table 31 Command output Field Description NbrId Neighbor router ID. Nexthop Next hop address. Interface Output interface. RefCount Reference count (routes that reference the next hop). Status Next hop status: valid or invalid. display ospf peer Use display ospf peer to display information about OSPF neighbors.
slot-number argument specifies the slot number of the card. Without this option, the command displays OSPF neighbor information. (In IRF mode.) Examples # Display detailed OSPF neighbor information. display ospf peer verbose OSPF Process 1 with Router ID 1.1.1.1 Neighbors Area 0.0.0.0 interface 1.1.1.1(Vlan-interface1)'s neighbors Router ID: 1.1.1.2 Address: 1.1.1.2 State: Full Mode: Nbr is master DR: 1.1.1.2 BDR: 1.1.1.
Field Description Neighbor state: • Down—Initial state of a neighbor conversation. • Init—The router has seen a Hello packet from the neighbor. However, the router has not established bidirectional communication with the neighbor (the router itself did not appear in the neighbor's hello packet).
# Display brief OSPF neighbor information. display ospf peer OSPF Process 1 with Router ID 1.1.1.1 Neighbor Brief Information Area: 0.0.0.0 Router ID Address Pri Dead-Time Interface State 1.1.1.2 1.1.1.2 1 Full/DR 40 Vlan1 Sham link: 11.11.11.11 -> 22.22.22.22 Router ID Address Pri Dead-Time State 22.22.22.22 22.22.22.22 1 36 Full Table 33 Command output Field Description Area Neighbor area. Router ID Neighbor router ID. Address Neighbor interface address.
Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays OSPF neighbor statistics for all OSPF processes. standby slot slot-number: Displays backup OSPF neighbor statistics of a card. Without this option, the command displays OSPF neighbor statistics. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup OSPF neighbor statistics of a card on an IRF member device.
Syntax display ospf [ process-id ] request-queue [ interface-type interface-number ] [ neighbor-id ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays the OSPF request queue information for all OSPF processes. interface-type interface-number: Specifies an interface by its type and number.
display ospf retrans-queue Use display ospf retrans-queue to display retransmission queue information. Syntax display ospf [ process-id ] retrans-queue [ interface-type interface-number ] [ neighbor-id ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Without this argument, the command displays retransmission queue information for all OSPF processes.
Field Description Age LSA age. display ospf routing Use display ospf routing to display OSPF routing information. Syntax display ospf [ process-id ] routing [ ip-address { mask-length | mask } ] [ interface interface-type interface-number ] [ nexthop nexthop-address ] [ verbose ] Views Any view Predefined user roles network-admin network-operator Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535.
172.16.0.0/16 1563 Inter 192.168.1.1 192.168.1.1 0.0.0.0 Total Nets: 2 Intra Area: 1 Inter Area: 1 ASE: 0 NSSA: 0 Table 37 Command output Field Description Destination Destination network. Cost Cost to destination. Type Route type: intra-area, transit, stub, inter-area, Type-1 external, Type-2 external. NextHop Next hop address. AdvRouter Advertising router. Area Area ID. Total Nets Total networks. Intra Area Total intra-area routes. Inter Area Total inter-area routes.
Total Nets: 2 Intra Area: 2 Inter Area: 0 ASE: 0 NSSA: 0 Table 38 Command output Field Description SubProtoID Sub protocol ID. Preference OSPF route preference. NbrId Neighbor router ID. NextHop Primary next hop IP address. BkNextHop Backup next hop IP address. IfType Type of the network to which the primary next hop belongs. BkIfType Type of the network to which the backup next hop belongs. Interface Output interface. BkInterface Backup output interface. NibID Next hop ID.
verbose: Displays detailed OSPF topology information. Without this keyword, the command displays brief OSPF topology information. Examples # Display brief topology information for area 0 in OSPF process 1. display ospf 1 area 0 spf-tree OSPF Process 1 with Router ID 100.0.0.
Field Description SPF link, representing the peer node. Link type: • RT2RT—Router to router. • NET2RT—Network to router. • RT2NET—Router to network. Link flag: • • • • • • SpfLink I—The link is in initialization state. P—The peer is the parent node. C—The peer is the child node. D—The link is to be deleted. H—The next hop is changed. V—When the peer node is deleted or added, the peer node is not on the SPF tree or is deleted. • N—The link is newly added, and both end nodes are on the SPF tree.
LinkData: 0.0.0.0 LinkNewCost: 0 LinkFlag : P Table 40 Command output Field Description LsId Link state ID. AdvId ID of the advertising router. NodeType • Network—Network node. • Router—Router node. Mask Network mask. Its value is 0 for a router node. SPFLinkCnt Number of SPF links. Distance Cost to the root node. VlinkData Destination address of virtual link packets. ParentLinkCnt Number of parent links.
Field Description Link flag: • • • • • • LinkFlag I—The link is in initialization state. P—The peer is the parent node. C—The peer is the child node. D—The link is to be deleted. H—The next hop is changed. V—When the peer node is deleted or added, the peer node is not on the SPF tree or is deleted. • N—The link is newly added, and both end nodes are on the SPF tree. • G—The link is on the area change list. display ospf statistics Use display ospf statistics to display OSPF statistics.
LSAs originated by this router Router : 4 Network : 0 Sum-Net : 0 Sum-Asbr: 0 External: 0 NSSA : 0 Opq-Link: 0 Opq-Area: 0 Opq-As : 0 LSAs originated: 4 LSAs received: 7 Routing table: Intra area: 2 Inter area: 3 ASE/NSSA: 0 Table 41 Command output Field Description I/O statistics Statistics about input/output packets and LSAs. Type OSPF packet type. Input Packets received. Output Packets sent. Hello Hell packet. DB Description Database Description packet.
Field Description Inter area Number of inter-area routes. ASE Number of ASE routes. # Display OSPF error statistics. display ospf statistics error OSPF Process 1 with Router ID 192.168.1.
Field Description HELLO: Hello-time mismatch Hello packets with mismatched hello timer. HELLO: Dead-time mismatch Hello packets with mismatched dead timer. HELLO: Ebit option mismatch Hello packets with mismatched E-bit in the option field. DD: MTU option mismatch DD packets with mismatched MTU. DD: Unknown LSA type DD packets with unknown LSA type. DD: Ebit option mismatch DD packets with mismatched E-bit in the option field. ACK: Bad ack Bad LSAck packets for LSU packets.
Examples # Display OSPF virtual link information. display ospf vlink OSPF Process 1 with Router ID 3.3.3.3 Virtual Links Virtual-link Neighbor-ID -> 2.2.2.2, Neighbor-State: Full Interface: 10.1.2.1 (Vlan-interface1) Cost: 1562 State: P-2-P Type: Virtual Transit Area: 0.0.0.1 Timers: Hello 10 , Dead 40 , Retransmit 5 , Transmit Delay 1 MD5 authentication enabled. The last key is 3. The rollover is in progress, 2 neighbor(s) left.
display router id Configured router ID is 1.1.1.1 dscp Use dscp to configure a DSCP value for outgoing OSPF packets. Use undo dscp to restore the default. Syntax dscp dscp-value undo dscp Default The DSCP value for outgoing OSPF packets is 48. Views OSPF view Predefined user roles network-admin Parameters dscp-value: Specifies a DSCP value in the range of 0 to 63 for outgoing OSPF packets. Examples # Set the DSCP value for outgoing OSPF packets to 63 in OSPF process 1.
system-view [Sysname] ospf 1 [Sysname-ospf-1] enable link-local-signaling enable out-of-band-resynchronization Use enable out-of-band-resynchronization to enable the OSPF out-of-band resynchronization (OOB-Resynch) capability. Use undo enable out-of-band-resynchronization to disable the OSPF out-of-band resynchronization capability. Syntax enable out-of-band-resynchronization undo enable out-of-band-resynchronization Default The OSPF out-of-band resynchronization capability is disabled.
Views OSPF view Predefined user roles network-admin Parameters lfa: Uses the LFA algorithm to calculate a backup next hop for all routes. abr-only: Uses the next hop of the route to the ABR as the backup next hop. route-policy route-policy-name: Uses a routing policy to designate a backup next hop. The route-policy-name argument is a case-sensitive string of 1 to 63 characters. Usage guidelines Do not use OSPF FRR and BFD for OSPF at the same time. Otherwise, OSPF FRR might fail to work.
prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter inbound/outbound Type-3 LSAs. route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter inbound/outbound Type-3 LSAs. export: Filters Type-3 LSAs advertised to other areas. import: Filters Type-3 LSAs advertised into the local area.
• To deny/permit a route with the specified destination, use the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard command. • To deny/permit a route with the specified destination and mask, use the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard destination dest-addr dest-wildcard command. The source keyword specifies the destination address of a route and the destination keyword specifies the subnet mask of the route. The specified subnet mask must be contiguous.
Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter received routes by destination. gateway prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter received routes by next hop. prefix-list prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters, to filter received routes by destination.
Default OSPF GR is disabled. Views OSPF view Predefined user roles network-admin Parameters ietf: Enables IETF GR. nonstandard: Enables non-IETF GR. global: Enables global GR. In global GR mode, a GR process can be completed only when all GR helpers exist. A GR process fails if a GR helper fails (for example, the interface connected to the GR helper goes down). Without this keyword, this command enables partial GR. In partial GR mode, a GR process can be completed if a GR helper exists.
• enable out-of-band-resynchronization • opaque-capability enable graceful-restart helper enable Use graceful-restart helper enable to enable OSPF GR helper capability. Use undo graceful-restart helper enable to disable OSPF GR helper capability. Syntax graceful-restart helper enable [ planned-only ] undo graceful-restart helper enable Default OSPF GR helper capability is enabled. Views OSPF view Predefined user roles network-admin Parameters planned-only: Enable only planned GR for the GR helper.
Predefined user roles network-admin Usage guidelines When an LSA change on the GR helper is detected, the GR helper device exits the GR helper mode. Examples # Enable strict LSA checking capability for GR helper in OSPF process 1. system-view [Sysname] ospf 1 [Sysname-ospf-1] graceful-restart helper strict-lsa-checking graceful-restart interval (OSPF view) Use graceful-restart interval to configure the GR interval. Use undo graceful-restart interval to restore the default GR interval.
Syntax host-advertise ip-address cost undo host-advertise ip-address Default No host route is advertised. Views OSPF area view Predefined user roles network-admin Parameters ip-address: Specifies the IP address of a host. cost: Specifies a cost for the route, in the range of 1 to 65535. Examples # Advertise host route 1.1.1.1 with a cost of 100. system-view [Sysname] ospf 100 [Sysname-ospf-100] area 0 [Sysname-ospf-100-area-0.0.0.0] host-advertise 1.1.1.
all-processes: Redistributes routes from all the processes of the specified routing protocol. This keyword takes effect only when the protocol is rip, ospf, or isis. allow-ibgp: Allows redistribution of IBGP routes. It is available only when the protocol is bgp. cost cost: Specifies a route cost in the range of 0 to 16777214. The default is 1. nssa-only: Limits the route advertisement to the NSSA area by setting the P-bit of Type-7 LSAs to 0. By default, the P-bit of Type-7 LSAs is set to 1.
Related commands default-route-advertise (OSPF view) ispf enable Use ispf enable to enable OSPF incremental SPF (ISPF). Use undo ispf enable to disable OSPF ISPF. Syntax ispf enable undo ispf enable Default OSPF ISPF is enabled. Views OSPF view Predefined user roles network-admin Usage guidelines Upon topology changes, ISPF recomputes only the affected part of the SPT, instead of the entire SPT. Examples # Enable ISPF for OSPF process 100.
Usage guidelines This command enables output of OSPF neighbor state changes to the information center. The information center processes the logs according to user-defined output rules (whether to output logs and where to output). For more information about the information center, see Network Management and Monitoring Configuration Guide. Examples # Disable the logging of neighbor state changes for OSPF process 100.
lsdb-overflow-interval Use lsdb-overflow-interval to configure the interval that OSPF exits overflow state. Use undo lsdb-overflow-interval to restore the default. Syntax lsdb-overflow-interval interval undo lsdb-overflow-interval Default The OSPF exit overflow interval is 300 seconds. Views OSPF view Predefined user roles network-admin Parameters interval: Specifies the interval that OSPF exits overflow state, in the range of 0 to 2147483647 seconds.
Predefined user roles network-admin Parameters maximum-interval: Specifies the maximum LSA generation interval in the range of 1 to 60 seconds. minimum-interval: Specifies the minimum LSA generation interval in the range of 10 to 60000 milliseconds. incremental-interval: Specifies the LSA generation incremental interval in the range of 10 to 60000 milliseconds. Usage guidelines When network changes are not frequent, LSAs are generated at the minimum-interval.
system-view [Sysname] ospf 100 [Sysname-ospf-100] lsdb-overflow-limit 400000 maximum load-balancing (OSPF view) Use maximum load-balancing to specify the maximum number of equal-cost multi-path (ECMP) routes for load balancing. Use undo maximum load-balancing to restore the default. Syntax maximum load-balancing maximum undo maximum load-balancing Views OSPF view Predefined user roles network-admin Parameters maximum: Specifies the maximum number of ECMP routes.
Default OSPF is not enabled for any interface. Views OSPF area view Predefined user roles network-admin Parameters ip-address: Specifies the IP address of a network. wildcard-mask: Specifies the wildcard mask of the IP address. For example, the wildcard mask of mask 255.0.0.0 is 0.255.255.255. Usage guidelines This command enables OSPF on the interface attached to the specified network. The interface's primary IP address must be in the specified network.
Parameters default-route-advertise: Used on an NSSA ABR or an ASBR only. If it is configured on an NSSA ABR, the ABR generates a default route in a Type-7 LSA into the NSSA area regardless of whether a default route is available in the routing table. If it is configured on an ASBR, the ASBR generates a default route in a Type-7 LSA only when the default route is available in the routing table. cost cost: Specifies a cost for the default route, in the range of 0 to 16777214.
opaque-capability enable Use opaque-capability enable to enable opaque LSA advertisement and reception. Use undo opaque-capability to disable opaque LSA advertisement and reception. Syntax opaque-capability enable undo opaque-capability Default The feature is enabled. Views OSPF view Predefined user roles network-admin Usage guidelines After the opaque LSA advertisement and reception is enabled, OSPF can receive and advertise Type-9, Type-10, and Type-11 opaque LSAs.
Usage guidelines You can enable multiple OSPF processes on a router and specify different router IDs for them. Enable an OSPF process before performing other tasks. Examples # Enable OSPF process 100 and specify router ID 10.10.10.1. system-view [Sysname] ospf 100 router-id 10.10.10.1 [Sysname-ospf-100] ospf area Use ospf area to enable OSPF on an interface. Use undo ospf area to remove the configuration.
ospf authentication-mode Use ospf authentication-mode to set the authentication mode and key on an interface. Use undo ospf authentication-mode to remove specified configuration.
During key rollover, OSPF sends multiple packets that contain both the new and old MD5/HMAC-MD5 authentication keys to make sure all neighbor devices can pass the authentication. 2. Configure the new MD5/HMAC-MD5 authentication key on all neighbor devices. When the local device receives packets with the new key from all neighbor devices, it exits MD5 key rollover. 3. Delete the old MD5/HMAC-MD5 authentication key from the local device and all its neighbors.
Views Interface view Predefined user roles network-admin Parameters echo: Enables BFD single-hop echo detection. Without this keyword, this command enables BFD bidirectional control detection. Usage guidelines Do not use OSPF FRR and BFD for OSPF at the same time. Otherwise, OSPF FRR might fail to take effect. Examples # Enable BFD for OSPF on VLAN-interface 11. system-view [Sysname] ospf [Sysname-ospf-1] area 0 [Sysname-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.
[Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf cost 65 Related commands bandwidth-reference ospf dr-priority Use ospf dr-priority to set the router priority for DR/BDR election on an interface. Use undo ospf dr-priority to restore the default value. Syntax ospf dr-priority priority undo ospf dr-priority Default The router priority is 1.
Views Interface view Predefined user roles network-admin Usage guidelines If you enable LFA on an interface, it can be selected as a backup interface. After you disable LFA on the interface, it cannot be selected as a backup. Examples # Disable VLAN-interface 11 from calculating a backup next hop by using the LFA algorithm.
ospf mtu-enable Use ospf mtu-enable to enable an interface to add the interface MTU into DD packets. Use undo ospf mtu-enable to restore the default. Syntax ospf mtu-enable undo ospf mtu-enable Default The MTU in DD packets is 0. Views Interface view Predefined user roles network-admin Usage guidelines After a virtual link is established through a Virtual-Template or Tunnel, two devices on the link from different vendors might have different MTU values.
Predefined user roles network-admin Parameters broadcast: Specifies the network type as broadcast. nbma: Specifies the network type as NBMA. p2mp: Specifies the network type as P2MP. unicast: Specifies the P2MP interface to unicast OSPF packets. By default, a P2MP interface multicasts OSPF packets. p2p: Specifies the network type as P2P. Usage guidelines If a router on a broadcast network does not support multicast, configure the network type for the connected interfaces as NBMA.
Views Interface view Predefined user roles network-admin Parameters disable: Disables prefix suppression on an interface. Usage guidelines To disable prefix suppression on an interface associated with an OSPF process that has been enabled with prefix suppression, execute the ospf prefix-suppression disable command on that interface. For more information, see "prefix-suppression." Examples # Enable prefix suppression on VLAN-interface 10.
Examples # Configure the dead interval for VLAN-interface 10 as 60 seconds. system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf timer dead 60 Related commands ospf timer hello ospf timer hello Use ospf timer hello to set the hello interval on an interface. Use undo ospf timer hello to restore the default.
Syntax ospf timer poll seconds undo ospf timer poll Default The poll interval is 120 seconds on an interface. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies the poll interval in the range of 1 to 2147483647 seconds. Usage guidelines When an NBMA interface finds its neighbor is down, it sends hello packets at the poll interval. The poll interval must be at least four times the hello interval.
Usage guidelines After sending an LSA, an interface waits for an acknowledgement packet. If the interface receives no acknowledgement within the retransmission interval, it retransmits the LSA. To avoid unnecessary retransmissions, set an appropriate retransmission interval. For example, you can set a large retransmission interval value on a low-speed link. Examples # Set the LSA retransmission interval to 8 seconds on VLAN-interface 10.
Syntax peer ip-address [ cost value | dr-priority dr-priority ] undo peer ip-address Default No neighbor is specified. Views OSPF view Predefined user roles network-admin Parameters ip-address: Specifies a neighbor by its IP address. cost value: Specifies the cost to reach the neighbor, in the range of 1 to 65535. dr-priority dr-priority: Specifies the DR priority for the neighbor, in the range of 0 to 255. The default neighbor DR priority is 1. Usage guidelines Because routers on an X.
Default OSPF PIC is enabled. Views OSPF view Predefined user roles network-admin Parameters additional-path-always: Allows the indirect suboptimal route as the backup route. Usage guidelines Prefix Independent Convergence (PIC) enables the device to speed up network convergence by ignoring the number of prefixes. PIC applies to only inter-area routes and external routes. When both OSPF PIC and OSPF FRR are configured, OSPF FRR takes effect.
Usage guidelines If multiple routing protocols find routes to the same destination, the router uses the route found by the protocol with the highest preference. Examples # Set a preference of 200 for OSPF external routes. system-view [Sysname] ospf 100 [Sysname-ospf-100] preference ase 200 # Use a routing policy to set a preference of 100. system-view [Sysname] ip prefix-list test index 10 permit 100.1.1.
[Sysname] ip prefix-list test index 10 permit 100.1.1.
reset ospf statistics Use reset ospf statistics to clear OSPF statistics. Syntax reset ospf [ process-id ] statistics Views User view Predefined user roles network-admin Parameters process-id: Clears the statistics for an OSPF process specified by its ID in the range of 1 to 65535. Examples # Clear OSPF statistics for all processes. reset ospf statistics reset ospf process Use reset ospf process to restart all OSPF processes or a specified process.
Reset OSPF process? [Y/N]:y reset ospf redistribution Use reset ospf redistribution to restart route redistribution. Syntax reset ospf [ process-id ] redistribution Views User view Predefined user roles network-admin Parameters process-id: Specifies an OSPF process by its ID in the range of 1 to 65535. Usage guidelines If no process ID is specified, this command restarts route redistribution for all OSPF processes. Examples # Restart route redistribution.
{ If RFC 2328 is not compatible with RFC 1583, the intra-area route in a non-backbone area is preferred to reduce the burden of the backbone area. The inter-area route and intra-area route in the backbone area have equal preference. 2. Selects the route with lower cost if two routes have equal preference. 3. Selects the route with larger originating area ID if two routes have equal cost. To avoid routing loops, HP recommends setting identical RFC 1583-compatibility on all routers in a routing domain.
Examples # Configure a global router ID as 1.1.1.1. system-view [Sysname] router id 1.1.1.1 silent-interface (OSPF view) Use silent-interface to disable an interface or all interfaces from receiving and sending OSPF packets. Use undo silent-interface to remove the configuration. Syntax silent-interface { interface-type interface-number | all } undo silent-interface { interface-type interface-number | all } Default An interface can receive and send OSPF packets.
undo snmp-agent trap enable ospf [ authentication-failure | bad-packet | config-error | grhelper-status-change | grrestarter-status-change | if-state-change | lsa-maxage | lsa-originate | lsdb-approaching-overflow | lsdb-overflow | neighbor-state-change | nssatranslator-status-change | retransmit | virt-authentication-failure | virt-bad-packet | virt-config-error | virt-retransmit | virtgrhelper-status-change | virtif-state-change | virtneighbor-state-change ] * Default SNMP notifications for OSPF is enabl
snmp trap rate-limit Use snmp trap rate-limit to configure the maximum number of output SNMP notifications within a specified time interval. Use undo snmp trap rate-limit to restore the default. Syntax snmp trap rate-limit interval trap-interval count trap-number undo snmp trap rate-limit Default OSPF outputs up to seven SNMP notifications within 10 seconds.
Parameters maximum-interval: Specifies the maximum OSPF SPF calculation interval in the range of 1 to 60 seconds. minimum-interval: Specifies the minimum OSPF SPF calculation interval in the range of 10 to 60000 milliseconds. incremental-interval: Specifies the incremental OSPF SPF calculation interval in the range of 10 to 60000 milliseconds. Usage guidelines Based on the LSDB, an OSPF router uses SPF to calculate a shortest path tree with itself as the root.
no-summary: Used only on a stub ABR. With this keyword, the ABR advertises only a default route in a Type-3 LSA into the stub area without advertising any other Type-3 LSAs (such a stub area is a totally stub area). Usage guidelines To remove the default-route-advertise-always or stub no-summary configuration on the ABR, execute the stub command again to overwrite it. To configure an area as a stub area, issue the stub command on all routers attached to the area.
Usage guidelines The router LSAs sent by the stub router over different links contain different link type values. A value of 3 represents a link to a stub network, and the cost of the link is not changed. A value of 1, 2, or 4 represents a point-to-point link, a link to a transit network, or a virtual link, and the cost of such links is set to 65535. Neighbors on such links will not send packets to the stub router as long as they have a route with a smaller cost. Examples # Configure a stub router.
vlink-peer (OSPF area view) Use vlink-peer to configure a virtual link. Use undo vlink-peer to remove a virtual link. Syntax vlink-peer router-id [ dead seconds | hello seconds | { { hmac-md5 | md5 } key-id { cipher cipher-string | plain plain-string } | simple { cipher cipher-string | plain plain-string } } | retransmit seconds | trans-delay seconds ] * undo vlink-peer router-id [ dead | hello | { hmac-md5 | md5 } key-id | retransmit | simple | trans-delay ] * Default No virtual link is configured.
• The smaller the hello interval is, the faster the network converges, and the more network resources are consumed. • A retransmission interval that is too small can cause unnecessary retransmissions. A large value is appropriate for a low speed link. • Specify an appropriate transmission delay with the trans-delay keyword. For security purposes, all keys, including keys configured in plain text, are saved in cipher text.
IS-IS commands area-authentication-mode Use area-authentication-mode to specify an area authentication mode and a password. Use undo area-authentication-mode to restore the default. Syntax area-authentication-mode { md5 | simple } { cipher cipher-string | plain plain-string } [ ip | osi ] undo area-authentication-mode Default No area authentication or password is configured. Views IS-IS view Predefined user roles network-admin Parameters md5: Specifies the MD5 authentication mode.
[Sysname] isis 1 [Sysname-isis-1] area-authentication-mode simple plain 123456 Related commands • domain-authentication-mode • isis authentication-mode auto-cost enable Use auto-cost enable to enable automatic link cost calculation. Use undo auto-cost enable to disable the function. Syntax auto-cost enable undo auto-cost enable Default This function is disabled.
Related commands • bandwidth-reference • cost-style • isis cost bandwidth-reference (IS-IS view) Use bandwidth-reference to set the bandwidth reference value for automatic link cost calculation. Use undo bandwidth-reference to restore the default. Syntax bandwidth-reference value undo bandwidth-reference Default The bandwidth reference value is 100 Mbps.
Views IS-IS view Predefined user roles network-admin Parameters value: Specifies the link cost value. The value range varies by cost style. • For styles narrow, narrow-compatible, and compatible, the cost value is in the range of 0 to 63. • For styles wide and wide-compatible, the cost value is in the range of 0 to 16777215. level-1: Applies the link cost to Level-1. level-2: Applies the link cost to Level-2.
narrow-compatible: Receives both narrow and wide cost style packets, but sends only narrow cost style packets. wide-compatible: Receives both narrow and wide cost style packets, but sends only wide cost style packets. relax-spf-limit: Allows receiving routes with a cost greater than 1023. If this keyword is not specified, any route with a cost bigger than 1023 will be discarded. This keyword is only available when compatible or narrow-compatible is included.
You can use a routing policy to specify a level for the default route. The apply isis level-1 command in routing policy view can generate a Level-1 default route. The apply isis level-2 command in routing policy view can generate a Level-2 default route. The apply isis level-1-2 command in routing policy view can generate both a Level-1 default route and Level-2 default route. Examples # Configure IS-IS process 1 to advertise a Level-2 default route.
preference : 15 lsp-length receive : 1497 lsp-length originate level-1 : 1497 level-2 : 1497 maximum imported routes : 1000 timers lsp-max-age : 1200 lsp-refresh : 900 SPF intervals : 5 50 200 Table 45 Command output Field Description network-entity Network entity name. is-level IS-IS routing level. cost-style Cost style. Whether FRR is enabled: fast-reroute • disable—FRR is disabled. • enable—FRR is enabled. preference IS-IS route preference.
network-operator Parameters slot slot-number: Specifies a card by its slot number. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. (In IRF mode.) Examples # Display IS-IS GR log information about card 1.
network-operator Parameters level-1: Displays the IS-IS Level-1 GR state. level-2: Displays the IS-IS Level-2 GR state. process-id: Specifies a process by its ID in the range of 1 to 65535. Without this argument, the command displays GR state of all IS-IS processes. Examples # Display IS-IS GR state.
Field Description count Number of T1 timer expirations. Restart t2 T2 timer, in seconds. Restart t3 T3 timer, in seconds. Whether SA is supported: SA Bit • Supported. • Not supported. Total number of interfaces Total number of IS-IS interfaces. Number of waiting LSPs Number of LSPs not obtained by the GR restarter from GR helpers during LSDB synchronization. display isis interface Use display isis interface to display IS-IS interface information.
Examples # Display brief IS-IS interface information. display isis interface Interface information for IS-IS(1) ---------------------------------Interface: Vlan-interface2 Id IPv4.State IPv6.State MTU Type DIS 001 Up Down 547 L1/L2 Yes/No # Display detailed IS-IS interface information. display isis interface verbose Interface information for IS-IS(1) ---------------------------------Interface: Vlan-interface2 Id IPv4.State IPv6.
Field Description Csnp Timer Value Interval for sending CSNP packets. Hello Timer Value Interval for sending Hello packets. Hello Multiplier Value Number of invalid Hello packets. Lsp Timer Value Minimum interval for sending LSP packets. Lsp Transmit-Throttle Count Number of LSP packets sent each time. Cost Cost of the interface. Priority DIS priority. Whether BFD for IS-IS is enabled: • Disabled. • Enabled. IPv4 BFD # Display IS-IS interface statistics.
Predefined user roles network-admin network-operator Parameters level-1: Displays the level-1 LSDB. level-2: Displays the level-2 LSDB. local: Displays LSP information generated locally. lsp-id lspid: Specifies an LSP ID, in the form of sysID. Pseudo ID-fragment num, where sysID represents the originating node or pseudo node, and Pseudo ID is separated by a dot from sysID and by a hyphen from fragment num. lspname: Specifies the LSP name, in the form of Symbolic name.
# Display detailed Level-1 LSDB information. display isis lsdb level-1 verbose Database information for ISIS(1) -------------------------------Level-1 Link State Database --------------------------LSPID Seq Num Checksum Holdtime Length ATT/P/OL ------------------------------------------------------------------------------5555.1111.1111.00-00 0x00000006 Source 5555.1111.1111.00 NLPID IPv4 0x8519 1124 75 0/0/0 41 0/0/0 68 0/0/0 55 0/0/0 Area address 18 IPv4 address 8.8.8.
Table 50 Command output Field Description LSPID LSP ID. Seq Num LSP sequence number. Checksum LSP checksum. Holdtime LSP lifetime, which decreases as time elapses. Length LSP length. ATT/P/OL • ATT—Attach bit. • P—Partition bit. • OL—Overload bit. 1 means the LSP bit is set and 0 means the LSP bit is not set. Source System ID of the originating router. NLPID Network layer protocol the originating router runs. Area address Area address of the originating router.
system-view [Sysname] isis 1 [Sysname-isis-1] is-name RUTA # Map the host name RUTB to the system ID 0000.0000.0041 of a remote IS. [Sysname-isis-1] is-name map 0000.0000.0041 RUTB # Display the IS-IS host name to system ID mapping table. [Sysname-isis-1] display isis name-table Name table information for ISIS(1) --------------------------------------------------------------System ID Hostname Type 6789.0000.0001 RUTA DYNAMIC 0000.0000.
standby slot slot-number: Displays backup IS-IS neighbor information for a card. Without this option, the command displays IS-IS neighbor information. (In standalone mode.) standby chassis chassis-number slot slot-number: Displays backup IS-IS neighbor information for a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card. Without this option, the command displays IS-IS neighbor information.
Adj protocol: IPv4 Graceful Restart capable Restarting signal: No Suppress adjacency advertisement: No Table 52 Command output Field Description System Id System ID of the neighbor. Interface Interface connecting to the neighbor. Circuit Id Circuit ID. State Circuit state. HoldTime Within the holdtime, if no hellos are received from the neighbor, the neighbor is considered down. If a hello is received, the holdtime is reset to the initial value.
Table 53 Command output Field Description Neighbor type: • LAN Level-1—Number of Level-1 neighbors whose network type is broadcast. • LAN Level-2—Number of Level-2 neighbors whose network type is broadcast. • P2P—Number of neighbors whose network type is P2P. Type IPv4 Up Number of IPv4 neighbors in up state. IPv4 Init Number of IPv4 neighbors in init state. display isis redistribute Use display isis redistribute to display the redistributed IS-IS routing information.
D 10.10.10.0/24 0 0 Table 54 Command output Field Description Route information for IS-IS(1) IS-IS process of the redistributed routing information. Level-1 IPv4 Redistribute Table Redistributed IPv4 routing information of IS-IS Level-1. Level-2 IPv4 Redistribute Table Redistributed IPv4 routing information of IS-IS Level-2. Redistributed route type: • • • • • • Type Direct. IS-IS. Static. OSPF. BGP. RIP. IPV4 Destination IPv4 destination address. IntCost Internal cost of the route.
Usage guidelines If no level is specified, this command displays both Level-1 and Level-2 routing information. If no IS-IS process ID is specified, this command displays routing information for all IS-IS process IDs. Examples # Display brief IS-IS IPv4 routing information.
Field Description Routing state flag: • D—Direct route. • R—The route has been added into the routing table. Flags • L—The route has been advertised in an LSP. • U—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. display isis route verbose Route information for ISIS(1) ----------------------------- Level-1 IPv4 Forwarding Table ----------------------------- IPV4 Dest : 8.8.8.0/24 Int.
Field Description ISIS(1) IPv4 Level-2 Forwarding Table IS-IS IPv4 routing information for Level-2. IPV4 Dest IPv4 destination. Int. Cost Internal cost. Ext. Cost External cost. Admin Tag Tag. Src Count Count of advertising sources. Route state flag: Flag • R—The route has been installed into the routing table. • L—The route has been flooded in an LSP. • U—Route leaking flag. Setting it to UP can prevent an LSP sent from L2 to L1 from being sent back to L2. Next Hop Next hop.
display isis spf-tree Shortest Path Tree for IS-IS(1) ------------------------------- Flags: S-Node is on SPF tree T-Node is on tent list O-Node is overload R-Node is directly reachable I-Node or Link is isolated D-Node or Link is to be deleted C-Neighbor is child P-Neighbor is parent V-Link is involved N-Link is a new path L-Link is on change list U-Protocol usage is changed H-Nexthop is changed Level-1 Shortest Path Tree -------------------------- SpfNode NodeFlag SpfLink Link
Flags: S-Node is on SPF tree T-Node is on tent list O-Node is overload R-Node is directly reachable I-Node or Link is isolated D-Node or Link is to be deleted C-Neighbor is child P-Neighbor is parent V-Link is involved N-Link is a new path L-Link is on change list U-Protocol usage is changed H-Nexthop is changed Level-1 Shortest Path Tree -------------------------- SpfNode : 0000.0000.0032.00 Distance : 0 NodeFlag : S/-/-/-/-/- NextHopCnt: 0 SpfLinkCnt: 2 -->0000.0000.0032.
Type: Adjacent Interface: N/A Cost: 0 Nexthop SpfNode : 0000.0000.0064.00 Distance : 10 NodeFlag : S/-/-/R/-/- : N/A NextHopCnt: 2 Neighbor : 0000.0000.0064.00 NextHop : 10.10.10.64 Interface BkNeighbor: N/A : Vlan2 BkInterface: N/A BkNextHop : N/A Neighbor : 0000.0000.0064.00 NextHop : 20.20.20.64 Interface BkNeighbor: N/A : Tun1 BkInterface: N/A BkNextHop : N/A SpfLinkCnt: 2 -->0000.0000.0032.
LinkNewCost: 10 LinkFlag : -/-/C/-/-/-/-/-/- LinkSrcCnt : 1 Type: Adjacent Interface: Tun1 Cost: 10 Nexthop SpfNode : 0000.0000.0032.01 Distance : 10 NodeFlag : S/-/-/R/-/- : 20.20.20.64 NextHopCnt: 0 SpfLinkCnt: 2 -->0000.0000.0064.00 LinkCost : 0 LinkNewCost: 0 LinkFlag : -/-/C/-/-/-/-/-/- LinkSrcCnt : 1 Type: Adjacent Interface: Vlan2 Cost: 0 Nexthop : 10.10.10.64 -->0000.0000.0032.
LinkNewCost: 10 LinkFlag : -/-/-/P/-/-/-/-/- LinkSrcCnt : 1 Type: Remote Interface: N/A Cost: 10 Nexthop : N/A Table 57 Command output Field Description SpfNode ID of the topology node. Distance Shortest distance from the root node to the local node. Node flag: NodeFlag • • • • • • S—The node is on the SPF tree. T—The node is on the tent list. O—The node is overloaded. R—The node is directly connected. I—The node is isolated. D—The node is to be deleted. NextHopCnt Next hop count.
Field Description Type of the link advertising source: • Adjacent—The link advertising source is a local neighbor. • Remote—The link advertising source is advertised by a remote node in an Type LSP. Cost Cost of the link advertising source. display isis statistics Use display isis statistics to display IS-IS statistics.
Imported routes information: IPv4 Imported Routes: Static: 0 Direct: 0 ISIS: 0 BGP: 0 RIP: 0 OSPF: 0 Total Number: 0 IPv6 Imported Routes: Static: 0 Direct: 0 ISISv6: 0 BGP4+: RIPng: OSPFv3: 0 0 Total Number: 0 0 Lsp information: LSP Source ID: No. of used LSPs 7777.8888.
Field Imported routes information Description • IPv4 Imported Routes—Numbers of different types of redistributed IPv4 routes. LSP information: Lsp information • LSP Source ID—ID of the source system. • No. of used LSPs—Number of used LSPs. display osi Use display osi to display OSI connection information, including the socket status, options, input interfaces, and matched multicast MAC addresses.
Sending buffer(cc/hiwat/lowat/state): 0 / 9216 / 512 / N/A Type: 2 Enabled interfaces: Vlan-interface1 MAC address: 0100-1111-1111 0100-2222-2222 Vlan-interface2 MAC address: 0100-1111-1111 0100-2222-2222 0100-3333-3333 Table 59 Command output Field Description Total OSI socket number Total number of OSI sockets. Chassis ID of the IRF member device. Slot Slot number of the card. Creator Name of the socket creator. The process ID of the creator is displayed in the square brackets.
Predefined user roles network-admin network-operator Parameters slot slot-number: Specifies a card by its slot number. Without this option, the command displays OSI packet statistics for all cards. (In standalone mode.) chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument specifies the ID of the IRF member device. The slot-number argument specifies the slot number of the card.
Field Description Relay received Number of outbound packets on the cards that hosts the output interfaces. These packets are relayed from other cards. Failed Number of packets failed to be sent. Related commands reset osi statistics domain-authentication-mode Use domain-authentication-mode to specify the routing domain authentication mode and a password. Use undo domain-authentication-mode to restore the default.
Examples # Configure the routing domain authentication mode as simple, and set the plaintext password to 123456. system-view [Sysname] isis 1 [Sysname-isis-1] domain-authentication-mode plain 123456 Related commands • area-authentication-mode • isis authentication-mode fast-reroute Use fast-reroute to configure IS-IS FRR. Use undo fast-reroute to restore the default. Syntax fast-reroute { auto | route-policy route-policy-name } undo fast-reroute Default IS-IS FRR is disabled.
Syntax filter-policy { acl-number | prefix-list prefix-list-name | route-policy route-policy-name } export [ protocol [ process-id ] ] undo filter-policy export [ protocol [ process-id ] ] Default IS-IS does not filter redistributed routes. Views IS-IS view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to filter redistributed routes.
[Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.0 0 [Sysname-acl-adv-3000] rule 100 deny ip [Sysname-acl-adv-3000] quit [Sysname] isis 1 [Sysname-isis 1] filter-policy 3000 export Related commands display isis route filter-policy import Use filter-policy import to configure IS-IS to filter routes calculated using received LSPs. Use undo filter-policy import to restore the default.
[Sysname] acl number 2000 [Sysname-acl-basic-2000] rule deny source 192.168.10.0 0.0.0.255 [Sysname-acl-basic-2000] quit [Sysname] isis 1 [Sysname-isis-1] filter-policy 2000 import # Use ACL 3000 to filter routes calculated using received LSPs and install only route 113.0.0.0/16 to the IP routing table. system-view [Sysname] acl number 3000 [Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.
Examples # Enable fast flooding and specify the maximum LSPs to be sent as 10 and the delay time as 100 milliseconds. system-view [Sysname] isis 1 [Sysname-isis-1] flash-flood flood-count 10 max-timer-interval 100 graceful-restart Use graceful-restart to enable IS-IS GR. Use undo graceful-restart to disable IS-IS GR. Syntax graceful-restart undo graceful-restart Default IS-IS GR is disabled. Views IS-IS view Predefined user roles network-admin Examples # Enable GR for IS-IS process 1.
Predefined user roles network-admin Usage guidelines Suppressing the SA bit is mainly for avoiding black hole route. If a router starts or reboots without keeping the local forwarding table, sending packets to the router might result in a severe packet loss. To avoid this, you can set the SA bit of the hello packet sent by the GR restarter to 1. Upon receiving such hello packets, the GR helpers will not advertise the GR restarter through LSP. Examples # Suppress the SA bit during graceful restart.
[Sysname-isis-1] graceful-restart t1 5 count 5 Related commands • graceful-restart • graceful-restart t2 • graceful-restart t3 graceful-restart t2 Use graceful-restart t2 to configure the T2 timer. Use undo graceful-restart t2 to restore the default. Syntax graceful-restart t2 seconds undo graceful-restart t2 Default The T2 timer is 60 seconds. Views IS-IS view Predefined user roles network-admin Parameters seconds: Specifies the T2 timer in the range of 30 to 65535 seconds.
Syntax graceful-restart t3 seconds undo graceful-restart t3 Default The T3 timer is 300 seconds. Views IS-IS view Predefined user roles network-admin Parameters seconds: Specifies the T3 timer in the range of 300 to 65535 seconds. Usage guidelines The T3 timer specifies the GR interval. The GR interval is set as the holdtime in hello PDUs. Within the interval, the neighbors maintain their adjacency with the GR restarter.
Predefined user roles network-admin Parameters protocol: Redistributes routes from a routing protocol, which can be BGP, direct, IS-IS, OSPF, RIP, or static. process-id: Specifies a process by its ID in the range of 1 to 65535. It is available only when the protocol is isis, ospf, or rip. all-processes: Redistributes routes from all the processes of the specified routing protocol. This keyword takes effect only when the protocol is rip, ospf, or isis. allow-ibgp: Allows redistribution of IBGP routes.
Related commands import-route limit import-route isis level-1 into level-2 Use import-route isis level-1 into level-2 to enable route advertisement from Level-1 to Level-2. Use undo import-route isis level-1 into level-2 to disable route advertisement from Level-1 to Level-2.
import-route isis level-2 into level-1 Use import-route isis level-2 into level-1 to enable route advertisement from Level-2 to Level-1. Use undo import-route isis level-2 into level-1 to disable route advertisement from Level-2 to Level-1. Syntax import-route isis level-2 into level-1 [ filter-policy { acl-number | prefix-list prefix-list-name | route-policy route-policy-name } | tag tag ] * undo import-route isis level-2 into level-1 Default Route advertisement is not enabled.
import-route limit Use import-route limit to configure the maximum number of redistributed Level 1/Level 2 IPv4 routes. Use undo import-route limit to restore the default. Syntax import-route limit number undo import-route limit Default The maximum number of redistributed Level 1/Level 2 IPv4 routes is not configured. Views IS-IS view Predefined user roles network-admin Parameters number: Specifies the maximum number of redistributed Level 1/Level 2 IPv4 routes, in the range of 1 to 32768.
Parameters process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. The default is 1. Examples # Enable IS-IS process 1 and specify the system ID as 0000.0000.0002 and area ID as 01.0001. system-view [Sysname] isis 1 [Sysname-isis-1] network-entity 01.0001.0000.0000.0002.00 Related commands • isis enable • network-entity isis authentication-mode Use isis authentication-mode to set the IS-IS authentication mode and password for an interface.
Usage guidelines The password in the specified mode is inserted into all outbound hello packets and is used for authenticating inbound hello packets. Only if the authentication succeeds can the neighbor relationship be formed. For two routers to become neighbors, the authentication mode and password at both ends must be identical. For security purposes, all passwords, including passwords configured in plain text, are saved in cipher text.
isis circuit-level Use isis circuit-level to set the circuit level for the interface. Use undo isis circuit-level to restore the default. Syntax isis circuit-level [ level-1 | level-1-2 | level-2 ] undo isis circuit-level Default An interface can establish either the Level-1 or Level-2 adjacency. Views Interface view Predefined user roles network-admin Parameters level-1: Sets the circuit level to Level-1. level-1-2: Sets the circuit level to Level-1-2. level-2: Sets the circuit level to Level-2.
Default The network type of an interface depends on the physical media. (The network type of a VLAN interface is broadcast.) Views Interface view Predefined user roles network-admin Usage guidelines Perform this configuration only for a broadcast network with only two attached routers. Interfaces with different network types operate differently.
Usage guidelines If neither level-1 nor level-2 is included, the cost applies to both level-1 and level-2. Examples # Configure the Level-2 IS-IS cost as 5 for VLAN-interface 10. system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis cost 5 level-2 Related commands • auto-cost enable • bandwidth-reference isis dis-name NOTE: This command does not take effect on a Point-to-Point interface.
isis dis-priority Use isis dis-priority to specify a DIS priority at a specified level for an interface. Use undo isis dis-priority to remove the configuration. Syntax isis dis-priority value [ level-1 | level-2 ] undo isis dis-priority [ level-1 | level-2 ] Default The priority of Level-1 and Level-2 is 64. Views Interface view Predefined user roles network-admin Parameters value: Specifies a DIS priority in the range of 0 to 127. level-1: Applies the DIS priority to Level-1.
Default No IS-IS process is enabled on an interface. Views Interface view Predefined user roles network-admin Parameters process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535. The default is 1. Examples # Enable IS-IS process 1 globally and enable it on VLAN-interface 10. system-view [Sysname] isis 1 [Sysname-isis-1] network-entity 10.0001.1010.1020.1030.
Examples # Bind MIB operation to IS-IS process 100. system-view [Sysname] isis mib-binding 100 isis silent Use isis silent to disable the interface from sending and receiving IS-IS packets. Use undo isis silent to restore the default. Syntax isis silent undo isis silent Default An interface is not disabled from sending and receiving IS-IS packets. Views Interface view Predefined user roles network-admin Usage guidelines The feature is not supported on the loopback interface.
Predefined user roles network-admin Examples # Configure VLAN-interface 10 to send small Hello packets. system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis small-hello isis timer csnp Use isis timer csnp to specify on the DIS of a broadcast network the interval for sending CSNP packets. Use undo isis timer csnp to remove the configuration.
Syntax isis timer hello seconds [ level-1 | level-2 ] undo isis timer hello [ level-1 | level-2 ] Default The default hello interval is 10 seconds. Views Interface view Predefined user roles network-admin Parameters seconds: Specifies the interval in seconds for sending hello packets, in the range of 3 to 255. level-1: Specifies the interval for sending Level-1 hello packets. level-2: Specifies the interval for sending Level-2 hello packets.
Default The default IS-IS hello multiplier is 3. Views Interface view Predefined user roles network-admin Parameters value: Specifies the 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. Usage guidelines The hello multiplier is the number of hello packets a neighbor must miss before declaring the router is down.
Syntax isis timer lsp time [ count count ] undo isis timer lsp Default The minimum interval for sending LSPs on the interface is 33 milliseconds, and the maximum number of LSPs that can be sent at a time is 5. Views Interface view Predefined user roles network-admin Parameters time: Specifies the minimum interval in milliseconds for sending link-state packets, in the range of 1 to 1000. count: Specifies the maximum number of link-state packets to be sent at one time, in the range of 1 to 1000.
Predefined user roles network-admin Parameters seconds: Specifies the interval for retransmitting LSP packets, in the range of 1 to 300 seconds. Usage guidelines On a P2P link, IS-IS requires an advertised LSP be acknowledged. If no acknowledgement is received within a configurable interval, IS-IS will retransmit the LSP. You do not need to use this command over a broadcast link where CSNPs are periodically broadcast to implement LSDB synchronization.
is-level Use is-level to specify the IS level. Use undo is-level to restore the default. Syntax is-level { level-1 | level-1-2 | level-2 } undo is-level Default The IS level is level-1-2. Views IS-IS view Predefined user roles network-admin Parameters level-1: Specifies Level-1, which means IS-IS only calculates intra-area routes and maintains the Level-1 LSDB. level-1-2: Specifies Level-1-2, which means IS-IS calculates routes and maintains the LSDBs for both Level-1 and Level-2.
Views IS-IS view Predefined user roles network-admin Parameters sys-name: Specifies a host name for the local IS, a case-insensitive string of 1 to 64 characters. Usage guidelines To display the host name rather than the system ID of an IS by using the display isis lsdb command, first enable dynamic system ID to hostname mapping. Examples # Configure a host name for the local IS.
Related commands display isis name-table log-peer-change Use log-peer-change to enable the logging of neighbor state changes. Use undo log-peer-change to disable the logging. Syntax log-peer-change undo log-peer-change Default The logging of IS-IS neighbor state changes is enabled. Views IS-IS view Predefined user roles network-admin Usage guidelines This command enables sending logs about IS-IS neighbor state changes to the information center.
Parameters level-1: Applies the fragment extension to Level-1 LSPs. level-1-2: Applies the fragment extension to both Level-1 and Level-2 LSPs. level-2: Applies the fragment extension to Level-2 LSPs. Usage guidelines If no level is specified, the command enables LSP fragment extension for both Level-1 and Level-2. Examples # Enable LSP fragment extension for Level-2.
lsp-length receive Use lsp-length receive to configure the maximum size of received LSPs. Use undo lsp-length receive to restore the default. Syntax lsp-length receive size undo lsp-length receive Default The maximum size of received LSPs is 1497 bytes. Views IS-IS view Predefined user roles network-admin Parameters size: Specifies the maximum size of received LSPs, in the range of 512 to 16384 bytes. Examples # Configure the maximum size of received LSPs.
If you use the max-ecmp-num command to configure the maximum number of ECMP routes supported by the system as m, the default setting of this command is m, and the value range for this command is 1 to m. Examples # Configure the maximum number of ECMP routes as 2. system-view [Sysname] isis 100 [Sysname-isis-100] maximum load-balancing 2 Related commands max-ecmp-num network-entity Use network-entity to configure the Network Entity Title (NET) for an IS-IS process.
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. system-view [Sysname] isis 1 [Sysname-isis-1] network-entity 10.0001.1010.1020.1030.00 Related commands • isis • isis enable preference Use preference to configure the preference for IS-IS. Use undo preference to restore the default. Syntax preference { preference | route-policy route-policy-name } * undo preference Default IS-IS preference is 15.
Use undo priority to remove the configuration. Syntax priority { critical | high | medium } { prefix-list prefix-list-name | tag tag-value } undo priority { critical | high | medium } [ prefix-list | tag ] Default IS-IS routes have the lowest convergence priority. Views IS-IS view Predefined user roles network-admin Parameters critical: Specifies the highest convergence priority. high: Specifies the high convergence priority. medium: Specifies the medium convergence priority.
graceful-restart: Recovers the data through graceful restart after the data is cleared. Usage guidelines If no IS-IS process is specified, the command clears data structure information for all IS-IS processes. Use this command when LSPs must be updated immediately. Examples # Clear all IS-IS data structure information. reset isis all reset isis graceful-restart event-log Use reset isis graceful-restart event-log to clear IS-IS GR log information.
Parameters system-id: Specifies an IS-IS neighbor by its system ID. process-id: Specifies an IS-IS process by its ID in the range of 1 to 65535 to clear data structure information for the neighbor in the specified IS-IS process. Usage guidelines Use this command when you re-establish an IS-IS neighbor relationship. Examples # Clear the data structure information of the neighbor with the system ID 0000.0c11.1111. reset isis peer 0000.0c11.
Predefined user roles network-admin 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.
Views IS-IS view Predefined user roles network-admin Parameters context-name: Specifies a context name, a case-sensitive string of 1 to 32 characters. Examples # Configure the context name as isis for the SNMP object for managing IS-IS process 1. system-view [Sysname] isis 1 [Sysname-isis-1] snmp context-name isis snmp-agent trap enable isis Use snmp-agent trap enable isis to enable the sending of SNMP notifications. Use undo snmp-agent trap enable isis to disable the feature.
lsdboverload-state-change: Specifies notifications about LSDB overload state changes. lsp-corrupt: Specifies notifications about LSP checksum errors in the LSDB. lsp-parse-error: Specifies notifications about LSP packet parse errors. lsp-size-exceeded: Specifies notifications about oversized LSPs that result in flooding failures. manual-address-drop: Specifies notifications about manually configured area addresses that have been dropped.
mask-length: Specifies the mask length of the summary route, in the range of 0 to 32. mask: Specifies the mask of the destination IP address, in dotted decimal notation. avoid-feedback: Avoids learning summary routes by route calculation. generate_null0_route: Generates the Null 0 route to avoid routing loops. level-1: Summarizes only the routes redistributed to Level-1. level-1-2: Summarizes the routes redistributed to both Level-1 and Level-2. level-2: Summarizes only the routes redistributed to Level-2.
incremental-interval: Specifies the incremental interval in the range of 10 to 60000 milliseconds. 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. Usage guidelines By adjusting the LSP generation interval, you can prevent bandwidth and router resources from being over consumed due to frequent topology changes. When network changes are not frequent, the minimum-interval is adopted.
[Sysname-isis-1] timer lsp-max-age 1500 Related commands timer lsp-refresh timer lsp-refresh Use timer lsp-refresh to configure the LSP refresh interval. Use undo timer lsp-refresh to restore the default. Syntax timer lsp-refresh seconds undo timer lsp-refresh Default The default LSP refresh interval is 900 seconds. Views IS-IS view Predefined user roles network-admin Parameters seconds: Specifies the LSP refresh interval in the range of 1 to 65534 seconds.
Default The maximum interval is 5 seconds, the minimum interval is 50 milliseconds, and the incremental interval is 200 milliseconds. Views IS-IS view Predefined user roles network-admin Parameters maximum-interval: Specifies the maximum SPF calculation interval in the range of 1 to 120 seconds. minimum-interval: Specifies the minimum SPF calculation interval in the range of 10 to 60000 milliseconds.
Predefined user roles network-admin Parameters virtual-system-id: Specifies a virtual system ID for the IS-IS process. Examples # Set a virtual system ID of 2222.2222.2222 for IS-IS process 1. system-view [Sysname] isis 1 [Sysname-isis-1] virtual-system 2222.2222.
BGP commands address-family ipv4 Use address-family ipv4 to create the BGP IPv4 unicast address family, and enter its view. Use undo address-family ipv4 to remove the BGP IPv4 unicast address family and all its configurations. Syntax address-family ipv4 [ unicast ] undo address-family ipv4 [ unicast ] Default The BGP IPv4 unicast address family view is not created. Views BGP view Predefined user roles network-admin Parameters unicast: Specifies the IPv4 unicast address family view.
Predefined user roles network-admin Usage guidelines The advertise-rib-active command does not apply to the following routes: • Routes redistributed by the import-route command • Routes advertised by the network command • Default routes redistributed by the default-route imported command This command takes effect on only the routes generated after you execute this command.
detail-suppressed: Advertises only the summary route. If this keyword is not specified, BGP advertises both the summary route and the more specific routes. origin-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to select routes to be summarized. suppress-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter more specific routes to be advertised.
[Sysname-bgp] address-family ipv4 unicast [Sysname-bgp-ipv4] aggregate 1.1.0.0 255.255.0.0 # Create a summary route 1.1.0.0/16 in the BGP routing table. Specify the AS_PATH attribute for the summary route to contain the AS path information of all summarized routes, and advertise only the summary route. system-view [Sysname] bgp 100 [Sysname-bgp] address-family ipv4 unicast [Sysname-bgp-ipv4] aggregate 1.1.0.0 255.255.0.0 as-set detail-suppressed # Create a summary route 1.1.0.
balance Use balance to enable load balancing and specify the maximum number of BGP ECMP routes for load balancing. Use undo balance to disable load balancing. Syntax balance number undo balance Default Load balancing is not enabled. Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters number: Specifies the maximum number of BGP ECMP routes for load balancing. When it is set to 1, load balancing is disabled.
Use undo balance as-path-neglect to disable BGP to implement load balancing over routes with different AS_PATH attributes. Syntax balance as-path-neglect undo balance as-path-neglect Default BGP does not perform load balancing over routes with different AS_PATH attributes. Views BGP IPv4 unicast address family view Predefined user roles network-admin Usage guidelines Before using this command, make sure it does not cause any routing loops.
[Sysname] bgp 100 [Sysname-bgp] address-family ipv4 unicast [Sysname-bgp-ipv4] bestroute as-path-neglect bestroute compare-med Use bestroute compare-med to enable MED comparison for routes on a per-AS basis. Use undo bestroute compare-med to restore the default. Syntax bestroute compare-med undo bestroute compare-med Default MED comparison for routes on a per-AS basis is disabled.
undo bestroute med-confederation Default MED comparison is disabled for routes received from confederation peers. Views BGP IPv4 unicast address family view Predefined user roles network-admin Usage guidelines This command enables BGP to compare the MEDs of routes received from confederation peers. However, if a route received from a confederation peer has an AS number that does not belong to the confederation, BGP does not compare the route with other routes.
A router supports 4-byte AS number. Examples # Enable BGP, set the local AS number to 100, and enter BGP view. system-view [Sysname] bgp 100 [Sysname-bgp] compare-different-as-med Use compare-different-as-med to enable MED comparison for routes from peers in different ASs. Use undo compare-different-as-med to disable the comparison. Syntax compare-different-as-med undo compare-different-as-med Default The comparison is disabled.
Views BGP view Predefined user roles network-admin Parameters as-number: Specifies an AS number that identifies the confederation, in the range of 1 to 4294967295. Usage guidelines You can split an AS into several sub-ASs, and each sub-AS remains fully meshed. These sub-ASs form a confederation. Key path attributes of a route, such as the Next_HOP, MED, and LOCAL_PREF, are not discarded when crossing each sub-AS. The sub-ASs still look like one AS from the perspective of other ASs.
undo confederation nonstandard Default The device is compatible with only routers compliant with RFC 3065 in the confederation. Views BGP view Predefined user roles network-admin Usage guidelines Configure this command on all routers compliant with RFC 3065 to interact with those routers not compliant with RFC 3065 in the confederation. Examples # Confederation 100 comprises two sub-ASs, 64000 and 65000, and contains routers not compliant with RFC 3065.
Usage guidelines Before this configuration, use the confederation id command to specify the confederation for the sub-ASs. If the undo confederation peer-as command without the as-number-list argument is used, all confederation peer sub-ASs are removed. Examples # Specify confederation peer sub-ASs 2000 and 2001.
route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines The command dampens only EBGP routes. Examples # Configure BGP route dampening. system-view [Sysname] bgp 100 [Sysname-bgp] address-family ipv4 unicast [Sysname-bgp-ipv4] dampening 10 10 1000 2000 10000 Related commands display bgp dampening parameter ipv4 unicast default local-preference Use default local-preference to configure a default local preference.
Related commands • apply local-preference • route-policy default med Use default med to specify a default MED value. Use undo default med to restore the default. Syntax default med med-value undo default med Default The default med-value is 0. Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters med-value: Specifies the default MED value in the range of 0 to 4294967295. Usage guidelines BGP selects a MED value in the following order: 1.
Use undo default-route imported to restore the default. Syntax default-route imported undo default-route imported Default Default route redistribution is not enabled. Views BGP IPv4 unicast address family view Predefined user roles network-admin Usage guidelines By default, BGP does not redistribute default IGP routes. You must use the default-route imported command together with the import-route command to redistribute default IGP routes into the BGP routing table.
Maximum suppression time (in seconds) : 3973 Ceiling value : 16000 Reuse value : 750 Half-life time for reachable routes (in seconds) : 900 Half-life time for unreachable routes (in seconds) : 900 Suppression threshold : 2000 Table 62 Command output Field Description Maximum suppression time Maximum time (in seconds) for the penalty value to decrease from the ceiling value to the reuse value. Ceiling value Penalty ceiling value. Reuse value Reuse threshold.
Type: external Members: 2.2.2.2 # Display detailed information about BGP IPv4 unicast peer group group1 for the public network. display bgp group ipv4 group1 BGP peer group: group1 Remote AS: 600 Type: external Maximum number of prefixes allowed: 4294967295 Threshold: 75% Configured hold time: 180 seconds Keepalive time: 60 seconds Minimum time between advertisements: 30 seconds Peer preferred value: 0 Routing policy configured: No routing policy is configured Members: Peer 1.1.1.
Field Description Peer IP address of the peer. AS AS number of the peer. MsgRcvd Number of messages received. MsgSent Number of messages sent. OutQ Number of messages to be sent. PrefRcv Number of prefixes received. Up/Down Lasting time of the current BGP session state. State Current state of the BGP session between the local router and the peer.
Table 64 Command output Field Description Network Destination network address of the routes advertised by the network command and the shortcut routes. Mask Mask of the destination network address. PrefixLen Prefix length of the destination network address. Route-policy Routing policy that is applied to the route. Indicates whether the route is a shortcut route: • Yes. • No. Short-cut display bgp paths Use display bgp paths to display BGP path attribute information.
Field Description AS_PATH and ORIGIN attributes of the route: • AS_PATH attribute—Records the ASs the route has passed to avoid routing loops. • ORIGIN attribute—Identifies the origin of the route: Path/Origin { { { i—Originated in the AS. The origin of summary routes and routes advertised with the network command is IGP. e—Learned through EGP. ?—Unknown origin. The origin of routes redistributed from IGP protocols is INCOMPLETE.
Table 66 Command output Field Description Peer IP address of the peer. AS AS number of the peer. MsgRcvd Number of messages received. MsgSent Number of messages sent. OutQ Number of messages to be sent. PrefRcv Number of prefixes received. Up/Down Lasting time of the current BGP session state. State Current state of the BGP session between the local router and the peer. # Display detailed information about BGP IPv4 unicast peer 10.2.1.2 for the public network.
Table 67 Command output Field Description Peer IP address of the peer. Local Local router ID. BGP connection type between the local router and the peer: Type • IBGP link—IBGP connection. • EBGP link—EBGP connection. remote router ID Router ID of the peer. BGP current state Current state of the BGP session between the local router and the peer. Up for Lasting time of the BGP session. BGP current event Current event of the BGP session between the local router and the peer.
Peer : 1.1.1.1 Date Time State Notification Error/SubError 10-Jul-2008 15:46:17 Down Send Notification with Error 1/1 Message Header Error/Connection Not Synchronized 10-Jul-2008 09:23:00 Up 10-Jul-2008 07:46:17 Down Receive Notification with Error 3/2 UPDATE Message Error/Unsupported optional Parameter 10-Jul-2008 06:23:00 Up 10-Jul-2008 05:46:17 Down Send Notification with Error 6/4 Cease/Administrative Reset Table 68 Command output Field Description Peer IP address of the peer.
display bgp routing-table dampened ipv4 Total number of routes: 1 BGP local router ID is 192.168.1.135 Status codes: * - valid, > - best, d - dampened, h - history, s - suppressed, S - stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete Network de 20.1.1.0/24 From Reuse Path/Ogn 10.1.1.2 00:56:27 100i Table 69 Command output Field Description Status codes: Status codes • • • • • • • • * – valid—Valid route. > – best—Best route. d – damped—Dampened route.
Syntax display bgp routing-table flap-info ipv4 [ unicast ] [ network-address [ { mask | mask-length } [ longest-match ] ] | as-path-acl as-path-acl-number ] Views Any view Predefined user roles network-admin network-operator Parameters network-address: Specifies a destination network address. mask: Specifies a network mask, in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32. longest-match: Displays the routing entries selected through the following steps: 1.
de 20.1.1.0/24 10.1.1.2 1 00:02:36 00:53:58 100i Table 70 Command output Field Description Status codes: Status codes • • • • • • • • * – valid—Valid route. > – best—Best route. d – damped—Dampened route. h – history—History route. s – suppressed—Suppressed route. S – Stale—Stale route. i – internal—Internal route. e – external—External route. Origin of the route: • i – IGP—Originated in the AS. The origin of summary routes and Origin routes advertised with the network command is IGP.
network-operator Parameters network-address: Specifies a destination network address. mask: Specifies a network mask, in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32. longest-match: Displays the routing entries selected through the following steps: 1. AND the specified network address with the specified mask. 2. Display the route with the longest mask among the matching routes that have a mask shorter than or equal to the specified mask.
Table 71 Command output Field Description Status codes: • • • • • • • • Status codes * – valid—Valid route. > – best—Best route. d – damped—Dampened route. h – history—History route. s – suppressed—Suppressed route. S – Stale—Stale route. i – internal—Internal route. e – external—External route. Origin of the route: • i – IGP—Originated in the AS. The origin of summary routes and routes advertised with the network command is IGP. Origin • e – EGP—Learned through EGP. • ?– incomplete—Unknown origin.
Relay nexthop : not resolved Original nexthop: 10.2.1.2 OutLabel : NULL AS-path : 200 Origin : igp Attribute value : MED 0, pref-val 0, pre 255 State : external, Table 72 Command output Field Description Number of routes: Paths • available—Number of valid routes. • best—Number of optimal routes. Original nexthop Original next hop of the route. If the route is received from a BGP update message, the original next hop is the next hop IP address in the message.
Syntax display bgp routing-table ipv4 [ unicast ] network-address [ mask | mask-length ] advertise-info Views Any view Predefined user roles network-admin network-operator Parameters network-address: Specifies a destination network address. mask: Specifies a network mask, in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32. Usage guidelines If the mask and mask-length arguments are not specified, the system ANDs the specified network address with the mask of a route.
display bgp routing-table ipv4 unicast as-path-acl Use display bgp routing-table ipv4 unicast as-path-acl to display BGP IPv4 unicast routes permitted by an AS path list. Syntax display bgp routing-table ipv4 [ unicast ] as-path-acl as-path-acl-number Views Any view Predefined user roles network-admin network-operator Parameters as-path-acl-number: Specifies an AS path list by its number in the range of 1 to 256.
Views Any view Predefined user roles network-admin network-operator Parameters basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99. comm-list-name: Specifies a community list by its name, a string of 1 to 63 characters. whole-match: Displays routes exactly matching the specified community list. Without this keyword, the command displays routes whose COMMUNITY attributes comprise the specified community list.
Predefined user roles network-admin network-operator Parameters ip-address: Specifies a peer by its IP address. advertised-routes: Displays routing information advertised to the specified peer. received-routes: Displays routing information received from the specified peer. network-address: Specifies the IP address of the destination network. mask: Specifies the mask of the destination network, in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32.
BGP local router ID is 192.168.100.1 Status codes: * - valid, > - best, d - damped, h - history, s - suppressed, S - Stale, i - internal, e - external Origin: i - IGP, e - EGP, ? - incomplete Network * NextHop MED LocPrf PrefVal Path/Ogn e 10.2.1.0/24 10.2.1.2 0 0 200i e 192.168.1.0 10.2.1.2 0 0 200i For command output, see Table 71. # Display statistics of BGP IPv4 unicast routes advertised to BGP peer 10.2.1.2 for the public network. display bgp routing-table ipv4 peer 10.2.1.
display bgp update-group ipv4 unicast Use display bgp update-group ipv4 unicast to display information about BGP update groups for the BGP IPv4 unicast address family. Syntax display bgp update-group ipv4 [ unicast ] [ ip-address ] Views Any view Predefined user roles network-admin network-operator Parameters ip-address: Displays BGP update group information for the specified BGP peer. Usage guidelines The update group feature classifies BGP peers that have the same export policy into an update group.
OutQ: 0 Members: 2 1.1.1.2 1.1.1.3 Table 75 Command output Field Description Update-group ID ID of the update group. BGP link type: Type • • • • IBGP link. EBGP link. Confed IBGP link—Confederation IBGP link. Confed EBGP link—Confederation EBGP link. Label capability: Supported The peers in the update group support labeled routes. 4-byte AS number: Supported 4-byte AS number suppression is disabled for the peers in the update group. The peers in the update group support 4-byte AS numbers.
ebgp-interface-sensitive Use ebgp-interface-sensitive to enable quick reestablishment of direct EBGP sessions. Use undo ebgp-interface-sensitive to disable the function. Syntax ebgp-interface-sensitive undo ebgp-interface-sensitive Default Quick reestablishment of direct EBGP sessions is enabled. Views BGP view Predefined user roles network-admin Usage guidelines This command enables BGP to quickly handle direct EBGP link failures.
Parameters route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Usage guidelines There are two methods to configure BGP FRR: • Method 1—Execute the pic command in BGP address family view. BGP calculates a backup next hop for a BGP route in the address family if there are two or more unequal-cost routes to reach the destination.
prefix-list prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63 characters, to match routes by destination. protocol: Filters routes redistributed from the routing protocol that can be direct, isis, ospf, rip, or static. process-id: Specifies a routing protocol by its ID in the range of 1 to 65535. This argument is available only when the protocol is isis, ospf, or rip.
Default Received BGP routes are not filtered. Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters acl-number: Specifies an ACL by its number in the range of 2000 to 3999 to match routes by destination. prefix-list prefix-list-name: Specifies an IPv4 prefix list by its name, a case-sensitive string of 1 to 63 characters, to match routes by destination.
• peer filter-policy • peer prefix-list • peer route-policy graceful-restart Use graceful-restart to enable BGP Graceful Restart capability. Use undo graceful-restart to disable BGP Graceful Restart capability. Syntax graceful-restart undo graceful-restart Default BGP Graceful Restart capability is disabled. Views BGP view Predefined user roles network-admin Usage guidelines Graceful Restart (GR) ensures continuous forwarding when BGP restarts or an active/standby switchover occurs.
Default The GR timer is 150 seconds. Views BGP view Predefined user roles network-admin Parameters timer: Specifies the GR timer in the range of 3 to 600 seconds. Usage guidelines The GR restarter sends the GR timer to the GR helper in an Open message. When the GR helper detects that an active/standby switchover or a BGP restart occurs on the GR restarter, the GR helper marks all routes learned from the GR restarter as stale and starts the GR timer.
Parameters timer: Specifies the time to wait for the End-of-RIB marker, in the range of 3 to 300 seconds. Usage guidelines BGP uses this timer to control the time to receive updates from the peer. The timer is not advertised to the peer. After the GR restarter and GR helper reestablish a BGP session, they start this timer.
Usage guidelines In a large-scale network, many peers can use the same route selection policy. You can configure a peer group and add these peers into this group. In this way, peers can share the same policy as the peer group. When the policy of the group is modified, the modification also applies to peers in it. If the internal or external keyword is not specified, the command creates an IBGP peer group.
import-route Use import-route to enable BGP to redistribute routes from an IGP protocol. Use undo import-route to disable route redistribution from an IGP protocol. Syntax import-route protocol [ { process-id | all-processes } [ med med-value | route-policy route-policy-name ] *] undo import-route protocol [ process-id | all-processes ] Default BGP does not redistribute IGP routes.
log-peer-change Use log-peer-change to enable the logging of BGP session state changes. Use undo log-peer-change to disable the function. Syntax log-peer-change undo log-peer-change Default Logging of BGP session state changes is enabled. Views BGP view Predefined user roles network-admin Usage guidelines After you execute the log-peer-change command, BGP logs session establishment and disconnection events. To view the log information, use the display bgp peer ipv4 unicast log-info command.
Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters ip-address: Specifies an IPv4 network address. If the mask or mask-length is not specified, natural mask is used. mask: Specifies a mask in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32. route-policy route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters, to filter routes or set the route attributes.
mask: Specifies a mask of the network address in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32. Usage guidelines Different routing protocols might find different routes to the same destination. However, not all of those routes are optimal. For route selection, routing protocols, direct routes, and static routes are assigned different preferences. The route with the highest preference is preferred.
Usage guidelines The COMMUNITY attribute is a group of specific data carried in update messages. A route can carry one or more COMMUNITY attribute values (each is represented by a 4-byte integer). The receiving router processes the route (for example, determining whether to advertise the route and the scope for advertising the route) based on the COMMUNITY attribute values. After you execute the peer advertise-community command, routing updates advertised to the peer carry the COMMUNITY attribute.
Usage guidelines To meet increasing user demands, BGP defines a new attribute—extended community attribute. The extended community attribute has the following advantages over the COMMUNITY attribute: • The extended community attribute has an 8-byte length. • The extended community attribute supports various types. You can select an extended community attribute type as needed to implement route filtering and control. This simplifies configuration and management.
number: Specifies the number of times for which the local AS number can appear, in the range of 1 to 10. The default number is 1. If the number of times for which the local AS number appears in a route is more than the specified number, BGP considers that a routing loop occurs and discards the route. Usage guidelines By default, BGP does not receive routes that contain the local AS number in the AS_PATH attribute to avoid routing loops.
Examples # Create BGP peer 1.1.1.1 and specify its AS number as 100. system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 100 Related commands • display bgp peer ipv4 unicast • peer enable • peer group peer as-number (for a BGP peer group) Use peer as-number to specify an AS number for a peer group. Use undo peer as-number to delete the AS number of a peer group.
peer as-path-acl Use peer as-path-acl to specify an AS path list to filter routes incoming from or outgoing to a peer/peer group. Use undo peer as-path-acl to remove the configuration. Syntax peer { group-name | ip-address } as-path-acl as-path-acl-number { export | import } undo peer { group-name | ip-address } as-path-acl { export | import } Default No AS path list is specified for filtering.
peer bfd Use peer bfd to enable BFD for the link to a BGP peer. Use undo peer bfd to restore the default. Syntax peer ip-address bfd [ multi-hop | single-hop ] undo peer ip-address bfd Default BFD is disabled. Views BGP view Predefined user roles network-admin Parameters ip-address: Specifies a peer by its IP address. The peer must have been created. multi-hop: Enables multi-hop BFD. single-hop: Enables single-hop BFD.
peer capability-advertise conventional Use peer capability-advertise conventional to disable BGP multi-protocol extension and route refresh for a peer or peer group. Use undo peer capability-advertise conventional to enable BGP multi-protocol extension and route refresh for a peer or peer group. Syntax peer { group-name | ip-address } capability-advertise conventional undo peer { group-name | ip-address } capability-advertise conventional Default BGP multi-protocol extension and route refresh are enabled.
Use undo peer capability-advertise route-refresh to disable the function. Syntax peer { group-name | ip-address } capability-advertise route-refresh undo peer { group-name | ip-address } capability-advertise route-refresh Default BGP route refresh is enabled. Views BGP view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address.
Syntax peer { group-name | ip-address } capability-advertise suppress-4-byte-as undo peer { group-name | ip-address } capability-advertise suppress-4-byte-as Default The 4-byte AS number suppression function is disabled. Views BGP view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created.
Default BGP uses the output interface (IP address) of the best route destined for the BGP peer or peer group as the source interface for establishing a TCP connection to the peer or peer group. Views BGP view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created.
Use undo peer default-route-advertise to disable default route advertisement to a peer or peer group. Syntax peer { group-name | ip-address } default-route-advertise [ route-policy route-policy-name ] undo peer { group-name | ip-address } default-route-advertise Default No default route is advertised to a peer or peer group.
Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. description-text: Specifies a description for a peer or peer group, a case-sensitive string of 1 to 79 characters. Examples # Configure a description for the peer group test as ISP1.
peer enable Use peer enable to enable BGP to exchange routing information for an address family with a peer or peer group. Use undo peer enable to disable BGP from exchanging routing information for an address family with a peer or peer group. Syntax peer { group-name | ip-address } enable undo peer { group-name | ip-address } enable Default BGP cannot exchange routing information with a peer or peer group.
Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. as-number: Specifies a fake AS number in the range of 1 to 4294967295. Usage guidelines After you move a BGP router from an AS to another AS (from AS 2 to AS 3 for example), you have to modify the AS number of the router on all its EBGP peers.
import: Filters routes received from the peer/peer group. Usage guidelines The specified ACL referenced by the peer filter-policy command must have been created with the acl command in system view. Otherwise, all routes can pass the ACL.
Predefined user roles network-admin Parameters ip-address: Specifies a peer by its IP address. group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. as-number as-number: Specifies an AS for a peer by its number in the range of 1 to 4294967295.
• peer enable peer ignore Use peer ignore to disable BGP session establishment with a peer or peer group. Use undo peer ignore to restore the default. Syntax peer { group-name | ip-address } ignore undo peer { group-name | ip-address } ignore Default BGP can establish a session to a peer or peer group. Views BGP view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created.
undo peer { group-name | ip-address } ignore-originatorid Default BGP does not ignore the ORIGINATOR_ID attribute in BGP route updates. Views BGP view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. ip-address: Specifies a peer by its IP address. Usage guidelines A router is configured with a router ID.
Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. Usage guidelines To implement BGP session soft-reset when the local router and a peer or peer group do not support the route refresh function, use the peer keep-all-routes command to save all route updates received from the peer or peer group.
until the memory usage is exempt from level 2 threshold. You can use this command to avoid tearing down the BGP session with a specific EBGP peer when memory usage reaches level 2 threshold. For more information about thresholds, see Fundamentals Configuration Guide. Examples # Configure BGP to protect EBGP peer 1.1.1.1 when the memory usage reaches level 2 threshold. system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 as-number 200 [Sysname-bgp] peer 1.1.1.
Use undo peer password to remove MD5 authentication for the BGP peer or peer group. Syntax peer { group-name | ip-address } password { cipher | simple } password undo peer { group-name | ip-address } password Default MD5 authentication is disabled. Views BGP view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address.
Syntax peer { group-name | ip-address } preferred-value value undo peer { group-name | ip-address } preferred-value Default The preferred value is 0. Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created.
undo peer { group-name | ip-address } prefix-list { export | import } Default No prefix list based filtering is configured. Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IPv4 address. The peer must have been created.
Default BGP updates sent to an EBGP peer or peer group can carry both public and private AS numbers. Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created.
Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. Usage guidelines Using route reflectors can solve the issue brought by too many IBGP connections.
Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address. The peer must have been created. prefix-number: Specifies the number of routes that can be received from the peer or peer group. The value range is 1 to 4294967295.
route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. export: Applies the routing policy to routes outgoing to the peer or peer group. import: Applies the routing policy to routes incoming from the peer or peer group. Usage guidelines The specified routing policy must have been configured with the route-policy command in system view. Otherwise, all routes can pass the routing policy.
ip-address: Specifies a peer by its IP address. The peer must have been created. interval: Specifies a minimum interval for sending the same update message. The range is 0 to 600 seconds. Usage guidelines A BGP router sends an update message to its peers when a route is changed. If the route changes frequently, the BGP router sends many updates for the route, resulting in routing flaps. By configuring the interval for sending the same update to a peer or peer group, you can avoid such routing flaps.
Use undo peer timer to restore the default. Syntax peer { group-name | ip-address } timer keepalive keepalive hold holdtime undo peer { group-name | ip-address } timer Default The keepalive interval is 60 seconds, and the holdtime is 180 seconds. Views BGP view Predefined user roles network-admin Parameters group-name: Specifies a peer group by its name, a case-sensitive string of 1 to 47 characters. The peer group must have been created. ip-address: Specifies a peer by its IP address.
pic Use pic to enable BGP FRR for BGP IPv4 unicast address family. Use undo pic to disable BGP FRR for BGP IPv4 unicast address family. Syntax pic undo pic Default BGP FRR is disabled. Views BGP IPv4 unicast address family view Predefined user roles network-admin Usage guidelines FRR is used in a dual-homing network to protect a primary route with a backup route. It uses echo-mode BFD to detect the connectivity of the primary route. When the primary route fails, BGP directs packets to the backup route.
Default The preferences of external, internal, and local BGP routes are 255, 255, and 130, respectively. Views BGP IPv4 unicast address family view Predefined user roles network-admin Parameters external-preference: Specifies a preference for EBGP routes, in the range of 1 to 255. internal-preference: Specifies a preference for IBGP routes, in the range of 1 to 255. local-preference: Specifies a preference for local routes, in the range of 1 to 255.
Use undo reflect between-clients to disable this function. Syntax reflect between-clients undo reflect between-clients Default Route reflection between clients is enabled. Views BGP IPv4 unicast address family view Predefined user roles network-admin Usage guidelines When a route reflector is configured, and the clients of a route reflector are fully meshed, route reflection is unnecessary because it consumes more bandwidth resources.
Predefined user roles network-admin Parameters cluster-id: Specifies the cluster ID in the format of an integer, in the range of 1 to 4294967295. ip-address: Specifies the cluster ID in the format of an IPv4 address in dotted decimal notation. Usage guidelines The route reflector and clients form a cluster. Typically a cluster has one route reflector. The ID of the route reflector is the cluster ID.
export: Performs outbound soft-reset (filters routes advertised to the specified peer or peer group by using the new configuration). import: Performs inbound soft-reset (filters routes received from the specified peer or peer group by using the new configuration). Usage guidelines A soft-reset operation enables the router to apply a new route selection policy without tearing down BGP connections. To apply a new policy to outbound BGP sessions, execute this command with the export keyword.
reset bgp dampening ipv4 unicast Use reset bgp dampening ipv4 unicast to clear BGP IPv4 unicast route dampening information and release the suppressed BGP IPv4 unicast routes. Syntax reset bgp dampening ipv4 [ unicast ] [ network-address [ mask | mask-length ] ] Views User view Predefined user roles network-admin Parameters network-address: Specifies a destination network address. mask: Specifies a network mask, in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32.
Views User view Predefined user roles network-admin Parameters network-address: Specifies a destination network address. mask: Specifies a network mask, in dotted decimal notation. mask-length: Specifies a mask length in the range of 0 to 32. as-path-acl as-path-acl-number: Specifies an AS path list by its number in the range of 1 to 256, to filter BGP IPv4 unicast route flap statistics. peer peer-address: Clears flap statistics of BGP IPv4 unicast routes learned from the specified BGP peer.
Parameters as-number: Resets BGP sessions to peers in the AS. ip-address: Specifies the IP address of a peer with which to reset the session. all: Resets all BGP sessions of IPv4 unicast address family. external: Resets all the EBGP sessions of IPv4 unicast address family. group group-name: Resets sessions with peers in the specified BGP peer group. internal: Resets all the IBGP sessions of IPv4 unicast address family.
If the interface IP address that is selected as the router ID is removed or modified, a new router ID is selected. Other events, (the interface goes down; after a physical interface address is selected as the router ID, an IP address is configured for a loopback interface; a higher interface IP address is configured) will not trigger a router ID re-selection. After a router ID is changed, use the reset command to make it effective. Examples # Configure a global router ID as 1.1.1.1.
Related commands router id (system view) snmp-agent trap enable bgp Use snmp-agent trap enable bgp to enable SNMP notifications for BGP. Use undo snmp-agent trap enable bgp to disable SNMP notifications for BGP. Syntax snmp-agent trap enable bgp undo snmp-agent trap enable bgp Default SNMP notifications for BGP are enabled.
Predefined user roles network-admin Usage guidelines After the summary automatic command is configured, BGP summarizes IGP subnets redistributed by the import-route command. Automatic summary routes can be manually summarized, but cannot be added to the IP routing table. Examples # Configure automatic route summarization for redistributed IGP subnet routes.
If the holdtime settings on the local and peer routers are different, the smaller one is used. If the holdtime is configured as 0, no keepalive message will be sent to the peer, and the peer session will never time out. If the keepalive interval is configured as 0 and the negotiated holdtime is not 0, one third of the holdtime is taken as the interval for sending keepalive messages.
Policy-based routing commands apply next-hop Use apply next-hop to set a next hop. Use undo apply next-hop to remove the configuration. Syntax apply next-hop { ip-address [ direct ] [ track track-entry-number ] }&<1-n> undo apply next-hop [ ip-address&<1-n> ] Default No next hop is set. Views Policy node view Predefined user roles network-admin Parameters ip-address: Specifies the next-hop IP address. direct: Specifies that the next hop must be directly connected to take effect.
Views Any view Predefined user roles network-admin network-operator Parameters policy policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. Usage guidelines If no policy is specified, this command displays information about all policies. If a policy name is specified, this command displays information about the specified policy. Examples # Display all policy information.
network-operator Parameters interface-type interface-number: Specifies an interface by its type and number. slot slot-number: Displays the PBR configuration and statistics on a card. The slot-number argument is the number of the slot that holds the card. (In standalone mode.) chassis chassis-number slot slot-number: Displays the PBR configuration and statistics of a card on an IRF member device.
Table 77 Command output Field Description PBR configuration and statistics on VLAN-interface 1. Policy based routing information for interface Vlan-interface1(failed) failed indicates that the policy (including all its nodes) failed to be assigned to the driver. For a global interface (with only a one-dimensional interface number, for example, VLAN-interface 1), failed can be displayed only when you specify the slot slot-number or chassis chassis-number slot slot-number option for the command.
Parameters slot slot-number: Displays the PBR configuration and statistics on a card. The slot-number argument is the number of the slot that holds the card. (In standalone mode.) chassis chassis-number slot slot-number: Displays the PBR configuration and statistics of a card on an IRF member device. The chassis-number argument is the ID of the IRF member device, and the slot-number argument is the number of the slot that holds the card. (In IRF mode.
Views Any view Predefined user roles network-admin network-operator Examples # Display PBR configuration. display ip policy-based-route setup Policy Name Interface Name pr01 Vlan-interface1 Table 79 Command output Field Description Interface Name Interface where the policy is applied. Related commands ip policy-based-route if-match acl Use if-match acl to configure an ACL match criterion. Use undo if-match acl to remove the ACL match criterion.
[Sysname-pbr-aa-11] if-match acl 2011 # Configure Node 11 of policy aa to permit the packets matching ACL aaa. system-view [Sysname] policy-based-route aa permit node 11 [Sysname-pbr-aa-11] if-match acl name aaa ip local policy-based-route Use ip local policy-based-route to configure local PBR based on a policy. Use undo ip local policy-based-route to remove the configuration.
undo ip policy-based-route Default No policy is applied to an interface. Views Interface view Predefined user roles network-admin Parameters policy-name: Specifies a policy by its name, a case-sensitive string of 1 to 19 characters. The specified policy must already exist. Usage guidelines You can apply only one policy to an interface. Before you apply a new policy, you must first remove the current policy from the interface. Examples # Apply policy aaa to VLAN-interface 2.
permit: Specifies the match mode for the policy node as permit (default mode). node node-number: Specifies a policy node by its number. A smaller number has a higher priority. The value range for the node-number argument is 0 to 255. Usage guidelines A policy that has been applied to an interface or locally cannot be removed. To remove it, you must first cancel the application.
Routing policy commands Common routing policy commands apply as-path Use apply as-path to set the AS_PATH attribute for BGP routes. Use undo apply as-path to restore the default. Syntax apply as-path as-number&<1-32> [ replace ] undo apply as-path Default No AS_PATH attribute is set. Views Routing policy node view Predefined user roles network-admin Parameters as-number&<1-32>: Specifies an AS by its number in the range of 1 to 4294967295.
Use undo apply comm-list to restore the default. Syntax apply comm-list { comm-list-number | comm-list-name } delete undo apply comm-list Default No COMMUNITY attributes are deleted from BGP routes. Views Routing policy node view Predefined user roles network-admin Parameters comm-list-number: Specifies a basic community list by its number in the range of 1 to 99 or an advanced community list by its number in the range of 100 to 199.
Parameters none: Removes the COMMUNITY attributes of BGP routes. community-number&<1-32>: Specifies a community sequence number in the range of 1 to 4294967295. &<1-32> indicates that the argument before it can be entered up to 32 times. aa:nn&<1-32>: Specifies a community number; both aa and nn are in the range of 0 to 65535. &<1-32> indicates that the argument before it can be entered up to 32 times. internet: Sets the INTERNET community attribute for BGP routes.
Parameters +: Increases a cost value. -: Decreases a cost value. value: Specifies a cost in the range of 0 to 4294967295. Examples # Configure node 10 in permit mode for routing policy policy1 to set a cost of 120 for OSPF external routes. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match route-type external-type1or2 [Sysname-route-policy-policy1-10] apply cost 120 apply cost-type Use apply cost-type to set a cost type for routing information.
system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match tag 8 [Sysname-route-policy-policy1-10] apply cost-type internal apply extcommunity Use apply extcommunity to apply the specified extended community attribute. Use undo apply extcommunity to restore the default. Syntax apply extcommunity { rt route-target }&<1-32> [ additive ] undo apply extcommunity Default No extended community attribute is set for BGP routes.
Syntax apply isis { level-1 | level-1-2 | level-2 } undo apply isis Default No IS-IS level is set. Views Routing policy node view Predefined user roles network-admin Parameters level-1: Redistributes routes into IS-IS Level-1. level-1-2: Redistributes routes into both IS-IS Level-1 and Level-2. level-2: Redistributes routes into IS-IS Level-2. Examples # Configure node 10 in permit mode for routing policy policy1 to redistribute routes that have a tag of 8 to IS-IS level-2.
system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match as-path 1 [Sysname-route-policy-policy1-10] apply local-preference 130 apply origin Use apply origin to set an ORIGIN attribute for BGP routes. Use undo apply origin to restore the default. Syntax apply origin { egp as-number | igp | incomplete } undo apply origin Default No ORIGIN attribute is set for BGP routes.
Views Routing policy node view Predefined user roles network-admin Parameters preference: Specifies a preference in the range of 1 to 255. Usage guidelines If you have set preferences for routing protocols with the preference command, the apply preference command sets a new preference for the matching routing protocol. Non-matching routing protocols still use the preferences set by the preference command.
apply prefix-priority Use apply prefix-priority to set a prefix priority for routes. Use undo apply prefix-priority to restore the default. Syntax apply prefix-priority { critical | high | medium } undo apply prefix-priority Default No prefix priority is set, which means the prefix priority is low. Views Routing policy node view Predefined user roles network-admin Parameters critical: Sets the critical prefix priority for routes. high: Sets the high prefix priority for routes.
Parameters value: Specifies the tag value in the range of 0 to 4294967295. Examples # Configure node 10 in permit mode for routing policy policy1 to set a tag of 100. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] apply tag 100 continue Use continue to specify the next node to be matched. Use undo continue to restore the default. Syntax continue [ node-number ] undo continue Default No next node is specified.
Predefined user roles network-admin network-operator Parameters as-path-number: Specifies an AS path list by its number in the range of 1 to 256. Without this argument, the command displays information about all BGP AS path lists. Examples # Display information about BGP AS path list 1. display ip as-path 1 ListID Mode Expression 1 permit 2 Table 80 Command output Field Description ListID AS path list ID. Match mode: Mode • permit. • deny.
Examples # Display information about all BGP community lists. display ip community-list Community List Basic aaa permit Community List Advanced bbb permit 3333 Table 81 Command output Field Description Community List Basic Basic community list. Community List Advanced Advanced community list. Match mode: • permit. • deny. permit display ip extcommunity-list Use display ip extcommunity-list to display BGP extended community list information.
Field Description rt Route Target (RT) extended community attribute. display route-policy Use display route-policy to display routing policy information. Syntax display route-policy [ name route-policy-name ] Views Any view Predefined user roles network-admin network-operator Parameters name route-policy-name: Specifies a routing policy by its name, a case-sensitive string of 1 to 63 characters. Without this argument, this command displays information about all routing policies.
Syntax if-match as-path as-path-number&<1-32> undo if-match as-path [ as-path-number&<1-32> ] Default No match criterion is configured. Views Routing policy node view Predefined user roles network-admin Parameters as-path-number&<1-32>: Specifies an AS path list by its number in the range of 1 to 256. &<1-32> indicates that the argument before it can be entered up to 32 times. Examples # Define AS path list 2 to permit BGP routes containing AS number 200 or 300 to pass.
Parameters basic-community-list-number: Specifies a basic community list by its number in the range of 1 to 99. adv-community-list-number: Specifies an advanced community list by its number in the range of 100 to 199. comm-list-name: Specifies a community list by its name, a case-sensitive string of 1 to 63 characters that cannot comprise only numbers. whole-match: Exactly matches the specified community list. &<1-32>: Indicates that the argument before it can be entered up to 32 times.
if-match extcommunity Use if-match extcommunity to match BGP routes whose extended community attribute matches a specified extended community list. Use undo if-match extcommunity to remove the configuration. Syntax if-match extcommunity ext-comm-list-number&<1-32> undo if-match extcommunity [ ext-comm-list-number&<1-32> ] Default No match criterion is configured.
Views Routing policy node view Predefined user roles network-admin Parameters interface-type interface-number: Specifies an interface by its type and number. &<1-16>: Indicates that the argument before it can be entered up to 16 times. Usage guidelines BGP does not support criteria for matching against the output interface of routing information. Examples # Configure node 10 in permit mode for routing policy policy1 to permit routes with the output interface VLAN-interface 1.
if-match route-type Use if-match route-type to configure a route-type match criterion. Use undo if-match route-type to remove the configuration.
Default No tag match criterion is configured. Views Routing policy node view Predefined user roles network-admin Parameters value: Specifies a tag in the range of 0 to 4294967295. Examples # Configure node 10 in permit mode for routing policy policy1 to match RIP, OSPF, and IS-IS routing information having a tag of 8. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match tag 8 ip as-path Use ip as-path to configure an AS path list.
Examples # Configure AS path list 1 to permit routes whose AS_PATH attribute starts with 10. system-view [Sysname] ip as-path 1 permit ^10 Related commands • apply as-path • display ip as-path • if-match as-path ip community-list Use ip community-list to configure a community list. Use undo ip community-list to remove a community list.
regular-expression: Specifies a regular expression for the advanced community list, a string of 1 to 63 characters. For more information about regular expressions, see Fundamentals Configuration Guide. deny: Specifies the match mode for the community list as deny. permit: Specifies the match mode for the community list as permit. community-number&<1-32>: Specifies a community sequence number in the range of 1 to 4294967295. &<1-32> indicates that the argument before it can be entered up to 32 times.
Views System view Predefined user roles network-admin Parameters ext-comm-list-number: Specifies a number for the extended community list, 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 }&<1-32>: Specifies the RT extended community attribute, a string of 3 to 21 characters. &<1-32> indicates that the argument before it can be entered up to 32 times.
reset mac-list abc route-policy Use route-policy to create a routing policy and a node, and enter routing policy node view. Use undo route-policy to remove a routing policy or a node of it. Syntax route-policy route-policy-name { deny | permit } node node-number undo route-policy route-policy-name [ deny | permit ] [ node node-number ] Default No routing policy is created.
IPv4 routing policy commands apply fast-reroute Use apply fast-reroute to set a backup link for fast route (FRR). Use undo apply fast-reroute to remove the configuration. Syntax apply fast-reroute { backup-interface interface-type interface-number [ backup-nexthop ip-address ] | backup-nexthop ip-address } undo apply fast-reroute Default No backup link for FRR is configured.
Syntax apply ip-address next-hop ip-address undo apply ip-address next-hop Default No next hop is set for IPv4 routes. Views Routing policy node view Predefined user roles network-admin Parameters ip-address: Specifies the next hop IP address. Usage guidelines This command cannot set a next hop for redistributed routes. Examples # Configure node 10 in permit mode for routing policy policy1 to set next hop 193.1.1.8 for routes matching AS path list 1.
index: 10 deny 6.6.6.0/24 ge 26 le 28 Table 84 Command output Field Description Prefix-list Name of the IPv4 prefix list. Permitted Number of routes matching the criterion. Denied Number of routes not matching the criterion. index Index of an item. Match mode of the item: deny • permit. • deny. 6.6.6.0/24 IP address and mask. ge Greater-equal, the lower mask length. le Less-equal, the upper mask length.
prefix-list prefix-list-name: Specifies an IP prefix list by its name, a case-sensitive string of 1 to 63 characters. Examples # Configure node 10 of routing policy policy1 to match IPv4 routing information whose next hop matches IP prefix list p1. system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy-policy1-10] if-match ip next-hop prefix-list p1 ip prefix-list Use ip prefix-list to configure an IPv4 prefix list or an item for the list.
Usage guidelines An IPv4 prefix list is used to filter IPv4 addresses. It can contain multiple items, each of which specifies a range of IPv4 prefixes. The relation between the items is logic OR. If an item is passed, the IPv4 prefix list is passed. If no item is passed, the IP prefix list cannot be passed. If both ip-address and mask-length are specified as 0.0.0.0 0, only the default route will be matched. To match all routes, use 0.0.0.0 0 less-equal 32.
Support and other resources Contacting HP For worldwide technical support information, see the HP support website: http://www.hp.
Conventions This section describes the conventions used in this documentation set. Command conventions Convention Description Boldface Bold text represents commands and keywords that you enter literally as shown. Italic Italic text represents arguments that you replace with actual values. [] Square brackets enclose syntax choices (keywords or arguments) that are optional. { x | y | ... } Braces enclose a set of required syntax choices separated by vertical bars, from which you select one.
Network topology icons Represents a generic network device, such as a router, switch, or firewall. Represents a routing-capable device, such as a router or Layer 3 switch. Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router that supports Layer 2 forwarding and other Layer 2 features. Represents an access controller, a unified wired-WLAN module, or the switching engine on a unified wired-WLAN switch. Represents an access point.
Index ABCDEFGHILMNOPRSTVW checkzero,33 A circuit-cost,165 abr-summary (OSPF area view),68 compare-different-as-med,248 address-family ipv4,240 confederation id,248 address-family ipv4,1 confederation nonstandard,249 advertise-rib-active,240 confederation peer-as,250 aggregate,241 continue,347 apply as-path,338 cost-style,166 apply comm-list delete,338 apply community,339 D apply cost,340 dampening,251 apply cost-type,341 default,73 apply extcommunity,342 default cost,33 apply fast-rer
display ip as-path,347 display ospf vlink,115 display ip community-list,348 display rib attribute,13 display ip extcommunity-list,349 display rib graceful-restart,14 display ip policy-based-route,329 display rib nib,15 display ip policy-based-route interface,330 display rip,35 display ip policy-based-route local,332 display rip database,36 display ip policy-based-route setup,333 display rip interface,37 display ip prefix-list,362 display rip route,39 display ip routing-table,1 display route
graceful-restart interval (OSPF view),125 isis dis-name,213 graceful-restart suppress-sa,201 isis dis-priority,214 graceful-restart t1,202 isis enable,214 graceful-restart t2,203 isis mib-binding,215 graceful-restart t3,203 isis silent,216 graceful-restart timer restart,280 isis small-hello,216 graceful-restart timer wait-for-rib,281 isis timer csnp,217 group,282 isis timer hello,217 H isis timer holding-multiplier,218 isis timer lsp,219 host-advertise,125 isis timer retransmit,220 host-
ospf authentication-mode,137 peer public-as-only,310 ospf bfd enable,138 peer reflect-client,311 ospf cost,139 peer route-limit,312 ospf dr-priority,140 peer route-policy,313 ospf fast-reroute lfa-backup,140 peer route-update-interval,314 ospf mib-binding,141 peer substitute-as,315 ospf mtu-enable,142 peer timer,315 ospf network-type,142 pic,148 ospf prefix-suppression,143 pic,317 ospf timer dead,144 policy-based-route,336 ospf timer hello,145 preference,50 ospf timer poll,145 prefere
rip bfd enable destination,54 snmp-agent trap enable ospf,155 rip default-route,54 spf-schedule-interval,157 rip enable,55 stub (OSPF area view),158 rip input,56 stub-router,159 rip max-packet-length,56 Subscription service,366 rip metricin,57 summary,64 rip metricout,58 summary (IS-IS view),234 rip mib-binding,59 summary automatic,326 rip output,60 T rip poison-reverse,60 timer,327 rip split-horizon,61 timer lsp-generation,235 rip summary-address,62 timer lsp-max-age,236 rip version