Aruba 4100i User guide

Type
User guide

This manual is also suitable for

AOS-CX 10.12 IP Routing
Guide
4100i, 6000, 6100, 6200 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 10
Applicable products 10
Latest version available online 10
Command syntax notation conventions 10
About the examples 11
Identifying switch ports and interfaces 11
Virtual Routing and Forwarding (VRF) 13
VRF support 13
Loopback 14
Loopback commands 14
interface loopback 14
ip address 15
ipv6 address 16
show interface loopback 16
Static routing 18
Default route 18
Recursive static routes 18
Route manager 18
Configuration concepts 19
Configuration example procedure 19
Basic static route configuration example 19
Static routing commands 20
ip route 20
ip route distance 21
ip route tag 22
ipv6 route 23
ipv6 route distance 24
ipv6 route tag 25
show ip rib 26
show ipv6 rib 29
Open Shortest Path First version 2 (OSPFv2) 33
Overview 33
How OSPFv2 protocol works 34
OSPFv2 concepts 34
OSPFv2 Link-state advertisement (LSA) types 34
OSPFv2 router types 34
OSPFv2 area types 35
OSPFv2 configuration task list 36
Tasks at a glance 36
Configuring OSPF on the routing switch 36
Setting OSPF network for the area 37
Configuring external route redistribution and control 38
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 3
Contents |4
Influencing route choice by changing the administrative distance 39
Configuring graceful restart of OSPF routing 39
Configuring OSPF interface settings 40
Configuring OSPF interface authentication 40
Configuring all OSPF interfaces as passive 41
Configuring SPF throttling timers 41
Clearing OSPF statistics on a switch 42
An example of the OSPFv2 information in the show running-config command 42
OSPFv2 commands 43
active-backbone 43
area (ospf) 44
area default-metric 45
area nssa 45
clear ip ospf neighbors 46
clear ip ospf statistics 47
default-information originate 48
default-information originate always 49
default-metric 50
disable 51
distance 52
enable 53
graceful-restart 53
ip ospf area 55
ip ospf authentication 56
ip ospf authentication-key 57
ip ospf cost 58
ip ospf dead-interval 59
ip ospf hello-interval 60
ip ospf keychain 60
ip ospf message-digest-key md5 61
ip ospf network 62
ip ospf passive 63
ip ospf priority 64
ip ospf retransmit-interval 65
ip ospf sha-key sha 66
ip ospf shutdown 67
ip ospf transit-delay 67
keychain 68
max-metric router-lsa 69
passive-interface default 70
redistribute 71
reference-bandwidth 72
rfc1583-compatibility 73
router ospf 74
router-id 75
sha-key sha 75
show ip ospf 77
show ip ospf border-routers 78
show ip ospf interface 79
show ip ospf lsdb 81
show ip ospf neighbors 85
show ip ospf routes 87
show ip ospf statistics 88
show ip ospf statistics interface 89
summary-address 91
timers lsa-arrival 92
timers throttle lsa 92
timers throttle spf 93
trap-enable 95
Open Shortest Path First version 3 (OSPFv3) 96
Overview 96
How OSPFv3 protocol works 97
OSPFv3 protocol 97
OSPFv3 concepts 97
OSPFv3 Link-state advertisement (LSA) types 97
OSPFv3 area types 99
OSPFv3 router types 100
OSPFv3 configuration task list 101
Tasks at a glance 101
Configuring OSPFv3 on the routing switch 101
Creating an OSPFv3 area 102
Setting OSPFv3 network for the area 103
Configuring external route redistribution and control 104
Influencing route choice by changing the administrative distance 105
Configuring graceful restart 105
Configuring OSPFv3 interface settings 105
Configuring all OSPFv3 interfaces as passive 106
Configuring SPF throttling timers 106
Viewing OSPFv3 information 107
Clearing OSPFv3 statistics on a switch 107
OSPFv3 commands 107
active-backbone 107
area 108
area authentication ipsec 109
area encryption ipsec 110
clear ipv6 ospfv3 neighbors 112
clear ipv6 ospfv3 statistics 113
default-metric 114
disable 115
distance 115
enable 116
default-information originate 117
default-information originate always 118
graceful-restart 119
ipv6 ospfv3 area 121
ipv6 ospfv3 authentication null 122
ipv6 ospfv3 authentication ipsec 122
ipv6 ospfv3 cost 123
ipv6 ospfv3 dead-interval 124
ipv6 ospfv3 encryption ipsec 125
ipv6 ospfv3 encryption null 127
ipv6 ospfv3 hello-interval 127
ipv6 ospfv3 network 128
ipv6 ospfv3 passive 129
ipv6 ospfv3 priority 130
ipv6 ospfv3 retransmit-interval 131
ipv6 ospfv3 shutdown 131
ipv6 ospfv3 transit-delay 132
maximum-paths 133
max-metric router-lsa 134
passive-interface default 135
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 5
Contents |6
redistribute 135
reference-bandwidth 137
retransmit-interval 138
router-id 138
router ospfv3 139
show ipv6 ospfv3 140
show ipv6 ospfv3 border-routers 141
show ipv6 ospfv3 interface 142
show ipv6 ospfv3 neighbors 145
show ipv6 ospfv3 routes 146
show ipv6 ospfv3 statistics 148
show ipv6 ospfv3 statistics interface 149
summary-address 151
timers lsa-arrival 152
timers throttle lsa 153
timers throttle spf 154
transit-delay 155
trap-enable 156
Equal Cost Multipath (ECMP) 157
Overview 157
ECMP commands 157
show ip ecmp 157
Virtual Router Redundancy Protocol (VRRP) 159
Overview 159
Terminology 159
VRRP operation 160
Multiple VRRP groups 161
VRRP priority 162
VRRP preemption 162
Virtual Router MAC address 163
VRRP and ARP 163
VRRP tracking 163
High availability 163
VRRP and Neighbor Discovery for IPv6 163
Duplicate address detection (DAD) 164
Guidelines and limitations 164
VRRP commands 164
address 164
authentication 165
preempt 167
preempt delay minimum 168
priority 169
router vrrp {enable | disable} 170
no router vrrp 170
show track 171
show track brief 172
show vrrp 172
shutdown 180
timers advertise 181
track (VRRP group) 182
track (VRRP virtual router) 182
track by 183
version 184
vrrp 185
vrrp dual-active-forwarding 186
Policy Based Routing (PBR) 187
PBR actions 187
PBR policy action and action list 187
PBR action list maximum entries 188
IP versions in an action list 188
Specifying valid next-hop and default-nexthop addresses 189
Hardware path PBR versus software path PBR 189
Hardware versus software path for default-nexthop action 189
Software path and system default route 190
PBR, ECMP, and routing protocols 190
PBR, VSX, and VLAN ACLs 190
PBR software path, VSX, and VRRP 191
PBR and next-hop router reachability 191
CLI errors 191
PBR commands 192
apply policy 192
pbr-action-list 193
pbr-action-list copy 196
pbr-action-list resequence 197
pbr-action-list reset 198
policy 199
show pbr 201
show pbr-action-list 202
show running-config current-context 204
IP Directed Broadcast 206
IP Directed Broadcast configuration example 206
IP Directed Broadcast commands 208
copy support-file feature 208
ip directed-broadcast 209
show arp 209
show ip interface 210
show ip directed-broadcast 211
Key chain 213
Key chain commands 213
accept-lifetime 213
cryptographic-algorithm 214
key 215
keychain 216
key-string 217
name 218
recv-id 219
send-id 220
send-lifetime 220
show capacities keychain 222
show keychain 222
show running-config keychain 224
IP Client Tracker 226
IP Client Tracker commands 226
client track ip 226
client track ip { enable | disable | auto } 227
client track ip client-limit 228
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 7
Contents |8
client track ip update-interval 229
client track ip update-method probe 229
show capacities 230
show client ip { count | port | vlan } 231
Routing Information Protocol (RIP) 232
Overview 232
RIPv2 (IPv4) commands 232
Configuration commands 232
router rip 232
Interface commands 233
ip rip 233
ip rip all-ip enable 234
ip rip all-ip disable 235
ip rip all-ip send disable 236
ip rip all-ip receive disable 236
Routing commands 237
enable 237
disable 238
distance 239
maximum-paths 239
redistribute 240
timers update 241
RIPv2 clear commands 242
clear ip rip statistics 242
RIPv2 interface commands 243
enable 243
disable 243
send disable 244
receive disable 245
RIPv2 show commands 246
show capacities rip 246
show capacities-status rip 246
show ip rip 247
show ip rip interface 248
show ip rip neighbors 249
show ip rip routes 250
show ip rip statistics 252
show ip rip statistics interface 252
show running-config 253
RIPng (IPv6) commands 255
Configuration commands 255
router ripng 255
Interface commands 256
ipv6 ripng 256
Routing commands 256
enable 256
disable 257
distance 258
maximum-paths 259
redistribute 259
timers update 260
RIPng clear commands 261
clear ipv6 ripng statistics 261
RIPng interface commands 262
enable 262
disable 263
send disable 263
receive disable 264
RIPng show commands 265
show capacities ripng 265
show capacities-status ripng 265
show ipv6 ripng 266
show ipv6 ripng interface 267
show ipv6 ripng neighbors 268
show ipv6 ripng routes 269
show ipv6 ripng statistics 271
show ipv6 ripng statistics interface 272
show running-config 273
Support and Other Resources 275
Accessing Aruba Support 275
Accessing Updates 276
Aruba Support Portal 276
My Networking 276
Warranty Information 276
Regulatory Information 276
Documentation Feedback 277
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 9
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 4100i Switch Series (JL817A, JL818A)
nAruba 6000 Switch Series (R8N85A, R8N86A, R8N87A, R8N88A, R8N89A, R9Y03A)
nAruba 6100 Switch Series (JL675A, JL676A, JL677A, JL678A, JL679A)
nAruba 6200 Switch Series (JL724A, JL725A, JL726A, JL727A, JL728A, R8Q67A, R8Q68A, R8Q69A, R8Q70A,
R8Q71A, R8V08A, R8V09A, R8V10A, R8V11A, R8V12A, R8Q72A)
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
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 10
About this document |11
Convention Usage
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.
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 4100i Switch Series
nmember: Always 1. VSF is not supported on this switch.
nslot: Always 1. This is not a modular switch, so there are no slots.
nport: Physical number of a port on the switch.
For example, the logical interface 1/1/4 in software is associated with physical port 4 on the switch.
On the 6000 and 6100 Switch Series
nmember: Always 1. VSF is not supported on this switch.
nslot: Always 1. This is not a modular switch, so there are no slots.
nport: Physical number of a port on the switch.
For example, the logical interface 1/1/4 in software is associated with physical port 4 on the switch.
On the 6200 Switch Series
nmember: Member number of the switch in a Virtual Switching Framework (VSF) stack. Range: 1 to 8.
The primary switch is always member 1. If the switch is not a member of a VSF stack, then member is
1.
nslot: Always 1. This is not a modular switch, so there are no slots.
nport: Physical number of a port on the switch.
For example, the logical interface 1/1/4 in software is associated with physical port 4 in slot 1 on
member 1.
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 12
Chapter 2
Virtual Routing and Forwarding (VRF)
Virtual Routing and Forwarding (VRF)
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.
VRF support
The 4100i, 6000, 6100, and 6200 Switch Series support predefined VRFs:
nmgmt: Assigned to the management port and is used to isolate management traffic (6200 Switch
Series only).
ndefault: All other interfaces are automatically assigned to the VRF default (6000, 6100 and 6200
Switch Series).
User-defined VRFs are not supported on the 4100i, 6000, 6100, and 6200 Switch Series.
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 13
Chapter 3
Loopback
Loopback
Loopback interfaces are not supported on the Aruba 6000 and 6100 Switch Series.
Loopback interfaces are not supported on the Aruba 4100i Switch Series.
A loopback interface is a virtual interface supporting IPv4/IPv6 address configuration. The loopback
interface can be considered stable because once created, it remains up. The loopback interface can then
be configured with an address to use as a reference or identifier independent of the physical interfaces.
nDevice identification: As long as the router is operational, the state of the loopback interface is
always up. Even if only one link to the router is active, the loopback interface can be reached. This
functionality makes it possible to identify an active device in the network using the IP address
configured on the loopback interface.
nRouting: Since the loopback interface is always active, a routing session (such as a BGP session) can
continue on an alternate path even if the outbound interface fails. In OSPF, a loopback interface
address is advertised as an interface route into the network. This functionality increases reliability by
allowing traffic to take alternate paths if there is a link failure. In OSPF and BGP, the router ID can be
set to the loopback address to avoid reassignment of the router ID when physical interfaces are
added or removed.
nDevice management: Loopback interface is always reachable and can be used for sending and
receiving management information such as logs and SNMP traps without interruption.
Loopback commands
interface loopback
interface loopback <INSTANCE>
no interface loopback <INSTANCE>
Description
Creates a loopback interface and enters loopback configuration mode.
The no form of this command deletes a loopback interface.
Parameter Description
<INSTANCE> Selects the loopback interface ID. Range: 0 to 4
Examples
switch(config)# interface loopback
switch(config-loopback-if)#
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 14
Loopback |15
Command History
Release Modification
10.07 or earlier --
Command Information
Platforms Command context Authority
All platforms config Operators or Administrators or local user group members with
execution rights for this command. Operators can execute this
command from the operator context (>) only.
ip address
ip address <IPV4-ADDR/MASK> [secondary]
no ip address <IPV4-ADDR/MASK> [secondary]
Description
Sets the IPv4 address for a loopback interface.
The no form of this command reverses the set of the IPv4 address for a loopback interface.
Parameter Description
<IPV4-ADDR> Specifies an IP address in IPv4 format (x.x.x.x), where xis 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.
secondary Indicates that the IPv4 address is a secondary address.
Examples
switch(config)# interface loopback 1
switch(config-loopback-if)# ip address 16.93.50.2/24
switch(config-loopback-if)# ip address 20.1.1.1/24 secondary
Command History
Release Modification
10.07 or earlier --
Command Information
Platforms Command context Authority
All platforms config Operators or Administrators or local user group members with
execution rights for this command. Operators can execute this
command from the operator context (>) only.
ipv6 address
ipv6 address <IPV6-ADDR/MASK>
Description
Sets the IPv6 address for a loopback interface.
Parameter Description
<IPV6-ADDR> Specifies an IP address in IPv6 format
(xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx), where xis a
hexadecimal number from 0 to F.
<MASK> Specifies the number of bits in the address mask in CIDR format
(x), where xis a decimal number from 0 to 128.
Examples
switch(config)# interface loopback 1
switch(config-loopback-if)# ipv6 address fd00:5708::f02d:4df6/64
Command History
Release Modification
10.07 or earlier --
Command Information
Platforms Command context Authority
All platforms config Operators or Administrators or local user group members with
execution rights for this command. Operators can execute this
command from the operator context (>) only.
show interface loopback
show interface loopback [brief | instance <ID>]
Description
This command displays the configuration and status of loopback interfaces.
Parameter Description
brief Displays brief information about all configured loopback
interfaces.
instance <ID> Displays the configuration and status of a loopback interface ID.
Range: 1-255
Examples
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 16
Loopback |17
switch# show interface loopback
Interface loopback1 is up
IPv4 address 192.168.1.1/24
Interface loopback2 is up
IPv4 address 182.168.1.1/24
switch# show interface loopback brief
---------------------------------------------------------------------
Loopback IP Address Status
Interface
---------------------------------------------------------------------
loopback1 10.1.1.1/24 up
loopback1 1111:2222:3333:4444::6666/128 up
switch# show interface loopback 1
Interface loopback1 is up
IPv4 address 192.168.1.1/24
Command History
Release Modification
10.07 or earlier --
Command Information
Platforms Command context Authority
All platforms Operator (>) or Manager
(#)
Operators or Administrators or local user group members with
execution rights for this command. Operators can execute this
command from the operator context (>) only.
Chapter 4
Static routing
Static routing
Static routes are manually configured. If the network topology is simple enough, you can use static
routes for the network's routing requirements. The proper configuration and usage of static routes can
improve network performance and ensure bandwidth for important network applications.
The disadvantage of using static routes is that they cannot adapt to network topology changes. If a fault
or topological change occurs in the network, the relevant routes will be unreachable and a network
administrator must modify the static routes manually.
Default route
Without a default route, a packet that does not match any routing entries is discarded and an ICMP
destination-unreachable packet is sent to the source. A default route is used to forward packets that do
not match any routing entry.
The network administrator can configure a default route with the destination as 0.0.0.0 and the mask as
0. The router forwards any packet whose destination address fails to match any entry in the routing
table to the next hop of the default static route.
Recursive static routes
A recursive static route is a route for which the next hop is learned from another routing look up (for
example, dynamic protocol or from another another static route). For example, the following commands
create an unsupported recursive static route:
nip route 99.0.0.0/24 30.0.0.2 - Main static route with gateway 30.0.0.2.
nip route 30.0.0.0/24 20.0.0.2 - Static route to reach the nexthop of the previously configured
route.
Route manager
Route Manager (or Routing Table Manager) is the central repository for all routing information. It
maintains the best routes selected by each routing protocol along with various route attributes in the
Routing Information Base (RIB). Route Manager also manages routes from various routing protocols and
determines the best route to each destination network which needs to be programmed into Forwarding
Information Base (FIB).
If the number of routes is larger than 120,000, displaying all routes will require a significant amount of time to
display output. A warning message is displayed to suggest using filters to display routes for prefixes for faster
results. Use Ctrl+C to interrupt and return to prompt.
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 18
Static routing |19
Configuration concepts
Before configuring a static route, you must understand the following concepts:
nDestination address and mask: In the ip route command, an IPv4 address is in dotted-decimal
format. A mask can be in the form of mask length - the number of consecutive 1s in the mask.
nOutput interface and next hop address: When configuring a static route, specify the output
interface or next hop address. The next hop address cannot be a local interface IP address or the
route configuration will not take effect.
nOther attributes: You can configure different priorities and administrative distance for different
static routes to make route management policies more flexible. For example, specifying the same
priority for different routes to the same destination enables load sharing, but specifying different
priorities for these routes enables route backup.
Configuration example procedure
Before configuring a static route, complete the following tasks:
nConfigure the physical parameters for related interfaces.
nConfigure the link-layer attributes for related interfaces.
nConfigure the IP addresses for related interfaces.
6000 and 6100 Switch Series: The number of IPv4 and IPv6 static routes that can be configured is limited to 512
combined.
6200 Switch Series: The number of IPv4 and IPv6 static routes that can be configured is limited to 1024
combined. 16K routes are not supported.
6000, 6100 and 6200 Series Switches do not support IPv6 addresses with prefixes greater than 64. Prefixes
between 65 and 127 will be software-forwarded.
Basic static route configuration example
The IP addresses and masks of the switches and hosts are displayed here. Static routes are required for
interconnection between any two hosts.
Procedure
1. Configure IP addresses for interfaces (details not shown).
2. Configure static routes.
a. Configure a default route on Switch A.
6300# config
6300(config)#
<SwitchA> config
[SwitchA] ip route 0.0.0.0/0 1.1.4.2
b. Configure two static routes on Switch B.
<SwitchB> config
[SwitchB] ip route 1.1.2.0/24 1.1.4.1
[SwitchB] ip route 1.1.3.0/24 1.1.5.6
c. Configure a default route on Switch C.
6300# config
6300(config)#
[SwitchC] ip route 0.0.0.0/0 1.1.5.5
3. Configure the hosts. The default gateways for hosts A, B, and C are 1.1.2.3,1.1.6.1, and
1.1.3.1. The configuration procedure is not shown.
4. Display the configuration.
a. Display the IP routing table of Switch A.
b. Display the IP routing table of Switch B.
c. Use the ping command on Host B to check the reachability of Host A, assuming Windows XP
runs on the two hosts.
C:\Documents and Settings\Administrator>ping 1.1.2.2
Pinging 1.1.2.2 with 32 bytes of data:
Reply from 1.1.2.2: bytes=32 time=1ms TTL=255
Reply from 1.1.2.2: bytes=32 time=1ms TTL=255
Reply from 1.1.2.2: bytes=32 time=1ms TTL=255
Reply from 1.1.2.2: bytes=32 time=1ms TTL=255
15
Ping statistics for 1.1.2.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 1ms, Maximum = 1ms, Average = 1ms
d. Use the traceroute command on Host B to check the reachability of Host A.
8320# traceroute
traceroute Trace the IPv4 route to a device on the network
traceroute6 Trace the IPv6 route to a device on the network
8320# traceroute
A.B.C.D Enter IPv4 address of the device to traceroute
WORD Enter host name oo fthe device to traceroute
8320# traceroute
Static routing commands
ip route
ip route <DEST-IPV4-ADDR>/<NETMASK> {<NEXTHOP-ADDR> |<NEXTHOP-PORT-LAG-VLAN> | reject |
nullroute}
no ip route <DEST-IPV4-ADDR>/<NETMASK> {<NEXTHOP-ADDR> |<NEXTHOP-PORT-LAG-VLAN> | reject
|
nullroute}
Description
Adds an IPv4 static route on the default VRF.
The no form of this command deletes a IPv4 static route.
You can configure a maximum of 32 next hops per route.
Parameter Description
<DEST-IPV4-ADDR>/<NETMASK> Specifies the IPv4 route destination.
<NEXTHOP-ADDR> Specifies the next hop address for reaching the destination in IPv4
format (x.x.x.x), where xis a decimal number from 0 to 255.
<NEXTHOP-PORT-LAG-VLAN> Specifies the next hop as an outgoing interface.
nullroute Specifies that packets matching the destination route are silently
discarded and no ICMP error notification is sent to the sender.
AOS-CX 10.12 IP Routing Guide | (4100i, 6000, 6100, 6200 Switch Series) 20
  • 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

Aruba 4100i User guide

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