Page 2
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V G, V G, PSPT, XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd. All other trademarks that may be mentioned in this manual are the property of their respective owners.
Preface The H3C S5800&S5820X documentation set includes 11 command references, which describe the commands and command syntax options for the S5800&S5820X Release 1110. The Layer 3 – IP Routing Command Reference describes routing configuration commands. This preface includes: Audience Document Organization Conventions About the H3C S5800&S5820X Documentation Set...
Page 4
Means reader be careful. Improper operation may cause data loss or damage to equipment. Means a complementary description. About the H3C S5800&S5820X Documentation Set The H3C S5800&S5820X documentation set also includes: Category Documents Purposes Marketing brochures Describe product specifications and benefits.
Page 5
Interface Cards User available for the products. Manual Describes the benefits, features, hardware H3C OAP Cards User specifications, installation, and removal of the OAP Manual cards available for the products. H3C Low End Series...
Obtaining Documentation You can access the most up-to-date H3C product documentation on the World Wide Web at http://www.h3c.com. Click the links on the top navigation bar to obtain different categories of product documentation: [Technical Support &...
IP Routing Basics Configuration Commands The term router in this document refers to both routers and Layer 3 switches. IP Routing Basics Configuration Commands display ip routing-table Syntax display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose | | { begin | exclude | include } regular-expression ] View Any view...
Page 20
Use the display ip routing-table verbose command to display detailed information about all routes in the routing table. This command displays detailed information about all active and inactive routes, including the statistics of the entire routing table and information for each route. Examples # Display brief information about active routes in the routing table.
Page 21
Tag: 0 Destination: 10.1.1.0/24 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 NextHop: 10.1.1.1 Interface: Vlan-interface20 BkNexthop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbour: 0.0.0.0 Tunnel ID: 0x0 Label: NULL State: Active Adv Age: 1d00h00m30s Tag: 0 Destination: 10.1.1.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0...
Page 22
Displayed first are statistics for the whole routing table, followed by detailed description of each route (in sequence). Table 1-2 display ip routing-table verbose command output description Field Description Destination Destination address/mask length Protocol Protocol that presents the route Process ID Process ID Preference Preference of the route...
Field Description Normally, among routes to a destination, the route with the highest preference is installed into the core routing table and advertised, NotInstall while a NotInstall route cannot be installed into the core routing table but may be advertised. The packets matching a Reject route are dropped.
Page 24
Description Use the display ip routing-table acl command to display information about routes permitted by a specified basic ACL. This command is usually used together with route policy display commands. For more information about route policy, see Route Policy Configuration in the Layer 3 - IP Routing Configuration Guide.
display ip routing-table ip-prefix Syntax display ip routing-table ip-prefix ip-prefix-name [ verbose ] View Any view Default Level 1: Monitor level Parameters ip-prefix-name: IP prefix list name, a string of 1 to 19 characters. verbose: Displays detailed routing table information, including inactive routes. With this argument absent, the command displays only brief information about active routes.
Table 1-3 display ip routing-table statistics command output description Field Description Proto Origin of the routes. route Number of routes from the origin active Number of active routes from the origin Number of routes added into the routing table since the router started up or the routing added table was last cleared Number of routes that have been deleted.
Table 1-4 for description about the above output. display ipv6 routing-table ipv6-prefix Syntax display ipv6 routing-table ipv6-prefix ipv6-prefix-name [ verbose ] View Any view Default Level 1: Monitor level Parameters ipv6-prefix-name: Name of the IPv6 prefix list, a string of 1 to 19 characters. verbose: Displays detailed information about both active and inactive routes.
verbose: Displays detailed route information about both active and inactive routes. Without this keyword, only brief active route information is displayed. Description Use the display ipv6 routing-table protocol command to display the routes of a specified routing protocol. Examples # Display brief information about all direct routes. <Sysname>...
BGP4+ Total Table 1-5 display ipv6 routing-table statistics command output description Field Description Protocol Routing protocol route Route number of the protocol active Number of active routes added Routes added since the startup of the router deleted Deleted routes, which will be permanently removed after a specified time freed Released (permanently removed from the routing table) route number Total...
: 22161sec Table 1-6 display ipv6 routing-table verbose command output description Field Description Destination Destination IPv6 address PrefixLength Prefix length of the address Nexthop Next hop Preference Route preference RelayNextHop Recursive next hop Tag of the route Neighbour Neighbor address ProcessID Process ID Interface...
Examples # Display the router ID. <Sysname> display router id Configured router ID is 1.1.1.1 router id Syntax router id router-id undo router id View System view Default Level 2: System level Parameters router-id: Router ID, expressed as an IPv4 address. Description Use the router id command to configure a router ID.
View User view Default Level 2: System level Parameters vpn-instance-name: VPN instance name, a string of 1 to 31 case-sensitive characters. protocol: Clears statistics for the IPv4 routing protocol, which can be bgp, direct, isis, ospf, rip, or static. all: Clears statistics for all IPv4 routing protocols. Description Use the reset ip routing-table statistics protocol command to clear routing statistics for the routing table or VPN routing table.
Static Routing Configuration Commands The term router in this document refers to both routers and Layer 3 switches. Static Routing Configuration Commands delete static-routes all Syntax delete [ vpn-instance vpn-instance-name ] static-routes all View System view Default Level 2: System level Parameters vpn-instance-name: Name of a VPN instance, a string of 1 to 31 case-sensitive characters.
Page 43
preference preference-value : Specifies the preference of the static route, which is in the range of 1 to 255 and defaults to 60. tag tag-value: Sets a tag value for the static route from 1 to 4294967295. The default is 0. Tags of routes are used in routing policies to control routing.
The static route does not take effect if you specify its next hop address first and then configure the address as the IP address of a local interface, such as a VLAN interface. If route flapping occurs, enabling BFD may worsen it. Be cautious when using BFD. For details about BFD, see BFD Configuratio in the High Availability Configuration Guide.
Description Use the ip route-static default-preference command to configure the default preference for static routes. Use the undo ip route-static default-preference command to restore the default. By default, the default preference of static routes is 60. Note that: If no preference is specified when configuring a static route, the default preference is used. When the default preference is re-configured, it applies to subsequently added static routes only.
Page 46
Static route FRR takes effect only for static routes that have both the outbound interface and next hop specified. Do not use static route FRR and BFD (for static route) at the same time. Example # Enable static route FRR to designate a backup next hop by using route policy frr. <Sysname>...
RIP Configuration Commands The term router in this document refers to both routers and Layer 3 switches. RIP Configuration Commands checkzero Syntax checkzero undo checkzero View RIP view Default Level 2: System level Parameters None Description Use the checkzero command to enable zero field check on RIPv1 messages. Use the undo checkzero command to disable zero field check.
undo default cost View RIP view Default Level 2: System level Parameters value: Default metric of redistributed routes, in the range of 0 to 16. Description Use the default cost command to configure the default metric for redistributed routes. Use the undo default cost command to restore the default. By default, the default metric of redistributed routes is 0.
The RIP router with this feature configured will not receive any default routes from RIP neighbors. Related commands: rip default-route. Examples # Configure all the interfaces under RIP process 1 to send only a default route with a metric of 2 to RIP neighbors.
Page 50
update output delay : 20(ms) output count : TRIP retransmit time : 5 sec(s) TRIP response packets retransmit count : Silent interfaces : None Default routes : Only Default route cost : 3 Verify-source : Enabled Networks : 192.168.1.0 Configured peers : None Triggered updates sent : 0 Number of routes changes : 0 Number of replies to queries : 0...
Field Description Maximum retransmit times for update requests TRIP response packets retransmit count and responses Number of silent interfaces, which do not Silent interfaces periodically send updates Indicates whether a default route is sent to RIP neighbors only means only a default route is advertised. Default routes originate means a default route is advertised along with other routes.
Table 3-3 display rip interface command output description Field Description Interface-name Name of an interface running RIP Address/Mask IP address and mask of the interface Version RIP version running on the interface Additional routing metric added to the incoming MetricIn routes Name of the route policy used to add the additional routing metric for incoming routes.
Page 54
ip-address { mask | mask-length }: Displays route information about a specified IP address. peer ip-address: Displays all routing information learned from a specified neighbor. statistics: Displays the route statistics, including total number of routes and number of routes of each neighbor. Description Use the display rip route command to display the routing information of a specified RIP process.
Page 55
Table 3-4 display rip route command output description Field Description R — RIP route T — TRIP route P — The route never expires Route Flags A — The route is aging S — The route is suppressed G — The route is in Garbage-collect state Routing information learned on a RIP interface from the Peer 21.0.0.23 on Vlan-interface 1 specified neighbor...
fast-reroute Syntax fast-reroute route-policy route-policy-name undo fast-reroute View RIP view Default Level 2: System level Parameters route-policy route-policy-name: References a route policy to designate a backup next hop. The route-policy-name argument is a string of 1 to 19 characters. Description Use the fast-reroute command to configure RIP fast reroute (FRR).
Page 57
undo filter-policy export [ protocol [ process-id ] | interface-type interface-number ] View RIP view Default Level 2: System level Parameters acl-number: Number of an ACL used to filter outbound routes, in the range of 2000 to 3999. ip-prefix ip-prefix-name: Name of an IP prefix list used to filter outbound routes, a string of 1 to 19 characters.
Related commands: acl and ip ip-prefix. Examples # Reference ACL 2000 to filter incoming routes. <Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule deny source 192.168.10.0 0.0.0.255 [Sysname-acl-basic-2000] quit [Sysname] rip 1 [Sysname-rip-1] filter-policy 2000 import # Reference IP prefix list abc on Vlan-interface 1 to filter all received RIP routes. [Sysname-rip-1] filter-policy ip-prefix abc import Vlan-interface 1 # Configure ACL 3000 to permit only route 113.0.0.0/16 to pass, and reference ACL 3000 to filter incoming routes.
Only active routes can be redistributed. You can use the display ip routing-table protocol command to display route state information. You can specify a route policy by using the keyword route-policy to redistribute only the specified routes. You can configure a cost for redistributed routes by using the keyword cost. You can configure a tag value for redistributed routes by using the keyword tag.
network Syntax network network-address undo network network-address View RIP view Default Level 2: System level Parameters network-address: IP address of a network segment, which can be the IP network address of any interface. Description Use the network command to enable RIP on the interface attached to the specified network. Use the undo network command to disable RIP on the interface attached to the specified network.
Parameters time: RIP packet sending interval, in milliseconds. It is in the range 10 to 100. count: Maximum number of RIP packets sent at each interval. It is in the range 1 to 20. Description Use the output-delay command to configure the maximum RIP packets that can be sent at the specified interval for all interfaces under the RIP process.
preference Syntax preference [ route-policy route-policy-name ] value undo preference [ route-policy ] View RIP view Default Level 2: System level Parameters route-policy-name: Route policy name with 1 to 19 characters. value: Preference for RIP routes, in the range of 1 to 255. The smaller the value, the higher the preference.
Description Use the reset rip process command to reset the specified RIP process. After executing the command, you are prompted whether you want to reset the RIP process. Examples # Reset RIP process 100. <Sysname> reset rip 100 process Warning : Reset RIP process? [Y/N]:Y reset rip statistics Syntax reset rip process-id statistics...
Use the undo rip command to disable a RIP process. By default, no RIP process runs. Note that: If no VPN instance is specified, the RIP process will run under public network instance. You must create a VPN instance before you apply a RIP process to it. For related configuration, see the ip vpn-instance command.
Examples # Configure MD5 authentication on VLAN-interface 10 with the key string being rose in the format defined in RFC 2453. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip version 2 [Sysname-Vlan-interface10] rip authentication-mode md5 rfc2453 rose rip bfd enable Syntax rip bfd enable undo rip bfd enable...
undo rip default-route View Interface view Default Level 2: System level Parameters only: Advertises only a default route. originate: Advertises a default route and other routes. cost: Cost of the default route, in the range 1 to 15. The default is 1. no-originate: Advertises routes other than a default route.
Default Level 2: System level Parameters None Description Use the rip input command to enable the interface to receive RIP messages. Use the undo rip input command to disable the interface from receiving RIP messages. By default, an interface is enabled to receive RIP messages. Related commands: rip output.
the rip metricout command. Note that, the rip metricout command does not support the + or – keyword (used to add or reduce a metric) specified in the apply cost command. For details about the apply cost command, see Route Policy Configuration Commands in the Layer 3 - IP Routing Command Reference.
Examples Configure VLAN-interface 10 to add a metric of 6 for the outgoing route 1.0.0.0/8 and to add a metric of 2 for other outgoing routes. <Sysname> system-view [Sysname] ip ip-prefix 123 permit 1.0.0.0 8 [Sysname] route-policy abc permit node 0 [Sysname-route-policy] if-match ip-prefix 123 [Sysname-route-policy] apply cost 6 [Sysname] interface vlan-interface 10...
Default Level 2: System level Parameters None Description Use the rip output command to enable the interface to send RIP messages. Use the undo rip output command to disable the interface from sending RIP messages. Sending RIP messages is enabled on an interface by default. Related commands: rip input.
View Interface view Default Level 2: System level Parameters None Description Use the rip split-horizon command to enable the split horizon function. Use the undo rip split-horizon command to disable the split horizon function. The split horizon function is enabled by default. The split horizon function is necessary for preventing routing loops.
Description Use the rip summary-address command to configure RIPv2 to advertise a summary route through the interface. Use the undo rip summary-address command to remove the configuration. Note that the summary address is valid only when the automatic summarization is disabled. Related commands: summary.
summary Syntax summary undo summary View RIP view Default Level 2: System level Parameters None Description Use the summary command to enable automatic RIPv2 summarization. Natural masks are used to advertise summary routes so as to reduce the size of routing tables. Use the undo summary command to disable automatic RIPv2 summarization so that all subnet routes can be broadcast.
update-value: Update timer time in seconds, in the range of 1 to 3600. Description Use the timers command to configure RIP timers. By adjusting RIP timers, you can improve network performance. Use the undo timers command to restore the default. By default, the garbage-collect timer is 120 seconds, the suppress timer 120 seconds, the timeout timer 180 seconds, and the update timer 30 seconds.
Description Use the validate-source-address command to enable the source IP address validation on incoming RIP routing updates. Use the undo validate-source-address command to disable the source IP address validation. The source IP address validation is enabled by default. Generally, disabling the validation is not recommended. Examples # Disable the source IP address validation on incoming RIP routing updates.
Parameters ip-address: IP address of the summary route in dotted decimal notation. mask: Summary route mask, in dotted decimal notation. mask-length: Length of summary route mask, in the range 0 to 32 bits. cost cost: Specifies the cost of the summary route, in the range 1 to 16777214. For Type-1 external routes, the cost defaults to the largest cost among routes that are summarized.
Parameters md5: Specifies the MD5 ciphertext authentication mode. simple: Specifies the simple authentication mode. Description Use the authentication-mode command to specify an authentication mode for the OSPF area. Use the undo authentication-mode command to remove the authentication mode. By default, no authentication mode is configured for an OSPF area. Routers that reside in the same area must have the same authentication mode: non-authentication, simple, or MD5.
default Syntax default { cost cost | limit limit | tag tag | type type } * undo default { cost | limit | tag | type } * View OSPF view Default Level 2: System level Parameters cost: Specifies the default cost for redistributed routes, in the range 0 to 16777214. limit: Specifies the default upper limit of routes redistributed per time, in the range 1 to 2147483647.
Description Use the default-cost command to configure a cost for the default route advertised to the stub or NSSA area. Use the undo default-cost command to restore the default value. The cost defaults to 1. This command is only applicable to the ABR of a stub area or the ABR/ASBR of an NSSA area. Related commands: stub, nssa.
summary: Advertises the Type-3 summary LSA of the specified default route. Description Use the default-route-advertise command to generate a default route into the OSPF routing domain. Use the undo default-route-advertise command to disable OSPF from distributing a default external route. By default, no default route is distributed.
[Sysname] ospf 100 [Sysname-ospf-100] description abc # Describe OSPF area 0 as bone area. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 0 [Sysname-ospf-100-area-0.0.0.0] description bone area display ospf abr-asbr Syntax display ospf [ process-id ] abr-asbr View Any view Default Level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535.
Field Description Nexthop Next hop address RtType Router type: ABR, ASBR display ospf asbr-summary Syntax display ospf [ process-id ] asbr-summary [ ip-address { mask | mask-length } ] View Any view Default Level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. ip-address: IP address, in dotted decimal format.
Destination Net Mask Proto Process Type Metric 30.1.2.0 255.255.255.0 OSPF 30.1.1.0 255.255.255.0 OSPF Table 4-2 display ospf asbr-summary command output description Field Description Total Summary Address Count Total number of summary routes Address of the summary route Mask Mask of the summary route address Tag of the summary route Status Advertisement status of the summary route...
Page 90
Examples # Display OSPF brief information. <Sysname> display ospf brief OSPF Process 1 with Router ID 192.168.1.2 OSPF Protocol Information RouterID: 192.168.1.2 Border Router: NSSA Route Tag: 0 Multi-VPN-Instance is not enabled SPF-schedule-interval: 5 0 5000 LSA generation interval: 5 0 5000 LSA arrival interval: 1000 Transmit pacing: Interval: 20 Count: 3 Default ASE parameters: Metric: 1 Tag: 1 Type: 2...
Page 91
Field Description Whether the router is a boarder router: Border Router ASBR NSSA ABR Route Tag The tag of redistributed routes Multi-VPN-Instance is not enabled The OSPF process does not support multi-VPN-instance. SPF-schedule-interval Interval for SPF calculations LSA generation interval LSA generation interval LSA arrival interval Minimum LSA repeat arrival interval...
Field Description Authentication type of the area: None: No authentication Authtype Simple: simple authentication MD5: MD5 authentication Area flag The type of the area SPF scheduled Count SPF calculation count in the OSPF area Interface Interface in the area Cost Interface cost State Interface state...
Page 93
OSPF Process 1 with Router ID 2.2.2.2 Cumulations IO Statistics Type Input Output Hello DB Description Link-State Req Link-State Update Link-State Ack LSAs originated by this router Router: 4 Network: 0 Sum-Net: 0 Sum-Asbr: 0 External: 0 NSSA: 0 Opq-Link: 0 Opq-Area: 0 Opq-As: 0 LSAs Originated: 4 LSAs Received: 7...
Field Description Sum-Net Number of Type-3 LSAs originated Sum-Asbr Number of Type-4 LSAs originated External Number of Type-5 LSAs originated NSSA Number of Type-7 LSAs originated Opq-Link Number of Type-9 LSAs originated Opq-Area Number of Type-10 LSAs originated Opq-As Number of Type-11 LSAs originated LSA originated Number of LSAs originated LSA Received...
Page 95
: OSPF Router ID confusion : OSPF bad packet : OSPF bad version : OSPF bad checksum : OSPF bad area ID : OSPF drop on unnumber interface : OSPF bad virtual link : OSPF bad authentication type : OSPF bad authentication key 0 : OSPF packet too small : OSPF Neighbor state low : OSPF transmit error...
Field Description HELLO: Neighbor unknown Hello packets received from unknown neighbors DD: MTU option mismatch DD packets with mismatched MTU DD: Unknown LSA type DD packets with unknown LSA type DD: Extern option mismatch DD packets with mismatched option field LS ACK: Bad ack Bad LSAck packets for LSU packets LS ACK: Unknown LSA type...
Area: 0.0.0.0 IP Address Type State Cost Pri 192.168.1.1 P-2-P 1562 1 0.0.0.0 0.0.0.0 Area: 0.0.0.1 IP Address Type State Cost Pri 172.16.0.1 Broadcast 172.16.0.1 0.0.0.0 Table 4-6 display ospf interface command output description Field Description Area Area ID of the interface IP address Interface IP address (regardless of whether TE is enabled or not) Interface network type:...
Page 98
Default Level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. 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.
Page 99
Table 4-7 display ospf lsdb command output description Field Description Area LSDB information of the area Type LSA type LinkState ID Linkstate ID AdvRouter The router that advertised the LSA Age of the LSA Length of the LSA Sequence Sequence number of the LSA Metric Cost of the LSA # Display Type2 LSA (Network LSA) information in the LSDB.
Table 4-8 display ospf lsdb network command output description Field Description Type LSA type LS ID DR IP address Adv Rtr Router that advertised the LSA LS Age LSA age time LSA length LSA options: O: Opaque LSA advertisement capability E: AS External LSA reception capability Options EA: External extended LSA reception capability...
<Sysname> display ospf nexthop OSPF Process 1 with Router ID 192.168.0.1 Routing Nexthop Information Next Hops: Address Refcount IntfAddr Intf Name ---------------------------------------------------------------- 192.168.0.1 192.168.0.1 Vlan-interface1 192.168.0.2 192.168.0.1 Vlan-interface1 192.168.1.1 192.168.1.1 Vlan-interface2 Table 4-9 display ospf nexthop command output description Field Description Next hops Information about Next hops...
Page 102
Examples # Display detailed OSPF neighbor information. <Sysname> 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 GR State: Normal State: Full Mode: Nbr is Master Priority: 1 DR: 1.1.1.2 BDR: 1.1.1.1 MTU: 0 Dead timer due in 33 sec Neighbor is up for 02:03:35...
Page 103
Field Description Neighbor state: Down: This is the initial state of a neighbor conversation. Init: In this state, the router has seen a Hello packet from the neighbor. However, router established bidirectional communication with the neighbor (the router itself did not appear in the neighbor's hello packet). Attempt: Available only in an NBMA network, Under this state, the OSPF router has not received any information from a neighbor for a period but can send Hello packets at a...
Neighbor Brief Information Area: 0.0.0.0 Router ID Address Pri Dead-Time Interface State 1.1.1.2 1.1.1.2 Eth1/1 Full/DR Table 4-11 display ospf peer command output description Field Description Area Neighbor area Router ID Neighbor router ID Address Neighbor interface address Neighboring router priority Dead time(s) Dead interval remained Interface...
Table 4-12 display ospf peer statistics command output description Field Description Area ID. The state statistics information of all the routers in the area to which the Area ID router belongs is displayed. Down Number of neighboring routers in the Down state in the same area Attempt Number of neighboring routers in the Attempt state in the same area Init...
OSPF Process 1 with Router ID 1.1.1.1 OSPF Request List The Router's Neighbor is Router ID 2.2.2.2 Address 10.1.1.2 Interface 10.1.1.1 Area 0.0.0.0 Request list: Type LinkState ID AdvRouter Sequence Router 2.2.2.2 1.1.1.1 80000004 Network 192.168.0.1 1.1.1.1 80000003 Sum-Net 192.168.1.0 1.1.1.1 80000002 Table 4-13 display ospf request-queue command output description...
If no OSPF process is specified, the retransmission queue information of all OSPF processes is displayed. Examples # Display OSPF retransmission queue information. <Sysname> display ospf retrans-queue OSPF Process 1 with Router ID 1.1.1.1 OSPF Retransmit List The Router's Neighbor is Router ID 2.2.2.2 Address 10.1.1.2 Interface 10.1.1.1 Area 0.0.0.0...
Page 108
Parameters process-id: OSPF process ID, in the range 1 to 65535. interface interface-type interface-number: Displays OSPF routing information advertised via the interface. nexthop nexthop-address: Displays OSPF routing information with the specified next hop. Description Use the display ospf routing command to display OSPF routing information. If no OSPF process is specified, the routing information of all OSPF processes is displayed.
display ospf vlink Syntax display ospf [ process-id ] vlink View Any view Default Level 1: Monitor level Parameters process-id: OSPF process ID, in the range 1 to 65535. Description Use the display ospf vlink command to display OSPF virtual link information. If no OSPF process is specified, the OSPF virtual link information of all OSPF processes is displayed.
enable link-local-signaling Syntax enable link-local-signaling undo enable link-local-signaling View OSPF view Default Level 2: System level Parameters None Description Use the enable link-local-signaling command to enable the OSPF link-local signaling (LLC) capability. Use the undo enable link-local-signaling command to disable the OSPF link-local signaling capability.
Parameters auto: Calculates a backup next hop automatically for all routes. route-policy route-policy-name: References a route policy to designate a backup next hop. The route-policy-name argument is a string of 1 to 19 characters. Description Use the fast-reroute command to configure OSPF fast reroute (FRR). Use the undo fast-reroute command to restore the default.
export: Filters Type-3 LSAs advertised to other areas. import: Filters Type-3 LSAs advertised into the area. Description Use the filter command to configure incoming/outgoing Type-3 LSAs filtering on an ABR. Use the undo filter command to disable Type-3 LSA filtering. By default, Type-3 LSAs filtering is disabled.
By default, the filtering of redistributed routes is not configured. You can use this command to filter redistributed routes as needed. Note that if you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard destination dest-addr dest-wildcard command to...
ip-prefix ip-prefix-name: Name of an IP address prefix list used to filter incoming routes based on destination IP address, a string of up to 19 characters. For details about IP prefix lists, see Route Policy Configuration in the Layer 3 - IP Routing Configuration Guide. route-policy route-policy-name: Name of a route policy used to filter incoming routes based on route policy, a string of up to 19 characters.
Default Level 2: System level Parameters ietf: Enables the IETF GR capability. nonstandard: Enables the non-IETF GR capability. Description Use the graceful-restart command to enable OSPF Graceful Restart capability. Use the undo graceful-restart command to disable OSPF Graceful Restart capability. By default, OSPF Graceful Restart capability is disabled.
Parameters acl-number: Basic or advanced ACL number, in the range 2000 to 3999. prefix-list: Name of the specified IP prefix list, a string of 1 to 19 characters. Description Use the graceful-restart help command to configure for which OSPF neighbors the current router can serve as a GR Helper.
Examples # Configure the Graceful Restart interval for OSPF process 1 as 100 seconds. <Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] graceful-restart interval 100 host-advertise Syntax host-advertise ip-address cost undo host-advertise ip-address View OSPF area view Default Level 2: System level Parameters ip-address: IP address of a host cost: Cost of the route, in the range 1 to 65535.
Page 119
Parameters protocol: Redistributes routes from the specified protocol, which can be bgp, direct, isis, ospf, rip, or static. process-id: Process ID, in the range 1 to 65535. The default is 1. It is available only when the protocol is rip, ospf, or isis. all-processes: Redistributes routes from all the processes of the specified routing protocol.
The import-route command cannot redistribute default routes. Use the import-route bgp allow-ibgp command with care, because it redistributes both EBGP and IBGP routes that may cause routing loops. Only active routes can be redistributed. You can use the display ip routing-table protocol command to display route state information.
lsa-arrival-interval Syntax lsa-arrival-interval interval undo lsa-arrival-interval View OSPF view Default Level 2: System level Parameters interval: Specifies the minimum LSA repeat arrival interval in milliseconds, in the range 0 to 60000. Description Use the lsa-arrival-interval command to specify the minimum LSA repeat arrival interval. Use the undo lsa-arrival-interval command to restore the default.
incremental-interval: LSA generation incremental interval in milliseconds, in the range 10 to 60000. The default is 5000 milliseconds. Description Use the lsa-generation-interval command to configure the OSPF LSA generation interval. Use the undo lsa-generation-interval command to restore the default. The LSA generation interval defaults to 5 seconds. With this command configured, when network changes are not frequent, LSAs are generated at the initial-interval.
undo maximum load-balancing View OSPF view Default Level 2: System level Parameters maximum: Maximum number of equal cost routes for load balancing. The number ranges from 1 to 8. No load balancing is available when the number is set to 1. Description Use the maximum load-balancing command to specify the maximum number of equal cost routes for load balancing.
Examples # Specify the maximum number of intra-area routes as 500. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] maximum-routes intra 500 network (OSPF area view) Syntax network ip-address wildcard-mask undo network ip-address wildcard-mask View OSPF area view Default Level 2: System level Parameters ip-address: IP address of a network.
View OSPF area view Default Level 2: System level Parameters default-route-advertise: Usable on an NSSA ABR or an ASBR only. If it is configured on an NSSA ABR, the ABR generates a default route in a Type-7 LSA into the NSSA regardless of whether the default route is available.
Default Level 2: System level Parameters None Description Use the opaque-capability enable command to enable opaque LSA advertisement and reception. With the command configured, the OSPF device can receive and advertise the Type-9, Type-10 and Type-11 opaque LSAs. Use the undo opaque-capability command to restore the default. The feature is disabled by default.
Examples # Configure the network 131.119.0.0/16 in Area 1 to support MD5 cipher authentication, and set the interface key ID to 15, authentication password to abc, and password type to cipher. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] network 131.119.0.0 0.0.255.255 [Sysname-ospf-100-area-0.0.0.1] authentication-mode md5 [Sysname-ospf-100-area-0.0.0.1] quit [Sysname-ospf-100] quit...
[Sysname-ospf-1] area 0 [Sysname-ospf-1-area-0.0.0.0] network 192.168.0.0 0.0.255.255 [Sysname] interface vlan-interface 11 [Sysname-Vlan-interface11] ospf bfd enable ospf cost Syntax ospf cost value undo ospf cost View Interface view Default Level 2: System level Parameters value: OSPF cost, in the range 0 to 65535 for a loopback interface and 1 to 65535 for other interfaces. Description Use the ospf cost command to set an OSPF cost for the interface.
ospf dr-priority Syntax ospf dr-priority priority undo ospf dr-priority View Interface view Default Level 2: System level Parameters priority: DR Priority of the interface, in the range 0 to 255. Description Use the ospf dr-priority command to set the priority for DR/BDR election on an interface. Use the undo ospf dr-priority command to restore the default value.
Examples # Bind OSPF process 100 to MIB operation. <Sysname> system-view [Sysname] ospf mib-binding 100 # Restore the default, that is, bind the OSPF process with the smallest process ID to MIB operation. <Sysname> system-view [Sysname] undo ospf mib-binding ospf mtu-enable Syntax ospf mtu-enable undo ospf mtu-enable...
Page 132
View Interface view Default Level 2: System level Parameters broadcast: Specifies the network type as Broadcast. nbma: Specifies the network type as NBMA. p2mp: Specifies the network type as P2MP. unicast: Specifies the P2MP interface to unicast OSPF packets. By default, a P2MP interface multicasts OSPF packets.
If an interface receives no hello packet from a neighbor within the dead interval, the interface considers the neighbor down. The dead interval on an interface is at least four times the hello interval. Any two routers attached to the same segment must have the same dead interval. Related commands: ospf timer hello.
Parameters interval: LSA retransmission interval in seconds, in the range 1 to 3600. Description Use the ospf timer retransmit command to set the LSA retransmission interval on an interface. Use the undo ospf timer retransmit command to restore the default. The interval defaults to 5s.
This configuration is not supported on the null interface. Examples # Set the LSA transmission delay to 3 seconds on the current interface. <Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf trans-delay 3 peer Syntax peer ip-address [ cost value | dr-priority dr-priority ] undo peer ip-address View OSPF view...
Examples # Specify the neighbor 1.1.1.1. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] peer 1.1.1.1 preference Syntax preference [ ase ] [ route-policy route-policy-name ] value undo preference [ ase ] View OSPF view Default Level 2: System level Parameters ase: Sets a preference for ASE routes. If the keyword is not specified, using the command sets a preference for OSPF internal routes.
Default Level 2: System level Parameters process-id: Clears the statistics information of the specified OSPF process, which is in the range 1 to 65535. neighbor: Clears neighbor statistics. interface-type interface-number: Clears the statistics information of the neighbor connected to the specified interface.
Warning : Reset OSPF process? [Y/N]:Y reset ospf redistribution Syntax reset ospf [ process-id ] redistribution View User view Default Level 2: System level Parameters process-id: OSPF process ID, in the range 1 to 65535. Description Use the reset ospf redistribution command to restart route redistribution. If no process ID is specified, using the command restarts route redistribution for all OSPF processes.
View System view Default Level 3: Manage level Parameters process-id: OSPF process ID, in the range 1 to 65535. ifauthfail: Interface authentication failure information. ifcfgerror: Interface configuration error information. ifrxbadpkt: Information about error packets received. ifstatechange: Interface state change information. iftxretransmit: Packet receiving and forwarding information.
View OSPF view Default Level 2: System level Parameters maximum-interval: Maximum OSPF route calculation interval in seconds, in the range 1 to 60. minimum-interval: Minimum OSPF route calculation interval in milliseconds, in the range 10 to 60000, which defaults to 0. incremental-interval: Incremental value in milliseconds, in the range 10 to 60000, which defaults to 5000.
Description Use the stub command to configure an area as a stub area. Use the undo stub command to remove the configuration. No area is stub area by default. Note that, to cancel the no-summary configuration on the ABR, simply execute the stub command again to overwrite it.
transmit-pacing Syntax transmit-pacing interval interval count count undo transmit-pacing View OSPF view Default Level 2: System level Parameters interval: Interval at which an interface sends LSU packets, in milliseconds. Its value is in the range 10 to 1000. If the router has a number of OSPF interfaces, you are recommended to increase this interval to reduce the total numbers of LSU packets sent by the router every second.
Page 146
hello seconds: Hello interval in seconds, in the range 1 to 8192. The default is 10. It must be identical to the hello interval on its virtual link neighbor. retransmit seconds: Retransmission interval in seconds, in the range 1 to 3600, which defaults to 5. trans-delay seconds: Transmission delay interval in seconds, in the range 1 to 3600, which defaults to 1.
IS-IS Configuration Commands The term router in this document refers to both routers and Layer-3 switches. IS-IS Configuration Commands area-authentication-mode Syntax area-authentication-mode { md5 | simple } password [ ip | osi ] undo area-authentication-mode View IS-IS view Default Level 2: System level Parameters md5: Specifies the MD5 authentication mode.
Use the undo area-authentication-mode command to restore the default. No area authentication is configured by default. The password in the specified mode is inserted into all outgoing Level-1 packets (LSP, CSNP and PSNP) and is used for authenticating the incoming Level-1 packets. With area authentication configured, IS-IS discards incoming routes from untrusted routers.
Examples # Enable automatic link cost calculation. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] auto-cost enable bandwidth-reference (IS-IS view) Syntax bandwidth-reference value undo bandwidth-reference View IS-IS view Default Level 2: System level Parameters value: Bandwidth reference value in Mbps, ranging from 1 to 2147483648. Description Use the bandwidth-reference command to set the bandwidth reference value for automatic link cost calculation.
For styles wide and wide-compatible, the cost value ranges from 0 to 16777215. level-1: Applies the link cost to Level-1. level-2: Applies the link cost to Level-2. Description Use the circuit-cost command to set a global IS-IS link cost. Use the undo circuit-cost command to restore the default. By default, no global link cost is configured.
display isis brief Syntax display isis brief [ process-id | vpn-instance vpn-instance-name ] View Any view Default Level 1: Monitor level Parameters process-id: Displays IS-IS brief configuration information for the IS-IS process. The process ID is in the range 1 to 65535. vpn-instance vpn-instance-name: Displays IS-IS brief configuration information for the VPN instance.
Field Description Lsp-length receive Maximum LSP that can be received Lsp-length originate Maximum LSP that can be generated Maximum number of redistributed Level-1/Level-2 IPv4 maximum imported routes number routes lsp-max-age Maximum life period of LSP Timers lsp-refresh Refresh interval of LSP Interval between SPFs Interval between SPF calculations display isis debug-switches...
Page 154
Default Level 1: Monitor level Parameters level-1: Displays the IS-IS Level-1 Graceful Restart state. level-2: Displays the IS-IS Level-2 Graceful Restart state. process-id: IS-IS Process ID, in the range 1 to 65535. vpn-instance vpn-instance-name: Name of a VPN instance, a string of 1 to 31 characters. Description Use the display isis graceful-restart status command to display IS-IS Graceful Restart status.
Field Description Number of LSPs not obtained by the GR restarter Number of LSPs Awaited from GR helpers during LSDB synchronization T3 Timer Status Remaining time of T3 timer T2 Timer Status Remaining time of T2 Timer display isis interface Syntax display isis interface [ statistics | [ interface-type interface-number ] [ verbose ] ] [ process-id | vpn-instance vpn-instance-name ]...
Page 156
IPV4.State IPV6.State MTU Type DIS Down 1497 L1/L2 No/No SNPA Address : 000f-e237-c6e0 IP Address : 192.168.1.48 Secondary IP Address(es) IPV6 Link Local Address IPV6 Global Address(es) Csnp Timer Value : L1 10 L2 Hello Timer Value : L1 10 L2 Hello Multiplier Value : L1 3 L2...
Page 157
Field Description IPV4.State IPv4 state IPV6.State IPv6 state Interface MTU Type Interface link adjacency type Whether the interface is elected as the DIS or not SNPA Address Subnet access point address IP Address Primary IP address Secondary IP Address(es) Secondary IP addresses IPV6 Link Local Address IPv6 link local address IPV6 Global Address(es)
Table 5-4 display isis interface statistics command output description Field Description Network type of the interface: Type LAN for broadcast network. P2P for point-to-point network. IPv4 UP Number of IS-IS interfaces in up state IPv4 DOWN Number of IS-IS interfaces in down state Number of IS-ISv6 interfaces in up state.
Table 5-5 display isis lsdb command output description Field Description LSPID Link state packet ID Seq Num LSP sequence number Checksum LSP checksum Holdtime LSP lifetime which decreases as time elapses Length LSP length Attach bit (ATT) Partition bit (P) ATT/P/OL Overload bit (OL) 1 means the bit is set and 0 means the bit is not set.
View Any view Default Level 1: Monitor level Parameters process-id: Displays IS-IS mesh-group configuration information for the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays IS-IS mesh-group configuration information for the VPN instance. The VPN instance name is a string of 1 to 31 characters.
Parameters process-id: Displays the host name-to-system ID mapping table for the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays the host name-to-system ID mapping table for the VPN instance. The VPN instance name is a string of 1 to 31 characters. Description Use the display isis name-table command to display the host name-to-system ID mapping table.
Page 163
process-id: Displays the IS-IS neighbor information of the IS-IS process. The ID is in the range of 1 to 65535. vpn-instance-name: Displays the IS-IS neighbor information of the VPN instance. The vpn-instance-name is a string of 1 to 31 characters. Description Use the display isis peer command to display IS-IS neighbor information.
Page 164
Field Description Interface Interface connecting to the neighbor Circuit Id Circuit ID State Circuit state Holdtime 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. Circuit type L1 means the circuit type is Level-1 and the neighbor is a Level-1 router.
Field Description IPv4 Up Number of IPv4 neighbors in up state IPv4 Init Number of IPv4 neighbors in init state IPv6 Up Number of IPv6 neighbors in up state IPv6 Init Number of IPv6 neighbors in init state display isis route Syntax display isis route [ ipv4 ] [ [ level-1 | level-2 ] | verbose ] * [ process-id | vpn-instance vpn-instance-name ]...
Page 166
1.1.0.0/16 NULL Vlan1 1.2.1.1 R/L/- 1.2.0.0/16 NULL Vlan1 Direct D/L/- Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set ISIS(1) IPv4 Level-2 Forwarding Table ------------------------------------- IPV4 Destination IntCost ExtCost ExitInterface NextHop Flags -------------------------------------------------------------------------- 1.1.0.0/16 NULL 1.2.0.0/16 NULL Vlan1 Direct D/L/- Flags: D-Direct, R-Added to RM, L-Advertised in LSPs, U-Up/Down Bit Set...
Field Description Next Hop Next hop Interface Outgoing interface ExitIndex Index of the outgoing interface display isis spf-log Syntax display isis spf-log [ process-id | vpn-instance vpn-instance-name ] View Any view Default Level 1: Monitor level Parameters process-id: Displays IS-IS SPF log information for the IS-IS process. The ID is in the range of 1 to 65535.
Field Description LSP information Lsp information LSP Source ID: ID of the source system No. of used LSPs: number of used LSPs domain-authentication-mode Syntax domain-authentication-mode { md5 | simple } password [ ip | osi ] undo domain-authentication-mode View IS-IS view Default Level 2: System level Parameters...
IS-IS does not filter routes calculated from received LSPs by default. Note that if you want to reference an advanced ACL (with a number from 3000 to 3999) in the command or in the route policy, the ACL should be configured with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard command to deny/permit a route with the specified destination, or with the rule [ rule-id ] { deny | permit } ip source sour-addr sour-wildcard destination dest-addr dest-wildcard command to deny/permit a route with the specified destination and mask.
Description Use the flash-flood command to enable IS-IS LSP flash flooding. Use the undo flash-flood command to disable IS-IS LSP flash flooding. IS-IS LSP flash flooding is disabled by default. If no level is specified, the command enables IS-IS LSP flash flooding for both Level-1 and Level-2. Examples # Enable fast flooding and specify the maximum LSPs to be sent as 10 and the delay time as 100 milliseconds.
Page 177
Default Level 2: System level Parameters interval-value: Graceful Restart interval, in the range 30 to 1800 seconds. Description Use the graceful-restart interval command to configure the Graceful Restart interval. Use the undo graceful-restart interval command to restore the default Graceful Restart interval. By default, the Graceful Restart interval is 300 seconds.
IS-IS takes all the redistributed routes as external routes to destinations outside the IS-IS routing domain. Related commands: import-route isis level-2 into level-1. Using the import-route bgp command redistributes only EBGP routes. Using the import-route bgp allow-ibgp command redistributes both EBGP and IBGP routes, but this may cause routing loops;...
Description Use the import-route isis level-2 into level-1 command to enable route leaking from Level-2 to Level-1. Use the undo import-route isis level-2 into level-1 command to disable routing leaking. No route leaking is configured by default. Note that: You can specify a route policy in the import-route isis level-2 into level-1 command to filter routes from Level-2 to Level-1.
isis Syntax isis [ process-id ] [ vpn-instance vpn-instance-name undo isis [ process-id ] View System view Default Level 2: System level Parameters process-id: Process ID, ranging from 1 to 65535. The default is 1. vpn-instance-name: VPN instance name, a string of 1 to 31 characters. Description Use the isis command to enable an IS-IS process and specify an associated VPN instance and/or enter IS-IS view.
level-2: Configures the password for Level-2. ip: Checks IP related fields in LSPs and SNPs. osi: Checks OSI related fields in LSPs and SNPs. This command is not available in loopback interface view. Whether a password should use ip or osi is not affected by the actual network environment. Description Use the isis authentication-mode command to set the IS-IS authentication mode and password for an interface.
Default Level 2: System level Parameters None Description Use the isis bfd enable command to enable BFD on an IS-IS interface for link failure detection. Use the undo isis bfd enable command to disable BFD on an IS-IS interface. By default, an IS-IS interface is not enabled with BFD. Examples # Enable IS-IS and BFD on VLAN-interface 11 of the switch.
<Sysname> system-view [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] isis enable [Sysname-Vlan-interface10] isis circuit-level level-1 isis circuit-type p2p Syntax isis circuit-type p2p undo isis circuit-type View Interface view Default Level 2: System level Parameters None Description Use the isis circuit-type p2p command to configure the network type for an interface as P2P. Use the undo isis circuit-type command to cancel the configuration.
isis cost Syntax isis cost value [ level-1 | level-2 ] undo isis cost [ level-1 | level-2 ] View Interface view Default Level 2: System level Parameters value: Specifies an IS-IS cost for the interface. The cost range differs with cost styles. For cost styles narrow, narrow-compatible and compatible, the cost ranges from 1 to 63.
Description Use the isis dis-name command to configure a name for a DIS to represent the pseudo node on a broadcast network. Use the undo isis dis-name command to remove the configuration. No name is configured for the DIS by default. Note that this command takes effect only on a router that must have dynamic system ID to host name mapping enabled.
priority, the router with the highest SNPA (Subnetwork Point of Attachment) address (SNPA addresses are MAC addresses on a broadcast network) becomes the DIS. There is no backup DIS in IS-IS and the router with a priority of 0 can also participate in DIS election. This command is not available in loopback interface view.
isis mesh-group Syntax isis mesh-group { mesh-group-number | mesh-blocked } undo isis mesh-group View Interface view Default Level 2: System level Parameters mesh-group-number: Mesh group number, ranging from 1 to 4294967295. mesh-blocked: Blocks the interface, which sends LSPs only after receiving LSP requests. Description Use the isis mesh-group command to add the interface into a specified mesh group or block the interface.
View System view Default Level 2: System level Parameters process-id: IS-IS process ID, in the range 1 to 65535. Description Use the isis mib-binding command to bind MIBs with an IS-IS process. Use the undo isis mib-binding command to restore the default. By default, MIBs are bound with IS-IS process 1.
Parameters seconds: Specifies on the DIS of a broadcast network the interval in seconds for sending CSNP packets, ranging from 1 to 600. level-1: Applies the interval to Level-1. level-2: Applies the interval to Level-2. Description Use the isis timer csnp command to specify on the DIS of a broadcast network the interval for sending CSNP packets.
Use the undo isis timer hello command to restore the default. The default hello interval is 10 seconds. Level-1 and Level-2 hello packets are sent independently on a broadcast network, so you need to specify an interval for the two levels respectively. On a P2P link, Level-1 and Level-2 packets are both sent in P2P hello packets, and you need not specify an interval for two levels respectively.
Description Use the isis timer holding-multiplier command to specify the IS-IS hello multiplier. Use the undo isis timer holding-multiplier command to restore the default. The default IS-IS hello multiplier is 3. If no level is specified, the hello multiplier applies to the current level. With the IS-IS hello multiplier configured, a router can uses hello packets to notify its neighbor router of the adjacency hold time (hello multiplier times hello interval).
<Sysname> system-view [Sysname] interface Vlan-interface 1 [Sysname-Vlan-interface1] isis timer retransmit 10 is-level Syntax is-level { level-1 | level-1-2 | level-2 } undo is-level View IS-IS view Default Level 2: System level Parameters level-1: Configures the router to work on Level-1, which means it only calculates routes within the area, and maintains the L1 LSDB.
Default Level 2: System level Parameters symbolic-name: Specifies a host name for the local IS, a string of 1 to 64 characters. Description Use the is-name command to specify a host name for the IS to enable dynamic system ID to hostname mapping.
undo is-snmp-traps View IS-IS view Default Level 2: System level Parameters None Description Use the is-snmp-traps enable command to enable the SNMP Trap function of IS-IS. Use the undo is-snmp-traps command to disable this function. SNMP Trap is enabled by default. Examples # Enable SNMP Trap.
lsp-fragments-extend Syntax lsp-fragments-extend [ [ level-1 | level-1-2 | level-2 ] | [ mode-1 | mode-2 ] ] * undo lsp-fragments-extend View IS-IS view Default Level 2: System level Parameters level-1: Applies the fragment extension mode to Level-1 LSPs. level-1-2: Applies the fragment extension mode to both Level-1 and Level-2 LSPs. level-2: Applies the fragment extension mode to Level-2 LSPs.
Parameters size: Specifies the maximum size in bytes of LSP packets, ranging from 512 to 16384. level-1: Applies the size to Level-1 LSP packets. level-2: Applies the size to Level-2 LSP packets. Description Use the lsp-length originate command to configure the maximum size of generated Level-1 or Level-2 LSPs.
[Sysname] isis 1 [Sysname-isis-1] lsp-length receive 1024 maximum load-balancing (IS-IS view) Syntax maximum load-balancing number undo maximum load-balancing View IS-IS view Default Level 2: System level Parameters number: Maximum number of equal-cost routes for load balancing. The number ranges from 1 to 8.. Description Use the maximum load-balancing command to configure the maximum number of equal-cost routes for load balancing.
Description Use the network-entity command to configure the Network Entity Title for an IS-IS routing process. Use the undo network-entity command to delete a NET. No NET is configured by default. A NET is a special NSAP address with the SEL being 0. The length of the NET is in the range 8 bytes to 20 bytes.
When a router runs multiple routing protocols at the same time, the system will configure a preference to each routing protocol. If several protocols find routes to the same destination, the route of the routing protocol with the highest preference is selected. Examples # Configure the preference of IS-IS as 25.
Parameters system-id: Specifies the system ID of an IS-IS neighbor. process-id: Clears the data structure information of an IS-IS process with an ID from 1 to 65535. vpn-instance-name: Clears the data structure information of a VPN instance named with a string of 1 to 31 characters.
Description Use the set-overload command to set the overload bit. Use the undo set-overload command to clear the overload bit. The overload bit is not set by default. Note that: If the on-startup keyword is not specified, the command sets the overload bit immediately until the undo set-overload command is executed.
Description Use the summary command to configure a summary route. Use the undo summary command to remove a summary route. No summarization is configured by default. If no level is specified, only the level-2 routes will be summarized by default. You can summarize multiple contiguous networks into a single network to reduce the size of the routing table, as well as that of LSP and LSDB generated by the router.
If both the maximum and initial intervals are specified: IS-IS waits the initial interval before generating the first LSP. If the network topology is unstable, that is, triggers occur at intervals shorter than the maximum interval, IS-IS waits the maximum interval before generating the first LSP until the network topology is stable.
[Sysname-isis-1] timer lsp-max-age 1500 timer lsp-refresh Syntax timer lsp-refresh seconds undo timer lsp-refresh View IS-IS view Default Level 2: System level Parameters seconds: LSP refresh interval in seconds, ranging from 1 to 65534. Description Use the timer lsp-refresh command to configure the LSP refresh interval. Use the undo timer lsp-refresh to restore the default.
Parameters maximum-interval: Maximum SPF calculation interval in seconds, ranging from 1 to 120. initial-interval: Wait interval before the first SPF calculation, in milliseconds, ranging from 10 to 60000. second-interval: Wait interval before the second SPF calculation, in milliseconds, ranging from 10 to 60000.
Page 209
Default Level 2: System level Parameters virtual-system-id: Virtual system ID of the IS-IS process. Description Use the virtual-system command to configure a virtual system ID for the IS-IS process. Use the undo virtual-system command to remove a virtual system ID. Up to 50 virtual system IDs can be configured for the IS-IS process.
BGP Configuration Commands The term router in this document refers to both routers and Layer-3 switches. For more information about route policy configuration commands in this document, see Route Policy Configuration Commands in the Layer 3 - IP Routing Command Reference. BGP Configuration Commands aggregate Syntax...
Page 211
Table 6-1 Functions of the keywords Keywords Function Used to create a summary route, whose AS path contains the AS path information of summarized routes. Use this keyword carefully when many AS as-set paths need to be summarized, because the frequent changes of these specific routes may lead to route oscillation.
balance (BGP/BGP-VPN instance view) Syntax balance number undo balance View BGP view, VPN instance view Default Level 2: System level Parameters number: Number of BGP routes for load balancing. The number ranges from 1 to 8.. When it is set to 1, load balancing is disabled.
Parameters None Description Use the bestroute as-path-neglect command to configure BGP not to consider the AS_PATH during best route selection. Use the undo bestroute as-path-neglect command to configure BGP to consider the AS_PATH during best route selection. By default, BGP considers the AS_PATH during best route selection. Examples # In BGP view, ignore AS_PATH in route selection.
<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] bestroute compare-med bestroute med-confederation (BGP/BGP-VPN instance view) Syntax bestroute med-confederation undo bestroute med-confederation View BGP view, BGP-VPN instance view Default Level 2: System level Parameters None Description Use the bestroute med-confederation command to enable the comparison of the MED for paths from confederation peers during best route selection.
Default Level 2: System level Parameters as-number: Specifies the local AS number from 1 to 4294967295. Description Use the bgp command to enable BGP and enter the BGP view. Use the undo bgp command to disable BGP. By default, BGP is not enabled. Examples # Enable BGP and set local AS number to 100.
[Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] compare-different-as-med confederation id Syntax confederation id as-number undo confederation id View BGP view Default Level 2: System level Parameters as-number: Number of the AS that contains multiple sub-ASs, in the range 1 to 4294967295. Description Use the confederation id command to configure a confederation ID.
undo confederation nonstandard View BGP view Default Level 2: System level Parameters None Description Use the confederation nonstandard command to make the router compatible with routers not compliant with RFC3065 in the confederation. Use the undo confederation nonstandard command to restore the default. By default, all routers in the confederation comply with RFC3065.
By default, no confederation peer sub-ASs are configured. Before this configuration, the confederation id command must be used 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. Related commands: confederation nonstandard and confederation id.
<Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] default ipv4-unicast default local-preference (BGP/BGP-VPN instance view) Syntax default local-preference value undo default local-preference View BGP view, BGP-VPN instance view Default Level 2: System level Parameters value: Default local preference, in the range 0 to 4294967295. The larger the value is, the higher the preference is.
Parameters med-value: Default MED value, in the range 0 to 4294967295. Description Use the default med command to specify a default MED value. Use the undo default med command to restore the default. By default, the default med-value is 0. Multi-exit discriminator (MED) is an external metric for routes.
Examples # In BGP view, allow default route redistribution from OSPF into BGP. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] default-route imported [Sysname-bgp] import-route ospf 1 # In BGP-VPN instance view, enable redistributing default route from OSPF into BGP (the VPN has been created).
Table 6-2 display bgp group command output description Field Description BGP peer-group Name of the BGP peer group Remote AS AS number of peer group type Type of the BGP peer group: IBGP or EBGP Maximum prefixes allowed to receive from the peer Maximum allowed prefix number group Percentage of received prefixes from the peer group...
View Any view Default Level 1: Monitor level Parameters None Description Use the display bgp network command to display routing information advertised with the network command. Examples # Display routing information advertised with the network command. <Sysname> display bgp network BGP Local Router ID is 10.1.4.2.
Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. Description Use the display bgp paths command to display information about BGP AS paths. Examples # Display information about BGP paths with AS number starting from 200. <Sysname>...
Page 226
group-name: Name of a peer group to be displayed, a string of 1 to 47 characters. log-info: Displays the log information of the specified peer. verbose: Displays the detailed information of the peer/peer group. Description Use the display bgp peer command to display peer/peer group information. Examples # Display the detailed information of the peer 10.110.25.20.
Page 227
Field Description BGP version BGP version remote router ID Router ID of the peer BGP current state Current state of the peer BGP current event Current event of the peer BGP last state Previous state of the peer Port TCP port numbers of the local router and its peer Configured: Active Hold Time Local holdtime interval Keepalive Time...
Page 228
Field Description Negotiation result: The local BGP router can send Router-refresh messages carrying the ORF information, and the peer can receive Router-refresh Negotiated: send messages carrying the ORF information. (This field is not displayed if neither the send nor the receive capability is supported.) Peer Preferred Value Preferred value specified for the routes from the peer...
Field Description Error refers to the error code, which identifies the type of the Notification. Error/SubError SubError refers to the error subcode of the Notification, which identifies the specific information about the reported error. display bgp peer received ip-prefix Syntax display bgp peer ip-address received ip-prefix View Any view...
Field Description less-equal, indicating the mask length must be less than or equal to the specific value. display bgp routing-table Syntax display bgp routing-table [ ip-address [ { mask | mask-length } [ longer-prefixes ] ] ] View Any view Default Level 1: Monitor level Parameters...
Field Description BGP Local router BGP local router ID Status codes: * – valid > – best d – damped Status codes h – history i – internal (IGP) s – summary suppressed (suppressed) S – Stale i – IGP (originated in the AS) Origin e –...
View Any view Default Level 1: Monitor level Parameters as-path-acl-number: Displays routing information permitted by the AS path ACL, which is specifies with a number from 1 to 256. Description Use the display bgp routing-table as-path-acl command to display BGP routes permitted by an as-path ACL.
BGP Local router ID is 20.20.20.1 Status codes: * - valid, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? – incomplete Network NextHop LocPrf...
Default Level 1: Monitor level Parameters None Description Use the display bgp routing-table dampened command to display dampened BGP routes. Examples # Display dampened BGP routes. <Sysname> display bgp routing-table dampened BGP Local router ID is 2.2.2.2 Status codes: * - valid, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? –...
Table 6-11 display bgp routing-table flap-info command output description Field Description From Source IP address of the route Flaps Number of routing flaps Duration Duration time of the flap route Reuse Reuse time of the route Table 6-8 for description on the other fields above. display bgp routing-table label Syntax display bgp routing-table label...
display bgp routing-table peer Syntax display routing-table peer ip-address advertised-routes received-routes [ network-address [ mask | mask-length ] | statistic ] View Any view Default Level 1: Monitor level Parameters ip-address: IP address of a peer. advertised-routes: Displays routing information advertised to the specified peer. received-routes: Displays routing information received from the specified peer.
Default Level 1: Monitor level Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. Description Use the display bgp routing-table regular-expression command to display BGP routing information matching the specified AS path regular expression. Examples # Display BGP routing information with AS number ended with 300. <Sysname>...
ebgp-interface-sensitive Syntax ebgp-interface-sensitive undo ebgp-interface-sensitive View BGP view, BGP-VPN instance view Default Level 2: System level Parameters None Description Use the ebgp-interface-sensitive command to enable the clearing of EBGP session on any interface that becomes down. Use the undo ebgp-interface-sensitive command to disable the function. This function is enabled by default.
Page 242
ip-prefix-name: Name of an IP prefix list used to filter outgoing routing information, a string of 1 to 19 characters. direct: Filters direct routes. isis process-id: Filters outgoing routes redistributed from an ISIS process. The ID is in the range 1 to 65535.
filter-policy import (BGP/BGP-VPN instance view) Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } import undo filter-policy import View BGP view, BGP-VPN instance view Default Level 2: System level Parameters acl-number: Number of an ACL used to filter incoming routing information, ranging from 2000 to 3999. ip-prefix-name: Name of an IP prefix list used to filter incoming routing information, a string of 1 to 19 characters.
Description Use the graceful-restart timer restart command to configure the maximum time for a peer to reestablish a BGP session. Use the undo graceful-restart timer restart command to restore the default. By default, the maximum time for a peer to reestablish a BGP session is 150 seconds. Examples # Configure the maximum time for a peer to reestablish a BGP session as 300 seconds.
group (BGP/BGP-VPN instance view) Syntax group group-name [ external | internal ] undo group group-name View BGP view, BGP-VPN instance view Default Level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. external: Creates an EBGP peer group, which can be the group of another sub AS in a confederation.
Page 247
View BGP view, BGP-VPN instance view Default Level 2: System level Parameters protocol: Redistributes routes from the specified routing protocol, which can be direct, isis, ospf, rip or static at present. process-id: Process ID, in the range 1 to 65535. The default is 1. It is available only when the protocol is isis, ospf, or rip.
log-peer-change Syntax log-peer-change undo log-peer-change View BGP view Default Level 2: System level Parameters None Description Use the log-peer-change command to enable the global BGP logging on peers going up and down. Use the undo log-peer-change command to disable the function. By default, the function is enabled.
The network route to be injected must exist in the local IP routing table, and using a routing policy makes route management more flexible. The ORIGIN attribute of the network route injected with the network command is IGP. Examples # In BGP view, inject the network segment 10.0.0.0/16. <Sysname>...
Default Level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer advertise-ext-community command to advertise the extended community attribute to a peer/peer group. Use the undo peer advertise-ext-community command to disable the extended community attribute advertisement to a peer/peer group.
Description Use the peer allow-as-loop command to allow the local AS number to exist in the AS_PATH attribute of routes from a peer/peer group, and to configure the number of times the local AS number can appear. Use the undo peer allow-as-loop command to remove the configuration. By default, the local AS number is not allowed in routes from a peer/peer group.
Use the peer ip-address as-number as-number command. After that, the system creates the specified peer by default. Specify the AS number of the peer when adding it to the specified peer group by using the peer ip-address group group-name as-number as-number command; or use the peer as-number command to specify the AS number of a peer group, and then a newly added peer will belong to the AS.
Examples # In BGP view, reference the AS path ACL 1 to filter routes outgoing to the peer group test. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer test as-path-acl 1 export # In BGP-VPN instance view, reference the AS path ACL 1 to filter routes outgoing to the peer group test (the VPN has been created).
Default Level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer capability-advertise conventional command to disable BGP multi-protocol extension and route refresh for a peer/peer group. Use the undo peer capability-advertise conventional command to enable BGP multi-protocol extension and route refresh for a peer/peer group.
After you enable the ORF capability, the local BGP router negotiates the ORF capability with the BGP peer through Open messages. After that, the BGP router can exchange ORF information in Route-refresh messages with the peer. For non-standard ORF capability negotiation, you need also to configure the peer capability-advertise orf non-standard command.
View BGP view, BGP-VPN instance view Default Level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Parameters Use the peer capability-advertise orf non-standard command to enable the non-standard ORF capability (the early implementation of ORF is different from that defined in RFC) for a BGP peer or peer group.
Default Level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer capability-advertise route-refresh command to enable the BGP route refresh capability. Use the undo peer capability-advertise route-refresh command to disable the capability. The capability is enabled by default.
By default, BGP uses the outbound interface of the best route to the BGP peer/peer group as the source interface for establishing a TCP connection to the peer/peer group. Note that: Suppose interface A on the local device is connected to interface B on the peer device. When using the peer x.x.x.x as-number as-number command on the local device but x.x.x.x is not the IP address of interface B , you need to execute the peer connect-interface command on the peer to specify the source interface, that is, the owner of IP address x.x.x.x, for establishing TCP...
With this command used, the router unconditionally sends a default route with the next hop being itself to the peer/peer group regardless of whether the default route is available in the routing table. Examples # In BGP view, advertise a default route to peer group test. <Sysname>...
Parameters ip-address: IP address of a peer. Description Use the peer enable command to enable the specified peer. Use the undo peer enable command to disable the specified peer. By default, the BGP peer is enabled. If a peer is disabled, the router will not exchange routing information with the peer. Examples # Disable peer 18.10.0.9.
[Sysname] bgp 100 [Sysname-bgp] peer test fake-as 200 # In BGP-VPN instance view, configure a fake AS number of 200 for the peer group test (the VPN has been created). <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] peer test fake-as 200 peer filter-policy (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } filter-policy acl-number { export | import }...
peer group (BGP/BGP-VPN instance view) Syntax peer ip-address group group-name [ as-number as-number ] undo peer ip-address group group-name View BGP view, BGP-VPN instance view Default Level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.
View BGP view, BGP-VPN instance view Default Level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer ignore command to disable session establishment with a peer or peer group. Use the undo peer ignore command to remove the configuration.
Description Use the peer ip-prefix command to reference an IP prefix list to filter routes received from or advertised to a peer or peer group. Use the undo peer ip-prefix command to remove the configuration. By default, no IP prefix list based filtering is configured. Examples # In BGP view, use the IP prefix list list 1 to filter routes advertised to the peer group test.
Default Level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use the peer next-hop-local command to specify the router as the next hop for routes sent to a peer/peer group.
Description Use the peer password command to configure BGP to perform MD5 authentication when a TCP connection is being established with a peer/peer group. Use the undo peer password command to disable the function. By default, no MD5 authentication is performed for TCP connection establishment. Once MD5 authentication is enabled, both parties must be configured with the same authentication mode and password.
Description Use the peer preferred-value command to assign a preferred value to routes received from a peer or peer group. Use the undo peer preferred-value command to restore the default value. The default preferred value is 0. Routes learned from a peer have an initial preferred value. Among multiple routes that have the same destination/mask and are learned from different peers, the one with the greatest preferred value is selected as the route to the destination.
Description Use the peer public-as-only command to not keep private AS numbers in BGP updates sent to a peer/peer group. Use the undo peer public-as-only command to keep private AS numbers in BGP updates sent to a peer/peer group. By default, BGP updates carry private AS numbers. The command does not take effect if the BGP update has both public and private AS numbers.
View BGP view, BGP-VPN instance view Default Level 2: System level Parameters group-name: Name of a peer group, a sting of 1 to 47 characters. ip-address: IP address of a peer. interval: Minimum interval for sending the same update message. The range is 5 to 600 seconds. Description Use the peer route-update-interval command to specify the interval for sending the same update to a peer/peer group.
Description Use the peer substitute-as command to replace the AS number of a peer/peer group in the AS_PATH attribute with the local AS number. Use the undo peer substitute-as command to remove the configuration. No AS number is replaced by default. Examples # In BGP view, substitute local AS number for AS number of peer 1.1.1.1.
hold time is not 0, one third of the hold time is taken as the interval for sending keepalive messages. If neither the holdtime interval nor the keepalive interval is configured as 0, the holdtime interval must be at least three times the keepalive interval. After this command is executed, the peer connection is closed at once, and a new connection to the peer is negotiated using the configured hold time.
local-preference: Preference of local routes, in the range 1 to 255. route-policy-name: Routing policy name, a string of 1 to 19 characters. Using the routing policy can set a preference for routes matching it. The default value applies to routes not matching the routing policy. Description Use the preference command to configure preferences for external, internal, and local BGP routes.
Parameters all: Soft-resets all BGP connections. ip-address: Soft-resets the BGP connection to a peer. group-name: Soft-resets connections to a peer group, name of which is a sting of 1 to 47 characters. external: EBGP connection. internal: IBGP connection. export: Outbound soft reset. import: Inbound soft reset.
reset bgp dampening Syntax reset bgp dampening [ ip-address [ mask | mask-length ] ] View User view Default Level 1: Monitor level Parameters ip-address: Destination IP address of a route. mask: Mask, in dotted decimal notation. mask-length: Mask length, in the range 0 to 32. Description Use the reset bgp dampening command to clear route dampening information and release suppressed routes.
Examples # Clear the flap statistics of all routes matching AS path ACL 10. <Sysname> reset bgp flap-info as-path-acl 10 reset bgp ipv4 all Syntax reset bgp ipv4 all View User view Default Level 1: Monitor level Parameters None Description Use the reset bgp ipv4 all command to reset all the BGP connections of IPv4 unicast address family.
Only when the interface with the selected Router ID or the manual Router ID is deleted will the system select another ID for the router. Examples # Specifies the Router ID as 10.18.4.221. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] router-id 10.18.4.221 summary automatic Syntax summary automatic...
undo synchronization View BGP view Default Level 2: System level Parameters None Description Use the synchronization command to enable the synchronization between the BGP and IGP routes. Use the undo synchronization command to disable the synchronization. The feature is disabled by default. With this feature enabled and when a non-BGP router is responsible for forwarding packets in an AS, BGP speakers in the AS cannot advertise routing information to other ASs unless all routers in the AS know the latest routing information.
Page 284
Note that: The timers configured with the peer timer command are preferred to the timers configured with this command. If the holdtime interval is configured as 0, no keepalive message will be sent to the peer, and the peer connection will never time out. If the keepalive interval is configured as 0 and the negotiated hold time is not 0, one third of the hold time is taken as the interval for sending keepalive messages.
IPv6 Static Routing Configuration Commands Throughout this chapter, the term router refers to both routers and Layer 3 switches. IPv6 Static Routing Configuration Commands delete ipv6 static-routes all Syntax delete ipv6 static-routes all View System view Default Level 2: System level Parameters None Description...
Page 286
undo ipv6 route-static ipv6-address prefix-length interface-type interface-number [ nexthop-address ] [ preference preference-value ] View System view Default Level 2: System level Parameters ipv6-address prefix-length: IPv6 address and prefix length. interface-type interface-number: Interface type and interface number of the output interface. nexthop-address: Next hop IPv6 address.
RIPng Configuration Commands The term router in this document refers to both routers and Layer 3 switches. RIPng Configuration Commands checkzero Syntax checkzero undo checkzero View RIPng view Default Level 2: System level Parameters None Description Use the checkzero command to enable the zero field check on RIPng packets. Use the undo checkzero command to disable the zero field check.
undo default cost View RIPng view Default Level 2: System level Parameters cost: Default metric of redistributed routes, in the range of 0 to 16. Description Use the default cost command to specify the default metric of redistributed routes. Use the undo default cost command to restore the default. The default metric of redistributed routes is 0.
Default Cost : 0 Maximum number of balanced paths : 8 Update time 30 sec(s) Timeout time 180 sec(s) Suppress time : 120 sec(s) Garbage-Collect time : 120 sec(s) Number of periodic updates sent : 0 Number of trigger updates sent : 0 Table 8-1 display ripng command output description Field Description...
<Sysname> display ripng 100 database 2001:7B::2:2A1:5DE/64, cost 4, Imported 1:13::/120, cost 4, Imported 1:32::/120, cost 4, Imported 1:33::/120, cost 4, Imported 100::/32, via FE80::200:5EFF:FE04:3302, cost 2 3FFE:C00:C18:1::/64, via FE80::200:5EFF:FE04:B602, cost 2 3FFE:C00:C18:1::/64, via FE80::200:5EFF:FE04:B601, cost 2 3FFE:C00:C18:2::/64, via FE80::200:5EFF:FE04:B602, cost 2 3FFE:C00:C18:3::/64, via FE80::200:5EFF:FE04:B601, cost 2 4000:1::/64,...
Page 291
Parameters process-id: RIPng process ID, in the range of 1 to 65535. interface-type interface-number: Specifies an interface. Description Use the display ripng interface command to display the interface information of the RIPng process. If no interface is specified, information about all interfaces of the RIPng process will be displayed.
Field Description The summarized IPv6 prefix and the summary Summary address IPv6 prefix on the interface display ripng route Syntax display ripng process-id route View Any view Default Level 1: Monitor level Parameters process-id: RIPng process ID, in the range of 1 to 65535. Description Use the display ripng route command to display all RIPng routes and timers associated with each route of a RIPng process.
Dest 4000:3::/64, via FE80::200:5EFF:FE04:3302, cost 2, tag 0, A, 6 Sec Dest 4000:4::/64, Table 8-4 display ripng route command output description Field Description Peer Neighbor connected to the interface Dest IPv6 destination address Next hop IPv6 address cost Routing metric value Route tag Time that a route entry stays in a particular state “A”...
Use the undo filter-policy export command to disable the outbound route filtering. By default, RIPng does not filter any outbound routing information. Note that: With the protocol argument specified, only routing information redistributed from the specified routing protocol will be filtered. Otherwise, all outgoing routing information will be filtered.
Description Use the filter-policy import command to define an inbound route filtering policy. Only routes which match the filtering policy can be received. Use the undo filter-policy import command to disable inbound route filtering. By default, RIPng does not filter incoming routing information. Note that if you want to reference an advanced ACL (with a number from 3000 to 3999) in the command, the ACL should be configured with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix command to deny/permit a route with the specified destination, or with the rule...
cost: Routing metric of redistributed routes, in the range of 0 to 16. If cost value is not specified, the metric is the default metric specified by the default cost command. route-policy route-policy-name: Specifies a route policy by its name with 1 to 19 characters. allow-ibgp: Optional keyword when the specified protocol is bgp4+.
Examples # Set the maximum number of load balanced routes with equal cost to 2. <Sysname> system-view [Sysname] ripng 100 [Sysname-ripng-100] maximum load-balancing 2 # Restore the default. [Sysname-ripng-100] undo maximum load-balancing preference Syntax preference [ route-policy route-policy-name ] preference undo preference [ route-policy ] View RIPng view...
reset ripng process Syntax reset ripng process-id process View User view Default Level 2: System level Parameters process-id: RIPng process ID, in the range of 1 to 65535. Description Use the reset ripng process command to reset the specified RIPng process. After executing the command, you are prompted whether you want to reset the RIPng process.
View System view Default Level 2: System level Parameters process-id: RIPng process ID, in the range of 1 to 65535. The default value is 1. Description Use the ripng command to create a RIPng process and enter RIPng view. Use the undo ripng command to disable a RIPng process. By default, no RIPng process is enabled.
Description Use the ripng metricin command to specify an additional metric for received RIPng routes. Use the undo ripng metricin command to restore the default. By default, the additional metric to received routes is 0. Related commands: ripng metricout. Examples # Specify the additional routing metric as 12 for RIPng routes received by VLAN-interface 100.
Default Level 2: System level Parameters None Description Use the ripng poison-reverse command to enable the poison reverse function. Use the undo ripng poison-reverse command to disable the poison reverse function. By default, the poison reverse function is disabled. Examples Enable the poison reverse function for RIPng update messages on VLAN-interface 100.
Examples Enable the split horizon function on VLAN-interface 100. <Sysname> system-view [Sysname] interface vlan-interface 100 [Sysname-Vlan-interface100] ripng split-horizon ripng summary-address Syntax ripng summary-address ipv6-address prefix-length undo ripng summary-address ipv6-address prefix-length View Interface view Default Level 2: System level Parameters ipv6-address: Destination IPv6 address of the summary route. prefix-length: Prefix length of the destination IPv6 address of the summary route, in the range of 0 to 128.
Page 304
View RIPng view Default Level 2: System level Parameters garbage-collect-value: Interval of the garbage-collect timer in seconds, in the range of 1 to 86400. suppress-value: Interval of the suppress timer in seconds, in the range of 0 to 86400. timeout-value: Interval of the timeout timer in seconds, in the range of 1 to 86400. update-value: Interval of the update timer in seconds, in the range of 1 to 86400.
OSPFv3 Configuration Commands The term router in this document refers to both routers and Layer 3 switches. OSPFv3 Configuration Commands abr-summary (OSPFv3 area view) Syntax abr-summary ipv6-address prefix-length [ not-advertise ] undo abr-summary ipv6-address prefix-length View OSPFv3 area view Default Level 2: System level Parameters ipv6-address: Destination IPv6 address of the summary route.
[Sysname-ospfv3-1-area-0.0.0.1] abr-summary 2000:1:1:: 48 area (OSPFv3 view) Syntax area area-id View OSPFv3 view Default Level 2: System level Parameters area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295 and changed to IPv4 address format by the system) or an IPv4 address. Description Use the area command to enter OSPFv3 area view.
Description Use the bandwidth-reference command to specify a reference bandwidth value for link cost calculation. Use the undo bandwidth-reference command to restore the default value. The default value is 100 Mbps. You can configure an OSPFv3 cost for an interface with one of the following two methods: Configure the cost value in interface view.
[Sysname-ospfv3-1] default cost 10 default-cost (OSPFv3 area view) Syntax default-cost value undo default-cost View OSPFv3 area view Default Level 2: System level Parameters value: Specifies a cost for the default route advertised to the stub area, in the range of 0 to 65535. The default is 1.
Default Level 2: System level Parameters always: Generates a default route in an ASE LSA into the OSPF routing domain regardless of whether the default route exists in the routing table. Without this keyword, the command can distribute a default route in a Type-5 LSA into the OSPF routing domain only when the default route exists in the routing table.
Page 310
View Any view Default Level 1: Monitor level Parameters process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535. Description Use the display ospfv3 command to display the brief information of an OSPFv3 process. If no process ID is specified, OSPFv3 brief information about all processes will be displayed. Examples # Display brief information about all OSPFv3 processes.
Field Description Minimum LSA interval Minimum interval for generating LSAs Minimum LSA arrival Minimum LSA repeat arrival interval Number of external LSA Number of ASE LSAs These external LSAs’ checksum Sum Sum of all the ASE LSAs’ checksum Number of AS-Scoped Unknown LSA Number of LSAs with unknown flooding scope Number of LSA originated Number of LSAs originated...
OSPFv3 Router with ID (1.1.1.1) (Process 1) graceful restart information GR status :GR in progress GR remaining time: 100 # Display GR status of all OSPFv3 processes (GR Helper). <Sysname> display ospfv3 graceful-restart status OSPFv3 Router with ID (1.1.1.1) (Process 1) graceful restart information GR status:Helper Neighbor ID...
Page 313
Parameters interface-type interface-number: Interface type and interface number. statistic: Displays the interface statistics. Description Use the display ospfv3 interface command to display OSPFv3 interface information. Examples # Display OSPFv3 interface information. <Sysname> display ospfv3 interface vlan-interface 10 Vlan-interface 10 is up, line protocol is up Interface ID 518 IPv6 Prefixes FE80::1441:0:E213:1 (Link-Local Address)
Field Description Timer interval configured, Hello: 10, Dead: 40, Wait: Time intervals in seconds configured on the interface, 40, Retransmit: 5 Hello: 10, Dead: 40, Wait: 40, Retransmit: 5 Hello due in 00:00:02 Hello packet will be sent in 2 seconds Neighbor Count Number of Neighbors on the interface Adjacent neighbor count...
Page 315
Link State ID Origin Router Seq# CkSum Prefix 0.0.2.6 1.1.1.1 0055 0x80000001 0x4642 0.0.2.6 2.2.2.2 0053 0x80000001 0xf267 Grace-LSA (Interface Vlan-interface10) Link State ID Origin Router SeqNum CkSum 0.0.2.6 1.1.1.1 0x8000004 0xba1f Router-LSA (Area 0.0.0.1) Link State ID Origin Router Seq# CkSum Link...
Page 316
Originating Router: 2.2.2.2 LS Seq Number: 0x80000002 Checksum: 0xEFFA Length: 56 Priority: 1 Options: 0x000013 (-|R|-|-|E|V6) Link-Local Address: FE80::1441:0:E213:1 Number of Prefixes: 1 Prefix: 2000:1::/64 Prefix Options: 0 (-|-|-|-) Table 9-5 display ospfv3 lsdb command output description Field Description LS age Age of LSA LS Type Type of LSA...
Page 317
Table 9-6 display ospfv3 lsdb grace command output description Field Description LS age Age of LSA LS Type Type of LSA Originating Router Originating Router LS Seq Number LSA Sequence Number Checksum LSA Checksum Length LSA Length Graceful Restart Period GR restart interval Restart Reason Cause of the GR restart...
Field Description Link-LSA Type 8 LSA Intra-Area-Prefix-LSA Type 9 LSA Grace-LSA Type 11 LSA Unknown-LSA Unknown LSA Total Number Of LSAs Total number of LSAs display ospfv3 lsdb statistic Syntax display ospfv3 lsdb statistic View Any view Default Level 1: Monitor level Parameters None Description...
Field Description InterRou Inter-Area-Router-LSA number IntraPre Intra-Area-Prefix-LSA number Link Link-LSA number Grace Grace-LSA number AS-external-LSA number Total Total LSA number display ospfv3 next-hop Syntax display ospfv3 [ process-id ] next-hop View Any view Default Level 1: Monitor level Parameters process-id: Specifies ID of an OSPFv3 process, ranging from 1 to 65535. Description Use the display ospfv3 next-hop command to display OSPFv3 next hop information.
display ospfv3 peer Syntax display ospfv3 [ process-id ] [ area area-id ] peer [ [ interface-type interface-number ] [ verbose ] | peer-router-id ] View Any view Default Level 1: Monitor level Parameters process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535. area: Specifies to display neighbor information of the specified area.
Page 321
# Display detailed neighbor information of OSPFv3 process 100 of an interface. <Sysname> display ospfv3 1 peer vlan-interface 33 verbose OSPFv3 Process (1) Neighbor 1.1.1.1 is Full, interface address FE80::20F:E2FF:FE49:8050 In the area 0.0.0.1 via interface Vlan-interface33 DR is 1.1.1.1 BDR is 2.2.2.2 Options is 0x000013 (-|R|-|-|E|V6) Dead timer due in 00:00:39 Neighbor is up for 00:25:31...
display ospfv3 peer statistic Syntax display ospfv3 peer statistic View Any view Default Level 1: Monitor level Parameters None Description Use the display ospfv3 peer statistic command to display information about all OSPFv3 neighbors on the router, that is, numbers of neighbors in different states. Examples # Display information about all OSPFv3 neighbors.
Field Description Total Total number of neighbors under the same state display ospfv3 request-list Syntax display ospfv3 [ process-id ] request-list [ { external | inter-prefix | inter-router | intra-prefix | link | network | router | grace } [ link-state-id ] [ originate-router ip-address ] | statistics ] View Any view Default Level...
Table 9-13 display ospfv3 request-list command output description Field Description Interface Interface name Area-ID Area ID Nbr-ID Neighbor router ID LS-Type Type of LSA LS-ID Link state ID AdvRouter Advertising router SeqNum LSA sequence number Age of LSA CkSum Checksum # Display the statistics of OSPFv3 link state request list.
Page 325
external: Displays the AS-external LSA information of the OSPFv3 link state retransmission list. inter-prefix: Displays the Inter-area-prefix LSA information of the OSPFv3 link state retransmission list. inter-router: Displays the Inter-area-router LSA information of the OSPFv3 link state retransmission list. intra-prefix: Displays the Intra-area-prefix LSA information of the OSPFv3 link state retransmission list.
E1 - Type 1 external route, IA - Inter area route, I - Intra area route E2 - Type 2 external route, * - Seleted route OSPFv3 Router with ID (1.1.1.1) (Process 1) ------------------------------------------------------------------------ *Destination: 2001::/64 Type Cost NextHop : directly-connected Interface: Vlan1 Table 9-17 display ospfv3 routing command output description Field...
View Any view Default Level 1: Monitor level Parameters process-id: Displays the topology information of an OSPFv3 process; The process ID ranges from 1 to 65535. area: Displays the topology information of the specified area. area-id: ID of an area, a decimal integer (in the range of 0 to 4294967295) that is translated into IPv4 address format by the system or an IPv4 address.
Page 330
View Any view Default Level 1: Monitor level Parameters process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535. Description Use the display ospfv3 vlink command to display OSPFv3 virtual link information. If no process is specified, virtual link information of all OSPFv3 processes is displayed. Examples # Display OSPFv3 virtual link information.
Examples # Filter received routes using the IPv6 prefix list abc. <Sysname> system-view [Sysname] ip ipv6-prefix abc permit 2002:1::64 [Sysname] ospfv3 1 [Sysname-ospfv3-1] filter-policy ipv6-prefix abc import # Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter received routes.
undo graceful-restart helper enable View OSPFv3 view Default Level 2: System level Parameters None Description Use the graceful-restart helper enable command to enable the GR Helper capability for OSPFv3. Use the undo graceful-restart helper enable command to disable the GR Helper capability for OSPFv3.
[Sysname-ospfv3-1] graceful-restart helper strict-lsa-checking graceful-restart interval Syntax graceful-restart interval interval-value undo graceful-restart interval View OSPFv3 view Default Level 2: System level Parameters interval-value:GR restart interval, in the range of 40 to 1800 seconds. Description Use the graceful-restart interval command to configure the GR restart interval. Use the undo graceful-restart interval command to restore the default.
Parameters protocol: Redistributes routes from a specified routing protocol, which can be bgp4+, direct, isisv6, ospf v3, ripng, or static. process-id: Process ID of the routing protocol, in the range 1 to 65536. It defaults to 1. This argument takes effect only when the protocol is isisv6, ospfv3, or ripng. allow-ibgp: Allows redistributing iBGP routes.
Parameters None Description Use the log-peer-change command to enable the logging on neighbor state changes. Use the undo log-peer-change command to disable the logging. With this feature enabled, information about neighbor state changes of the current OSPFv3 process will display on the configuration terminal. Examples # Disable the logging on neighbor state changes of OSPFv3 process 100.
View System view Default Level 2: System level Parameters process-id: OSPFv3 process ID, ranging from 1 to 65535. The process ID defaults to 1. Description Use the ospfv3 command to enable an OSPFv3 process and enter OSPFv3 view. Use the undo ospfv3 command to disable an OSPFv3 process. The system runs no OSPFv3 process by default.
Description Use the ospfv3 area command to enable an OSPFv3 process on the interface and specify the area for the interface. Use the undo ospfv3 area command to disable an OSPFv3 process. OSPFv3 is not enabled on an interface by default. Examples # Enable OSPFv3 process 1 on an interface that belongs to instance 1 and specify area 1 for the interface.
View Interface view Default Level 2: System level Parameters priority: DR priority, in the range 0 to 255. instance-id: ID of the instance an interface belongs to, in the range 0 to 255, which defaults to 0. Description Use the ospfv3 dr-priority command to set the DR priority for an interface in an instance. Use the undo ospfv3 dr-priority command to restore the default value.
Parameters ipv6-address: Neighbor link-local IP address. dr-priority: Neighbor DR priority, in the range 0 to 255. The default is 1. instance-id: Interface instance ID, in the range 0 to 255. The default is 0. Description Use the ospfv3 peer command to specify a neighbor and the DR priority of the neighbor. Use the undo ospfv3 peer command to remove the configuration.
Description Use the ospfv3 timer retransmit command to configure the LSA retransmission interval for an interface in an instance. Use the undo ospfv3 timer retransmit command to restore the default. The interval defaults to 5 seconds. After sending a LSA to its neighbor, the device waits for an acknowledgement. If receiving no acknowledgement after the LSA retransmission interval elapses, it will retransmit the LSA.
View Interface view Default Level 2: System level Parameters seconds: Transmission delay in seconds, ranging from 1 to 3600. instance-id: Instance ID of an interface, in the range of 0 to 255, with the default as 0. Description Use the ospfv3 trans-delay command to configure the transmission delay for an interface with an instance ID.
By default, the preference for OSPFv3 internal routes is 10, and that for OSPFv3 external routes is 150. The smaller the value is, the higher the preference is. A router may run multiple routing protocols. Each protocol has a preference. When several routing protocols find multiple routes to the same destination, the route found by the protocol with the highest preference is selected.
[Sysname-ospfv3-1] router-id 10.1.1.3 silent-interface(OSPFv3 view) Syntax silent-interface { interface-type interface-number | all } undo silent-interface { interface-type interface-number | all } View OSPFv3 view Default Level 2: System level Parameters interface-type interface-number: Interface type and number all: Specifies all interfaces. Description Use the silent-interface command to disable the specified interface from sending OSPFv3 packets.
Parameters delay-interval: Interval in seconds between when OSPFv3 receives a topology change and when it starts SPF calculation. in the range 1 to 65535. hold-interval: Hold interval in seconds between two consecutive SPF calculations, in the range 1 to 65535. Description Use the spf timers command to configure the delay interval and hold interval for OSPFv3 SPF calculation.
IPv6 IS-IS Configuration Commands IPv6 IS-IS Configuration Commands IPv6 IS-IS supports all the features of IPv4 IS-IS except that it advertises IPv6 routing information instead. This document describes only IPv6 IS-IS exclusive commands. See IS-IS Configuration Commands in the Layer 3 - IP Routing Command Reference for other IS-IS configuration commands.
Page 352
Examples # Display IPv6 IS-IS routing information. <Sysname> display isis route ipv6 Route information for ISIS(1) ----------------------------- ISIS(1) IPv6 Level-1 Forwarding Table ------------------------------------- Destination: 2001:1:: PrefixLen: 64 Flag : R/L/- Cost : 20 Next Hop : FE80::200:5EFF:FE64:8905 Interface: Vlan1 Destination: 2001:2:: PrefixLen: 64 Flag : D/L/-...
Page 353
Field Description Interface Outbound interface # Display detailed IPv6 IS-IS routing information. <Sysname> display isis route ipv6 verbose Route information for ISIS(1) ----------------------------- ISIS(1) IPv6 Level-1 Forwarding Table ------------------------------------- IPV6 Dest : 2001:1::/64 Cost : 20 Flag : R/L/- Admin Tag Src Count : 1 NextHop Interface :...
Field Description Flag of routing information status D: This is a direct route. R: The route has been added into the routing table. Flag/Flags L: The route has been advertised in a LSP. U: Route leaking flag, indicating the Level-1 route is from Level-2. U means the route will not be returned to Level-2.
Description Use the ipv6 default-route-advertise command to generate a Level-1 or Level-2 IPv6 IS-IS default route. Use the undo ipv6 default-route-advertise command to disable generating a default route. No IPv6 IS-IS default route is generated by default. With a route policy, you can configure IPv6 IS-IS to generate the default route that must match the route policy.
keyword specifies the prefix of the route (the prefix must be valid; otherwise, the configuration fails). Related commands: ipv6 filter-policy import. Examples # Reference the ACL6 2006 to filter all redistributed routes. <Sysname> system-view [Sysname] isis 1 [Sysname-isis-1] ipv6 filter-policy 2006 export # Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter redistributed routes.
destination, or with the rule [ rule-id ] { deny | permit } ipv6 source sour sour-prefix destination dest dest-prefix command to deny/permit a route with the specified destination and prefix. The source keyword specifies the destination address of a route while the destination keyword specifies the prefix of the route (the prefix must be valid;...
tag: Specifies a tag for redistributed routes, in the range of 1 to 4294967295. allow-ibgp: Allows redistributing IBGP routes. This keyword is optional when the protocol is bgp4+. Description Use the ipv6 import-route command to enable IPv6 IS-IS to redistribute routes from another routing protocol.
route-policy-name: Name of a route policy used to filter routes when they are leaking from Level-2 to Level-1, a string of 1 to 19 characters. tag: Specifies a administrative tag number for the leaked routes, in the range of 1 to 4294967295.
ipv6 maximum load-balancing Syntax ipv6 maximum load-balancing number undo ipv6 maximum load-balancing View IS-IS view Default Level 2: System level Parameters number: Maximum number of equal-cost routes for load balancing. The number ranges from 1 to 4. Description Use the ipv6 maximum load-balancing command to configure the maximum number of equal-cost routes for load balancing.
route-policy-name: Name of a route policy, a string of 1 to 19 characters. Description Use the ipv6 preference command to configure the preference for IPv6 IS-IS. Use the undo ipv6 preference command to restore the default. The default preference for IPv6 IS-IS is 15. When a router runs multiple dynamic routing protocols at the same time, the system will assign a preference to each routing protocol.
Use the undo ipv6 summary command to remove the summary route. No route summarization is configured by default. Configuring summary routes can reduce the size of route table, LSPs and LSDB. Routes to be summarized can be IS-IS routes or redistributed routes. The cost of a summary route is the smallest cost among all summarized routes.
IPv6 BGP Configuration Commands The term router in this document refers to both routers and Layer-3 switches. For more information about route policy configuration commands in this document, see Route Policy Configuration Commands in the Layer 3 - IP Routing Command Reference. IPv6 BGP Configuration Commands aggregate (IPv6 address family view) Syntax...
Table 11-1 Functions of the keywords Keywords Function Used to create a summary route, whose AS path contains the AS path information of summarized routes. Use this keyword carefully when many as-set AS paths need to be summarized, because the frequent changes of these specific routes may lead to route oscillation.
Parameters number: Number of BGP routes participating in load balancing. The number ranges from 1 to 8. When it is set to 1, load balancing is disabled. Description Use the balance command to configure the number of routes participating in IPv6 BGP load balancing.
bestroute compare-med (IPv6 address family view) Syntax bestroute compare-med undo bestroute compare-med View IPv6 address family view Default Level 2: System level Parameters None Description Use the bestroute compare-med command to enable the comparison of the MED for paths from each AS.
Description Use the bestroute med-confederation command to enable the comparison of the MED for paths from confederation peers for best route selection. Use the undo bestroute med-confederation command to disable the configuration. By default, this comparison is not enabled. With this feature enabled, the system can only compare the MED for paths from peers within the confederation.
dampening (IPv6 address family view) Syntax dampening [ half-life-reachable half-life-unreachable reuse suppress ceiling | route-policy route-policy-name ] * undo dampening View IPv6 address family view Default Level 2: System level Parameters half-life-reachable: Half-life for reachable routes, in the range 1 to 45 minutes. By default, the value is 15 minutes.
default local-preference (IPv6 address family view) Syntax default local-preference value undo default local-preference View IPv6 address family view Default Level 2: System level Parameters value: Default local preference, in the range 0 to 4294967295. The larger the value is, the higher the preference is.
The multi-exit discriminator (MED) is an external metric of a route. Different from local preference, MED is exchanged between ASs and will stay in the AS once it enters the AS. The route with a lower MED is preferred. When a router running BGP obtains several routes with the identical destination and different next-hops from various external peers, it will select the best route depending on the MED value.
Page 372
View Any view Default Level 1: Monitor level Parameters ipv6-group-name: Peer group name, a string of 1 to 47 characters. Description Use the display bgp ipv6 group command to display IPv6 peer group information. If no ipv6-group-name is specified, information about all peer groups is displayed. Examples # Display the information of the IPv6 peer group aaa.
Page 373
Field Description hold timer value Holdtime Keepalive timer value Keepalive interval Minimum time between advertisement runs Minimum interval between advertisements Route refresh capability has been enabled The route-refresh capability has been enabled. ORF advertise capability based on prefix The BGP peer supports the ORF capability based on IP prefix. (type 64): The capability value is 64.
Default Level 1: Monitor level Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. Description Use the display bgp ipv6 paths command to display IPv6 BGP path information. If no parameter is specified, all path information will be displayed. Examples # Display IPv6 BGP path information.
Page 376
View Any view Default Level 1: Monitor level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: Specifies the IPv6 address of a peer to be displayed. log-info: Displays log information of the specified peer.
Page 377
Field Description PrefRcv Number of prefixes received The lasting time of a session/the lasting time of present state (when no session is Up/Down established) State Peer state # Display the log information of the IPv6 peer 20::21. <sysname> display bgp ipv6 peer 20::21 log-info Peer : 20::21 Date Time...
display bgp ipv6 peer received ip-prefix Syntax display bgp ipv6 peer { ip-address | ipv6-address } received ipv6-prefix View Any view Default Level 1: Monitor level Parameters ip-address: IP address of a BGP peer. ipv6-address: IPv6 address of a BGP peer. Description Use the display bgp ipv6 peer received ipv6-prefix command to display the prefix entries in the ORF information of the specified BGP peer.
Page 379
View Any view Default Level 1: Monitor level Parameters ipv6-address: Destination IPv6 address. prefix-length: Prefix length of the IPv6 address, in the range 0 to 128. Description Use the display bgp ipv6 routing-table command to display IPv6 BGP routing table information. Examples # Display the IPv6 BGP routing table.
Page 380
Table 11-8 display bgp ipv6 routing-table command output description Field Description Local router ID Local router ID Status codes: * – valid > – best d – damped Status codes h – history i – internal (IGP) s – summary suppressed (suppressed) S –...
display bgp ipv6 routing-table as-path-acl Syntax display bgp ipv6 routing-table as-path-acl as-path-acl-number View Any view Default Level 1: Monitor level Parameters as-path-acl-number: Number of an AS path ACL permitted by which to display routing information, ranging from 1 to 256. Description Use the display bgp ipv6 routing-table as-path-acl command to display routes filtered through the specified AS path ACL.
no-export: Displays IPv6 BGP routes that cannot be advertised out the AS; if there is a confederation, it displays IPv6 BGP routes that cannot be advertised out the confederation, but can be advertised to other sub ASs in the confederation. no-export-subconfed: Displays IPv6 BGP routes that cannot be advertised out the AS or to other sub ASs if a confederation is configured.
Examples # Display the routing information matching the specified IPv6 BGP community list. <Sysname> display bgp ipv6 routing-table community-list 99 BGP Local router ID is 30.30.30.1 Status codes: * - valid, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *>...
prefix-length: Prefix length of the IPv6 address, in the range 0 to 128. longer-match: Matches the longest prefix. Description Use the display bgp ipv6 routing-table flap-info command to display IPv6 BGP route flap statistics. Examples # Display IPv6 BGP route flap statistics. <Sysname>...
statistic: Displays route statistics. Description Use the display bgp ipv6 routing-table peer command to display the routing information advertised to or received from the specified IPv4 or IPv6 BGP peer. Examples # Display the routing information advertised to the specified BGP peer. <Sysname>...
BGP Local router ID is 20.20.20.1 Status codes: * - valid, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *>...
ipv6-prefix-name: Specifies the name of an IPv6 prefix list used to match against the destination of routing information. The name is a string of 1 to 19 characters. protocol: Filters routes redistributed from the routing protocol. It can be direct, isisv6, ospfv3, ripng, or static at present.
Default Level 2: System level Parameters acl6-number: Number of an IPv6 ACL used to match against the destination address field of routing information, ranging from 2000 to 3999. ipv6-prefix-name: Name of an IPv6 prefix list used to match against the destination address field of routing information, a string of 1 to 19 characters.
Default Level 2: System level Parameters ipv6-group-name: Name of an IPv6 peer group, a string of 1 to 47 characters. internal: Creates an iBGP peer group. external: Creates an eBGP peer group, which can be a group of another sub AS in the confederation. Description Use the group command to create a peer group.
Examples # Redistribute routes from RIPng 1. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] import-route ripng 1 ipv6-family Syntax ipv6-family undo ipv6-family View BGP view Default Level 2: System level Parameters None Description Use the ipv6-family command to enter IPv6 address family view. Use the undo ipv6-family command to remove all configurations from the view.
short-cut: If the keyword is specified for an eBGP route, the route will use the local routing management value rather than that of eBGP routes, so the preference of the route is reduced. route-policy-name: Name of a routing policy, a string of 1 to 19 characters. Description Use the network command to advertise a network to the IPv6 BGP routing table.
number: Specifies the number of times for which the local AS number can appear in routes from the peer/peer group, in the range 1 to 10. The default number is 1. Description Use the peer allow-as-loop command to configure IPv6 BGP to allow the local AS number to exist in the AS_PATH attribute of routes from a peer/peer group, and to configure the times for which it can appear.
Page 397
Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. ipv6-address: IPv6 address of a peer. both: Supports sending and receiving Route-refresh messages carrying the ORF information. receive: Supports receiving Route-refresh messages carrying the ORF information. send: Supports sending Route-refresh messages carrying the ORF information.
Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use the peer capability-advertise route-refresh command to enable IPv6 BGP route-refresh. Use the undo peer capability-advertise route-refresh command to disable the function. By default, route-refresh is enabled.
Default Level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. description-text: Description information for the peer/peer group, a string of 1 to 79 characters. Description Use the peer description command to configure the description information for a peer/peer group.
View IPv6 address family view Default Level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. as-number: Local AS number, in the range 1 to 4294967295. Description Use the peer fake-as command to configure a fake local AS number for a peer or peer group.
By default, no ACL-based filter policy is configured for a peer or peer group. Examples # Apply the ACL6 2000 to filter routes advertised to the peer 1:2::3:4. <Sysname> system-view [Sysname] acl ipv6 number 2000 [Sysname-acl6-basic-2000] rule permit source 2001:1:: 64 [Sysname-acl6-basic-2000] quit [Sysname] bgp 100 [Sysname-bgp] ipv6-family...
View IPv6 address family view Default Level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use the peer ignore command to terminate the session to a peer or peer group. Use the undo peer ignore command to remove the configuration.
By default, no IPv6 prefix list is specified for filtering. Examples # Reference the IPv6 prefix list list 1 to filter routes outgoing to peer 1:2::3:4. <Sysname> system-view [Sysname] ip ipv6-prefix list1 permit 2002:: 64 [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 ipv6-prefix list1 export peer keep-all-routes (IPv6 address family view) Syntax...
Default Level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use the peer log-change command to enable the logging of session state and event information of a specified peer or peer group.
[Sysname-bgp-af-ipv6] peer test next-hop-local peer preferred-value (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } preferred-value value undo peer { ipv6-group-name | ipv6-address } preferred-value View IPv6 address family view Default Level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer.
undo peer { ipv6-group-name | ipv6-address } public-as-only View IPv6 address family view Default Level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use the peer public-as-only command to configure IPv6 BGP updates to a peer/peer group to not carry private AS numbers.
By default, neither route reflector nor client is configured. Related commands: reflect between-clients, reflector cluster-id. Examples # Configure the local device as a route reflector and specify the peer group test as a client. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] group test [Sysname-bgp-af-ipv6] peer test reflect-client peer route-limit (IPv6 address family view)
peer route-update-interval (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } route-update-interval interval undo peer { ipv6-group-name | ipv6-address } route-update-interval View IPv6 address family view Default Level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer.
Description Use the peer substitute-as command to substitute the local AS number for the AS number of a peer/peer group in the AS_PATH attribute. Use the undo peer substitute-as command to remove the configuration. The substitution is not configured by default. Examples # Substitute the local AS number for the AS number of peer 1:2::3:4.
After this command is executed, the peer connection is closed at once, and a new connection to the peer is negotiated using the configured hold time. Related commands: timer. Examples # Configure the keepalive interval and holdtime interval for the peer group test as 60 seconds and 180 seconds.
Description Use the reflector cluster-id command to configure the cluster ID of the route reflector. Use the undo reflector cluster-id command to remove the configured cluster ID. By default, a route reflector uses its router ID as the cluster ID. Usually, there is only one route reflector in a cluster, so the router ID of the route reflector identifies the cluster.
Description Use the reset bgp ipv6 dampening command to clear dampened IPv6 BGP route information and release suppressed routes. If no ipv6-address prefix-length is specified, all dampened IPv6 BGP route information will be cleared. Examples # Clear the dampened information of routes to 2345::/64 and release suppressed routes. <Sysname>...
Default Level 2: System level Parameters router-id: Router ID in IP address format. Description Use the router-id command to specify a router ID for the router. Use the undo router-id command to remove a router ID. To run IPv6 BGP protocol, a router must have a router ID, an unsigned 32-bit integer and the unique ID of the router in the AS.
By default, upon receiving an IPv6 iBGP route, the BGP router only checks whether the next hop is reachable before advertisement. If synchronization is enabled, the iBGP route can be advertised to eBGP peers only when the route is also advertised by the IGP. Examples # Enable the route synchronization between IPv6 BGP and IGP.
Page 421
Examples # Configure keepalive interval and holdtime interval as 60 and 180 seconds. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] timer keepalive 60 hold 180 # In BGP view, configure both the BGP keepalive interval and holdtime interval as 0 seconds, indicating no peer connection will time out.
Route Policy Configuration Commands The common configuration commands of route policy are applicable to both IPv4 and IPv6. Common Route Policy Configuration Commands apply as-path Syntax apply as-path as-number&<1-10> [ replace ] undo apply as-path View Route policy view Default Level 2: System level Parameters as-number: Autonomous system number, in the range of 1 to 4294967295.
apply comm-list delete Syntax apply comm-list comm-list-number delete undo apply comm-list View Route policy view Default Level 2: System level Parameters comm-list-number: Community list number. A basic community list number ranges from 1 to 99. A advanced community list number ranges from 100 to 199. Description Use the apply comm-list delete command to remove the community attributes specified by the community list from BGP routing information.
internet: Sets the internet community attribute for BGP routes. Routes with this attribute can be advertised to all BGP peers. no-export-subconfed: Sets the no-export-subconfed community attribute for BGP routes. Routes with this attribute cannot be advertised out the sub autonomous system. no-advertise: Sets the no-advertise community attribute for BGP routes.
View Route policy view Default Level 2: System level Parameters rt route-target: Sets the route target extended community attribute, which is a string of 3 to 21 characters. A route-target has one of the following three forms: 16-bit AS number: 32-bit self-defined number, for example, 101:3; 32-bit IP address: 16-bit self-defined number, for example, 192.168.122.15:1.
Description Use the apply isis command to redistribute routes into a specified ISIS level. Use the undo apply isis command to remove the clause configuration. No IS-IS level is set by default. Related commands: if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop, if-match cost, if-match tag, route-policy, apply cost, apply origin, apply tag.
undo apply origin View Route policy view Default Level 2: System level Parameters egp: Sets the origin attribute of BGP routing information to EGP. as-number: Autonomous system number for EGP routes, in the range of 1 to 4294967295. igp: Sets the origin attribute of BGP routing information to IGP. incomplete: Sets the origin attribute of BGP routing information to unknown.
If you have set preferences for routing protocols with the preference command, using the apply preference command will set a new preference for the matching routing protocol. Non-matching routing protocols still use the preferences set by the preference command. Examples # Configure node 10 in permit mode of routing policy policy1: Set the preference for OSPF external routes to 90.
Default Level 2: System level Parameters value: Tag value, in the range 0 to 4294967295. Description Use the apply tag command to set a specified tag value for RIP, OSPF or IS-IS routing information. Use the undo apply tag command to remove the clause configuration. No routing tag is set for RIP, OSPF or IS-IS routing information by default.
Table 12-1 display ip as-path command output description Field Description ListID AS-PATH list ID Mode Match mode: permit, deny Expression Regular expression for matching display ip community-list Syntax display ip community-list [ basic-community-list-number | adv-community-list-number ] View Any view Default Level 1: Monitor level Parameters basic-community-list-number: Basic community list number, in the range of 1 to 99.
Description Use the display ip extcommunity-list command to display BGP extended community list information. All BGP extended community list information will be displayed if no ext-comm-list-number is specified. Related commands: ip extcommunity-list, if-match extcommunity, apply extcommunity. Examples # Display the information of BGP extended community list 1. <Sysname>...
Field Description If the match criterion is satisfied, set a cost of 120 for routing apply cost 120 information. if-match as-path Syntax if-match as-path as-path-number&<1-16> undo if-match as-path [ as-path-number&<1-16> ] View Route policy view Default Level 2: System level Parameters as-path-number: AS path list number, in the range of 1 to 256.
Default Level 2: System level Parameters basic-community-list-number: Basic community list number, in the range of 1 to 99. adv-community-list-number: Advanced community list number, in the range of 100 to 199. whole-match: Exactly matches the specified community list(s). &<1-16>: Indicates the argument before it can be entered up to 16 times. Description Use the if-match community command to specify community list(s) for matching against the community attribute of BGP routing information.
Parameters interface-type: Interface type interface-number: Interface number &<1-16>: Indicates the argument before it can be entered up to 16 times. Description Use the if-match interface command to specify interface(s) for matching against the outbound interface of routing information. Use the undo if-match interface command to remove the match criterion. The match criterion is not configured by default.
nssa-external-type1: OSPF NSSA Type 1 external routes. nssa-external-type2: OSPF NSSA Type 2 external routes. nssa-external-type1or2: OSPF NSSA Type 1 or 2 external routes. Description Use the if-match route-type command to configure a route type match criterion. Use the undo if-match route-type command to remove the match criterion. The match criterion is not configured by default.
undo ip as-path as-path-number View System view Default Level 2: System level Parameters as-path-number: AS-PATH list number, in the range of 1 to 256. deny: Specifies the match mode for the AS-PATH list as deny. permit: Specifies the match mode for the AS-PATH list as permit. regular-expression: AS-PATH regular expression, a string of 1 to 50 characters.
adv-comm-list-num: Advanced community list number, in the range 100 to 199. regular-expression: Regular expression of advanced community attribute, a string of 1 to 50 characters. deny: Specifies the match mode for the community list as deny. permit: Specifies the match mode for the community list as permit. community-number-list: Community number list, which is in the community number or aa:nn format;...
permit: Specifies the match mode for the extended community list as permit. rt route-target: Specifies the route target extended community attribute, which is a string of 3 to 21 characters. A route-target has three forms: A 16-bit AS number: a 32-bit self-defined number, for example, 101:3; A 32-bit IP address: a 16-bit self-defined number, for example, 192.168.122.15:1.
A route policy is used for routing information filtering or policy based routing. It contains several nodes and each node comprises a set of if-match and apply clauses. The if-match clauses define the matching criteria of the node and the apply clauses define the actions to be taken on packets passing the node.
With FRR, a routing protocol can designate a backup next hop by using the referenced route policy when a network failure is detected, and packets are directed to the backup next hop for forwarding, thus to reduce traffic recovery time greatly. This command allows you to specify a backup next hop in a route policy for routes matching specified criteria.
display ip ip-prefix Syntax display ip ip-prefix [ ip-prefix-name ] View Any view Default Level 1: Monitor level Parameters ip-prefix-name: IP prefix list name, a string of 1 to 19 characters. Description Use the display ip ip-prefix command to display the statistics of an IPv4 prefix list. If no ip-prefix-name is specified, statistics for all IPv4 prefix lists will be displayed.
Page 444
View Route policy view Default Level 2: System level Parameters acl-number: ACL number from 2000 to 3999. Description Use the if-match acl command to configure an ACL match criterion. Use the undo if-match acl command to remove the match criterion. No ACL match criterion is configured by default.
Parameters ip-prefix-name: IPv4 prefix list name, a string of 1 to 19 characters. index-number: Index number, in the range 1 to 65535, for uniquely specifying an item of the IPv4 prefix list. An index with a smaller number is matched first. deny: Specifies the match mode for the IPv4 prefix list as deny.
View User view Default Level 2: System level Parameters ip-prefix-name: IP prefix list name, a string of 1 to 19 characters. Description Use the reset ip ip-prefix command to clear the statistics of a specified IPv4 prefix list. If no ip-prefix-name is specified, the statistics of all IPv4 prefix lists are cleared.
display ip ipv6-prefix Syntax display ip ipv6-prefix [ ipv6-prefix-name ] View Any view Default Level 1: Monitor level Parameters ipv6-prefix-name: IPv6 prefix list name, a string of 1 to 19 characters. Description Use the display ip ipv6-prefix command to display the statistics of the specified IPv6 prefix list. If no IPv6 prefix list is specified, the statistics of all IPv6 prefix lists are displayed.
deny: Specifies the match mode for the IPv6 prefix list as deny. If a route matches the IPv6 prefix list, the route neither passes the filter nor matches against the next item; if not, the route matches against the next item (suppose the IPv6 prefix list has multiple items configured). permit: Specifies the match mode for the IPv6 prefix list as permit.
Page 451
Default Level 2: System level Parameters ipv6-prefix-name: IPv6 prefix list name, a string of 1 to 19 characters. Description Use the reset ip ipv6-prefix command to clear the statistics of the specified IPv6 prefix list. If no name is specified, the statistics of all IPv6 prefix lists will be cleared. Examples # Clear the statistics of IPv6 prefix list abc.
Policy Routing Configuration Commands The S5820X&S5800 series switches implement policy routing through QoS policies. For details about traffic classification, traffic behavior and QoS policy configuration commands, see QoS Policy Configuration Commands in the ACL and QoS Command Reference. 13-1...
MCE Configuration Commands This chapter only describes the commands related to the multi-CE (MCE) feature. For information about the routing protocol configuration commands in the configuration examples, see relevant chapters in the Layer 3 - IP Routing Command Reference. MCE Configuration Commands description Syntax description text...
Page 454
Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a string of 1 to 31 characters. group-name: Name of the BGP peer group, a string of 1 to 47 characters. Description Use the display bgp vpnv4 group command display information about a specified or all BGP VPNv4 peer group.
Field Description No routing policy is configured Whether the VPN instance is configured with a routing policy Peer IP address of the peer AS number of the peer group MsgRcvd Number of messages received MsgSent Number of messages sent OutQ Number of messages waiting to be sent to the peer PrefRcv Number of prefixes received...
display bgp vpnv4 vpn-instance peer Syntax display bgp vpnv4 vpn-instance vpn-instance-name peer [ group-name log-info | ip-address { log-info | verbose } | verbose ] View Any view Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a string of 1 to 31 characters. group-name: Name of a peer group, a string of 1 to 47 characters.
Page 458
Field Description PrefRcv Number of received prefixes Up/Down Duration of the BGP session in the current state State Status of the peer # Display detailed information about BGP VPNv4 peers of VPN instance vpn1. <Sysname> display bgp vpnv4 vpn-instance vpn1 peer verbose Peer: 10.1.1.1 Local: 2.2.2.2 Type: EBGP link BGP version 4, remote router ID 10.1.1.1...
Field Description remote router ID Router ID of the remote router BGP current state Current status of the BGP session Up for Duration since the peer is established BGP current event Current event of the BGP session State that the BGP session was in before transitioning to the BGP last state current status Port...
Page 461
regular-expression as-regular-expression: Displays routing information matching the specified AS regular expression. statistic: Displays BGP VPNv4 route statistics. Description Use the display bgp vpnv4 vpn-instance routing-table command to display the BGP VPNv4 routing information of a specified VPN instance. Examples # Display the BGP VPNv4 routing information of VPN instance vpn1. <Sysname>...
display fib vpn-instance Syntax display fib vpn-instance vpn-instance-name [ | { begin | exclude | include } regular-expression | acl acl-number | ip-prefix ip-prefix-name ] View Any view Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters. |: Use the regular expression to filter the output information.
Page 463
Flag: U:Useable G:Gateway H:Host B:Blackhole D:Dynamic S:Static Destination/Mask Nexthop Flag OutInterface InnerLabel Token 10.2.1.1/32 127.0.0.1 InLoop0 Null Invalid 127.0.0.0/8 127.0.0.1 InLoop0 Null Invalid 127.0.0.1/32 127.0.0.1 InLoop0 Null Invalid # Display the FIB information of VPN instance vpn1 that is permitted by ACL 2000. <Sysname>...
Field Description Token LSP index number display fib vpn-instance ip-address Syntax display fib vpn-instance vpn-instance-name ip-address [ mask | mask-length ] View Any view Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a case-sensitive string of 1 to 31 characters. ip-address: Destination IP address, in dotted decimal format.
Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a string of 1 to 31 characters. verbose: Displays detailed information. Description Use the display ip routing-table vpn-instance command to display the routing information of a VPN instance. Examples # Display the routing information of VPN instance vpn2.
Page 466
Default Level 1: Monitor level Parameters vpn-instance-name: Name of the VPN instance, a string of 1 to 31 characters. Description Use the display ip vpn-instance command to display information about a VPN instance or all VPN instances. If you do not specify any parameter, the command displays brief information about all VPN instances. Examples # Display information about all VPN instances.
Page 467
Table 14-10 Description on the fields of display ip vpn-instance instance-name Field Description VPN-Instance Name and ID Name and ID of the VPN instance CreateTime Time when the VPN instance was created Up time Duration of the VPN instance Route Distinguisher RD of the VPN instance Export VPN Targets Export target attribute of the VPN instance...
Use the undo domain-id command to restore the default. By default, the OSPF domain ID is 0. With no parameter specified, the undo domain-id command deletes the primary domain ID. Usually, routes injected from PEs are advertised as External-LSAs. However, routes to different destinations in the same OSPF domain must be advertised as Type-3 LSAs.
View OSPF view Default Level 2: System level Parameters domain-id type-code1: Specifies the type code for the OSPF extended community attribute of Domain ID. Valid values are 0x0005, 0x0105, 0x0205, and 0x8005. router-id type-code2: Specifies the type code for the OSPF extended community attribute of Router ID.
ospf process-id: Filters OSPF routes to be advertised that are from a specified OSPF process. The process-id argument is in the range 1 to 4294967295. rip process-id: Filters RIP routes to be advertised that are from a specified RIP process. The process-id argument is in the range 1 to 4294967295.
[Sysname-bgp-vpn1] filter-policy 2255 import import route-policy Syntax import route-policy route-policy undo import route-policy View VPN instance view Default Level 2: System level Parameters route-policy: Name of the import routing policy for the VPN instance, a string of 1 to 19 characters. Description Use the import route-policy command to apply an import routing policy to a VPN instance.
Use the undo ip binding vpn-instance command to remove the association. By default, an interface is associated with no VPN instance; it belongs to the public network. When configured on an interface, the ip binding vpn-instance command clears the IP address of the interface.
ip-address: IP address of the peer. number: Maximum number that the local AS number can appear repeatedly in the AS-PATH attribute. It ranges from 1 to 10 and defaults to 1. Description Use the peer allow-as-loop command to allow the local AS number to appear in the AS-PATH attribute of a received route and to set the allowed maximum number of repetitions.
View User view Default Level 1: Monitor level Parameters vpn-instance-name: Name of a VPN instance, a string of 1 to 31 characters. ip-address: IP address of a peer. all: Performs a soft reset of all BGP VPN instance connections. external: Performs a soft reset of EBGP sessions. group group-name: Performs a soft reset of the connections with the specified BGP peer group.
mask: Network mask, in the format of X.X.X.X. mask-length: Length of the network mask, in the range 0 to 32. as-path-acl as-path-acl-number: Specifies the AS_PATH filtering list. The as-path-acl-number argument ranges from 1 to 256. regexp as-path-regexp: Specifies the AS_PATH regular expression. Description Use the reset bgp vpn-instance flap-info command to clear the route flap history information about BGP peers of a VPN instance.
Examples # Configure the RD of VPN instance vpn1. <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] route-distinguisher 22:1 routing-table limit Syntax routing-table limit number { warn-threshold | simply-alert } undo routing-table limit View VPN instance view Default Level 2: System level Parameters number: Maximum number of routes for the VPN instance to support, in the range 1 to 12288.
Default Level 2: System level Parameters None Description Use the vpn-instance-capability simple command to enable multi-VPN-instance CE. Use the undo vpn-instance-capability command to disable the function. By default, the function is disabled. Examples # Enable multi-VPN-instance CE. <Sysname> system-view [Sysname] ospf 100 vpn-instance vpna [Sysname-ospf-100] vpn-instance-capability simple vpn-target Syntax...
Page 480
Description Use the vpn-target command to associate the current VPN instance with one or more VPN targets. Use the undo vpn-target command to remove the association of the current VPN instance with VPN targets. VPN target has no default. You must configure it when creating a VPN instance. Examples # Associate the current VPN instance with VPN targets.
Index A B C D E F G H I J K L M N O P Q R S T U V W X Y Z bestroute as-path-neglect (BGP/BGP-VPN instance view) abr-summary (OSPF area view) bestroute as-path-neglect (IPv6 address abr-summary (OSPFv3 area view) family view) 11-3...