
23-11
RIP
120
IBGP
200
EBGP
20
At the case of no chaging the distance value of all kinds of routes, the priority of directly connected routes is the
highest, the static routes, EBGP, OSPF, RIP and IBGP are followed.
Example:
1. Add a static route.
Switch(config)#ip route 1.1.1.0 255.255.255.0 2.1.1.1
2. Add the default route.
Switch(config)#ip route 0.0.0.0 0.0.0.0 2.2.2.1
23.2.11 ipv6 address
Command:
ipv6 address
<ipv6-address|prefix-length>
[eui-64]
no ipv6 address
<ipv6-address|prefix-length>
[eui-64]
Function:
Configure aggregately global unicast address, site-local address and link-local address for the interface.
Parameter:
Parameter
<
ipv6-address>
is the prefix of IPv6 address, parameter
<
prefix-length>
is the prefix length of IPv6
address, which is between 3-128,
eui-64
means IPv6 address is generated automatically based on eui64 interface
identifier of the interface.
Command Mode:
Interface Configuration Mode.
Default:
None.
Usage Guide:
IPv6 address prefix can not be multicast address or any other specific IPv6 address, and different layer 3 interfaces
can not configure the same address prefix. For global unicast address, the length of the prefix must be greater than
or equal to 3. For site-local address and link-local address, the length of the prefix must be greater than or equal to
10.