11. IP Route Commands

get ip-route, get static-ip-route, set static-ip-route, get ipv6-route, get static-ipv6-route, and set static-ipv6-route commands
This chapter describes commands that can be used to view and set IP route information.

11.1 get ip-route

Summary of get IP route commands:

Command Description
destination Display the Destination IP address prefix
detail * Get all properties *
gateway Display the IP address of router
mask Display the Netmask

11.1.1 get ip-route destination

Function: Display the destination IP address prefix.
Command: get ip-route destination
Example:

ARC2000MAP# get ip-route destination
0.0.0.0

11.1.2 get ip-route detail

Function: Display all properties.
Command: get ip-route detail
Example:

ARC2000MAP# get ip-route detail
Property     Value
--------------------------
destination  0.0.0.0
mask         0.0.0.0
gateway      192.168.1.254

11.1.3 get ip-route gateway

Function: Display the IP address of the router.
Command: get ip-route gateway
Example:

ARC2000MAP# get ip-route gateway
192.168.1.254

11.1.4 get ip-route mask

Function: Display the netmask.
Command: get ip-route mask
Example:

ARC2000MAP# get ip-route mask
0.0.0.0

 


11.2 get static-ip-route

Summary of get static-ip-route commands:

Command Description
Destination Display the destination IP address prefix.
Detail Display all properties.
Gateway Display the IP address of the router.
Mask Display the netmask.

11.2.1 get static-ip-route destination

Function: Display the destination IP address prefix.
Command: get static-ip-route destination
Example:

ARC2000MAP# get static-ip-route destination
100.1.1.0

11.2.2 get static-ip-route detail

Function: Display all properties.
Command: get static-ip-route detail
Example:

ARC2000MAP# get static-ip-route detail
Property     Value
-----------------------
destination  100.1.1.0
mask         0.0.0.0
gateway      10.1.1.2

11.2.3 get static-ip-route gateway

Function: Display the IP address of the router.
Command: get static-ip-route gateway
Example:

ARC2000MAP# get static-ip-route gateway
10.1.1.2

11.2.4 get static-ip-route mask

Function: Display the netmask.
Command: get static-ip-route mask
Example:

ARC2000MAP# get static-ip-route mask
0.0.0.0

 


11.3 set static-ip-route

Summary of set static-ip-route commands:

Command Description
Destination Set the destination IP address prefix. The valid value is an IP address.
Gateway Set the IP address of router. The valid value is an IP address.

11.3.1 set static-ip-route destination

Function: Set the destination IP address prefix. The valid value is an IP address.
Command: set static-ip-route destination
Example:

ARC2000MAP# set static-ip-route destination 10.1.1.0

11.3.2 set static-ip-route gateway

Function: Set the IP address of router. The valid value is an IP address.
Command: set static-ip-route gateway
Example:

ARC2000MAP# set static-ip-route gateway 192.168.1.20

 


11.4. get ipv6-route

Summary of get ipv6-route commands:

Command Description
Destination Display the destination IPv6 address prefix.
Detail Display all properties.
Gateway Display the IPv6 address of router.
prefix-length Display the destination IPv6 Prefix Length.

11.4.1. get ipv6-route destination

Function: Display the destination IPv6 address prefix.
Command: get ipv6-route destination
Example:

ARC2000MAP# get ipv6-route destination
2013::10

11.4.2. get ipv6-route detail

Function: Display all properties.
Command: get ipv6-route detail
Example:

ARC2000MAP# get ipv6-route detail
Property       Value
-----------------------
destination    2013::10
prefix-length  64
gateway        2010::10

11.4.3. get ipv6-route gateway

Function: Display the IPv6 address of router.
Command: get ipv6-route gateway
Example:

ARC2000MAP# get ipv6-route gateway
2010::10

11.4.4. get ipv6-route prefix-length

Function: Display the destination IPv6 Prefix Length.
Command: get ipv6-route prefix-length
Example:

ARC2000MAP# get ipv6-route prefix-length
64

 


11.5. get static-ipv6-route

Summary of get static-ipv6-route commands:

Command Description
Destination Display the destination IPv6 address prefix.
Detail Display all properties.
Gateway Display the IPv6 address of router.
prefix-length Display the destination IPv6 Prefix Length.

11.5.1. get static-ipv6-route destination

Function: Display the destination IPv6 address prefix.
Command: get static-ipv6-route destination
Example:

ARC2000MAP# get static-ipv6-route destination
2013::10

11.5.2. get static-ipv6-route detail

Function: Display all properties.
Command: get static-ipv6-route detail
Example:

ARC2000MAP# get static-ipv6-route detail
Property       Value
-----------------------
destination    2013::10
prefix-length  64
gateway        2010::10

11.5.3. get static-ipv6-route gateway

Function: Display the IPv6 address of router.
Command: get static-ipv6-route gateway
Example:

ARC2000MAP# get static-ipv6-route gateway
2010::10

11.5.4. get static-ipv6-route prefix-length

Function: Display the destination IPv6 Prefix Length.
Command: get static-ipv6-route prefix-length
Example:

ARC2000MAP# get static-ipv6-route prefix-length
64

 


11.6. set static-ipv6-route

Summary of set static-ipv6-route commands:

Command Description
destination Set the destination IPv6 address prefix. Valid value is IPv6 address.
gateway Set the IPv6 address of router. Valid value is IPv6 address.
prefix-length Set the destination IPv6 Prefix Length. Valid value is IPv6 address prefix length,[0,128].

11.6.1. set static-ipv6-route destination

Function: Set the destination IPv6 address prefix. The valid value is an IPv6 address.
Command: set static-ipv6-route destination
Example:

ARC2000MAP# set static-ipv6-route destination 2013::10

11.6.2. set static-ipv6-route gateway

Function: Set the IPv6 address of the router. The valid value is an IPv6 address.
Command: set static-ipv6-route gateway
Example:

ARC2000MAP# set static-ipv6-route gateway 2010::10

11.6.3. set static-ipv6-route prefix-length

Function: Set the destination IPv6 Prefix Length. The valid value is an IPv6 address prefix length,[0,128].
Command: set static-ipv6-route prefix-length
Example:

ARC2000MAP# set static-ipv6-route prefix-length 64

 


Return to AP Wireless CLI Table of Contents