Tp-Link T1600G-28PS (TL-SG2424P) [421/754] Using the cli

Tp-Link T1600G-28PS (TL-SG2424P) [421/754] Using the cli
Configuration Guide 399
Configuring Static Routing IPv6 Static Routing Configuration
3.2 Using the CLI
Follow these steps to enable IPv6 routing function and create an IPv6 static route.
Step 1 configure
Enter global configuration mode.
Step 2 interface {
interface-type
} {
interface-number
}
Enter layer 3 interface configuration mode.
interface-type
: Type of the Layer 3 interface, including fastEthernet, gigabitEthernet,
loopback and VLAN.
interface-number:
Number of the interface.
Step 3 ipv6 routing
Enable the IPv6 routing function on the specified layer 3 interface.
Step 4 ipv6 route {
ipv6-dest-address
} {
next-hop-address
} [
distance
]
Add an IPv6 static route.
ipv6-dest-address:
Specify the destination IPv6 address of the packets, in the format of
X:X:X:X::X/<0-128>.
next-hop-address:
Specify the IPv6 gateway address to which the packet should be sent next.
distance:
Specify the administrative distance, which is a rating of the trustworthiness of the
routing information. A higher value means a lower trust rating. When more than one routing
protocols have routes to the same destination, only the route that has the shortest distance
will be recorded in the IP routing table. The valid values are from 1 to 255 and the default
value is 1.
Step 5 show ipv6 route [ static | connected ]
Verify the IPv6 route entries of the specified type.
Step 6 end
Return to privileged EXEC mode.
Step 7 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to create an IPv6 static route with the destination IP address
as 3200::/64 and the next-hop address as 3100::1234:
Switch#configure
Switch(config)#ipv6 route 3200::/64 3100::1234
Switch(config)#show ipv6 route static
Codes: C - connected, S - static
* - candidate default

Содержание

Похожие устройства

Скачать