User Manual UMN:CLI
V5808
85
Packets are transmitted to destination through static route. Static route includes
destination address, neighbor router to receive packet, number of routes that packets
have to go through. To configure a static route, use the following command.
ipv6 route X:X::X:X/M {GATEWAY
| INTERFACE} [<1-255>]
Configures a static route.
X:X::X:X/M: destination IPv6 prefix
GATEWAY: IPv6 gateway address
INTERFACE: IPv6 gateway interface name or pseudo
interface null
1-255: distance value for this prefix
ipv6 route X:X::X:X/M
INTERFACE [<1-255>]
To delete a configured static route, use the following command.
no ipv6 route X:X::X:X/M
[{GATEWAY | INTERFACE}]
Deletes a configured static route.
no ipv6 route X:X::X:X/M
GATEWAY INTERFACE
The following is an example of configuring a static route to reach three destinations,
which are not directly connected.
SWITCH(config)# ipv6 route 4000::/16 br101
SWITCH(config)# ipv6 route 3000:3::/64 br103
SWITCH(config)# ipv6 route 3000:2::/64 br102
To display a configured static route, use the following command.
show ipv6 route [bgp |
connected | kernel | ospf | rip |
static | X:X::X:X | X:X::X:X/M |
summary]
Shows configured routing information.
show ipv6 route database [bgp |
connected | kernel | ospf | rip |
static]
Shows configured routing information with IP routing
table database.
To remove all kernel IPv6 route caches, use the following command.
Removes all kernel IPv6 route caches