Related
Commands
show ip interface
— displays the interface routing status and configuration.
ip route
Assign a static route to the switch.
Z9500
Syntax
ip route {
destination mask
{
ip-address
| interface [
slot/port
]
| [tunnel
tunnel-id
] [
distance
] | [permanent] | tag
tag-value
}}
To delete a specific static route, use the
no ip route
destination mask
command.
To delete all routes matching a certain route, use the
no ip route
destination mask
command.
Parameters
destination
Enter the IP address in dotted decimal format of the
destination device.
mask
Enter the mask in the slash prefix format (/x) of the
destination IP address.
ip-address
Enter the IP address of the forwarding router in dotted
decimal format.
interface
slot/
port
Enter the keyword
interface
then the slot/port number.
tunnel
tunnel-
id
Enter the keyword
tunnel
then the tunnel ID.
distance
(OPTIONAL) Enter the value of the distance metric assigned
to the route. The range is from 1 to 255.
permanent
(OPTIONAL) Enter the keyword
permanent
to specify that
the route must not be removed even if the interface assigned
to that route goes down. The route must be currently active
to be installed in the routing table. If you disable the
interface, the route is removed from the routing table.
tag
tag-value
(OPTIONAL) Enter the keyword
tag
then a number to assign
to the route. The range is from 1 to 4294967295.
bfd
Enter the keyword
bfd
to use bidirectional forwarding
detection.
Defaults
Not configured.
954
IPv4 Routing