UMN:CLI
User Manual
V8102
102
To disable an assigned IPv6 link-local address, use the following command.
Command
Mode
Description
no ipv6 address
link-local
Interface
[MGMT/VLAN/
LO]
Clears a link-local address assigned to an interface.
5.6.3.3
Static Route and Default Gateway
The static route is a predefined route to a specific network and/or device such as a host.
Packets are transmitted to destination through static route. Static route includes destina-
tion address, neighbor router to receive packet, number of routes that packets have to go
through. To configure a static route, use the following command.
Command
Mode
Description
ipv6 route X:X::X:X/M
{
GATEWAY
|
INTERFACE
}
[<1-255>]
Global
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
0-1023: tunnel interface number
ipv6 route X:X::X:X/M INTER-
FACE
[<1-255>]
ipv6 route X:X::X:X/M tunnel
<0-
1023>
To delete a configured static route, use the following command.
Command
Mode
Description
no
ipv6
route
X:X::X:X/M
[{
GATEWAY
|
INTERFACE
}]
Global
Deletes a configured static route.
no ipv6 route X:X::X:X/M GATE-
WAY 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.
Command
Mode
Description
show ipv6 route
[
bgp
|
connect-
ed
|
fib
kernel
|
ospf | pbr
|
rip
|
static
|
X:X::X:X
|
X:X::X:X/M
|
summary
]
Enable
Global
Shows configured routing information.
show ipv6 route database
[
bgp
|
connected
|
kernel
|
ospf
|
rip
|
Shows configured routing information with IP routing
table database.