Download Print this page

HP 6125G Command Reference Manual

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

Advertisement

HP 6125 Blade Switch Series
Layer 3 - IP Routing
Part number: 5998-3168
Software version: Release 2103
Document version: 6W100-20120907

Advertisement

COMING SOON

   Related Manuals for HP 6125G

   Summary of Contents for HP 6125G

  • Page 1: Command Reference

    HP 6125 Blade Switch Series Layer 3 - IP Routing Command Reference Part number: 5998-3168 Software version: Release 2103 Document version: 6W100-20120907...

  • Page 2

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

  • Page 3: Table Of Contents

    Contents Basic IP routing commands ········································································································································· 1   display ip routing-table ············································································································································ 1   display ip routing-table acl ······································································································································ 5   display ip routing-table ip-address ························································································································· 8   display ip routing-table ip-prefix ·························································································································· 10   display ip routing-table protocol ·························································································································· 12  ...

  • Page 4: Table Of Contents

    rip poison-reverse ·················································································································································· 51   rip split-horizon ······················································································································································ 52   rip summary-address ············································································································································· 52   rip version ······························································································································································ 53   silent-interface (RIP view) ······································································································································ 54   summary ································································································································································· 54   timers ······································································································································································ 55   validate-source-address ········································································································································· 56   version ···································································································································································· 57  ...

  • Page 5: Table Of Contents

    nssa ······································································································································································· 103   opaque-capability enable ··································································································································· 104   ospf ······································································································································································· 105   ospf authentication-mode ···································································································································· 106   ospf bfd enable ··················································································································································· 107   ospf cost ······························································································································································· 108   ospf dr-priority ····················································································································································· 108   ospf mib-binding ·················································································································································· 109   ospf mtu-enable···················································································································································· 109  ...

  • Page 6: Table Of Contents

    display bgp routing-table community ················································································································ 149   display bgp routing-table community-list ··········································································································· 150   display bgp routing-table dampened ················································································································ 151   display bgp routing-table dampening parameter ···························································································· 152   display bgp routing-table different-origin-as ····································································································· 153   display bgp routing-table flap-info ···················································································································· 153  ...

  • Page 7: Table Of Contents

    peer route-update-interval (BGP/BGP-VPN instance view) ············································································· 193   peer substitute-as (BGP/BGP-VPN instance view) ···························································································· 194   peer timer (BGP/BGP-VPN instance view) ······································································································· 195   preference (BGP/BGP-VPN instance view) ······································································································· 196   reflect between-clients (BGP view/BGP-VPN instance view) ·········································································· 197   reflector cluster-id (BGP view/BGP-VPN instance view) ··················································································...

  • Page 8: Table Of Contents

    display ospfv3 lsdb statistic ································································································································ 238   display ospfv3 next-hop ······································································································································ 239   display ospfv3 peer ············································································································································ 240   display ospfv3 peer statistics ····························································································································· 242   display ospfv3 request-list ··································································································································· 243   display ospfv3 retrans-list ··································································································································· 245   display ospfv3 routing ········································································································································ 247  ...

  • Page 9: Table Of Contents

    display bgp ipv6 routing-table as-path-acl ······································································································· 289   display bgp ipv6 routing-table community ······································································································· 290   display bgp ipv6 routing-table community-list ·································································································· 291   display bgp ipv6 routing-table dampened ······································································································· 292   display bgp ipv6 routing-table dampening parameter ··················································································· 293  ...

  • Page 10: Table Of Contents

    reset bgp ipv6 flap-info ······································································································································· 331   router-id ································································································································································ 331   synchronization (IPv6 address family view) ····································································································· 332   timer (IPv6 address family view) ························································································································ 333   Routing policy configuration commands ··············································································································· 334   Common routing policy configuration commands ···································································································· 334  ...

  • Page 11: Table Of Contents

    display bgp vpnv4 vpn-instance routing-table ·································································································· 370   display fib vpn-instance ······································································································································ 372   display fib vpn-instance ip-address ··················································································································· 375   display ip vpn-instance ······································································································································· 376   domain-id ····························································································································································· 377   export route-policy ··············································································································································· 378   ext-community-type ·············································································································································· 379   filter-policy export ················································································································································...

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

    Basic IP routing commands The term "router" in this chapter refers to both routers and Layer 3 switches. display ip routing-table Syntax display ip routing-table [ vpn-instance vpn-instance-name ] [ verbose ] [ | { begin | exclude | include } regular-expression ] View Any view...

  • Page 13

    1.1.2.0/24 Direct 0 1.1.2.1 Vlan11 1.1.2.1/32 Direct 0 127.0.0.1 InLoop0 2.2.2.0/24 OSPF 1.1.2.2 Vlan12 127.0.0.0/8 Direct 0 127.0.0.1 InLoop0 127.0.0.1/32 Direct 0 127.0.0.1 InLoop0 192.168.0.0/24 Direct 0 192.168.0.1 Vlan1 192.168.0.1/32 Direct 0 127.0.0.1 InLoop0 Table 1 Command output Field Description Destinations Number of destination addresses Routes...

  • Page 14

    State: Active NoAdv Age: 06h46m22s Tag: 0 Destination: 2.2.2.0/24 Protocol: OSPF Process ID: 1 Preference: 10 Cost: 2 IpPrecedence: QosLcId: NextHop: 1.1.2.2 Interface: Vlan-interface12 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active Adv Age: 00h00m53s...

  • Page 15

    State: Active Adv Age: 06h46m35s Tag: 0 Destination: 192.168.0.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: QosLcId: NextHop: 127.0.0.1 Interface: InLoopBack0 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active NoAdv Age: 06h46m35s...

  • Page 16: Display Ip Routing-table Acl

    Field Description Route status: • Active—This is an active unicast route. • Adv—This route can be advertised. • Delete—This route is deleted. • Gateway—This is an indirect route. • Holddown—Number of holddown routes. Holddown is a route advertisement policy used in some distance vector (D-V) routing protocols, such as RIP, to avoid the propagation of some incorrect routes.

  • Page 17

    acl-number: Specifies the basic ACL number, in the range of 2000 to 2999. verbose: Displays detailed routing table information, including inactive routes. Without this argument, the command displays only brief information about active routes. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 18

    NextHop: 10.1.1.2 Interface: Vlan-interface1 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor: 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active Adv Age: 1d00h25m32s Tag: 0 Destination: 10.1.1.2/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: QosLcId: NextHop: 127.0.0.1 Interface: InLoopBack0...

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

    NextHop: 10.1.3.1 Interface: Vlan-interface11 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor: 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active Adv Age: 1d00h05m31s Tag: 0 Destination: 10.1.3.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: QosLcId: NextHop: 127.0.0.1 Interface: InLoopBack0...

  • Page 20

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ip routing-table ip-address to display information about routes to a specified destination address.

  • Page 21: Display Ip Routing-table Ip-prefix

    <Sysname> display ip routing-table 11.1.1.1 longer-match Routing Table : Public Summary Count : 1 Destination/Mask Proto Cost NextHop Interface 11.1.1.0/24 Static 60 0.0.0.0 NULL0 # Display route entries by specifying a destination IP address and mask. <Sysname> display ip routing-table 11.1.1.1 24 Routing Table : Public Summary Count : 1 Destination/Mask...

  • Page 22

    Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. ip-prefix-name: Specifies the IP prefix list name, a string of 1 to 19 characters. verbose: Displays detailed routing table information, including inactive routes.

  • Page 23: Display Ip Routing-table Protocol

    NextHop: 2.2.2.1 Interface: Vlan-interface2 BkNextHop: 0.0.0.0 BkInterface: RelyNextHop: 0.0.0.0 Neighbor : 0.0.0.0 Tunnel ID: 0x0 Label: NULL BKTunnel ID: 0x0 BKLabel: NULL State: Active Adv Age: 1d00h20m52s Tag: 0 Destination: 2.2.2.1/32 Protocol: Direct Process ID: 0 Preference: 0 Cost: 0 IpPrecedence: QosLcId: NextHop: 127.0.0.1...

  • Page 24: Display Ip Routing-table Statistics

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ip routing-table protocol to display routing information of a specified routing protocol. Examples # Display brief information about direct routes. <Sysname> display ip routing-table protocol direct Public Routing Table : Direct Summary Count : 6 Direct Routing Table Status : <Active>...

  • Page 25: Display Ipv6 Routing-table

    Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 26

    View Any view Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. verbose: Displays detailed information about both active and inactive routes. Without this keyword, only brief information about active routes is displayed.

  • Page 27: Display Ipv6 Routing-table Acl

    <Sysname> display ipv6 routing-table verbose Routing Table : Public Destinations : 1 Routes : 1 Destination : ::1 PrefixLength : 128 NextHop : ::1 Preference IpPrecedence : QosLcId RelayNextHop : :: : 0H Neighbor : :: ProcessID Interface : InLoopBack0 Protocol : Direct State...

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

    Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. acl6-number: Specifies the basic IPv6 ACL number, in the range of 2000 to 2999. verbose: Displays both active and inactive verbose routing information permitted by the ACL.

  • Page 29

    Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. ipv6-address: Specifies the destination IPv6 address. prefix-length: Specifies the prefix length, in the range of 0 to 128.

  • Page 30: Display Ipv6 Routing-table Ipv6-prefix

    Routing Table: Public Summary Count: 3 Destination: 10::/64 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0 Cost Destination: 10::/68 Protocol : Static NextHop : :: Preference: 60 Interface : NULL0 Cost Destination: 10::/120 Protocol : Static NextHop : :: Preference: 60 Interface...

  • Page 31: Display Ipv6 Routing-table Protocol

    Default level 1: Monitor level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters. If no VPN is specified, the information of the public network is displayed. ipv6-prefix-name: Specifies the name of the IPv6 prefix list, in the range of 1 to 19 characters. verbose: Displays both active and inactive verbose routing information.

  • Page 32: Display Ipv6 Routing-table Statistics

    verbose: Displays both active and inactive verbose routing information. Without this keyword, only brief active routing information is displayed. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 33: Reset Ip Routing-table Statistics Protocol

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ipv6 routing-table statistics to display IPv6 routing statistics, including total route number, added route number, and deleted route number.

  • Page 34: Reset Ipv6 Routing-table Statistics

    Description Use reset ip routing-table statistics protocol to clear routing statistics for the routing table. Examples # Clear routing statistics in the routing table of VPN instance Sysname1. <Sysname> reset ip routing-table statistics protocol vpn-instance Sysname1 all reset ipv6 routing-table statistics Syntax reset ipv6 routing-table statistics protocol [ vpn-instance vpn-instance-name ] { protocol | all } View...

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

    Static routing configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. delete static-routes all Syntax delete [ vpn-instance vpn-instance-name ] static-routes all View System view Default level 2: System level Parameters vpn-instance vpn-instance-name: Specifies an MPLS L3VPN. vpn-instance-name is a case-sensitive string of 1 to 31 characters.

  • Page 36

    interface-type interface-number [ next-hop-address ] [ bfd { control-packet [ bfd-source ip-address ] | echo-packet } ] | vpn-instance d-vpn-instance-name next-hop-address [ track track-entry-number ] } [ preference preference-value ] [ tag tag-value ] [ permanent ] [ description description-text ] undo ip route-static vpn-instance s-vpn-instance-name&<1-6>...

  • Page 37

    track track-entry-number: Associates the static route with a track entry. Use the track-entry-number argument to specify a track entry number, in the range of 1 to 1024. Description Use ip route-static to configure a unicast static route. Use undo ip route-static to delete a unicast static route. When you configure a unicast static route, follow these guidelines: If the destination IP address and the mask are both 0.0.0.0 (or 0), the configured route is a default •...

  • Page 38: Ip Route-static Default-preference

    <Sysname> system-view [Sysname] ip route-static vpn-instance vpn1 1.1.1.1 16 vpn-instance vpn1 1.1.1.2 # Configure a static route: the destination address is 1.1.1.1/24, the output interface is Vlan-interface1 1, and the next hop address is 2.2.2.2, and enable BFD with the echo packet mode. <Sysname>...

  • Page 39: Rip Configuration Commands, Checkzero, Default Cost (rip View)

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

  • Page 40: Default-route

    Description Use default cost to configure the default metric for redistributed routes. Use undo default cost to restore the default. By default, the default metric of redistributed routes is 0. When you use the import-route command to redistribute routes from other protocols without specifying a metric, the metric specified by the default cost command applies.

  • Page 41: Display Rip

    display rip Syntax display rip [ process-id | vpn-instance vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: RIP process ID, in the range of 1 to 65535. If no process ID is specified, information about all configured RIP processes is displayed.

  • Page 42

    Networks : 192.168.1.0 Configured peers : None Triggered updates sent : 0 Number of routes changes : 0 Number of replies to queries : 0 Table 7 Command output Field Description The RIP process runs under a public VPN Public VPN-instance name (or Private VPN-instance instance./The RIP process runs under a private VPN name) instance.

  • Page 43: Display Rip Database

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

  • Page 44: Display Rip Interface

    Field Description Rip-interface Routes learned from a RIP-enabled interface. imported Routes redistributed from other routing protocols. display rip interface Syntax display rip process-id interface [ interface-type interface-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level...

  • Page 45: Display Rip Route

    Field Description 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 routing policy used to add the additional routing metric for the incoming routes. If no routing MetricIn route policy policy is referenced, the field displays Not designated.

  • Page 46

    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.

  • Page 47: Dscp (rip View), Filter-policy Export (rip View)

    111.1.1.2 Total Table 11 Command output Field Description Peer IP address of a neighbor Aging Total number of aging routes learned from the specified neighbor Permanent Total number of permanent routes learned from the specified neighbor Garbage Total number of routes in Garbage-collection state learned from the specified neighbor Total Total number of routes learned from all RIP neighbors dscp (RIP view)

  • Page 48

    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.

  • Page 49: Filter-policy Import (rip View)

    <Sysname> system-view [Sysname] acl number 3000 [Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.0 0 [Sysname-acl-adv-3000] rule 100 deny ip [Sysname-acl-adv-3000] quit [Sysname] rip 1 [Sysname-rip 1] filter-policy 3000 export filter-policy import (RIP view) Syntax filter-policy { acl-number | gateway ip-prefix-name | ip-prefix ip-prefix-name [ gateway ip-prefix-name ] } import [ interface-type interface-number ] undo filter-policy import [ interface-type interface-number ] View...

  • Page 50: Host-route

    [Sysname] rip 1 [Sysname-rip-1] filter-policy 2000 import # Reference IP prefix list abc on Vlan-interface 1 1 to filter all received RIP routes. [Sysname-rip-1] filter-policy ip-prefix abc import Vlan-interface 11 # Configure ACL 3000 to permit only route 1 13.0.0.0/16 to pass, and reference ACL 3000 to filter incoming routes.

  • Page 51: Import-route (rip View)

    import-route (RIP view) Syntax import-route protocol [ process-id | all-processes | allow-ibgp ] [ cost cost | route-policy route-policy-name | tag tag ] * undo import-route protocol [ process-id | all-processes ] View RIP view Default level 2: System level Parameters protocol: Specifies a routing protocol from which to redistribute routes.

  • Page 52: Maximum Load-balancing (rip View), Network

    [Sysname-rip-1] default cost 3 # Redistribute OSPF routes with the cost being the default cost. [Sysname-rip-1] import-route ospf maximum load-balancing (RIP view) Syntax maximum load-balancing number undo maximum load-balancing View RIP view Default level 2: System level Parameters number: Maximum number of ECMP routes , in the range of 1 to 8. Description Use maximum load-balancing to specify the maximum number of ECMP routes.

  • Page 53: Output-delay, Peer

    RIP runs only on the interfaces attached to the specified network. For an interface not on the specified network, RIP neither receives/sends routes on it nor forwards interface route through it. You need to specify the network after enabling RIP to validate RIP on a specific interface. For a single process, the network 0.0.0.0 command can enable RIP on all interfaces, but the command is not applicable in case of multi-process.

  • Page 54: Preference

    View RIP view Default level 2: System level Parameters ip-address: IP address of a RIP neighbor, in dotted decimal format. Description Use peer to specify the IP address of a neighbor in the non-broadcast multi-access (NBMA) network, where routing updates destined for the peer are unicast, rather than multicast or broadcast. Use undo peer to remove the IP address of a neighbor.

  • Page 55: Reset Rip Process, Reset Rip Statistics

    If no preference is set by the routing policy, the preference of all RIP routes is set by the preference • command. Examples # Set the RIP route preference to 120. <Sysname> system-view [Sysname] rip 1 [Sysname-rip-1] preference 120 reset rip process Syntax reset rip process-id process View...

  • Page 56: Rip Authentication-mode

    <Sysname> reset rip 100 statistics Syntax rip [ process-id ] [ vpn-instance vpn-instance-name ] undo rip [ process-id ] [ vpn-instance vpn-instance-name ] View System view Default level 2: System level Parameters process-id: RIP process ID, in the range of 1 to 65535. The default is 1. vpn-instance vpn-instance-name: Specifies an MPLS L3VPN.

  • Page 57: Rip Bfd Enable

    Parameters md5: Specifies the MD5 authentication mode. rfc2082: Uses the message format defined in RFC 2082. cipher: Sets a ciphertext authentication key or password. If this keyword is not specified, you set a plaintext authentication key or password. key-string: Specifies the MD5 key string. This argument is case sensitive. It must be a plaintext string of 1 to 16 characters, or a ciphertext string of 33 to 53 characters.

  • Page 58: Rip Default-route

    Description Use rip bfd enable to enable BFD on the RIP interface. Use undo rip bfd enable to restore the default and delete the relevant BFD session. By default, a RIP interface is not enabled with BFD. BFD echo-mode detection only works for a RIP neighbor one hop away. Using the undo peer command does not delete the neighbor relationship at once and cannot bring down the BFD session at once.

  • Page 59: Rip Input, Rip Metricin

    rip input Syntax rip input undo rip input View Interface view Default level 2: System level Parameters None Description Use rip input to enable the interface to receive RIP messages. Use undo rip input to disable the interface from receiving RIP messages. By default, an interface is enabled to receive RIP messages.

  • Page 60: Rip Metricout

    When a valid RIP route is received, the system adds a metric to it and then installs it into the routing table. The metric of the route received on the configured interface is then increased. If the sum of the additional metric and the original metric is greater than 16, the metric of the route will be 16.

  • Page 61: Rip Mib-binding

    Routes matching the policy is added with the metric specified in the apply cost command • configured in the policy. Routes not matching it is added with the metric specified in the rip metricout command. The rip metricout command does not support the + or – keyword—used to add or reduce a metric—specified in the apply cost command.

  • Page 62: Rip Output, Rip Poison-reverse

    rip output Syntax rip output undo rip output View Interface view Default level 2: System level Parameters None Description Use rip output to enable the interface to send RIP messages. Use undo rip output to disable the interface from sending RIP messages. Sending RIP messages is enabled on an interface by default.

  • Page 63: Rip Split-horizon, Rip Summary-address

    [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] rip poison-reverse rip split-horizon Syntax rip split-horizon undo rip split-horizon View Interface view Default level 2: System level Parameters None Description Use rip split-horizon to enable the split horizon function. Use undo rip split-horizon to disable the split horizon function. The split horizon function is enabled by default.

  • Page 64: Rip Version

    mask-length: Subnet mask length of summary route, in the range of 0 to 32. Description Use rip summary-address to configure RIPv2 to advertise a summary route through the interface. Use undo rip summary-address to remove the configuration. The summary address is valid only when the automatic summarization is disabled. Related commands: summary.

  • Page 65: Silent-interface (rip View), Summary

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

  • Page 66: Timers

    View RIP view Default level 2: System level Parameters None Description Use summary to enable automatic RIPv2 summarization. Natural masks are used to advertise summary routes so as to reduce the size of routing tables. Use undo summary to disable automatic RIPv2 summarization so that all subnet routes can be broadcast. By default, automatic RIPv2 summarization is enabled.

  • Page 67: Validate-source-address

    By default, the garbage-collect timer is 120 seconds, the suppress timer is 120 seconds, the timeout timer is 180 seconds, and the update timer is 30 seconds. RIP is controlled by the following timers: Update timer—Defines the interval between routing updates. •...

  • Page 68: Version

    Examples # Disable the source IP address validation on incoming RIP routing updates. <Sysname> system-view [Sysname-rip] rip 100 [Sysname-rip-100] undo validate-source-address version Syntax version { 1 | 2 } undo version View RIP view Default level 2: System level Parameters 1: Specifies the RIP version as RIPv1.

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

    OSPF configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. abr-summary (OSPF area view) Syntax abr-summary ip-address { mask | mask-length } [ advertise | not-advertise ] [ cost cost ] undo abr-summary ip-address { mask | mask-length } View OSPF area view Default level...

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

    area (OSPF view) Syntax area area-id undo area area-id View OSPF view Default level 2: System level Parameters area-id: ID of an area, which is an IP address, or a decimal integer in the range of 0 to 4294967295 that is translated into the IP address format by the system.

  • Page 71: Authentication-mode

    not-advertise: Disables advertising the summary route. If the keyword is not specified, the route is advertised. tag tag: Specifies a tag value for the summary route, used by a routing policy to control summary route advertisement, in the range of 0 to 4294967295. The default is 1. Description Use asbr-summary to configure a summary route.

  • Page 72: Bandwidth-reference (ospf View)

    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. Related commands: ospf authentication-mode. Examples # Configure OSPF area 0 to use the MD5 authentication mode. <Sysname>...

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

    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 of 0 to 16777214. limit: Specifies the default upper limit of routes redistributed per time, in the range of 1 to 2147483647.

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

    Description Use default-cost to configure a cost for the default route advertised to the stub or NSSA area. Use undo default-cost 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 and nssa.

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

    routing policy is matched, regardless of whether a default route exists in the routing table, and the routing policy modifies some values in the Type-5 LSA. type type: Specifies a type for the Type-5 LSA: 1 or 2. If type is not specified, the default type for the Type-5 LSA specified by the default type command applies.

  • Page 76: Display Ospf Abr-asbr

    Use of this command is only for the identification of an OSPF process or area. The description has no special meaning. Examples # Describe OSPF process 100 as abc. <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] description abc # Describe OSPF area 0 as bone area. <Sysname>...

  • Page 77: Display Ospf Asbr-summary

    Intra 2.2.2.2 0.0.0.0 1562 10.1.1.2 Table 12 Command output Field Description Type of the route to the ABR or ASBR: • Type Intra— intra-area route • Inter—Inter-area route Destination Router ID of an ABR/ASBR Area ID of the area of the next hop Cost Cost from the router to the ABR/ASBR Nexthop...

  • Page 78: Display Ospf Brief

    Examples # Display information about all summarized redistributed routes. <Sysname> display ospf asbr-summary OSPF Process 1 with Router ID 2.2.2.2 Summary Addresses Total Summary Address Count: 1 Summary Address : 30.1.0.0 Mask : 255.255.0.0 : 20 Status : Advertise Cost : 10 (Configured) The Count of Route is : 2 Destination...

  • Page 79

    View Any view Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 80

    SPF Scheduled Count: 5 ExChange/Loading Neighbors: 0 Interface: 192.168.1.2 (Vlan-interface11) Cost: 1 State: DR Type: Broadcast MTU: 1500 Priority: 1 Designated Router: 192.168.1.2 Backup Designated Router: 192.168.1.1 Timers: Hello 10 , Dead 40 , Poll 40 , Retransmit 5 , Transmit Delay 1 Table 14 Command output Field Description...

  • Page 81: Display Ospf Cumulative

    Field Description 7/5 translate stability timer interval Stability interval for Type-7 LSA-to-Type-5 LSA translation. ExChange/Loading Neighbors Neighbors in ExChange/Loading state. Area Area ID in the IP address format . Authentication type of the area: • None—No authentication. Authtype • Simple—Simple authentication. •...

  • Page 82

    Description Use display ospf cumulative to display OSPF statistics. Use of this command is helpful for troubleshooting. Examples # Display OSPF statistics. <Sysname> display ospf cumulative OSPF Process 1 with Router ID 2.2.2.2 Cumulations IO Statistics Type Input Output Hello DB Description Link-State Req Link-State Update...

  • Page 83: Display Ospf Error

    Field Description LSAs originated by this router LSAs originated by this router Router Number of Type-1 LSAs originated Network Number of Type-2 LSAs originated 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...

  • Page 84

    Examples # Display OSPF error information. <Sysname> display ospf error OSPF Process 1 with Router ID 192.168.80.100 OSPF Packet Error Statistics : 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...

  • Page 85: Display Ospf Interface

    Field Description HELLO: Extern option mismatch Hello packets with mismatched option field 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...

  • Page 86: Field Description

    Examples # Display OSPF interface information. <Sysname> display ospf interface OSPF Process 1 with Router ID 192.168.1.1 Interfaces Area: 0.0.0.0 IP Address Type State Cost 192.168.1.1 P-2-P 1562 0.0.0.0 0.0.0.0 Area: 0.0.0.1 IP Address Type State Cost 172.16.0.1 Broadcast 172.16.0.1 0.0.0.0 Table 17 Command output Field...

  • Page 87: Display Ospf Lsdb

    display ospf lsdb Syntax display ospf [ process-id ] lsdb [ brief | [ { asbr | ase | network | nssa | opaque-area | opaque-as | opaque-link | router | summary } [ link-state-id ] ] [ originate-router advertising-router-id | self-originate ] ] [ | { begin | exclude | include } regular-expression ] View Any view...

  • Page 88

    Link State Database Area: 0.0.0.0 Type LinkState ID AdvRouter Sequence Metric Router 192.168.0.2 192.168.0.2 80000004 Router 192.168.0.1 192.168.0.1 80000009 Network 192.168.0.1 192.168.0.1 80000003 Sum-Net 192.168.1.0 192.168.0.1 80000002 Sum-Net 192.168.2.0 192.168.0.2 80000002 Area: 0.0.0.1 Type LinkState ID AdvRouter Sequence Metric Router 192.168.0.1 192.168.0.1 80000005...

  • Page 89: Display Ospf Nexthop

    Type : Network LS ID : 192.168.1.2 Adv Rtr : 192.168.1.2 LS Age : 782 : 32 Options Seq# : 80000003 Checksum : 0x2a77 Net Mask : 255.255.255.0 Attached Router 192.168.1.1 Attached Router 192.168.1.2 Table 19 Command output Field Description Type LSA type LS ID...

  • Page 90: Display Ospf Peer

    Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 91

    Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. verbose: Displays detailed neighbor information. interface-type interface-number: Specifies an interface by its type and number. neighbor-id: Neighbor router ID. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 92

    Table 21 Command output Field Description Neighbor information of the interface in the specified area: • areaID—Area to which the neighbor belongs. Area areaID interface IPAddress(InterfaceName)'s neighbors • IPAddress—Interface IP address. • InterfaceName—Interface name. interface Interface attached with the neighbor. Router ID Neighbor router ID.

  • Page 93: Display Ospf Peer Statistics

    <Sysname> display ospf peer OSPF Process 1 with Router ID 1.1.1.1 Neighbor Brief Information Area: 0.0.0.0 Router ID Address Pri Dead-Time Interface State 1.1.1.2 1.1.1.2 Vlan11 Full/DR Table 22 Command output Field Description Area Neighbor area Router ID Neighbor router ID Address Neighbor interface address Neighboring router priority...

  • Page 94: Display Ospf Request-queue

    Examples # Display OSPF neighbor statistics. <Sysname> display ospf peer statistics OSPF Process 1 with Router ID 10.3.1.1 Neighbor Statistics Area ID Down Attempt Init 2-Way ExStart Exchange Loading Full Total 0.0.0.0 0.0.0.2 Total Table 23 Command output Field Description Area ID.

  • Page 95: Display Ospf Retrans-queue

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ospf request-queue to display OSPF request queue information. If no OSPF process is specified, the OSPF request queue information of all OSPF processes is displayed.

  • Page 96

    Parameters process-id: OSPF process ID, in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number. neighbor-id: Neighbor’s router ID. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 97: Display Ospf Routing

    display ospf routing Syntax display ospf [ process-id ] routing [ interface interface-type interface-number ] [ nexthop nexthop-address ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: OSPF process ID, in the range of 1 to 65535. interface interface-type interface-number: Displays OSPF routing information advertised via the specified interface.

  • Page 98: Display Ospf Vlink

    Field Description Cost Cost to destination Type Route type: intra-area, transit, stub, inter-area, type1 external, type2 external. NextHop Next hop address AdvRouter Advertising router Area Area ID Total Nets Total networks Intra Area Total intra-area routes Inter Area Total inter-area routes Total ASE routes NSSA Total NSSA routes...

  • Page 99: Display Router Id

    Cost: 1562 State: P-2-P Type: Virtual Transit Area: 0.0.0.1 Timers: Hello 10 , Dead 40 , Retransmit 5 , Transmit Delay 1 Table 27 Command output Field Description Virtual-link Neighbor-ID ID of the neighbor on the virtual link Neighbor-State Neighbor State: Down, Init, 2-Way, ExStart, Exchange, Loading, Full. Interface IP address and name of the local interface on the virtual link Cost...

  • Page 100: Dscp (ospf View), Enable Link-local-signaling

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

  • Page 101: Enable Log, Enable Out-of-band-resynchronization

    <Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] enable link-local-signaling enable log Syntax enable log [ config | error | state ] undo enable log [ config | error | state ] View OSPF view Default level 2: System level Parameters config: Enables configuration logging. error: Enables error logging.

  • Page 102: Filter

    Description Use enable out-of-band-resynchronization to enable the OSPF out-of-band resynchronization (OOB-Resynch) capability. Use undo enable out-of-band-resynchronization to disable the OSPF out-of-band resynchronization capability. By default, the capability is disabled. Before configuring this command, you must enable the link-local signaling capability. Related commands: enable link-local-signaling.

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

    <Sysname> system-view [Sysname] ospf 100 [Sysname-ospf-100] area 1 [Sysname-ospf-100-area-0.0.0.1] filter ip-prefix my-prefix-list import [Sysname-ospf-100-area-0.0.0.1] filter 2000 export filter-policy export (OSPF view) Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ protocol [ process-id ] ] undo filter-policy export [ protocol [ process-id ] ] View OSPF view Default level...

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

    # Configure ACL 3000 to permit only route 1 13.0.0.0/16 to pass, and reference ACL 3000 to filter redistributed routes. <Sysname> system-view [Sysname] acl number 3000 [Sysname-acl-adv-3000] rule 10 permit ip source 113.0.0.0 0 destination 255.255.0.0 0 [Sysname-acl-adv-3000] rule 100 deny ip [Sysname-acl-adv-3000] quit [Sysname] ospf 100 [Sysname-ospf-100] filter-policy 3000 export...

  • Page 105: Graceful-restart (ospf View)

    Examples # Filter incoming routes using ACL 2000. <Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule deny source 192.168.10.0 0.0.0.255 [Sysname-acl-basic-2000] quit [Sysname] ospf 100 [Sysname-ospf-100] filter-policy 2000 import # Configure ACL 3000 to permit only route 1 13.0.0.0/16 to pass, and reference ACL 3000 to filter incoming routes.

  • Page 106: Graceful-restart Help

    Related commands: enable link-local-signaling, enable out-of-band-resynchronization, opaque-capability enable. Examples # Enable IETF Graceful Restart for OSPF process 1. <Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] opaque-capability enable [Sysname-ospf-1] graceful-restart ietf # Enable non-IETF Graceful Restart for OSPF process 1. <Sysname> system-view [Sysname] ospf 1 [Sysname-ospf-1] enable link-local-signaling [Sysname-ospf-1] enable out-of-band-resynchronization...

  • Page 107: Graceful-restart Interval (ospf View), Host-advertise

    [Sysname] ospf 1 [Sysname-ospf-1] enable link-local-signaling [Sysname-ospf-1] enable out-of-band-resynchronization [Sysname-ospf-1] graceful-restart help 2001 graceful-restart interval (OSPF view) Syntax graceful-restart interval interval-value undo graceful-restart interval View OSPF view Default level 2: System level Parameters interval-value: Specifies the Graceful Restart interval, in the range of 40 to 1,800 seconds. Description Use graceful-restart interval to configure the Graceful Restart interval.

  • Page 108: Import-route (ospf View)

    cost: Cost of the route, in the range of 1 to 65535. Description Use host-advertise to advertise a host route. Use undo host-advertise to remove a host route. No host route is advertised by default. Examples # Advertise route 1.1.1.1 with a cost of 100. <Sysname>...

  • Page 109: Ispf Enable

    Intra-area route • • Inter-area route Type1 External route • Type2 External route • An intra-area route is a route in an OSPF area. An inter-area route is between any two OSPF areas. Both of them are internal routes. An external route is a route to a destination outside the OSPF AS. A Type- 1 external route has high reliability.

  • Page 110: Log-peer-change, Lsa-arrival-interval

    Description Use ispf enable to enable OSPF ISPF. Use undo ispf enable to disable OSPF ISPF. By default, OSPF ISPF is disabled. When a network topology is changed, ISPF allows the system to recomputes only the affected part of the shortest path tree (SPT), instead of the entire SPT.

  • Page 111: Lsa-generation-interval

    View OSPF view Default level 2: System level Parameters interval: Specifies the LSA arrival interval in milliseconds, in the range of 0 to 60000. Description Use lsa-arrival-interval to specify the LSA arrival interval. Use undo lsa-arrival-interval to restore the default. The interval defaults to 1000 milliseconds.

  • Page 112: Lsdb-overflow-limit, Maximum Load-balancing (ospf View)

    Use undo lsa-generation-interval to restore the default. By default, the maximum interval is 5 seconds, the minimum interval is 0 milliseconds, and the incremental interval is 5000 milliseconds.. With this command configured, when network changes are not frequent, LSAs are generated at the initial-interval.

  • Page 113: Maximum-routes

    View OSPF view Default level 2: System level Parameters maximum: Maximum number of ECMP routes, in the range of of 1 to 8. No load balancing is available when the number is set to 1. Description Use maximum load-balancing to specify the maximum number of ECMP routes. Use undo maximum load-balancing to restore the default.

  • Page 114: Network (ospf Area View), Nssa

    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. wildcard-mask: Wildcard mask of the IP address. For example, the wildcard mask of mask 255.0.0.0 is 0.255.255.255.

  • Page 115: Opaque-capability Enable

    Parameters default-route-advertise: Usable on an NSSA ABR or an ASBR only. If it is configured on an NSSA ABR, the ABR generates a default route in a Type-7 LSA into the NSSA area regardless of whether a default route is configured. If it is configured on an ASBR, only a default route is configured on the ASBR can it generates the default route in a Type-7 LSA into the attached area.

  • Page 116: Ospf

    Description Use opaque-capability enable to enable opaque LSA advertisement and reception. With the command configured, the OSPF device can receive and advertise the Type-9, Type- 1 0 and Type- 1 1 opaque LSAs. Use the undo opaque-capability command to restore the default. The feature is disabled by default.

  • Page 117: Ospf Authentication-mode

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

  • Page 118: Ospf Bfd Enable

    <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] interface vlan-interface 10 [Sysname-Vlan-interface10] ospf authentication-mode md5 15 plain abc # Configure the network 131.1 19.0.0/16 in Area 1 to support simple authentication, and set for the interface the plaintext authentication password to abc.

  • Page 119: Ospf Cost, Ospf Dr-priority

    [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 of 0 to 65535 for a loopback interface and 1 to 65535 for other interfaces.

  • Page 120: Ospf Mib-binding, Ospf Mtu-enable

    Use undo ospf dr-priority to restore the default value. By default, the priority is 1. The bigger the value, the higher the priority. If a device has a priority of 0, it will not be elected as a DR or BDR. Examples # Set the DR priority on the current interface to 8.

  • Page 121: Ospf Network-type

    Default level 2: System level Parameters None Description Use ospf mtu-enable to enable an interface to add the real MTU into DD packets. Use undo ospf mtu-enable to restore the default. By default, an interface adds a MTU of 0 into DD packets, which means no real MTU is added. After a virtual link is established via a Tunnel, two devices on the link from different vendors may •...

  • Page 122: Ospf Packet-process Prioritized-treatment

    For ATM, FR, and X.25, the default network type is NBMA. • • For PPP, LAPB, HDLC, and POS, the default network type is P2P. If a router on a broadcast network does not support multicast, you can configure the interface’s network type as NBMA.

  • Page 123: Ospf Timer Dead, Ospf Timer Hello

    ospf timer dead Syntax ospf timer dead seconds undo ospf timer dead View Interface view Default level 2: System level Parameters seconds: Dead interval in seconds, in the range of 1 to 2147483647. Description Use ospf timer dead to set the dead interval. Use undo ospf timer dead to restore the default.

  • Page 124: Ospf Timer Poll

    Use undo ospf timer hello to restore the default hello interval on an interface. The hello interval defaults to 10s for P2P and Broadcast interfaces, and defaults to 30s for P2MP and NBMA interfaces. The shorter the hello interval is, the faster the topology converges and the more resources are consumed. Make sure the hello interval on two neighboring interfaces is the same.

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

    ospf timer retransmit Syntax ospf timer retransmit interval undo ospf timer retransmit View Interface view Default level 2: System level Parameters interval: LSA retransmission interval in seconds, in the range of 1 to 3600. Description Use ospf timer retransmit to set the LSA retransmission interval on an interface. Use undo ospf timer retransmit to restore the default.

  • Page 126: Peer

    Each LSA in the LSDB has an age that is incremented by 1 every second, but the age does not change during transmission. It is necessary to add a transmission delay into its age time, which is important for low speed networks. Examples # Set the LSA transmission delay to 3 seconds on the current interface.

  • Page 127: Reset Ospf Counters, Preference

    [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.

  • Page 128: Reset Ospf Process

    Parameters process-id: Clears the statistics of the specified OSPF process, in the range of 1 to 65535. neighbor: Clears neighbor statistics. interface-type interface-number: Clears the statistics of the neighbor connected to the specified interface. router-id: Clears the statistics of the specified neighbor. Description Use reset ospf counters to clear OSPF statistics.

  • Page 129: Reset Ospf Redistribution, Rfc1583 Compatible

    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 of 1 to 65535. Description Use reset ospf redistribution to restart route redistribution. If no process ID is specified, using the command restarts route redistribution for all OSPF processes.

  • Page 130: Router Id, Silent-interface

    [Sysname-ospf-100] undo rfc1583 compatible router id Syntax router id router-id undo router id View System view Default level 2: System level Parameters router-id: Router ID, in the form of a dotted decimal IPv4 address. Description Use router id to configure a global router ID. Use undo router id to remove the global router ID.

  • Page 131: Snmp-agent Trap Enable Ospf

    Parameters interface-type interface-number: Specifies an interface by its type and number. all: Specifies all interfaces. Description Use silent-interface to disable an interface or all interfaces from receiving and sending OSPF packets. Use undo silent-interface to restore the default. By default, an interface can receive send OSPF packets. A disabled interface is a passive interface, which cannot receive and send any hello packet.

  • Page 132: Spf-schedule-interval

    nbrstatechange: Neighbor state change information. originatelsa: Information about LSAs originated locally. vifauthfail: Virtual interface authentication failure information. vifcfgerror: Virtual interface configuration error information. virifauthfail: Virtual interface authentication failure information. virifrxbadpkt: Information about error packets received by virtual interfaces. virifstatechange: Virtual interface state change information. viriftxretransmit: Virtual interface packet retransmission information.

  • Page 133: Stub (ospf Area View)

    Based on its LSDB, an OSPF router calculates the shortest path tree with itself being the root, and uses it to determine the next hop to a destination. Through adjusting the SPF calculation interval, you can protect bandwidth and router resources from being over-consumed due to frequent network changes. With this command configured, when network changes are not frequent, SPF calculation applies at the minimum-interval.

  • Page 134: Stub-router, Transmit-pacing

    [Sysname-ospf-100-area-0.0.0.1] stub stub-router Syntax stub-router undo stub-router View OSPF view Default level 2: System level Parameters None Description Use stub-router to configure the router as a stub router. Use undo stub-router to restore the default. By default, no router is configured as a stub router. The router LSAs from the stub router may contain different link type values.

  • Page 135: Vlink-peer (ospf Area View)

    count: Maximum number of LSU packets sent by an interface at each interval. It is in the range of 1 to 200. If the router has a number of OSPF interfaces, HP recommends decreasing this interval to reduce the total numbers of LSU packets sent by the router every second. Description Use transmit-pacing to configure the maximum number of LSU packets that can be sent every the specified interval.

  • Page 136

    password: Sets the authentication password. This argument is case sensitive. For simple authentication mode, it is a plaintext string of 1 to 8 characters, or a ciphertext string of 1 to 41 characters. For MD5/HMAC-MD5 authentication mode, it is a plaintext string of 1 to 16 characters, or a ciphertext string of 1 to 53 characters.

  • Page 137: Bgp Configuration Commands, Aggregate

    BGP configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. For more information about routing policy configuration commands in this document, see "Routing policy configuration commands." aggregate Syntax aggregate ip-address { mask | mask-length } [ as-set | attribute-policy route-policy-name | detail-suppressed | origin-policy route-policy-name | suppress-policy route-policy-name ] * undo aggregate ip-address { mask | mask-length } View...

  • Page 138: Balance (bgp/bgp-vpn Instance View)

    Keywords Function Used to create a summary route and suppress the advertisement of some summarized suppress-policy routes. If you want to suppress some routes selectively and leave other routes still advertised, use the if-match clause of the route-policy command. origin-policy Selects only routes satisfying the routing policy for route summarization.

  • Page 139: Bestroute As-path-neglect (bgp/bgp-vpn Instance View)

    Description Use balance to configure the number of BGP routes for load balancing. Use undo balance to disable load balancing. By default, no load balancing is configured. Unlike IGP, BGP has no explicit metric for making load balancing decision. Instead, it implements load balancing using route selection rules.

  • Page 140: Bestroute Compare-med (bgp/bgp-vpn Instance View), Bestroute Med-confederation (bgp/bgp-vpn Instance View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] bestroute as-path-neglect bestroute compare-med (BGP/BGP-VPN instance view) Syntax bestroute compare-med undo bestroute compare-med View BGP view, BGP-VPN instance view Default level 2: System level Parameters None Description Use bestroute compare-med to enable the comparison of the MED for routes on a per-AS basis. Use undo bestroute compare-med to disable this comparison.

  • Page 141

    Parameters None Description Use bestroute med-confederation to enable the comparison of the MED for paths from confederation peers during best route selection. Use undo bestroute med-confederation to disable the comparison. The comparison is not enabled by default. The system only compares MED values for paths from peers within the confederation. Paths from external ASs are advertised throughout the confederation without MED comparison.

  • Page 142: Compare-different-as-med (bgp/bgp-vpn Instance View), Confederation Id

    compare-different-as-med (BGP/BGP-VPN instance view) Syntax compare-different-as-med undo compare-different-as-med View BGP view, BGP-VPN instance view Default level 2: System level Parameters None Description Use compare-different-as-med to enable the comparison of the MED for paths from peers in different ASs. Use undo compare-different-as-med to disable the comparison. The comparison is disabled by default.

  • Page 143: Confederation Nonstandard

    Parameters as-number: Number of the AS that contains multiple sub-ASs, in the range of 1 to 4294967295. Description Use confederation id to configure a confederation ID. Use undo confederation id to remove a specified confederation. By default, no confederation ID is configured. Configuring a confederation can reduce IBGP connections in a large AS.

  • Page 144: Confederation Peer-as

    By default, all routers in the confederation comply with RFC 3065. All devices should be configured with this command to interact with those nonstandard devices in the confederation. Related commands: confederation id and confederation peer-as. Examples # AS 100 contains routers not compliant with RFC 3065 and comprises two sub-ASs, 64000 and 65000.

  • Page 145: Dampening (bgp/bgp-vpn Instance View)

    dampening (BGP/BGP-VPN instance view) Syntax dampening [ half-life-reachable half-life-unreachable reuse suppress ceiling | route-policy route-policy-name ] * undo dampening View BGP view, BGP-VPN instance view Default level 2: System level Parameters half-life-reachable: Specifies a half-life for active routes from 1 to 45 minutes. By default, the value is 15 minutes.

  • Page 146: Default Ipv4-unicast, Default Local-preference (bgp/bgp-vpn Instance View)

    default ipv4-unicast Syntax default ipv4-unicast undo default ipv4-unicast View BGP view Default level 2: System level Parameters None Description Use default ipv4-unicast to enable the default use of IPv4 unicast address family for the peers that are established using the peer as-number command. Use undo default ipv4-unicast to disable the default use of IPv4 unicast address family for the peers that are established using the peer as-number command.

  • Page 147: Default Med (bgp/bgp-vpn Instance View)

    Parameters value: Default local preference, in the range of 0 to 4294967295. The larger the value is, the higher the preference is. Description Use default local-preference to configure the default local preference. Use undo default local-preference to restore the default value. By default, the default local preference is 100.

  • Page 148: Default-route Imported (bgp/bgp-vpn Instance View)

    Examples # In BGP view, configure the default MED as 25. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] default med 25 # In BGP-VPN instance view, configure the default MED as 25. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] default med 25 default-route imported (BGP/BGP-VPN instance view)

  • Page 149: Display Bgp Group

    display bgp group Syntax display bgp group [ group-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters group-name: Peer group name, a string of 1 to 47 characters. |: Filters command output by specifying a regular expression.

  • Page 150: Display Bgp Network

    Field Description 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 to maximum prefixes allowed to receive from the peer Threshold group;...

  • Page 151: Display Bgp Paths

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display bgp network 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.

  • Page 152: Display Bgp Peer

    Description Use display bgp paths to display information about BGP AS paths. Examples # Display information about BGP AS paths with AS number starting from 200. <Sysname> display bgp paths ^200 Address Hash Refcount Path/Origin 0x5917100 200 300i Table 31 Command output Field Description Address...

  • Page 153

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display bgp peer to display peer/peer group information.

  • Page 154

    Field Description Type Peer type. 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.

  • Page 155: Display Bgp Peer Received Ip-prefix

    Peer : 10.110.25.20 Date Time State Notification Error/SubError 10-Jul-2008 15:46:17 Down Send Notification with Error 1/1 Message Header Error/Connection Not Synchronized 10-Jul-2008 09:23:00 Up 10-Jul-2008 07:46:17 Down Receive Notification with Error 3/2 UPDATE Message Error/Unsupported optional Parameter 10-Jul-2008 06:23:00 Up 10-Jul-2008 05:46:17 Down Send Notification with Error 6/4 Cease/Administrative Reset...

  • Page 156: Display Bgp Routing-table

    exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display bgp peer received ip-prefix to display the prefix information in the ORF packet from the specified BGP peer.

  • Page 157

    AND the specified destination IP address with the specified mask. AND the destination IP address of each route with the specified mask. Find the calculation results of 2) that match the result of 1) and display the route with the longest mask among the matching routes that have a mask shorter than or equal to the specified mask.

  • Page 158: Display Bgp Routing-table As-path-acl

    Field Description ORIGIN attributes, including: • i – IGP—Originated in the AS. Origin • e – EGP—Learned through EGP. • ? – incomplete—Learned by some other means. Network Destination network address Next Hop Next hop IP address Multi-Exit Discriminator LocPrf Local preference value PrefVal Preferred value of the route...

  • Page 159: Display Bgp Routing-table Cidr

    Description Use display bgp routing-table as-path-acl to display BGP routes permitted by an AS path list. Examples # Display BGP routes permitted by AS path list 1. <Sysname> display bgp routing-table as-path-acl 1 BGP Local router ID is 20.20.20.1 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? –...

  • Page 160: Display Bgp Routing-table Community

    h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? – incomplete Network NextHop LocPrf PrefVal Path/Ogn *> 40.40.40.0/24 30.30.30.1 300i For description of the fields, see Table display bgp routing-table community Syntax display bgp routing-table community [ aa:nn&<1- 1 3>...

  • Page 161: Display Bgp Routing-table Community-list

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

  • Page 162: Display Bgp Routing-table Dampened

    Network NextHop Metric LocPrf PrefVal Path *> 3.3.3.0/30 1.2.3.4 *> 4.4.0.0/20 1.2.3.4 *> 4.5.6.0/26 1.2.3.4 For description of the fields, see Table display bgp routing-table dampened Syntax display bgp routing-table dampened [ | { begin | exclude | include } regular-expression ] View Any view Default level...

  • Page 163: Display Bgp Routing-table Dampening Parameter

    display bgp routing-table dampening parameter Syntax display bgp routing-table dampening parameter [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 164: Display Bgp Routing-table Different-origin-as, Display Bgp Routing-table Flap-info

    display bgp routing-table different-origin-as Syntax display bgp routing-table different-origin-as [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 165

    Default level 1: Monitor level Parameters as-regular-expression: Displays route flap information that matches the AS path regular expression, which is a string of 1 to 80 characters. as-path-acl-number: Displays route flap information matching the AS path list. The number is in the range of 1 to 256.

  • Page 166: Display Bgp Routing-table Label, Display Bgp Routing-table Peer

    display bgp routing-table label Syntax display bgp routing-table label [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 167: Display Bgp Routing-table Regular-expression

    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. network-address: IP address of the destination network. mask: Mask of the destination network, in dotted decimal notation. mask-length: Mask length, in the range of 0 to 32.

  • Page 168: Display Bgp Routing-table Statistic

    View Any view Default level 1: Monitor level Parameters as-regular-expression: AS path regular expression, a string of 1 to 80 characters. Description Use display bgp routing-table regular-expression to display BGP routing information matching the specified AS path regular expression. Examples # Display BGP routing information with AS number ended with 300.

  • Page 169: Ebgp-interface-sensitive, Display Router Id

    Examples # Display BGP routing statistics. <Sysname> display bgp routing-table statistic Total Number of Routes: 4 display router id Syntax display router id [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression.

  • Page 170: Filter-policy Export (bgp/bgp-vpn Instance View)

    Description Use ebgp-interface-sensitive to enable the clearing of EBGP session on any interface that becomes down. Use undo ebgp-interface-sensitive to disable the function. This function is enabled by default. Examples # In BGP view, enable the clearing of EBGP session on any interface that becomes down. <Sysname>...

  • Page 171: Filter-policy Import (bgp/bgp-vpn Instance View)

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

  • Page 172: Graceful-restart (bgp View)

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

  • Page 173: Graceful-restart Timer Restart

    Default level 2: System level Parameters None Description Use graceful-restart to enable BGP Graceful Restart capability. Use undo graceful-restart to disable BGP Graceful Restart capability. By default, BGP Graceful Restart capability is disabled. During main and backup boards switchover, a GR-capable BGP speaker can maintain the packet forwarding table.

  • Page 174: Graceful-restart Timer Wait-for-rib, Group (bgp/bgp-vpn Instance View)

    graceful-restart timer wait-for-rib Syntax graceful-restart timer wait-for-rib timer undo graceful-restart timer wait-for-rib View BGP view Default level 2: System level Parameters timer: Time to wait for the End-of-RIB marker, in the range of 3 to 300 seconds. Description Use graceful-restart timer wait-for-rib to configure the time to wait for the End-of-RIB marker. Use undo graceful-restart timer wait-for-rib to restore the default.

  • Page 175: Ignore-first-as

    Description Use group to create a peer group. Use undo group to delete a peer group. An IBGP peer group is created if neither internal nor external is specified. Examples # In BGP view, create an EBGP peer group test with AS number 200, and add EBGP peers 10.1.1.1 and 10.1.2.1 into the group.

  • Page 176: Import-route (bgp/bgp-vpn Instance View)

    import-route (BGP/BGP-VPN instance view) Syntax import-route protocol [ { process-id | all-processes } [ allow-direct | med med-value | route-policy route-policy-name ] * ] undo import-route protocol [ process-id | all-processes ] 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, ospf, rip or static.

  • Page 177: Network (bgp/bgp-vpn Instance View), Log-peer-change

    [Sysname-bgp] import-route rip # In BGP-VPN instance view, redistribute routes from RIP. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] import-route rip log-peer-change Syntax log-peer-change undo log-peer-change View BGP view Default level 2: System level Parameters None Description...

  • Page 178: Network Short-cut (bgp/bgp-vpn Instance View)

    mask-length: Mask length, in the range of 0 to 32. route-policy-name: Routing policy applied to the route. The name is a case-sensitive string of 1 to 63 characters. Description Use network to inject a network to the local BGP routing table. Use undo network to remove a network from the BGP routing table.

  • Page 179: Peer Advertise-community (bgp/bgp-vpn Instance View)

    Examples # In BGP view, configure route 10.0.0.0/16 as a shortcut route. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] network 10.0.0.0 255.255.0.0 short-cut # In BGP-VPN instance view, configure route 10.0.0.0/16 as a shortcut route. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] network 10.0.0.0 255.255.0.0 short-cut...

  • Page 180: Peer Advertise-ext-community (bgp/bgp-vpn Instance View), Peer Allow-as-loop (bgp/bgp-vpn Instance View)

    peer advertise-ext-community (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } advertise-ext-community undo peer { group-name | ip-address } advertise-ext-community View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.

  • Page 181: Peer As-number (bgp/bgp-vpn Instance View)

    Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. number: Specifies the number of times for which the local AS number can appear in routes from the peer/peer group, in the range of 1 to 10. The default number is 1. Description Use peer allow-as-loop 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.

  • Page 182: Peer As-path-acl (bgp/bgp-vpn Instance View)

    Use undo peer group-name as-number to delete a peer group. Use undo peer ip-address to delete a peer. By default, no peer or peer group is specified. You can specify the AS number of a peer in either of the following ways: Use the peer ip-address as-number as-number command.

  • Page 183: Peer Bfd

    Use undo peer as-path-acl to remove the configuration. By default, no AS path list filtering is configured. Related commands: ip as-path, if-match as-path, and apply as-path. Examples # In BGP view, reference the AS path list 1 to filter routes outgoing to the peer group test. <Sysname>...

  • Page 184: Peer Capability-advertise Conventional, Peer Capability-advertise Orf

    peer capability-advertise conventional Syntax peer { group-name | ip-address } capability-advertise conventional undo peer { group-name | ip-address } capability-advertise conventional View BGP view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.

  • Page 185: Peer Capability-advertise Orf Non-standard

    send: Supports sending route-refresh messages carrying the ORF information. Description Use peer capability-advertise orf to enable the ORF capability for a BGP peer or peer group. Use undo peer capability-advertise orf to disable the ORF capability for the BGP peer or peer group. By default, the ORF capability is not enabled for a BGP peer or peer group.

  • Page 186: Peer Capability-advertise Route-refresh

    undo peer { group-name | ip-address } capability-advertise orf non-standard 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 peer capability-advertise orf non-standard to enable the non-standard ORF capability (the early implementation of ORF is different from that defined in RFC) for a BGP peer or peer group.

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

    Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use peer capability-advertise route-refresh to enable the BGP route refresh capability. Use undo peer capability-advertise route-refresh to disable the capability. The capability is enabled by default.

  • Page 188: Peer Connect-interface (bgp/bgp-vpn Instance View)

    The device supports 4-byte AS numbers and uses 4-byte AS numbers by default. If the peer devices support only 2-byte AS numbers, you must enable the 4-byte AS number suppression function on the device. If the peer device supports 4-byte AS numbers, do not enable the suppression function; otherwise, the BGP peer relationship cannot be established.

  • Page 189: Peer Default-route-advertise (bgp/bgp-vpn Instance View)

    To establish multiple BGP connections to another BGP router, you need to specify on the local router the respective source interfaces for establishing TCP connections to the peers on the peering BGP router; otherwise, the local BGP router may fail to establish TCP connections to the peers when using the outbound interfaces of the best routes as the source interfaces.

  • Page 190: Peer Description (bgp/bgp-vpn Instance View), Peer Dscp (bgp/bgp-vpn Instance View)

    [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer test default-route-advertise peer description (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } description description-text undo peer { group-name | ip-address } description View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters.

  • Page 191: Peer Ebgp-max-hop (bgp/bgp-vpn Instance View)

    View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Specifies the name of a peer group, a string of 1 to 47 characters. ip-address: Specifies the IP address of a peer. dscp-value: Sets the DSCP value for BGP packets. Description Use peer dscp to set the DSCP value for the BGP packets sent to the specified peer or peer group.

  • Page 192: Peer Enable (bgp/bgp-vpn Instance View)

    Description Use peer ebgp-max-hop to allow establishing an EBGP connection with a peer/peer group that is on an indirectly connected network. Use undo peer ebgp-max-hop to restore the default. By default, this feature is disabled. You can use the argument hop-count to specify the maximum route hop count of the EBGP connection. Examples # In BGP view, allow establishing the EBGP connection with the peer group test that is on an indirectly connected network.

  • Page 193: Peer Fake-as (bgp/bgp-vpn Instance View), Peer Filter-policy (bgp/bgp-vpn Instance View)

    peer fake-as (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } fake-as as-number undo peer { group-name | ip-address } fake-as View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer.

  • Page 194: Peer Group (bgp/bgp-vpn Instance View)

    Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. acl-number: ACL number, in the range of 2000 to 3999. export: Applies the filter-policy to routes advertised to the peer/peer group. import: Applies the filter-policy to routes received from the peer/peer group.

  • Page 195: Peer Ignore (bgp/bgp-vpn Instance View)

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

  • Page 196: Peer Ip-prefix

    After the peer ignore command is executed, the system disables the session with the specified peer or peer group and clears all the related routing information. For a peer group, all sessions with the peer group will be torn down. Examples # In BGP view, disable session establishment with peer 10.10.10.10.

  • Page 197: Peer Keep-all-routes (bgp/bgp-vpn Instance View), Peer Log-change (bgp/bgp-vpn Instance View)

    # In BGP-VPN view, use the IP prefix list list 1 to filter routes advertised to the peer group test. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer test ip-prefix list1 export peer keep-all-routes (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } keep-all-routes...

  • Page 198: Peer Next-hop-local (bgp/bgp-vpn Instance View)

    View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. Description Use peer log-change to enable the logging of session state and event information for a specified peer or peer group.

  • Page 199: Peer Password

    By default, routes advertised to an EBGP peer/peer group take the local router as the next hop, and routes sent to an IBGP peer/peer group do not take the local router as the next hop. Examples # In BGP view, set the next hop of routes advertised to peer group test to the router itself. <Sysname>...

  • Page 200: Peer Preferred-value (bgp/bgp-vpn Instance View)

    Examples # In BGP view, perform MD5 authentication on the TCP connection set up between the local router 10.1.100.1 and the peer router 10.1.100.2. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 10.1.100.2 password simple aabbcc # Perform the similar configuration on the peer. <Sysname>...

  • Page 201: Peer Public-as-only (bgp/bgp-vpn Instance View)

    If you both reference a routing policy and use the peer { group-name | ip-address } preferred-value value command to set a preferred value for routes from a peer, the routing policy sets the specified preferred value for routes matching it. Other routes not matching the routing policy uses the value set with the command.

  • Page 202: Peer Reflect-client (bgp/bgp-vpn Instance View), Peer Route-limit (bgp/bgp-vpn Instance View)

    # In BGP-VPN instance view, carry no private AS number in BGP updates sent to the peer group test. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer test public-as-only peer reflect-client (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } reflect-client undo peer { group-name | ip-address } reflect-client...

  • Page 203: Peer Route-policy (bgp/bgp-vpn Instance View)

    undo peer { group-name | ip-address } route-limit 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. prefix-number: Number of prefixes that can be received from the peer or peer group. Its range varies with devices.

  • Page 204: Peer Route-update-interval (bgp/bgp-vpn Instance View)

    View BGP view, BGP-VPN instance view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ip-address: IP address of a peer. route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters. export: Applies the routing policy to routes outgoing to the peer (or peer group).

  • Page 205: Peer Substitute-as (bgp/bgp-vpn Instance View)

    ip-address: IP address of a peer. interval: Minimum interval for sending the same update message. The range is 0 to 600 seconds. A value of 0 means to send the update message immediately. Description Use peer route-update-interval to specify the interval for sending the same update to a peer or peer group.

  • Page 206: Peer Timer (bgp/bgp-vpn Instance View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] peer 1.1.1.1 substitute-as # In BGP-VPN instance view, substitute local AS number for AS number of peer 1.1.1.1. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer 1.1.1.1 substitute-as peer timer (BGP/BGP-VPN instance view) Syntax peer { group-name | ip-address } timer keepalive keepalive hold holdtime...

  • Page 207: Preference (bgp/bgp-vpn Instance View)

    [Sysname] bgp 100 [Sysname-bgp] peer test timer keepalive 60 hold 180 # In BGP-VPN instance view, configure the keepalive interval and holdtime interval for peer group test as 60s and 180s. (The VPN has been created.) <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-ipv4-vpn1] peer test timer keepalive 60 hold 180 # In BGP view, configure both the keepalive interval and holdtime interval for peer group test as 0...

  • Page 208: Reflect Between-clients (bgp View/bgp-vpn Instance View)

    Examples # In BGP view, configure preferences for EBGP, IBGP and local routes as 20, 20, and 200. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] preference 20 20 200 # In BGP-VPN instance view, configure preferences for EBGP, IBGP and local routes as 20, 20, and 200. (The VPN has been created.) <Sysname>...

  • Page 209: Reflector Cluster-id (bgp View/bgp-vpn Instance View), Refresh Bgp

    reflector cluster-id (BGP view/BGP-VPN instance view) Syntax reflector cluster-id { cluster-id | ip-address } undo reflector cluster-id View BGP view, BGP-VPN instance view Default level 2: System level Parameters cluster-id: Cluster ID in the format of an integer from 1 to 4294967295. ip-address: Cluster ID in the format of an IPv4 address in dotted decimal notation.

  • Page 210: Reset Bgp

    Parameters ip-address: Soft-resets the BGP connection to a peer. all: Soft-resets all BGP connections. 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.

  • Page 211: Reset Bgp Dampening, Reset Bgp Flap-info

    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 of 0 to 32. Description Use reset bgp dampening to clear route dampening information and release suppressed routes.

  • Page 212: Reset Bgp Ipv4 All, Router Id

    Description Use reset bgp flap-info to clear the flap statistics of routes matching the specified filter. Examples # Clear the flap statistics of all routes matching AS path list 10. <Sysname> reset bgp flap-info as-path-acl 10 reset bgp ipv4 all Syntax reset bgp ipv4 all View...

  • Page 213: Router-id

    If no global router ID is configured, the highest loopback interface IP address, if any, is used as the router ID. If no loopback interface IP address is available, the highest physical interface IP address is used, regardless of the interface status. If the interface whose IP address is the router ID is removed or modified, a new router ID is selected.

  • Page 214: Summary Automatic, Synchronization (bgp View)

    summary automatic Syntax summary automatic undo summary automatic View BGP view, BGP-VPN instance view Default level 2: System level Parameters None Description Use summary automatic to enable automatic summarization for redistributed subnets. Use undo summary automatic to disable automatic summarization. By default, automatic summarization is disabled.

  • Page 215: Timer (bgp/bgp-vpn Instance View)

    Parameters None Description Use synchronization to enable the synchronization between the BGP and IGP routes. Use undo synchronization 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 216

    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. The configured timers apply to all BGP peers, but they become valid for a BGP peer only after the relevant BGP connection is reset.

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

    IPv6 static routing configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. delete ipv6 static-routes all Syntax delete ipv6 static-routes all View System view Default level 2: System level Parameters None. Description Use delete ipv6 static-routes all to delete all static routes including the default route. When using this command, you will be prompted whether to continue the deletion and only after you confirm the deletion will the static routes be deleted.

  • Page 218

    Parameters ipv6-address prefix-length: Specifies the IPv6 address and prefix length. interface-type interface-number: Specifies an output interface by its type and number. If the output interface is a non-P2P interface, such as an NBMA interface or broadcast interface (for example, a VLAN interface), the next hop address must be specified.

  • Page 219: Ripng Configuration Commands, Checkzero, Default Cost (ripng View)

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

  • Page 220: Display Ripng

    Parameters cost: Default metric of redistributed routes, in the range of 0 to 16. Description Use default cost to specify the default metric of redistributed routes. Use undo default cost to restore the default. The default metric of redistributed routes is 0. The specified default metric applies to the routes redistributed by the import-route command with no metric specified.

  • Page 221: Display Ripng Database

    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 40 Command output Field Description...

  • Page 222: Display Ripng Interface

    Description Use display ripng database to display all active routes in the advertising database of the specified RIPng process, which are sent in normal RIPng update messages. Examples # Display the active routes in the database of RIPng process 100. <Sysname>...

  • Page 223

    View Any view Default level 1: Monitor level Parameters process-id: RIPng process ID, in the range of 1 to 65535. interface-type interface-number: Specifies an interface by its type and number. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 224: Display Ripng Route

    Field Description • Only/Originate—Only means that the interface advertises only the default route. Originate means that the default route and other RIPng routes are advertised. • Off—Indicates that no default route is advertised or the garbage-collect time expires after the default Default route route advertisement was disabled.

  • Page 225: Filter-policy Export (ripng View)

    Dest 3FFE:C00:C18:2::/64, via FE80::200:5EFF:FE04:B602, cost 2, tag 0, A, 34 Sec Peer FE80::200:5EFF:FE04:B601 on Vlan-interface12 Dest 3FFE:C00:C18:1::/64, via FE80::200:5EFF:FE04:B601, cost 2, tag 0, A, 13 Sec Dest 3FFE:C00:C18:3::/64, via FE80::200:5EFF:FE04:B601, cost 2, tag 0, A, 13 Sec Peer FE80::200:5EFF:FE04:3302 on Vlan-interface13 Dest 100::/32, via FE80::200:5EFF:FE04:3302, cost 2, tag 0, A, 6 Sec...

  • Page 226: Filter-policy Import (ripng View)

    Parameters acl6-number: Specifies the number of an ACL to filter advertised routing information, in the range of 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list used to filter routing information, a string of 1 to 19 characters. protocol: Filters routes redistributed from a routing protocol, including bgp4+, direct, ospfv3, ripng, and static.

  • Page 227: Import-route

    View RIPng view Default level 2: System level Parameters acl6-number: Specifies the number of an ACL to filter incoming routing information, in the range of 2000 to 3999. ipv6-prefix ipv6-prefix-name: Specifies the name of an IPv6 prefix list to filter incoming routes, in the range of 1 to 19 characters.

  • Page 228: Maximum Load-balancing (ripng View)

    View RIPng view Default level 2: System level Parameters protocol: Specifies a routing protocol from which to redistribute routes. It can be bgp4+, direct, ospfv3, ripng, or static. process-id: Process ID, in the range of 1 to 65535. The default is 1. This argument is available only when the protocol is ospfv3, or ripng.

  • Page 229

    Use undo maximum load-balancing to restore the default. By default, the maximum number of ECMP routes is 8. Configure the maximum number according to the memory size. Examples # Set the maximum number of ECMP routes to 2. <Sysname> system-view [Sysname] ripng 100 [Sysname-ripng-100] maximum load-balancing 2 preference...

  • Page 230: Reset Ripng Process, Reset Ripng Statistics, Ripng

    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 reset ripng process to reset the specified RIPng process. After executing the command, you are prompted whether you want to reset the RIPng process. Examples # Reset RIPng process 100.

  • Page 231: Ripng Default-route

    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 ripng to create a RIPng process and enter RIPng view. Use undo ripng to disable a RIPng process. By default, no RIPng process is enabled.

  • Page 232: Ripng Enable, Ripng Metricin

    After you execute this command, the generated RIPng default route is advertised in a route update over the specified interface. This IPv6 default route is advertised without considering whether it already exists in the local IPv6 routing table. Examples # Advertise only the default route through VLAN-interface 100. <Sysname>...

  • Page 233: Ripng Metricout

    Default level 2: System level Parameters value: Additional metric for received routes, in the range of 0 to 16. Description Use ripng metricin to specify an additional metric for received RIPng routes. Use undo ripng metricin to restore the default. By default, the additional metric to received routes is 0.

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

    ripng poison-reverse Syntax ripng poison-reverse undo ripng poison-reverse View Interface view Default level 2: System level Parameters None Description Use ripng poison-reverse to enable the poison reverse function. Use undo ripng poison-reverse to disable the poison reverse function. By default, the poison reverse function is disabled. Examples Enable the poison reverse function for RIPng update messages on VLAN-interface 100.

  • Page 235: Ripng Summary-address, Timers

    If both the poison reverse and split horizon functions are enabled, only the poison reverse function takes effect. 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...

  • Page 236

    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.

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

    OSPFv3 configuration commands The term "router" in the chapter refers to both routers and Layer 3 switches. 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.

  • Page 238: Bandwidth-reference

    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 area to enter OSPFv3 area view. The undo form of the command is not available.

  • Page 239: Default Cost, Default-cost (ospfv3 Area View)

    [Sysname] ospfv3 1 [Sysname-ospfv3-1] bandwidth-reference 1000 default cost Syntax default cost value undo default cost View OSPFv3 view Default level 2: System level Parameters value: Specifies a default cost for redistributed routes, in the range of 1 to 16777214. Description Use default cost to configure a default cost for redistributed routes.

  • Page 240: Default-route-advertise

    Use undo default-cost to restore the default value. Use of this command is only available on the ABR that is connected to a stub area. You have two commands to configure a stub area: stub, defaulted-cost. You need to use the stub command on routers connected to a stub area to configure the area as stub.

  • Page 241: Display Ospfv3

    The default route cost’s priority from high to low is: the cost set by the apply cost clause in the routing • policy, the one set by the default-route-advertise command and the one set by the default cost command. • The default route type’s priority from high to low is: the type set by the apply cost-type clause in the routing policy, and the one set by the default-route-advertise command.

  • Page 242: Display Ospfv3 Graceful-restart Status

    Minimum LSA interval 5 secs, Minimum LSA arrival 1 secs Number of external LSA 0. These external LSAs’ checksum Sum 0x0000 Number of AS-Scoped Unknown LSA 0 Number of LSA originated 3 Number of LSA received 0 Number of areas in this router is 1 Area 0.0.0.1 Number of interfaces in this area is 1 SPF algorithm executed 1 times...

  • Page 243

    View Any view Default level 1: Monitor level Parameters process-id: ID of an OSPFv3 process, ranging from 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 244: Display Ospfv3 Interface

    Field Description GR status, which can be: • GR in progress—Indicates GR is in process. • Calculating routes—Indicates route calculation is in process. GR status • Flushing LSAs—Indicates the device is flushing stale LSA. • Normal—Indicates the device is not in GR or Helper status.

  • Page 245: Display Ospfv3 Lsdb

    FE80::1441:0:E213:1 (Link-Local Address) 2000:1::1 OSPFv3 Process (1), Area 0.0.0.1, Instance ID 0 Router ID 2.2.2.2, Network Type POINTOPOINT, Cost: 1562 Transmit Delay is 1 sec, State Point-To-Point, Priority 1 No designated router on this link No backup designated router on this link Timer interval configured, Hello: 10, Dead: 40, Wait: 40, Retransmit: 5 Hello due in 00:00:02 Neighbor Count is 1, Adjacent neighbor count is 1...

  • Page 246

    View Any view Default level 1: Monitor level Parameters process-id: Specifies ID of an OSPFv3 process, ranging from 1 to 65535. external: Displays information about AS-external LSAs. inter-prefix: Displays information about Inter-area-prefix LSAs. inter-router: Displays information about Inter-area-router LSAs. intra-prefix: Displays information about Intra-area-prefix LSAs. link: Displays information about Link-LSAs.

  • Page 247

    Router-LSA (Area 0.0.0.1) Link State ID Origin Router Seq# CkSum Link 0.0.0.0 1.1.1.1 0050 0x80000002 0x12d1 0.0.0.0 2.2.2.2 0048 0x80000002 0xa142 Table 47 Command output Field Description Link-LSA Type 8 LSA Link State ID Link State ID Origin Router Originating Router Age of LSAs Seq# LSA sequence number...

  • Page 248

    Table 48 Command output Field Description LS age Age of LSA LS Type Type of LSA Originating Router Originating Router LS Seq Number LSA Sequence Number Checksum LSA Checksum Length LSA Length Priority Router Priority Options Options Link-Local Address Link-Local Address Number of Prefixes Number of Prefixes Prefix...

  • Page 249: Display Ospfv3 Lsdb Statistic

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

  • Page 250: Display Ospfv3 Next-hop

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

  • Page 251: Display Ospfv3 Peer

    Default level 1: Monitor level Parameters process-id: Specifies ID of an OSPFv3 process, ranging from 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

  • Page 252

    area-id: The ID of an area, a decimal integer that is translated into IPv4 address format by the system (in the range of 0 to 4294967295) or an IPv4 address. interface-type interface-number: Specifies an interface by its type and number. verbose: Display detailed neighbor information.

  • Page 253: Display Ospfv3 Peer Statistics

    Database Summary List 0 Link State Request List 0 Link State Retransmission List 0 Graceful restart state: Normal Table 54 Command output Field Description Neighbor Neighbor ID. interface address Interface address. In the area 0.0.0.1 via interface Vlan-interface33 Interface Vlan-interface33 belongs to area 1. DR is 0.0.0.0 BDR is 0.0.0.0 Neither DR nor BDR is elected.

  • Page 254: Display Ospfv3 Request-list

    Description Use display ospfv3 peer statistics to display information about all OSPFv3 neighbors on the router—numbers of neighbors in different states. Examples # Display information about all OSPFv3 neighbors. <Sysname> display ospfv3 peer statistics OSPFv3 Router with ID (1.1.1.1) (Process 1) Neighbor Statistics ---------------------------------------------------------------------- Area ID...

  • Page 255

    external: Displays the AS-external LSA information of the OSPFv3 link state request list. inter-prefix: Displays the Inter-area-prefix LSA information of the OSPFv3 link state request list. inter-router: Displays the Inter-area-router LSA information of the OSPFv3 link state request list. intra-prefix: Displays the Intra-area-prefix LSA information of the OSPFv3 link state request list. link: Displays the Link LSA information of the OSPFv3 link state request list.

  • Page 256: Display Ospfv3 Retrans-list

    Field Description CkSum Checksum # Display the statistics of OSPFv3 link state request list. <Sysname> display ospfv3 request-list statistics OSPFv3 Router with ID (11.1.1.1) (Process 1) Interface Neighbor LSA-Count Vlan11 10.1.1.1 Table 57 Command output Field Description Interface Interface name Neighbor Neighbor router ID LSA-Count...

  • Page 257

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display ospfv3 retrans-list to display the OSPFv3 link state retransmission list.

  • Page 258: Display Ospfv3 Routing

    display ospfv3 routing Syntax display ospfv3 [ process-id ] routing [ ipv6-address prefix-length | ipv6-address/prefix-length | abr-routes | asbr-routes | all | statistics ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535.

  • Page 259: Display Ospfv3 Statistics

    Table 60 Command output Field Description Destination Destination network segment Type Route type Cost Route cost value Next-hop Next hop address Interface Outbound interface # Display the statistics of OSPFv3 routing table. <Sysname> display ospfv3 routing statistics OSPFv3 Router with ID (1.1.1.1) (Process 1) OSPFv3 Routing Statistics Intra-area-routes Inter-area-routes...

  • Page 260: Display Ospfv3 Topology

    Examples # Display outbound/inbound OSPFv3 packet statistics on associated interfaces. <Sysname> display ospfv3 statistics OSPFv3 Statistics Interface Vlan-interface11 Instance 0 Type Input Output Hello DB Description Ls Req Ls Upd Ls Ack Discarded Table 62 Command output Field Description Interface Interface name Instance Instance number...

  • Page 261: Display Ospfv3 Vlink

    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. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 262

    Parameters process-id: Specifies the ID of an OSPFv3 process, ranging from 1 to 65535. |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide. begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression.

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

    filter-policy export (OSPFv3 view) Syntax filter-policy { acl6-number | ipv6-prefix ipv6-prefix-name } export [ bgp4+ | direct | ospfv3 process-id | ripng process-id | static ] undo filter-policy export [ bgp4+ | direct | ospfv3 process-id | ripng process-id | static ] View OSPFv3 view Default level...

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

    [Sysname-ospfv3-1] filter-policy 2001 export # Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter redistributed routes. <Sysname> system-view [Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit [Sysname] ospfv3...

  • Page 265: Graceful-restart Enable, Graceful-restart Helper Enable

    # Configure ACL6 3000 to permit only route 2001::1/128 to pass, and reference ACL6 3000 to filter received routes. <Sysname> system-view [Sysname] acl ipv6 number 3000 [Sysname-acl6-adv-3000] rule 10 permit ipv6 source 2001::1 128 destination ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff 128 [Sysname-acl6-adv-3000] rule 100 deny ipv6 [Sysname-acl6-adv-3000] quit [Sysname] ospfv3 [Sysname-ospfv3-1] filter-policy 3000 import...

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

    Default level 2: System level Parameters None Description Use graceful-restart helper enable to enable the GR Helper capability for OSPFv3. Use undo graceful-restart helper enable to disable the GR Helper capability for OSPFv3. By default, the GR Helper capability for OSPFv3 is enabled. Examples # Enable the GR Helper capability for OSPFv3 process 1.

  • Page 267: Import-route (ospfv3 View)

    undo graceful-restart interval View OSPFv3 view Default level 2: System level Parameters interval-value: GR restart interval, in the range of 40 to 1800 seconds. Description Use graceful-restart interval to configure the GR restart interval. Use undo graceful-restart interval to restore the default. By default, the GR restart interval is 120 seconds.

  • Page 268: Maximum Load-balancing (ospfv3 View), Log-peer-change

    NOTE: Using the import-route bgp4+ command redistributes only eBGP routes, and using the import-route bgp4+ allow-ibgp command redistributes both eBGP and iBGP routes. Description Use import-route to redistribute routes. Use undo import-route to disable routes redistribution. IPv6 OSPFv3 does not redistribute routes from other protocols by default. Examples # Configure to redistribute routes from RIPng and specify the type as type 2 and cost as 50.

  • Page 269: Ospfv3

    View OSPFv3 view Default level 2: System level Parameters maximum: Maximum number of ECMP routes , in the range of 1 to 8. Description Use maximum load-balancing to configure the maximum number of ECMP routes. Use undo maximum load-balancing to restore the default. By default, the maximum number of ECMP routes is 8.

  • Page 270: Ospfv3 Area, Ospfv3 Cost

    ospfv3 area Syntax ospfv3 process-id area area-id [ instance instance-id ] undo ospfv3 process-id area area-id [ instance instance-id ] View Interface view Default level 2: System level Parameters process-id: OSPFv3 process ID, in the range of 1 to 65535. area-id: Area ID, 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 271: Ospfv3 Dr-priority

    Description Use ospfv3 cost to configure the OSPFv3 cost of the interface in an instance. Use undo ospfv3 cost to restore the default OSPFv3 cost of the interface in an instance. The default cost depends on the interface type: 1 for a VLAN interface; 0 for a loopback interface; computed according to the bandwidth for other interfaces with the formula: Interface OSPF cost = Bandwidth reference value (100 Mbps) ÷...

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

    ospfv3 mtu-ignore Syntax ospfv3 mtu-ignore [ instance instance-id ] undo ospfv3 mtu-ignore [ instance instance-id ] View Interface view Default level 2: System level Parameters instance-id: Instance ID, in the range of 0 to 255, which defaults to 0. Description Use ospfv3 mtu-ignore to configure an interface to ignore MTU check during DD packet exchange.

  • Page 273: Ospfv3 Peer, Ospfv3 Timer Dead

    Description Use ospfv3 network-type to set the network type for an OSPFv3 interface. Use undo ospfv3 network-type to restore the default. By default, the network type of an interface depends on its link layer protocol. For example: For PPP, the default network type is P2P. •...

  • Page 274: Ospfv3 Timer Hello

    undo ospfv3 timer dead [ seconds ] [ instance instance-id ] View Interface view Default level 2: System level Parameters seconds: Dead time in seconds, ranging from 1 to 65535. instance-id: Instance ID of an interface, in the range of 0 to 255, which defaults to 0. Description Use ospfv3 timer dead to configure the OSPFv3 neighbor dead time for an interface that belongs to a specified instance.

  • Page 275: Ospfv3 Timer Retransmit, Ospfv3 Timer Poll

    Use undo ospfv3 timer hello to restore the default . By default, the hello interval is 10 seconds for P2P and Broadcast interfaces, and is not supported on the P2MP or NBMA interfaces. Related commands: ospfv3 timer dead. Examples # Configure the hello interval as 20 seconds for an interface in instance 1. <Sysname>...

  • Page 276: Ospfv3 Trans-delay

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

  • Page 277

    [Sysname] interface vlan-interface 10 [Sysname-Vlan-interface10] ospfv3 trans-delay 3 instance 1 preference Syntax preference [ ase ] [ route-policy route-policy-name ] preference undo preference [ ase ] View OSPFv3 view Default level 2: System level Parameters ase: Applies the preference to OSPFv3 external routes. If the keyword is not specified, the preference applies to OSPFv3 internal routes.

  • Page 278: Silent-interface(ospfv3 View)

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

  • Page 279: Spf Timers, Stub (ospfv3 Area View)

    [Sysname-ospfv3-200] silent-interface vlan-interface 10 spf timers Syntax spf timers delay-interval hold-interval undo spf timers View OSPFv3 view Default level 2: System level Parameters delay-interval: Interval in seconds between when OSPFv3 receives a topology change and when it starts SPF calculation. in the range of 0 to 65535. hold-interval: Hold interval in seconds between two consecutive SPF calculations, in the range of 0 to 65535.

  • Page 280: Vlink-peer (ospfv3 Area View)

    Parameters no-summary: This argument is only applicable to the ABR of a stub area. With it configured, the ABR advertises only a default route in a Summary-LSA to the stub area (such an area is called a totally stub area). Description Use stub to configure an area as a stub area.

  • Page 281

    Description Use vlink-peer to create and configure a virtual link. Use undo vlink-peer to remove a virtual link. For a non-backbone area without a direct connection to the backbone area or for a backbone area that cannot maintain connectivity, you can use the vlink-peer command to create logical links. A virtual link can be considered as an interface with OSPFv3 enabled, because parameters such as hello, dead, retransmit and trans-delay are configured in the similar way.

  • Page 282: Ipv6 Bgp Configuration Commands, Aggregate (ipv6 Address Family View)

    IPv6 BGP configuration commands The term "router" in this chapter refers to both routers and Layer 3 switches. For more information about routing policy configuration commands in this document, see "Routing policy configuration commands." aggregate (IPv6 address family view) Syntax aggregate ipv6-address prefix-length [ as-set | attribute-policy route-policy-name | detail-suppressed | origin-policy route-policy-name | suppress-policy route-policy-name ] * undo aggregate ipv6-address prefix-length...

  • Page 283: Balance (ipv6 Address Family View)

    Keywords Function Used to create a summary route and suppress the advertisement of some summarized routes. If you want to suppress some routes selectively and suppress-policy leave other routes still advertised, use the if-match clause of the route-policy command. origin-policy Selects only routes satisfying the routing policy for route summarization.

  • Page 284: Bestroute As-path-neglect (ipv6 Address Family View), Bestroute Compare-med (ipv6 Address Family View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] balance 2 bestroute as-path-neglect (IPv6 address family view) Syntax bestroute as-path-neglect undo bestroute as-path-neglect View IPv6 address family view Default level 2: System level Parameters None Description Use bestroute as-path-neglect to configure the IPv6 BGP router to not evaluate the AS_PATH during best route selection.

  • Page 285: Bestroute Med-confederation (ipv6 Address Family View)

    Parameters None Description Use bestroute compare-med to enable the comparison of the MED for paths from each AS. Use undo bestroute compare-med to disable this comparison. This comparison is not enabled by default. After the bestroute compare-med command is executed, the balance command does not take effect. Examples # Compare the MED for paths from an AS for selecting the best route.

  • Page 286: Compare-different-as-med (ipv6 Address Family View), Dampening (ipv6 Address Family View)

    compare-different-as-med (IPv6 address family view) Syntax compare-different-as-med undo compare-different-as-med View IPv6 address family view Default level 2: System level Parameters None Description Use compare-different-as-med to enable the comparison of the MED for paths from peers in different ASs. Use undo compare-different-as-med to disable the comparison. The comparison is disabled by default.

  • Page 287: Default Local-preference (ipv6 Address Family View)

    half-life-unreachable: Half-life for unreachable routes, in the range of 1 to 45 minutes. By default, the value is 15 minutes. reuse: Reuse threshold value for suppressed routes, in the range of 1 to 20000. Penalty value of a suppressed route decreasing under the value is reused. By default, its value is 750. suppress: Suppression threshold from 1 to 20000, which should be bigger than the reuse value.

  • Page 288: Default Med (ipv6 Address Family View), Default-route Imported (ipv6 Address Family View)

    Use this command to affect IPv6 BGP route selection. Examples # Two devices A and B in the same AS are connected to another AS. Change the local preference of B from default value 100 to 180, making the route passing B preferred. <Sysname>...

  • Page 289: Display Bgp Ipv6 Group

    View IPv6 address family view Default level 2: System level Parameters None Description Use default-route imported to enable the redistribution of default route into the IPv6 BGP routing table. Use undo default-route imported to disable the redistribution. By default, the redistribution is not enabled. Examples # Enable the redistribution of default route from OSPFv3 into IPv6 BGP.

  • Page 290

    <Sysname> display bgp ipv6 group aaa BGP peer-group is aaa Remote AS 100 Type: internal Maximum allowed prefix number: 4294967295 Threshold: 75% Configured hold timer value: 180 Keepalive timer value: 60 Minimum time between advertisement runs is 15 seconds Peer Preferred Value: 0 No routing policy is configured Members: Peer...

  • Page 291: Display Bgp Ipv6 Network

    Field Description Peer Preferred Value Preferred value of the routes from the peer. Routing policy configured A routing policy is configured. No routing policy is configured No routing policy is configured. Members Group members. Peer IPv6 address of the peer. AS number.

  • Page 292: Display Bgp Ipv6 Paths

    2002:: 2001:: Short-cut Table 67 Command output Field Description BGP Local Router ID BGP Local Router ID Local AS Number Local AS Number Network Network address Prefix Prefix length Route-policy Routing policy (A null value indicates no routing policy is configured.) Short-cut Shortcut route (A null value indicates the route is not a shortcut route.) display bgp ipv6 paths...

  • Page 293: Display Bgp Ipv6 Peer

    Table 68 Command output Field Description Address Route destination address in local database, in dotted hexadecimal notation. Hash Hash index. Refcount Count of routes that used the path. MED of the path. Path AS_PATH attribute of the path, recording the ASs it has passed, for avoiding routing loops ORIGIN attribute of the route, which can take on one of the following values: •...

  • Page 294

    Description Use display bgp ipv6 peer to display peer/peer group information. If no parameter specified, information about all peers and peer groups is displayed. Examples # Display all IPv6 peer information. <Sysname> display bgp ipv6 peer BGP local router ID : 192.168.1.40 Local AS number : 100 Total number of peers : 1 Peers in established state : 0...

  • Page 295

    Negotiated: Active Hold Time: 180 sec Keepalive Time:60 sec Peer optional capabilities: Peer support bgp multi-protocol extended Peer support bgp route refresh capability Peer support bgp route AS4 capability Graceful Restart Capability: advertised and received Restart Timer Value of Peer: 150 seconds Forwarding State preserved by Peer for following Address families: Address family IPv6 Unicast: advertised and received Received: Total 4 messages, Update messages 1...

  • Page 296

    Table 70 Command output Field Description Type BGP connection type: EBGP or IBGP. Up for Lasting time of a BGP connection. Peer optional capabilities: Optional capabilities supported by the BGP peer: Peer support bgp multi-protocol extended • Multi-protocol extension for BGP. •...

  • Page 297: Display Bgp Ipv6 Peer Received Ipv6-prefix

    10-Jul-2008 15:46:17 Down Send Notification with Error 1/1 Message Header Error/Connection Not Synchronized 10-Jul-2008 09:23:00 Up 10-Jul-2008 07:46:17 Down Receive Notification with Error 3/2 UPDATE Message Error/Unsupported optional Parameter 10-Jul-2008 06:23:00 Up 10-Jul-2008 05:46:17 Down Send Notification with Error 6/4 Administrative Reset Table 71 Command output Field...

  • Page 298: Display Bgp Ipv6 Routing-table

    Description Use display bgp ipv6 peer received ipv6-prefix to display the prefix entries in the ORF information of the specified BGP peer. Examples # Display the prefix information in the ORF packet from the BGP peer 4::4. <Sysname> display bgp ipv6 peer 4::4 received ipv6-prefix ORF ipv6-prefix entries: 2 ge: greater-equal le: less-equal...

  • Page 299

    Description Use display bgp ipv6 routing-table to display IPv6 BGP routing table information. Examples # Display the IPv6 BGP routing table. <Sysname> display bgp ipv6 routing-table Total Number of Routes: 2 BGP Local router ID is 30.30.30.1 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete...

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

    Field Description Multi-Exit Discriminator. LocPrf Local preference value. Path AS_PATH attribute, recording the ASs the packet has passed to avoid routing loops. PrefVal Preferred value. Label Label ORIGIN attribute of the route, which can take on one of the following values: •...

  • Page 301: Display Bgp Ipv6 Routing-table Community

    BGP Local router ID is 30.30.30.1 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *>...

  • Page 302: Display Bgp Ipv6 Routing-table Community-list

    Examples # Display the routing information with community attribute NO_EXPORT. <Sysname> display bgp ipv6 routing-table community no-export BGP Local router ID is 30.30.30.1 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *>...

  • Page 303: Display Bgp Ipv6 Routing-table Dampened

    BGP Local router ID is 30.30.30.1 Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped, h - history, i - internal, s - suppressed, S - Stale Origin : i - IGP, e - EGP, ? - incomplete *>...

  • Page 304: Display Bgp Ipv6 Routing-table Dampening Parameter

    Table 74 Command output Field Description From Source IP address of a route Reuse Time for reuse For description of the fields, see Table display bgp ipv6 routing-table dampening parameter Syntax display bgp ipv6 routing-table dampening parameter [ | { begin | exclude | include } regular-expression ] View Any view...

  • Page 305: Display Bgp Ipv6 Routing-table Different-origin-as

    Field Description Ceiling Value Upper limit of penalty value Reuse Value Reuse Value Reach HalfLife Time(in second) Half-life time of active routes Unreach HalfLife Time(in second) Half-life time of inactive routes Suppress-Limit Suppress value display bgp ipv6 routing-table different-origin-as Syntax display bgp ipv6 routing-table different-origin-as [ | { begin | exclude | include } regular-expression ] View Any view...

  • Page 306: Display Bgp Ipv6 Routing-table Flap-info

    display bgp ipv6 routing-table flap-info Syntax display bgp ipv6 routing-table flap-info [ regular-expression as-regular-expression | [ as-path-acl as-path-acl-number | ipv6-address prefix-length [ longer-match ] ] [ | { begin | exclude | include } regular-expression ] ] View Any view Default level 1: Monitor level Parameters...

  • Page 307: Display Bgp Ipv6 Routing-table Peer

    Field Description Duration Flap duration Reuse Reuse time of the route For description of the fields, see Table display bgp ipv6 routing-table peer Syntax display bgp ipv6 routing-table peer { ipv4-address | ipv6-address } { advertised-routes | received-routes } [ network-address prefix-length | statistic ] [ | { begin | exclude | include } regular-expression ] View Any view...

  • Page 308: Display Bgp Ipv6 Routing-table Regular-expression

    Origin : i - IGP, e - EGP, ? - incomplete *> Network : 20:20:: PrefixLen : 64 NextHop : 20:20::20:1 LocPrf PrefVal : 0 Label : NULL Path/Ogn: i *> Network : 40:40:: PrefixLen : 64 NextHop : 30:30::30:1 LocPrf PrefVal : 0 Label...

  • Page 309: Display Bgp Ipv6 Routing-table Statistic, Filter-policy Export (ipv6 Address Family View)

    display bgp ipv6 routing-table statistic Syntax display bgp ipv6 routing-table statistic [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters |: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

  • Page 310: Filter-policy Import (ipv6 Address Family View)

    process-id: Process ID of the routing protocol, in the range of 1 to 65535. It is available only when the protocol is ospfv3 or ripng. Description Use filter-policy export to filter outbound routes using a specified filter. Use undo filter-policy export to cancel filtering outbound routes. By default, no outbound routing information is filtered.

  • Page 311: Group (ipv6 Address Family View)

    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. Description Use filter-policy import to filter inbound routing information using a specified filter.

  • Page 312: Import-route (ipv6 Address Family View)

    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 group to create a peer group.

  • Page 313: Ipv6-family, Network (ipv6 Address Family View)

    <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 ipv6-family to enter IPv6 address family view. Use undo ipv6-family to remove all configurations from the view. IPv4 BGP unicast view is the default.

  • Page 314: Peer Advertise-community (ipv6 Address Family 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. Description Use network to advertise a network to the IPv6 BGP routing table. Use undo network to remove an entry from the IPv6 BGP routing table.

  • Page 315: Peer Advertise-ext-community (ipv6 Address Family View), Peer Allow-as-loop (ipv6 Address Family View)

    peer advertise-ext-community (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } advertise-ext-community undo peer { group-name | ipv4-address | ipv6-address } advertise-ext-community View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer.

  • Page 316: Peer As-number (ipv6 Address Family View)

    Description Use peer allow-as-loop 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. Use undo peer allow-as-loop to disable the function. The local AS number is not allowed to exist in the AS_PATH attribute of routes by default.

  • Page 317: Peer As-path-acl (ipv6 Address Family View), Peer Capability-advertise Orf

    peer as-path-acl (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } as-path-acl as-path-acl-number { import | export } undo peer { group-name | ipv4-address | ipv6-address } as-path-acl as-path-acl-number { import | export } View IPv6 address family view Default level 2: System level Parameters...

  • Page 318

    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. 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.

  • Page 319: Peer Capability-advertise Orf Non-standard (ipv6 Address Family View), Peer Capability-advertise Route-refresh

    peer capability-advertise orf non-standard (IPv6 address family view) Syntax peer { group-name | ipv6-address } capability-advertise orf non-standard undo peer { group-name | ipv6-address } capability-advertise orf non-standard View IPv6 address family view Default level 2: System level Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer.

  • Page 320: Peer Capability-advertise Suppress-4-byte-as (ipv6 Address Family View)

    Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. Description Use peer capability-advertise route-refresh to enable IPv6 BGP route-refresh. Use undo peer capability-advertise route-refresh to disable the function. By default, route-refresh is enabled. Examples # Disable route-refresh of peer 1:2::3:4.

  • Page 321: Peer Connect-interface (ipv6 Address Family View), Peer Default-route-advertise

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 2001::1 as-number 200 [Sysname-bgp-af-ipv6] peer 2001::1 capability-advertise suppress-4-byte-as peer connect-interface (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } connect-interface interface-type interface-number undo peer { ipv6-group-name | ipv6-address } connect-interface View IPv6 address family view Default level...

  • Page 322: Peer Description (ipv6 Address Family View)

    undo peer { group-name | ipv4-address | ipv6-address } default-route-advertise View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer.

  • Page 323: Peer Dscp (ipv6 Address Family View)

    Use undo peer description to remove the description information of a peer/peer group. By default, no description information is configured for a peer (group). You need create a peer/peer group before configuring a description for it. Examples # Configure the description for the peer group test as ISP1. <Sysname] system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family...

  • Page 324: Peer Ebgp-max-hop (ipv6 Address Family View), Peer Enable (ipv6 Address Family View)

    peer ebgp-max-hop (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } ebgp-max-hop [ hop-count ] undo peer { ipv6-group-name | ipv6-address } ebgp-max-hop View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer.

  • Page 325: Peer Fake-as (ipv6 Address Family View)

    ipv6-address: IPv6 address of a peer. Description Use peer enable to enable an IPv4 peer or peer group. Use undo peer enable to disable an IPv4 peer or peer group. By default, no IPv4 peer or peer group is enabled. If an IPv4 peer or peer group is disabled, the router will not exchange routing information with it.

  • Page 326: Peer Filter-policy (ipv6 Address Family View), Peer Group (ipv6 Address Family View)

    [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] group test external [Sysname-bgp-af-ipv6] peer test fake-as 200 peer filter-policy (IPv6 address family view) Syntax peer { group-name | ipv4-address | ipv6-address } filter-policy acl6-number { import | export } undo peer { group-name | ipv4-address | ipv6-address } filter-policy [ acl6-number ] { import | export } View IPv6 address family view Default level...

  • Page 327: Peer Ignore (ipv6 Address Family View)

    Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. as-number: Specifies the AS number of the peer/peer group, in the range of 1 to 4294967295. Description Use peer group to add a peer to a configured peer group.

  • Page 328: Peer Ipv6-prefix, Peer Keep-all-routes (ipv6 Address Family View)

    Examples # Terminate the session with peer 1:2::3:4. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 ignore peer ipv6-prefix Syntax peer { group-name | ipv4-address | ipv6-address } ipv6-prefix ipv6-prefix-name { import | export } undo peer { group-name | ipv4-address | ipv6-address } ipv6-prefix { import | export } View IPv6 address family view Default level...

  • Page 329: Peer Log-change (ipv6 Address Family View)

    View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. Description Use peer keep-all-routes to save the original routing information from a peer or peer group, including even routes that failed to pass the inbound policy.

  • Page 330: Peer Next-hop-local (ipv6 Address Family View), Peer Password

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 log-change peer next-hop-local (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } next-hop-local undo peer { ipv6-group-name | ipv6-address } next-hop-local View IPv6 address family view Default level 2: System level Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters.

  • Page 331: Peer Preferred-value (ipv6 Address Family View)

    Parameters group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. cipher: Sets a ciphertext password. simple: Sets a plaintext password. password: Sets the password. This argument is case sensitive. It must be a ciphertext string of 1 to 137 characters, or a plaintext string of 1 to 80 characters.

  • Page 332: Peer Public-as-only (ipv6 Address Family View)

    Parameters ipv6-group-name: Name of a peer group, a string of 1 to 47 characters. ipv6-address: IPv6 address of a peer. value: Preferred value, in the range of 0 to 65535. Description Use peer preferred-value to assign a preferred value to routes received from a peer or peer group. Use undo peer preferred-value to restore the default.

  • Page 333: Peer Reflect-client (ipv6 Address Family View), Peer Route-limit (ipv6 Address Family View)

    By default, BGP updates carry the private AS number. The command does not take effect if the BGP update has both the public AS number and private AS number. The range of private AS number is from 64512 to 65535. Examples # Configure BGP updates sent to the peer 1:2::3:4 to not carry private AS numbers.

  • Page 334: Peer Route-policy (ipv6 Address Family View)

    undo peer { group-name | ipv4-address | ipv6-address } route-limit View IPv6 address family view Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer.

  • Page 335: Peer Route-update-interval (ipv6 Address Family View)

    Default level 2: System level Parameters group-name: Name of an IPv4 or IPv6 peer group, a string of 1 to 47 characters. ipv4-address: IPv4 address of a peer. ipv6-address: IPv6 address of a peer. route-policy-name: Name of a routing policy, a string of 1 to 63 characters. import: Applies the routing policy to routes from the peer (group).

  • Page 336: Peer Substitute-as (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. interval: Specifies the minimum interval for sending the same update to a peer (group) from 0 to 600 seconds.

  • Page 337: Peer Timer (ipv6 Address Family View)

    [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] peer 1:2::3:4 substitute-as peer timer (IPv6 address family view) Syntax peer { ipv6-group-name | ipv6-address } timer keepalive keepalive hold holdtime undo peer { ipv6-group-name | ipv6-address } timer View IPv6 address family view Default level 2: System level Parameters...

  • Page 338: Preference (ipv6 Address Family View), Reflect Between-clients (ipv6 Address Family View)

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] group test external [Sysname-bgp-af-ipv6] peer test timer keepalive 0 hold 0 preference (IPv6 address family view) Syntax preference { external-preference internal-preference local-preference | route-policy route-policy-name } undo preference View IPv6 address family view Default level 2: System level Parameters...

  • Page 339: Reflector Cluster-id (ipv6 Address Family View)

    Default level 2: System level Parameters None Description Use reflect between-clients to enable route reflection between clients. Use undo reflect between-clients to disable this function. By default, route reflection between clients is enabled. After a route reflector is configured, it reflects routes between clients. If the clients are fully meshed, HP recommends disabling route reflection on the route reflector to reduce costs.

  • Page 340: Refresh Bgp Ipv6, Reset Bgp Ipv6

    <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] reflector cluster-id 50 refresh bgp ipv6 Syntax refresh bgp ipv6 { ipv4-address | ipv6-address | all | external | group group-name | internal } { export | import } View User view Default level 1: Monitor level Parameters...

  • Page 341: Reset Bgp Ipv6 Dampening

    Default level 2: System level Parameters as-number: Resets the IPv6 BGP connections to peers in the specified AS. The AS number is in the range of 1 to 4294967295. ipv4-address: Resets the connection to the specified IPv4 BGP peer. ipv6-address: Resets the connection to the specified IPv6 BGP peer. all: Resets all IPv6 BGP connections.

  • Page 342: Reset Bgp Ipv6 Flap-info, Router-id

    reset bgp ipv6 flap-info Syntax reset bgp ipv6 flap-info [ ipv6-address/prefix-length | as-path-acl as-path-acl-number | regexp as-path-regexp ] reset bgp ipv6 peer-ipv6-address flap-info View User view Default level 1: Monitor level Parameters ipv6-address: Clears the flap statistics for the specified IPv6 address. prefix-length: Prefix length of the address, in the range of 1 to 128.

  • Page 343: Synchronization (ipv6 Address Family View)

    Description Use router-id to specify a router ID for the router. Use undo router-id 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. You can specify a router ID manually.

  • Page 344: Timer (ipv6 Address Family View)

    [Sysname] bgp 100 [Sysname-bgp] ipv6-family [Sysname-bgp-af-ipv6] synchronization timer (IPv6 address family view) Syntax timer keepalive keepalive hold holdtime undo timer View IPv6 address family view Default level 2: System level Parameters keepalive: Keepalive interval in seconds, ranging from 0 to 21845. holdtime: Holdtime interval in seconds, whose value is 0 or in the range of 3 to 65535.

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

    Routing policy configuration commands The common routing policy configuration commands are applicable to both IPv4 and IPv6. Common routing policy configuration commands apply as-path Syntax apply as-path as-number&<1- 1 0> [ replace ] undo apply as-path View Routing policy view Default level 2: System level Parameters...

  • Page 346: Apply Community

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

  • Page 347: Apply Cost

    no-advertise: Sets the NO_ADVERTISE community attribute for BGP routes. Routes with this attribute cannot be advertised to any peers. no-export: Sets the NO_EXPORT community attribute for BGP routes. Routes with this attribute cannot be advertised out of the autonomous system or confederation, but can be advertised to other sub ASs in the confederation.

  • Page 348: Apply Cost-type, Apply Extcommunity

    Examples # Configure node 10 in permit mode of routing policy policy1: set a cost of 120 for routing information whose outbound interface is Vlan-interface 20. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match interface Vlan-interface 20 [Sysname-route-policy] apply cost 120 apply cost-type Syntax apply cost-type { internal | type-1 | type-2 }...

  • Page 349: Apply Local-preference

    View Routing policy view Default level 2: System level Parameters rt route-target: Sets the route target (RT) extended community attribute, a string of 3 to 21 characters. A route-target has one of the following forms: • 16-bit AS number—32-bit self-defined number, for example, 101:3 32-bit IP address—16-bit self-defined number, for example, 192.168.122.15:1 •...

  • Page 350: Apply Origin, Apply Preference

    No local preference is configured for BGP routing information by default. Examples # Configure node 10 in permit mode of routing policy policy1: If a route matches AS path list 1, configure a local preference of 130 for the route. <Sysname>...

  • Page 351: Apply Preferred-value

    View Routing policy view Default level 2: System level Parameters preference: Routing protocol preference, in the range of 1 to 255. Description Use apply preference to set a preference for a routing protocol. Use undo apply preference to remove the clause configuration. No preference is set for a routing protocol by default.

  • Page 352: Apply Tag, Continue

    Examples # Configure node 10 in permit mode of routing policy policy1: Set a preferred value of 66 for BGP routing information matching AS path list 1. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match as-path 1 [Sysname-route-policy] apply preferred-value 66 apply tag Syntax apply tag value...

  • Page 353: Display Ip As-path

    Description Use continue to specify the next node of the routing policy to be matched. Use undo continue to remove the configuration. By default, no next routing policy node is specified. The node number specified must be larger that the current node number. Example # Create routing policy policy1 with node 10, and specify the match mode as permit.

  • Page 354: Display Ip Community-list

    Table 78 Command output Field Description ListID AS path list ID Mode Match mode: permit or deny Expression Regular expression for matching display ip community-list Syntax display ip community-list [ basic-community-list-number | adv-community-list-number | comm-list-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level...

  • Page 355: Display Ip Extcommunity-list, Display Route-policy

    display ip extcommunity-list Syntax display ip extcommunity-list [ ext-comm-list-number ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters ext-comm-list-number: Extended community list number, in the range of 1 to 199. |: Filters command output by specifying a regular expression.

  • Page 356: If-match As-path

    begin: Displays the first line that matches the specified regular expression and all lines that follow. exclude: Displays all lines that do not match the specified regular expression. include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display route-policy to display routing policy information.

  • Page 357: If-match Community

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

  • Page 358: If-match Cost, If-match Extcommunity

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

  • Page 359: If-match Interface, If-match Route-type

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

  • Page 360: If-match Tag

    Default level 2: System level Parameters external-type1: OSPF Type 1 external routes. external-type1or2: OSPF Type 1 or 2 external routes. external-type2: OSPF Type 2 external routes. internal: Internal routes (OSPF intra-area and inter-area routes). nssa-external-type1: OSPF NSSA Type 1 external routes. nssa-external-type1or2: OSPF NSSA Type 1 or 2 external routes.

  • Page 361: Ip As-path, Ip Community-list

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

  • Page 362

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

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

    ip extcommunity-list Syntax ip extcommunity-list ext-comm-list-number { deny | permit } { rt route-target }&<1- 1 6> undo ip extcommunity-list ext-comm-list-number View System view Default level 2: System level Parameters ext-comm-list-number: Extended community list number, in the range of 1 to 199. deny: Specifies the match mode for the extended community list as deny.

  • Page 364: Ipv4 Routing Policy Configuration Commands, Apply Ip-address Next-hop

    Parameters route-policy-name: Routing policy name, a case-sensitive string of 1 to 63 characters. deny: Specifies the match mode of the routing policy node as deny. If a route satisfies all the if-match clauses of the node, it cannot pass the node and will not go to the next node. permit: Specifies the match mode of the routing policy node as permit.

  • Page 365: Display Ip Ip-prefix

    No next hop is set for IPv4 routing information by default. This command cannot set a next hop for redistributed routes. Examples # Configure node 10 in permit mode of routing policy policy1 to set next hop 193.1.1.8 for routes matching AS path list 1.

  • Page 366: If-match Acl, If-match Ip

    Field Description Permitted Number of routes satisfying the match criterion Denied Number of routes not satisfying the match criterion index Index of the IPv4 prefix list permit Match mode: permit or deny 1.0.0.0/11 IP address and mask greater-equal, the lower limit less-equal, the higher limit if-match acl Syntax...

  • Page 367: If-match Ip-prefix

    Parameters next-hop: Matches the next hop of routing information to the filter. route-source: Matches the source address of routing information to the filter. acl acl-number: Matches an ACL with a number from 2000 to 2999. ip-prefix ip-prefix-name: Matches an IP prefix list with a name being a string of 1 to 19 characters. Description Use if-match ip to configure a next hop or source address match criterion for IPv4 routes.

  • Page 368: Ip Ip-prefix

    ip ip-prefix Syntax ip ip-prefix ip-prefix-name [ index index-number ] { deny | permit } ip-address mask-length [ greater-equal min-mask-length ] [ less-equal max-mask-length ] undo ip ip-prefix ip-prefix-name [ index index-number ] View System view Default level 2: System level Parameters ip-prefix-name: IPv4 prefix list name, a string of 1 to 19 characters.

  • Page 369: Reset Ip Ip-prefix, Ipv6 Routing Policy Configuration Commands, Apply Ipv6 Next-hop

    Examples # Define IP prefix list p1 to permit routes matching network 10.0.192.0/8 and with mask length 17 or 18. <Sysname> system-view [Sysname] ip ip-prefix p1 permit 10.0.192.0 8 greater-equal 17 less-equal 18 reset ip ip-prefix Syntax reset ip ip-prefix [ ip-prefix-name ] View User view Default level...

  • Page 370: Display Ip Ipv6-prefix

    This command cannot set a next hop for redistributed routes. Examples # Configure node 10 of routing policy policy1 to configure next hop 3ffe:506::1 for IPv6 routing information matching AS path list 1. <Sysname> system-view [Sysname] route-policy policy1 permit node 10 [Sysname-route-policy] if-match as-path 1 [Sysname-route-policy] apply ipv6 next-hop 3ffe:506::1 display ip ipv6-prefix...

  • Page 371: If-match Ipv6

    Field Description Denied Number of routes not satisfying the match criterion Index Index number of the prefix list Permit Match mode of the item: permit or deny ::/1 IPv6 address and prefix length for matching greater-equal, the lower prefix length less-equal, the upper prefix length if-match ipv6 Syntax...

  • Page 372: Ip Ipv6-prefix

    ip ipv6-prefix Syntax ip ipv6-prefix ipv6-prefix-name [ index index-number ] { deny | permit } ipv6-address prefix-length [ greater-equal min-prefix-length ] [ less-equal max-prefix-length ] undo ip ipv6-prefix ipv6-prefix-name [ index index-number ] View System view Default level 2: System level Parameters ipv6-prefix-name: IPv6 prefix list name, a string of 1 to 19 characters, for uniquely specifying an IPv6 prefix list.

  • Page 373: Reset Ip Ipv6-prefix

    Examples # Permit IPv6 addresses with a mask length between 32 bits and 64 bits. <Sysname> system-view [Sysname] ip ipv6-prefix abc permit :: 0 greater-equal 32 less-equal 64 # Deny IPv6 addresses with the prefix being 3FFE:D00::/32, and prefix length being greater than or equal to 32 bits.

  • Page 374: Mce Configuration Commands, Description, Display Bgp Vpnv4 Vpn-instance Group

    MCE configuration commands This chapter describes only the commands related to the multi-VPN-instance CE (MCE) feature. For information about the routing protocol configuration commands in the configuration examples, see Layer 3—IP Routing Command Reference. description Syntax description text undo description View VPN instance view Default level...

  • Page 375

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

  • Page 376: Display Bgp Vpnv4 Vpn-instance Network

    Field Description Indicates whether the local device supports sending and receiving Route-refresh packets with ORF information. The value can be: • both—Supports sending and receiving Route-refresh messages with ORF information. Local • Send—Supports sending Route-refresh messages with ORF information. • Receive—Supports receiving Route-refresh messages with ORF information.

  • Page 377: Display Bgp Vpnv4 Vpn-instance Paths

    Description Use display bgp vpnv4 vpn-instance network to display information about the BGP VPNv4 routes injected into a specific VPN instance or all VPN instances. Examples # Display information about the BGP VPNv4 routes injected into the VPN instance vpn1. <Sysname>...

  • Page 378: Display Bgp Vpnv4 Vpn-instance Peer

    Description Use display bgp vpnv4 vpn-instance paths to display the BGP VPNv4 AS path information. Examples # Display the BGP VPNv4 AS path information of VPN instance vpn1. <Sysname> display bgp vpnv4 vpn-instance vpn1 paths Address Hash Refcount Path/Origin 0x6E72D18 200? 0x6E72E50 0x6E72B78...

  • Page 379

    regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display bgp vpnv4 vpn-instance peer to display information about the BGP VPNv4 peers. Examples # Display information about the BGP VPNv4 peers of the VPN instance vpn1. <Sysname>...

  • Page 380

    Address family IPv4 Unicast: advertised and received Received: Total 25 messages, Update messages 1 Sent: Total 30 messages, Update messages 4 Maximum allowed prefix number: 150000 Threshold: 75% Minimum time between advertisement runs is 30 seconds Optional capabilities: ORF advertise capability based on Prefix(type 64): Local: both Negotiated: send Peer Preferred Value: 99...

  • Page 381: Display Bgp Vpnv4 Vpn-instance Routing-table

    Field Description Total number of sent messages and the number of sent update Sent messages Maximum allowed prefix number Maximum number of routes that the VPN instance supports Threshold Threshold value Minimum time between advertisement Minimum route advertisement interval runs Optional capabilities Local optional capabilities Indicates whether the local device supports sending and receiving...

  • Page 382

    Parameters vpn-instance-name: The VPN instance name, a case-sensitive string of 1 to 31 characters. network-address: IP address of the destination segment. mask-length: Length of the network mask, in the range of 0 to 32. mask-address: Network mask, in the format of X.X.X.X. longer-prefixes: Specifies to match the longest prefix.

  • Page 383: Display Fib Vpn-instance

    include: Displays all lines that match the specified regular expression. regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters. Description Use display bgp vpnv4 vpn-instance routing-table to display the BGP VPNv4 routing information for a specific VPN instance. Examples # Display the BGP VPNv4 routing information of VPN instance vpn1.

  • Page 384

    View Any view Default level 1: Monitor level Parameters vpn-instance-name: The VPN instance name, a case-sensitive string of 1 to 31 characters. acl acl-number: Displays the FIB information of the VPN instance permitted by the specified ACL. acl-number is the number of the ACL, in the range of 2000 to 2999. If the specified ACL does not exist, the command displays all FIB information of the VPN instance.

  • Page 385

    127.0.0.1/32 127.0.0.1 InLoop0 Null Invalid # Display the FIB information permitted by ACL 2000 for the VPN instance vpn1. <Sysname> system-view [Sysname] acl number 2000 [Sysname-acl-basic-2000] rule permit source 10.2.0.0 0.0.255.255 [Sysname-acl-basic-2000] display fib vpn-instance vpn1 acl 2000 FIB entry count: 2 Flag: U:Useable G:Gateway...

  • Page 386: Display Fib Vpn-instance Ip-address

    display fib vpn-instance ip-address Syntax display fib vpn-instance vpn-instance-name ip-address [ mask | mask-length ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters vpn-instance-name: The VPN instance name, a case-sensitive string of 1 to 31 characters. ip-address: Destination IP address, in dotted decimal format.

  • Page 387: Display Ip Vpn-instance

    display ip vpn-instance Syntax display ip vpn-instance [ instance-name vpn-instance-name ] [ | { begin | exclude | include } regular-expression ] View Any view Default level 1: Monitor level Parameters instance-name vpn-instance-name: Displays information about the specified VPN. vpn-instance-name is the VPN instance name, a case-sensitive string of 1 to 31 characters.

  • Page 388: Domain-id

    Export VPN Targets : 100:1 Import VPN Targets : 100:1 Import Route Policy : policy3 Export Route Policy : policy2 Description : This is vpn1 Maximum Routes Limit : 12288 Interfaces : Vlan-interface10 Table 90 Command output Field Description VPN-Instance Name and ID Name and ID of the VPN instance CreateTime Time when the VPN instance was created...

  • Page 389: Export Route-policy

    Description Use domain-id to configure an OSPF domain ID. Use undo domain-id 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.

  • Page 390: Ext-community-type, Filter-policy Export

    ext-community-type Syntax ext-community-type { domain-id type-code1 | router-id type-code2 | route-type type-code3 } undo ext-community-type { domain-id | router-id | route-type } 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.

  • Page 391: Filter-policy Import

    Parameters acl-number: IP ACL number, in the range of 2000 to 3999. ip-prefix-name: IP address prefix list name, a string of 1 to 19 characters. direct: Filters direct routes to be advertised. ospf process-id: Filters OSPF routes to be advertised that are from a specific OSPF process. The process-id argument is in the range of 1 to 65535.

  • Page 392: Import Route-policy, Ip Binding Vpn-instance

    Only routes that survive the filtering are added into the BGP routing table. Examples # Configure BGP to filter received routes using ACL 2255. <Sysname> system-view [Sysname] bgp 100 [Sysname-bgp] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] filter-policy 2255 import import route-policy Syntax import route-policy route-policy undo import route-policy View...

  • Page 393: Ip Vpn-instance, Ipv4-family Vpn-instance

    Parameters vpn-instance-name: Name of the VPN instance to be associated, a case-sensitive string of 1 to 31 characters. Description Use ip binding vpn-instance to associate an interface with a VPN instance. Use undo ip binding vpn-instance to remove the association. By default, an interface is associated with no VPN instance;...

  • Page 394: Peer Allow-as-loop

    undo ipv4-family vpn-instance vpn-instance-name View BGP view Default level 2: System level Parameters vpn-instance vpn-instance-name: Associates a VPN instance with an IPv4 address family and enters BGP VPN instance view. The vpn-instance-name argument specifies the VPN instance name, a case-sensitive string of 1 to 31 characters.

  • Page 395: Peer Group, Refresh Bgp Vpn-instance

    Examples # Allow the local AS number to appear repeatedly in the AS-PATH attribute of a route received from peer 1.1.1.1 for up to twice. <Sysname> system-view [Sysname] bgp 100 [Sysname] ipv4-family vpn-instance vpn1 [Sysname-bgp-vpn1] peer 1.1.1.1 allow-as-loop 2 peer group Syntax peer ip-address group group-name [ as-number as-number ] undo peer ip-address group group-name...

  • Page 396: Reset Bgp Vpn-instance

    Default level 1: Monitor level Parameters vpn-instance-name: VPN instance name, a case-sensitive string of 1 to 31 characters. ip-address: IP address of a peer. all: Soft resets all BGP VPN instance connections. external: Soft resets EBGP sessions. group group-name: Soft resets the connections with the specified BGP peer group. The group-name argument is a string of 1 to 47 characters.

  • Page 397: Reset Bgp Vpn-instance Dampening, Reset Bgp Vpn-instance Flap-info

    <Sysname> reset bgp vpn-instance vpn1 all reset bgp vpn-instance dampening Syntax reset bgp vpn-instance vpn-instance-name dampening [ network-address [ mask | mask-length ] ] View User view Default level 1: Monitor level Parameters vpn-instance-name: VPN instance name, a case-sensitive string of 1 to 31 characters. dampening: Specifies route flap dampening information.

  • Page 398: Route-distinguisher

    regexp as-path-regexp: Specifies the AS_PATH regular expression. Description Use reset bgp vpn-instance flap-info to clear the route flap history information about BGP peers of a VPN instance. Examples # Clear route flap history information about BGP peer 2.2.2.2 of VPN instance vpn1. <Sysname>...

  • Page 399: Routing-table Limit, Vpn-instance-capability Simple

    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. The value ranges from 1 to 12288. warn-threshold: Specifies a threshold for warning, in the range of 1 to 100, in percentages.

  • Page 400: Vpn-target

    Description Use vpn-instance-capability simple to disable routing loop detection for a VPN OSPF process. Use undo vpn-instance-capability to restore the default. By default, the loop detection function is enabled for a VPN OSPF process. Examples # Disable routing loop detecton for the VPN OSPF process 100. <Sysname>...

  • Page 401

    <Sysname> system-view [Sysname] ip vpn-instance vpn1 [Sysname-vpn-instance-vpn1] vpn-target 3:3 export-extcommunity [Sysname-vpn-instance-vpn1] vpn-target 4:4 import-extcommunity [Sysname-vpn-instance-vpn1] vpn-target 5:5 both...

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

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

  • Page 403: Conventions

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

  • Page 404

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

  • Page 405: Index

    Index A B C D E F G H I L M N O P R S T V W bestroute med-confederation (IPv6 address family view),274 abr-summary (OSPF area view),58 bgp,130 abr-summary (OSPFv3 area view),226 aggregate,126 checkzero,208 aggregate (IPv6 address family view),271 checkzero,28 apply...

  • Page 406

    description (OSPF/OSPF area view),64 display ip extcommunity-list,344 display bgp group,138 display ip ip-prefix,354 display bgp ipv6 group,278 display ip ipv6-prefix,359 display bgp ipv6 network,280 display ip routing-table,1 display bgp ipv6 paths,281 display ip routing-table acl,5 display bgp ipv6 peer,282 display ip routing-table ip-address,8 display bgp ipv6 peer received ipv6-prefix,286...

  • Page 407

    display rip database,32 graceful-restart helper strict-lsa-checking,255 display rip interface,33 graceful-restart interval,255 display rip route,34 graceful-restart interval (OSPF view),96 display ripng,209 graceful-restart timer restart,162 display ripng database,210 graceful-restart timer wait-for-rib,163 display ripng interface,21 1 group (BGP/BGP-VPN instance view),163 display ripng route,213 group (IPv6 address family view),300 display...

  • Page 408

    ospfv3 timer dead,262 ospfv3 timer hello,263 log-peer-change,99 ospfv3 timer poll,264 log-peer-change,257 ospfv3 timer retransmit,264 log-peer-change,166 ospfv3 trans-delay,265 lsa-arrival-interval,99 output-delay,42 lsa-generation-interval,100 lsdb-overflow-limit,101 peer,42 peer,1 15 maximum load-balancing (OSPF view),101 peer advertise-community (BGP/BGP-VPN instance maximum load-balancing (OSPFv3 view),257 view),168 maximum load-balancing (RIP view),41 peer advertise-community (IPv6 address family maximum load-balancing (RIPng...

  • Page 409

    peer dscp (IPv6 address family view),312 preference,1 16 peer ebgp-max-hop (BGP/BGP-VPN instance preference,266 view),180 preference,43 peer ebgp-max-hop (IPv6 address family view),313 preference,218 peer enable (BGP/BGP-VPN instance view),181 preference (BGP/BGP-VPN instance view),196 peer enable (IPv6 address family view),313 preference (IPv6 address family view),327 peer fake-as (BGP/BGP-VPN instance view),182...

  • Page 410

    metricout,49 snmp-agent trap enable ospf,120 mib-binding,50 timers,268 output,51 spf-schedule-interval,121 poison-reverse,51 stub (OSPF area view),122 split-horizon,52 stub (OSPFv3 area view),268 summary-address,52 stub-router,123 version,53 Subscription service,391 ripng,219 summary,54 ripng default-route,220 summary automatic,203 ripng enable,221 synchronization (BGP view),203 ripng metricin,221 synchronization (IPv6 address family view),332 ripng metricout,222...

Comments to this Manuals

Symbols: 0
Latest comments: