Aruba 8400 User guide

Category
Software
Type
User guide

This manual is also suitable for

AOS-CX 10.12 IP Routing
Guide
8400 Switch Series
Published: August 2023
Edition: 2
|2
Copyright Information
© Copyright 2023 Hewlett Packard Enterprise Development LP.
This product includes code licensed under certain open source licenses which require source
compliance. The corresponding source for these components is available upon request. This offer is
valid to anyone in receipt of this information and shall expire three years following the date of the final
distribution of this product version by Hewlett Packard Enterprise Company. To obtain such source
code, please check if the code is available in the HPE Software Center at
https://myenterpriselicense.hpe.com/cwp-ui/software but, if not, send a written request for specific
software version and product for which you want the open source code. Along with the request, please
send a check or money order in the amount of US $10.00 to:
Hewlett Packard Enterprise Company
Attn: General Counsel
WW Corporate Headquarters
1701 E Mossy Oaks Rd Spring, TX 77389
United States of America.
Notices
The information contained herein is subject to change without notice. The only warranties for Hewlett
Packard Enterprise products and services are set forth in the express warranty statements
accompanying such products and services. Nothing herein should be construed as constituting an
additional warranty. Hewlett Packard Enterprise shall not be liable for technical or editorial errors or
omissions contained herein.
Confidential computer software. Valid license from Hewlett Packard Enterprise required for possession,
use, or copying. Consistent with FAR 12.211 and 12.212, Commercial Computer Software, Computer
Software Documentation, and Technical Data for Commercial Items are licensed to the U.S. Government
under vendor's standard commercial license.
Links to third-party websites take you outside the Hewlett Packard Enterprise website. Hewlett Packard
Enterprise has no control over and is not responsible for information outside the Hewlett Packard
Enterprise website.
Acknowledgments
Intel®, Itanium®, Optane™, Pentium®, Xeon®, Intel Inside®, and the Intel Inside logo are trademarks of
Intel Corporation in the U.S. and other countries.
Microsoft® and Windows® are either registered trademarks or trademarks of Microsoft Corporation in
the United States and/or other countries.
Adobe® and Acrobat® are trademarks of Adobe Systems Incorporated.
Java® and Oracle® are registered trademarks of Oracle and/or its affiliates.
UNIX® is a registered trademark of The Open Group.
All third-party marks are property of their respective owners.
Contents
Contents
Contents 3
About this document 14
Applicable products 14
Latest version available online 14
Command syntax notation conventions 14
About the examples 15
Identifying switch ports and interfaces 15
Identifying modular switch components 16
Virtual Routing and Forwarding (VRF) 17
Adding or deleting a VRF 17
IPv4 static route addition or deletion in a VRF 17
IPv6 static route addition or deletion in a VRF 18
Attaching or detaching a port from a VRF 18
Viewing VRF information 19
An example of the VRF information provided by the show running-config command 19
VRF commands 20
ip route vrf 20
ipv6 route vrf 21
show ip route 22
show ipv6 route 24
show vrf 25
vrf 27
vrf attach 27
Loopback 29
Loopback commands 29
interface loopback 29
ip address 30
ipv6 address 30
vrf attach 31
show interface loopback 32
Static routing 34
Default route 34
Recursive static routes 34
Route manager 34
Configuration concepts 35
Configuration example procedure 35
Basic static route configuration example 35
Static routing commands 36
ip route 36
ip route bfd 37
ip route distance 38
ip route tag 39
ip route vrf 40
ipv6 route 41
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 3
Contents |4
ipv6 route distance 42
ipv6 route tag 43
show ip rib 44
show ipv6 rib 47
ipv6 route vrf 49
show ip route 51
show ipv6 route 52
Open Shortest Path First version 2 (OSPFv2) 55
Overview 55
How OSPFv2 protocol works 56
OSPFv2 concepts 56
OSPFv2 Link-state advertisement (LSA) types 56
OSPFv2 router types 56
OSPFv2 area types 57
OSPFv2 configuration task list 58
Tasks at a glance 58
Configuring OSPF on the routing switch 59
Assigning the routing switch to an OSPF area 59
Setting OSPF network for the area 60
Creating an OSPF virtual link for an area 60
Configuring external route redistribution and control 61
Configuring area ranges on an ABR to reduce advertisements to the backbone 62
Influencing route choice by changing the administrative distance 62
Configuring graceful restart of OSPF routing 63
Configuring OSPF interface settings 63
Configuring OSPF interface authentication 64
Configuring OSPF virtual link settings 65
Prerequisites 65
Configuring OSPF authentication on a virtual link 65
Configuring all OSPF interfaces as passive 66
Configuring SPF throttling timers 66
Viewing OSPFv2 information 67
Clearing OSPF statistics on a switch 67
An example of the OSPFv2 information in the show running-config command 67
OSPFv2 commands 68
active-backbone 68
area (ospf) 69
area default-metric 70
area nssa 71
area range 72
area stub 73
area virtual-link 74
authentication 75
authentication-key 76
clear ip ospf neighbors 78
clear ip ospf statistics 78
dead-interval 79
default-information originate 80
default-information originate always 81
default-metric 82
disable 83
distance 84
enable 85
graceful-restart 85
hello-interval 87
ip ospf area 88
ip ospf authentication 89
ip ospf authentication-key 90
ip ospf cost 91
ip ospf dead-interval 92
ip ospf hello-interval 92
ip ospf keychain 93
ip ospf message-digest-key md5 94
ip ospf network 95
ip ospf passive 96
ip ospf priority 97
ip ospf retransmit-interval 97
ip ospf sha-key sha 98
ip ospf shutdown 99
ip ospf transit-delay 100
keychain 101
max-metric router-lsa 102
maximum-paths 103
message-digest-key md5 103
passive-interface default 105
redistribute 105
reference-bandwidth 107
retransmit-interval 108
rfc1583-compatibility 109
router ospf 109
router-id 110
sha-key sha 111
show ip ospf 112
show ip ospf border-routers 114
show ip ospf interface 115
show ip ospf lsdb 117
show ip ospf neighbors 121
show ip ospf routes 123
show ip ospf statistics 124
show ip ospf statistics interface 125
show ip ospf virtual-links 127
summary-address 128
timers lsa-arrival 129
timers throttle lsa 130
timers throttle spf 131
transit-delay 132
trap-enable 133
Open Shortest Path First version 3 (OSPFv3) 135
Overview 135
How OSPFv3 protocol works 136
OSPFv3 protocol 136
OSPFv3 concepts 136
OSPFv3 Link-state advertisement (LSA) types 136
OSPFv3 area types 138
OSPFv3 router types 139
OSPFv3 configuration task list 140
Tasks at a glance 140
Configuring OSPFv3 on the routing switch 141
Creating an OSPFv3 area 141
Setting OSPFv3 network for the area 142
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 5
Contents |6
Configuring external route redistribution and control 143
Configuring area ranges on an ABR to reduce advertisements to the backbone 144
Prerequisites 144
Procedure 144
Influencing route choice by changing the administrative distance 144
Configuring graceful restart 145
Configuring OSPFv3 virtual link settings 145
Configuring OSPFv3 interface settings 146
Configuring BFD for OSPFv3 146
Examples 147
Configuring all OSPFv3 interfaces as passive 147
Configuring SPF throttling timers 148
Viewing OSPFv3 information 148
Clearing OSPFv3 statistics on a switch 148
OSPFv3 commands 149
active-backbone 149
area 149
area authentication ipsec 150
area encryption ipsec 152
area nssa 154
area range 155
area stub 156
area virtual-link 157
area default-metric 158
authentication ipsec 159
clear ipv6 ospfv3 neighbors 160
clear ipv6 ospfv3 statistics 161
dead-interval 161
default-metric 162
disable 163
distance 164
enable 165
encryption ipsec 165
default-information originate 167
default-information originate always 168
graceful-restart 169
hello-interval 171
ipv6 ospfv3 area 172
ipv6 ospfv3 authentication null 173
ipv6 ospfv3 authentication ipsec 173
ipv6 ospfv3 cost 175
ipv6 ospfv3 dead-interval 175
ipv6 ospfv3 encryption ipsec 176
ipv6 ospfv3 encryption null 178
ipv6 ospfv3 hello-interval 179
ipv6 ospfv3 network 179
ipv6 ospfv3 passive 180
ipv6 ospfv3 priority 181
ipv6 ospfv3 retransmit-interval 182
ipv6 ospfv3 shutdown 182
ipv6 ospfv3 transit-delay 183
maximum-paths 184
max-metric router-lsa 185
passive-interface default 186
redistribute 186
reference-bandwidth 188
retransmit-interval 189
router-id 190
router ospfv3 190
show ipv6 ospfv3 191
show ipv6 ospfv3 border-routers 193
show ipv6 ospfv3 interface 194
show ipv6 ospfv3 neighbors 195
show ipv6 ospfv3 routes 197
show ipv6 ospfv3 statistics 199
show ipv6 ospfv3 statistics interface 200
show ipv6 ospfv3 virtual-links 201
summary-address 203
timers lsa-arrival 204
timers throttle lsa 204
timers throttle spf 205
transit-delay 207
trap-enable 207
Border Gateway Protocol (BGP) 209
Overview 209
Autonomous system numbers 209
BGP sessions 209
Inter-router communication 209
BGP messages 210
BGP neighbor states 210
Injecting routes/prefixes into the BGP table 211
Path attributes 211
BGP best-path calculation 212
Loop prevention 213
Route policies 213
Resetting BGP sessions 213
IBGP full mesh requirement 214
Route reflectors 214
Loop prevention in route reflectors 215
BGP peer groups 215
BGP communities 215
Aggregate routes 215
BGP Graceful-Restart and high availability 216
Configuration task list 216
Configuring BGP peers 216
Defining BGP Neighbors 217
Using Loopback Interfaces for BGP peering 217
Verifying BGP routing table 217
Verifying BGP peers 217
Clearing BGP neighbors 218
Address families 219
Scale limits 219
Configuration task list 219
Configuring BGP peers 219
Defining BGP Neighbors 220
Using Loopback Interfaces for BGP peering 220
Verifying BGP routing table 220
Verifying BGP peers 220
Clearing BGP neighbors 222
Best practices and recommendations 222
Use cases 222
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 7
Contents |8
Multi-homing to the same ISP 222
BGP AS-Path prepending and AS-Path filters 224
Debugging and troubleshooting 226
FAQs 227
BGP commands 233
address-family 233
aggregate-address 234
bgp always-compare-med 235
bgp asnotation dotted 236
bgp asnotation dotted-plus 236
bgp bestpath as-path ignore 237
bgp bestpath as-path multipath-relax 238
bgp bestpath compare-routerid 238
bgp bestpath med confed 239
bgp bestpath med missing-as-worst 240
bgp cluster id 241
bgp confederation 241
bgp confederation peers 242
bgp dampening 243
bgp default local-preference 244
bgp deterministic-med 245
bgp fast-external-fallover 246
bgp graceful-restart restart-time 246
bgp graceful-restart stalepath-time 247
bgp log-neighbor-changes 248
bgp maxas-limit 249
bgp router-id 249
clear bgp 250
disable|enable 251
distance bgp 252
maximum-paths 252
neighbor activate 253
neighbor advertisement-interval 254
neighbor add-paths 255
neighbor add-paths advertise-best 256
neighbor allowas-in 257
neighbor ao 258
neighbor capability orf prefix-list 260
neighbor default-originate 261
neighbor ebgp-multihop 261
neighbor fall-over 262
neighbor fall-over bfd 263
neighbor graceful-shutdown 265
neighbor listen ip-range 267
neighbor local-as 269
neighbor maximum-prefix 269
neighbor next-hop-self 271
neighbor orf prefix-list in 272
neighbor passive 273
neighbor password 274
neighbor port 275
neighbor remote-as 276
neighbor remove-private-AS 277
neighbor route-map 278
neighbor route-reflector-client 279
neighbor send-community 280
neighbor shutdown 281
neighbor soft-reconfiguration inbound 282
neighbor timers 283
neighbor ttl-security-hops 284
neighbor update-source 284
neighbor weight 285
network 286
redistribute 287
router bgp 288
show bgp 289
show bgp <PREFIX> 291
show bgp community 294
show bgp flap-statistics 297
show bgp neighbor advertised-routes 298
show bgp neighbor paths 300
show bgp neighbor received orf-prefix-list 301
show bgp neighbor received-routes 302
show bgp neighbor routes 303
show bgp neighbors 304
show bgp paths 306
show bgp peer-group summary 307
show bgp summary 309
show running-config bgp 311
timers bgp 312
vrf 312
Route Policies and Route Maps 314
Overview 314
Route maps 314
Match criteria 314
Set changes 315
IP prefix lists 315
AS-path lists for BGP 315
Community lists for BGP 315
Route flap dampening 316
Route redistribution and route maps 316
Route policy and route map commands 316
General or filtering commands 316
ip aspath-list 316
ip community-list 317
ip prefix-list 318
ipv6 prefix-list 319
route-map 321
continue 322
Match commands 323
match aspath-list 323
match community-list 323
match interface 324
match ip address prefix-list 325
match ip next-hop 326
match ip route-source 326
match local-preference 327
match metric 328
match origin 328
match route-type 329
match source-protocol 330
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 9
Contents |10
match tag 330
match vni 331
Set commands 332
set as-path exclude 332
set as-path prepend 333
set community 334
set dampening 334
set ip nexthop 335
set ipv6 nexthop global 336
set local-preference 337
set metric 337
set origin 338
set tag 339
set weight 339
Show commands 340
show ip aspath-list 340
show ip community-list 341
show ip prefix-list 342
show route-map 342
Equal Cost Multipath (ECMP) 345
Overview 345
ECMP commands 345
show ip ecmp 345
Virtual Router Redundancy Protocol (VRRP) 347
Overview 347
Terminology 347
VRRP operation 348
Multiple VRRP groups 349
VRRP priority 350
VRRP preemption 350
Virtual Router MAC address 351
VRRP and ARP 351
VRRP and MCLAG 351
VRRP tracking 351
High availability 351
VRRP and Neighbor Discovery for IPv6 351
Duplicate address detection (DAD) 352
Guidelines and limitations 352
VRRP commands 352
address 352
authentication 354
bfd <IPV4-ADDR> 355
preempt 356
preempt delay minimum 357
priority 358
router vrrp {enable | disable} 359
no router vrrp 359
show track 360
show track brief 361
show vrrp 361
shutdown 369
timers advertise 370
track (VRRP group) 371
track (VRRP virtual router) 371
track by 372
version 373
vrrp 374
vrrp dual-active-forwarding 375
Inter-Virtual Router Forwarding (IVRF) 376
Troubleshooting IVRL 376
Static VRF route leaking 376
Dynamic VRF route leaking 377
Dynamic VRF route leak restrictions and limitations 377
Procedure to leak routes between VRFs 377
Troubleshooting inter-VRF route leaking 377
IVRF commands 378
address-family 378
ip|ipv6 vrf 379
ipv6 route source interface 380
ip route interface 382
rd 384
redistribute 385
route-target 387
router bgp 388
route-target export 389
router bgp vrf 390
show bgp vpn unicast 391
show bgp info vrf 395
show ip route vrf 396
show ipv6 route vrf 397
vrf 398
Policy Based Routing (PBR) 400
PBR actions 400
PBR policy action and action list 400
PBR action list maximum entries 401
IP versions in an action list 401
Specifying valid next-hop and default-nexthop addresses 402
Hardware path PBR versus software path PBR 402
Hardware versus software path for default-nexthop action 402
Software path and system default route 403
PBR and VRFs 403
PBR, ECMP, and routing protocols 404
PBR, VSX, and VLAN ACLs 404
PBR software path, VSX, and VRRP 404
PBR and next-hop router reachability 404
PBR and VXLAN 404
CLI errors 405
Backup nexthop groups 405
PBR commands 406
apply policy 406
ip nexthop group type backup 407
pbr-action-list 407
pbr-action-list copy 411
pbr-action-list resequence 412
pbr-action-list reset 413
policy 413
primary secondary nexthop 416
show ip nexthop group name type backup 417
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 11
Contents |12
show ip nexthop group type backup 418
show pbr 419
show pbr-action-list 420
show running-config current-context 421
IP Directed Broadcast 423
IP Directed Broadcast configuration example 423
IP Directed Broadcast commands 425
copy support-file feature 425
ip directed-broadcast 426
show arp 426
show ip interface 427
show ip directed-broadcast 428
IP Neighbor Flood 430
IP Neighbor Flood commands 430
ip neighbor-flood 430
show ip interface 431
show ip neighbor-flood 431
show running-config 432
Key chain 433
Key chain commands 433
accept-lifetime 433
cryptographic-algorithm 434
key 435
keychain 436
key-string 437
name 438
recv-id 439
send-id 440
send-lifetime 440
show capacities keychain 442
show keychain 442
show running-config keychain 444
Routing Information Protocol (RIP) 446
Overview 446
RIPv2 (IPv4) commands 446
Configuration commands 446
router rip 446
Interface commands 447
ip rip 447
ip rip all-ip enable 448
ip rip all-ip disable 449
ip rip all-ip send disable 450
ip rip all-ip receive disable 450
Routing commands 451
enable 451
disable 452
distance 453
maximum-paths 453
redistribute 454
timers update 455
RIPv2 clear commands 456
clear ip rip statistics 456
RIPv2 interface commands 457
enable 457
disable 457
send disable 458
receive disable 459
RIPv2 show commands 460
show capacities rip 460
show capacities-status rip 460
show ip rip 461
show ip rip interface 462
show ip rip neighbors 463
show ip rip routes 464
show ip rip statistics 466
show ip rip statistics interface 466
show running-config 467
RIPng (IPv6) commands 469
Configuration commands 469
router ripng 469
Interface commands 470
ipv6 ripng 470
Routing commands 470
enable 470
disable 471
distance 472
maximum-paths 473
redistribute 473
timers update 474
RIPng clear commands 475
clear ipv6 ripng statistics 475
RIPng interface commands 476
enable 476
disable 477
send disable 477
receive disable 478
RIPng show commands 479
show capacities ripng 479
show capacities-status ripng 479
show ipv6 ripng 480
show ipv6 ripng interface 481
show ipv6 ripng neighbors 482
show ipv6 ripng routes 483
show ipv6 ripng statistics 485
show ipv6 ripng statistics interface 486
show running-config 487
Support and Other Resources 489
Accessing Aruba Support 489
Accessing Updates 490
Aruba Support Portal 490
My Networking 490
Warranty Information 490
Regulatory Information 490
Documentation Feedback 491
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 13
Chapter 1
About this document
About this document
This document describes features of the AOS-CX network operating system. It is intended for
administrators responsible for installing, configuring, and managing Aruba switches on a network.
Applicable products
This document applies to the following products:
nAruba 8400 Switch Series (JL366A, JL363A, JL687A)
Latest version available online
Updates to this document can occur after initial publication. For the latest versions of product
documentation, see the links provided in Support and Other Resources.
Command syntax notation conventions
Convention Usage
example-text Identifies commands and their options and operands, code examples,
filenames, pathnames, and output displayed in a command window. Items
that appear like the example text in the previous column are to be entered
exactly as shown and are required unless enclosed in brackets ([ ]).
example-text In code and screen examples, indicates text entered by a user.
Any of the following:
n<example-text>
n<example-text>
nexample-text
nexample-text
Identifies a placeholder—such as a parameter or a variable—that you must
substitute with an actual value in a command or in code:
nFor output formats where italic text cannot be displayed, variables
are enclosed in angle brackets (< >). Substitute the text—including
the enclosing angle brackets—with an actual value.
nFor output formats where italic text can be displayed, variables
might or might not be enclosed in angle brackets. Substitute the
text including the enclosing angle brackets, if any, with an actual
value.
|Vertical bar. A logical OR that separates multiple items from which you can
choose only one.
Any spaces that are on either side of the vertical bar are included for
readability and are not a required part of the command syntax.
{ } Braces. Indicates that at least one of the enclosed items is required.
[ ] Brackets. Indicates that the enclosed item or items are optional.
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 14
About this document |15
Convention Usage
…or
...
Ellipsis:
nIn code and screen examples, a vertical or horizontal ellipsis indicates an
omission of information.
nIn syntax using brackets and braces, an ellipsis indicates items that can be
repeated. When an item followed by ellipses is enclosed in brackets, zero
or more items can be specified.
About the examples
Examples in this document are representative and might not match your particular switch or
environment.
The slot and port numbers in this document are for illustration only and might be unavailable on your
switch.
Understanding the CLI prompts
When illustrating the prompts in the command line interface (CLI), this document uses the generic term
switch, instead of the host name of the switch. For example:
switch>
The CLI prompt indicates the current command context. For example:
switch>
Indicates the operator command context.
switch#
Indicates the manager command context.
switch(CONTEXT-NAME)#
Indicates the configuration context for a feature. For example:
switch(config-if)#
Identifies the interface context.
Variable information in CLI prompts
In certain configuration contexts, the prompt may include variable information. For example, when in
the VLAN configuration context, a VLAN number appears in the prompt:
switch(config-vlan-100)#
When referring to this context, this document uses the syntax:
switch(config-vlan-<VLAN-ID>)#
Where <VLAN-ID> is a variable representing the VLAN number.
Identifying switch ports and interfaces
Physical ports on the switch and their corresponding logical software interfaces are identified using the
format:
member/slot/port
On the 8400 Switch Series
nmember: Always 1. VSF is not supported on this switch.
nslot: Specifies physical location of a module in the switch chassis.
oManagement modules are on the front of the switch in slots 1/5 and 1/6.
oLine modules are on the front of the switch in slots 1/1 through 1/4, and 1/7 through 1/10.
nport: Physical number of a port on a line module
For example, the logical interface 1/1/4 in software is associated with physical port 4 in slot 1 on
member 1.
Identifying modular switch components
nPower supplies are on the front of the switch behind the bezel above the management modules.
Power supplies are labeled in software in the format: member/power supply:
omember: 1.
opower supply: 1 to 4.
nFans are on the rear of the switch and are labeled in software as: member/tray/fan:
omember: 1.
otray: 1 to 4.
ofan: 1 to 4.
nFabric modules are not labeled on the switch but are labeled in software in the format:
member/module:
omember: 1.
omember: 1 or 2.
nThe display module on the rear of the switch is not labeled with a member or slot number.
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 16
Chapter 2
Virtual Routing and Forwarding (VRF)
Virtual Routing and Forwarding (VRF)
Virtual Routing and Forwarding (VRF) is a Layer 3 level isolation used to achieve Virtual Private Network
(VPN). VRF provides overlapping IPs to present and also isolate the routing table from other VPNs in the
system.
VRF is a technology that allows multiple instances of a routing table to co-exist within the same router.
Because the routing instances are independent, the same or overlapping IP addresses can be used
without conflicting with each other. Network functionality is improved because network paths can be
segmented without requiring multiple routers.
Adding or deleting a VRF
Prerequisites
You must be in the global configuration context, as indicated by the config prompt.
Procedure
To configure a VRF, enter the following command.
vrf <vrf-name>
Where <vrf-name> is the name of the VRF, up to 32 alphanumeric characters.
The no form of the command deletes the VRF and will remove all the configurations from the interfaces which are
part of the deleted VRF and move those interfaces to the default VRF.
See the following examples:
switch(config)# vrf test
switch(config)# no vrf test
Related topic: vrf (command reference)
IPv4 static route addition or deletion in a VRF
Prerequisites
You must be in the global configuration context, as indicated by the config prompt.
Procedure
To add an IPv4 static route to a VRF, enter the following command.
ip route <dest-ipv4-addr>/<netmask> {<gateway-ip>|<interface>} vrf [<vrf-name>]
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 17
Virtual Routing and Forwarding (VRF) |18
Where
<dest-ipv4-addr>/<netmask>
Specifies the route destination IP address and the network mask length for the destination.
<gateway-ip>|<interface>
Specifies the gateway as either an IP address or an interface.
<vrf-name>
Specifies the VRF name. If no <vrf-name> is specified the route is applied to the default VRF.
Use the no form of the command to remove an IPv4 static route from the VRF.
See the following example:
switch(config)# ip route 20.0.0.0/24 10.0.0.1 vrf test
switch(config)# ip route 20.0.0.0/24 1/1/5 vrf test
switch(config)# no ip route 20.0.0.0/24 10.0.0.1 vrf test
Related topic: ip route vrf (command reference)
IPv6 static route addition or deletion in a VRF
Prerequisites
You must be in the global configuration context, as indicated by the config prompt.
Procedure
To add an IPv6 static route to a VRF, enter the following command.
ipv6 route <dest-ipv6-addr>/<prefix> {<gateway-ip>|<interface>} vrf [<vrf-name>]
Where
<dest-ipv6-addr>/<prefix>
Specifies the route destination IPv6 address and the network prefix for the destination. For example,
120::/124.
<gateway-ip>|<interface>
Specifies either the gateway as either an IPv6 address or an interface.
<vrf-name>
Specifies the VRF name. The name can be up to 32 alphanumeric characters. If no <vrf-name> is
specified the route is applied to the default VRF.
Use the no form of the command to delete an IPv6 static route from a VRF.
See the following examples:
switch(config)# ipv6 route 120::/124 121::2 vrf test
switch(config)# ipv6 route 120::/124 1/1/9 vrf test
switch(config)# no ipv6 route 120::/124 121::2 vrf test
Related topics: ipv6 route vrf (command reference)
Attaching or detaching a port from a VRF
Prerequisites
You must be in the interface configuration context (config-if), or the VLAN interface configuration
context (config-vlan-if), or the LAG interface configuration context (config-lag-if).
Procedure
To attach a port to a VRF, enter the following command in the required context.
vrf attach <vrf-name>
Where <vrf-name> is the name of the VRF, up to 32 alphanumeric characters.
The no form of the command detaches the port from the named VRF and will remove all configurations from the
port and attach the port to the default VRF.
See the following examples:
switch(config)# interface 1/1/1
switch(config-if)# vrf attach test
switch(config)# vlan 3
switch(config-vlan)# exit
switch(config)# interface vlan 3
switch(config-if-vlan)# vrf attach test
Related topic: vrf attach (command reference)
Viewing VRF information
Prerequisites
These commands are in the switch context, executed at the switch# prompt.
Procedure
To view various aspects of VRF information, use the following commands.
nTo view VRF configuration and status information:
show vrf <VRF-NAME>
nTo view all configured commands including VRF configuration:
show running-config
For command details and examples, see the following:
nshow vrf
nAn example of the VRF information provided by the show running-config command
An example of the VRF information provided by the show
running-config command
When a VRF is configured, the output of the show running-config command includes information
about the VRF configuration.
AOS-CX 10.12 IP Routing Guide | (8400 Switch Series) 19
Virtual Routing and Forwarding (VRF) |20
Example
switch# show running-config
Current configuration:
!
!Version AOS-CX 10.0X.XXXX
!
lldp enable
timezone set utc
vrf new
vrf test
!
!
!
aaa authentication login default local
aaa authorization commands default none
!
!
!
!
vlan 1
no shutdown
interface 1/1/1
no shutdown
vrf attach test
ip address 20.0.0.2/24
ipv6 address 120::1/124
interface 1/1/2
no shutdown
vrf attach new
ip address 30.0.0.1/24
ipv6 address 121::1/124
VRF commands
ip route vrf
ip route <DEST-IPV4-ADDR>/<MASK> [<NEXT-HOP-IP-ADDR>|<INTERFACE>|reject|nullroute]
vrf <VRF-NAME>
no ip route <DEST-IPV4-ADDR>/<MASK> [<NEXT-HOP-IP-ADDR>|<INTERFACE>|reject|nullroute]
vrf <VRF-NAME>
Description
Adds the destination IPv4 static route on the specified VRF. If no <VRF-NAME> is specified the route is
applied to the default VRF.
The no form of this command removes the IPv4 static route from the VRF.
Parameter Description
<DEST-IPV6-ADDR> Specifies the route destination in IPv4 format (x.x.x.x), where x
is a decimal number from 0 to 255.
<MASK> Specifies the number of bits in the address mask in CIDR format
(x), where xis a decimal number from 0 to 128.
<NEXT-HOP-IP-ADDR> Specifies the next hop in IPv4 format (x.x.x.x), where xis a
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491

Aruba 8400 User guide

Category
Software
Type
User guide
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI