Click here to load reader
View
2
Download
0
Embed Size (px)
Routing Command Reference for Cisco NCS 6000 Series Routers First Published: 2013-09-20
Last Modified: 2017-09-01
Americas Headquarters Cisco Systems, Inc. 170 West Tasman Drive San Jose, CA 95134-1706 USA http://www.cisco.com Tel: 408 526-4000
800 553-NETS (6387) Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHERWARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.
All printed copies and duplicate soft copies of this document are considered uncontrolled. See the current online version for the latest version.
Cisco has more than 200 offices worldwide. Addresses and phone numbers are listed on the Cisco website at www.cisco.com/go/offices.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: https://www.cisco.com/c/en/us/about/legal/trademarks.html. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1721R)
© 2017–2018 Cisco Systems, Inc. All rights reserved.
https://www.cisco.com/c/en/us/about/legal/trademarks.html
C O N T E N T S
Preface xxviiP R E F A C E
Changes to This Document xxvii
Communications, Services, and Additional Information xxvii
BGP Commands 1C H A P T E R 1
address-family (BGP) 6
advertisement-interval 8
af-group 10
aggregate-address 12
aigp 14
aigp send-cost-community 15
allocate-label 17
allow vpn default-originate 18
allowas-in 19
as-format 20
as-path-loopcheck out disable 21
attribute-filter group 22
attribute large-community 23
bfd (BGP) 24
bgp as-path-loopcheck 26
bgp attribute-download 27
bgp auto-policy-soft-reset disable 29
bgp bestpath as-path ignore 30
bgp bestpath compare-routerid 32
bgp bestpath cost-community ignore 33
bgp bestpath med always 34
Routing Command Reference for Cisco NCS 6000 Series Routers iii
bgp bestpath med confed 36
bgp bestpath med missing-as-worst 38
bgp bestpath origin-as allow invalid 39
bgp bestpath origin-as use validity 41
bgp bestpath aigp ignore 42
bgp bestpath as-path multipath-relax 43
bgp client-to-client reflection disable 44
bgp cluster-id 46
bgp confederation identifier 48
bgp confederation peers 50
bgp dampening 52
bgp default local-preference 54
bgp enforce-first-as disable 55
bgp fast-external-fallover disable 57
bgp graceful-restart 58
bgp graceful-restart graceful-reset 60
bgp graceful-restart purge-time 61
bgp graceful-restart restart-time 62
bgp graceful-restart stalepath-time 63
bgp label-delay 65
bgp log neighbor changes disable 66
bgp maximum neighbor 68
bgp nexthop resolution allow-default 69
bgp redistribute-internal 70
bgp router-id 72
bgp scan-time 73
bgp update-delay 74
capability additional-paths receive 75
capability additional-paths send 76
capability orf prefix 77
capability suppress 79
clear bgp 82
cef consistency-hashing auto-recovery 84
clear bgp dampening 85
Routing Command Reference for Cisco NCS 6000 Series Routers iv
Contents
clear bgp external 87
clear bgp flap-statistics 88
clear bgp nexthop performance-statistics 90
clear bgp nexthop registration 92
clear bgp peer-drops 94
clear bgp performance-statistics 95
clear bgp rpki 96
clear bgp self-originated 98
clear bgp shutdown 100
clear bgp soft 101
cluster-id 104
cluster-id allow-equal 106
default-information originate (BGP) 107
default-metric (BGP) 108
default-originate 109
description (BGP) 111
distance bgp 112
dscp (BGP) 114
ebgp-multihop 116
enforce-first-as 118
enforce-first-as-disable 120
ibgp policy out enforce-modifications 122
ignore-connected-check 123
keychain 124
keychain-disable 126
keychain inheritance-disable 128
local-as 130
maximum-paths (BGP) 132
maximum-prefix (BGP) 134
mpls activate (BGP) 137
multipath 138
neighbor (BGP) 139
neighbor-group 141
network (BGP) 143
Routing Command Reference for Cisco NCS 6000 Series Routers v
Contents
network backdoor 145
next-hop-self 147
next-hop-unchanged 149
nexthop route-policy 151
nexthop trigger-delay 153
nsr (BGP) 155
nsr disable (BGP) 157
orf 159
password (BGP) 161
password-disable 163
precedence 165
receive-buffer-size 167
redistribute (BGP) 169
remote-as (BGP) 173
remove-private-as 176
route-policy (BGP) 178
route-reflector-client 180
router bgp 182
send-buffer-size 183
send-community-ebgp 185
send-extended-community-ebgp 187
session-group 189
session-open-mode 191
show bgp 193
show bgp large-community 203
send-community-ebgp 205
show bgp update out 207
show bgp update in error process 208
show bgp update out filter-group 209
show bgp update out process 210
show bgp update out sub-group 212
show bgp update out update-group 213
show bgp advertised 214
show bgp af-group 220
Routing Command Reference for Cisco NCS 6000 Series Routers vi
Contents
show bgp attribute-key 223
show bgp cidr-only 226
show bgp community 230
show bgp convergence 235
show bgp dampened-paths 238
show bgp flap-statistics 242
show bgp inconsistent-as 247
show bgp labels 251
show bgp neighbor-group 252
show bgp neighbors 256
show bgp neighbors nsr 273
show bgp nexthops 275
show bgp nsr 277
show bgp paths 281
show bgp policy 283
show bgp process 290
show bgp regexp 308
show bgp route-policy 312
show bgp session-group 316
show bgp sessions 319
show bgp summary 320
show bgp summary nsr 324
show bgp table 327
show bgp truncated-communities 329
show bgp update-group 333
show protocols (BGP) 336
show tcp brief 338
shutdown (BGP) 339
socket receive-buffer-size 341
socket send-buffer-size 343
soft-reconfiguration inbound 345
speaker-id 348
table-policy 349
timers (BGP) 351
Routing Command Reference for Cisco NCS 6000 Series Routers vii
Contents
timers bgp 353
ttl-security 355
update limit 358
update limit address-family 359
update limit sub-group 360
update in error-handling basic disable 362
update in error-handling extended 363
update in labeled-unicast equivalent 364
update out logging 365
update-source 366
use 368
weight 372
BGP Flowspec Commands 375C H A P T E R 2
class-map type traffic (BGP-flowspec) 376
class type traffic 377
drop (BGP-flowspec) 378
flowspec 379
flowspec disable 380
local-install 381
match destination-address 382
match destination-port 383
match dscp 384
match fragment-type 38