Configuration Exercise: Managing Prefixes on the IPv6 Network Using Cisco Routers

Complete the following exercises to advertise IPv6 prefixes on a network to practice the skills you learned in this chapter.

Objectives

In the following exercises, you will complete these tasks:

  1. Enable prefix advertisement with a site-local prefix.

  2. Verify prefix advertisement parameters.

  3. Change the default prefix advertisement parameters.

  4. Display NDP debug messages.

  5. Renumber a site-local prefix with a global unicast prefix.

  6. Deprecate a prefix.

Network Architecture for Task 1

Figure 3-15 shows the network topology used for Task 1. The router must be configured to advertise site-local prefixes on network interfaces FastEthernet 0/0 and FastEthernet 0/1.

Figure 3-15. Network Topology for Advertising Site-Local Prefixes on FastEthernet 0/0 and FastEthernet 0/1 Interfaces


Command List

In this configuration exercise you will use the commands shown in Table 3-17. Refer to this list during the exercise.

Table 3-17. Configuration Exercise Command List
CommandDescription
clock set hh:mm:ss day month yearSets the date.
copy running-config startup-configSaves the current configuration to NVRAM.
copy tftp flashInstalls a new IOS on a router using a TFTP server.
debug ipv6 ndEnables debug mode for neighbor discovery messages.
interface interface-type interface-numberSpecifies an interface type and interface number.
ipv6 address ipv6-address/prefix-lengthConfigures an IPv6 static address with a prefix length.
ipv6 nd prefix ipv6-prefix/prefix-length [at valid-date preferred-date]Automatically decreases the valid and preferred dates of a specified prefix.
ipv6 nd prefix ipv6-prefix/prefix-length [valid-lifetime preferred-lifetime]Changes the valid and preferred lifetimes of a specified prefix.
ipv6 nd suppress-raSuppresses router advertisement on a specific interface.
ipv6 nd ra-interval numberDefines the router advertisement interval.
show ipv6Displays general information about IPv6 support on a router.
show ipv6 interface interface-type interface-number prefixDisplays parameters of the prefix advertised to an interface.
undebug ipv6 ndDisables debug mode for neighbor discovery messages.

Task 1: Enable Router Advertisement with Site-Local Prefixes

Complete the following steps:

Step 1.
Enter the command to enable prefix advertisement on interface FastEthernet 0/0 of Router A using the prefix FEC0:0:0:1001::/64. To perform this task, you need to configure the IPv6 address FEC0:0:1001::1 with the prefix length /64 on FastEthernet 0/0. What command will you use?

RouterA#conf t
RouterA(config)#int fastEthernet 0/0
RouterA(config-if)#ipv6 address fec0:0:0:1001::1/64
RouterA(config-if)#exit
								

Step 2.
Enter the command to enable prefix advertisement on interface FastEthernet 0/1 of Router A using the prefix FEC0:0:0:1002::/64. To perform this task, you need to configure the IPv6 address FEC0:0:1002::1 with the prefix length /64 on the FastEthernet 0/1. What command will you use?

RouterA#conf t
RouterA(config)#int fastEthernet 0/1
RouterA(config-if)#ipv6 address fec0:0:0:1002::1/64
RouterA(config-if)#exit
								

Step 3.
Display the prefix advertisement parameters for both interfaces. What command is used to get parameters of the prefix advertised by the router?

RouterA#show ipv6 interface fastEthernet 0/0 prefix
IPv6 Prefix Advertisements FastEthernet0/0
Codes: A - Address, P - Prefix-Advertisement, O - Pool
       X - Proxy RA, U - Per-user prefix, D - Default
       N - Not advertised, C - Calendar

AD  FEC0:0:0:1001::/64 [LA] valid lifetime 2592000 preferred lifetime 604800
RouterA#show ipv6 interface fastEthernet 0/1 prefix
IPv6 Prefix Advertisements FastEthernet0/1
Codes: A - Address, P - Prefix-Advertisement, O - Pool
       X - Proxy RA, U - Per-user prefix, D - Default
       N - Not advertised, C - Calendar

AD  FEC0:0:0:1002::/64 [LA] valid lifetime 2592000 preferred lifetime 604800
								

Step 4.
Change the valid and preferred lifetimes to a value of three days. What command will you use to change these parameters on each interface?

RouterA(config)#int fast
RouterA(config)#int fastEthernet 0/0
									RouterA(config-if)#ipv6 nd prefix fec0:0:0:1001::/64 259200 259200
RouterA(config-if)#int fast
RouterA(config-if)#int fastethernet 0/1
									RouterA(config-if)#ipv6 nd prefix fec0:0:0:1002::/64 259200 259200
RouterA(config-if)#exit
								

Step 5.
Display the new prefix advertisement parameters on each interface.

RouterA#show ipv6 interface fastethernet 0/0 prefix
IPv6 Prefix Advertisements FastEthernet0/0
Codes: A - Address, P - Prefix-Advertisement, O - Pool
       X - Proxy RA, U - Per-user prefix, D - Default
       N - Not advertised, C - Calendar

AP  FEC0:0:0:1001::/64 [LA] valid lifetime 259200 preferred lifetime 259200
RouterA#show ipv6 interface fastethernet 0/1 prefix
IPv6 Prefix Advertisements FastEthernet0/1
Codes: A - Address, P - Prefix-Advertisement, O - Pool
       X - Proxy RA, U - Per-user prefix, D - Default
       N - Not advertised, C - Calendar

AP  FEC0:0:0:1002::/64 [LA] valid lifetime 259200 preferred lifetime 259200
								

Step 6.
Enable debugging mode for NDP to display router advertisement messages on interface FastEthernet 0/1.

									RouterA#debug ipv6 nd
ICMP Neighbor Discovery events debugging is on
RouterA#
02:29:33: ICMPv6-ND: Sending RA to FF02::1 on FastEthernet0/0
02:29:33: ICMPv6-ND:     prefix = FEC0:0:0:1001::/64 onlink autoconfig
02:29:33: ICMPv6-ND:         259200/259200 (valid/preferred)
02:32:53: ICMPv6-ND: Sending RA to FF02::1 on FastEthernet0/0
02:32:53: ICMPv6-ND:     prefix = FEC0:0:0:1001::/64 onlink autoconfig
02:32:53: ICMPv6-ND:         259200/259200 (valid/preferred)
RouterA#undebug ipv6 nd
ICMP Neighbor Discovery events debugging is off
RouterA#

Step 7.
Change the default router advertisement interval to 5 seconds. The default router advertisement interval is 200 seconds. What is the command to change the router advertisement interval?

RouterA#conf t
RouterA(config)#int fastEthernet 0/0
									RouterA(config-if)#ipv6 nd ra-interval 5
RouterA(config-if)#exit
RouterA(config)#exit
RouterA#debug ipv6 nd
ICMP Neighbor Discovery events debugging is on
RouterA#
02:37:21: ICMPv6-ND: Sending RA to FF02::1 on FastEthernet0/0
02:37:21: ICMPv6-ND:     prefix = FEC0:0:0:1001::/64 onlink autoconfig
02:37:21: ICMPv6-ND:         259200/259200 (valid/preferred)
02:37:25: ICMPv6-ND: Sending RA to FF02::1 on FastEthernet0/0
02:37:25: ICMPv6-ND:     prefix = FEC0:0:0:1001::/64 onlink autoconfig
02:37:25: ICMPv6-ND:         259200/259200 (valid/preferred)
02:37:30: ICMPv6-ND: Sending RA to FF02::1 on FastEthernet0/0
02:37:30: ICMPv6-ND:     prefix = FEC0:0:0:1001::/64 onlink autoconfig
02:37:30: ICMPv6-ND:         259200/259200 (valid/preferred)undebug ip
02:37:34: ICMPv6-ND: Sending RA to FF02::1 on FastEthernet0/0
02:37:34: ICMPv6-ND:     prefix = FEC0:0:0:1001::/64 onlink autoconfig
02:37:34: ICMPv6-ND:         259200/259200 (valid/preferred)v6 nd
ICMP Neighbor Discovery events debugging is off

Step 8.
Save the current configuration to NVRAM.

RouterA#copy run start
Destination filename [startup-config]?
Building configuration...

Network Architecture for Task 2

Figure 3-16 presents the network topology used for Task 2. This site received an aggregatable global unicast prefix from its provider. The site should use this prefix instead of the site-local prefix. Therefore, Router A must be configured to deprecate the prefix FEC0:0:0:1001::1/64 within 30 minutes and advertise the new prefix 2001:420:0:1::/64 on interface FastEthernet 0/0. However, on interface FastEthernet 0/1, the prefix FEC0:0:0:1002::1/64 must be completely suppressed.

Figure 3-16. Advertising, Depreciating, and Suppressing Prefixes on a Router


Task 2: Renumber Site-Local Prefixes with Aggregatable Global Unicast Prefixes

Complete the following steps:

Step 1.
Enter the command to deprecate the prefix FEC0:0:0:1001::/64 on interface FastEthernet 0/0. Begin by setting valid and preferred lifetimes to the value of 30 minutes. What command will you use?

RouterA#conf t
RouterA(config)#int fastEthernet 0/0
									RouterA(config-if)#ipv6 nd prefix fec0:0:0:1001::/64 1800 1800
RouterA(config-if)#exit
RouterA(config)#exit
								

Step 2.
Display the prefix advertisement parameters of the FastEthernet 0/0 interface to be sure that the valid and preferred lifetimes are set to 30 minutes. What command is used to get parameters of the prefix advertised on that interface?

RouterA#show ipv6 interface fastethernet 0/0 prefix
IPv6 Prefix Advertisements FastEthernet0/0
Codes: A - Address, P - Prefix-Advertisement, O - Pool
       X - Proxy RA, U - Per-user prefix, D - Default
       N - Not advertised, C - Calendar
AP  FEC0:0:0:1001::/64 [LA] valid lifetime 1800 preferred lifetime 1800
								

Step 3.
Enter the command to advertise the new prefix 2001:420:0:1::/64 on interface FastEthernet 0/0 with valid and preferred lifetimes of three days. What commands will you use to accomplish this?

RouterA#conf t
RouterA(config)#int fastEthernet 0/0
									RouterA(config-if)#ipv6 address 2001:0:420:1::/64
									RouterA(config-if)#ipv6 nd prefix 2001:0:420:1::/64 259200 259200
RouterA(config-if)#exit
RouterA(config)#exit
								

Step 4.
Display the prefix advertisement parameters of the FastEthernet 0/0 interface.

RouterA#show ipv6 interface fastethernet 0/0 prefix
IPv6 Prefix Advertisements FastEthernet0/0
Codes: A - Address, P - Prefix-Advertisement, O - Pool
       X - Proxy RA, U - Per-user prefix, D - Default
       N - Not advertised, C - Calendar
AP  2001:0:420:1::/64 [LA] valid lifetime 259200 preferred lifetime 259200
AP  FEC0:0:0:1001::/64 [LA] valid lifetime 1800 preferred lifetime 1800

Step 5.
Enter the command to suppress the advertisement of the prefix FEC0:0:0:1002::/64 on interface FastEthernet 0/1. What command will you use?

RouterA#conf t
RouterA(config)#int fastEthernet 0/1
RouterA(config-if)#ipv6 nd suppress-ra
RouterA(config-if)#exit
RouterA(config)#exit
								

Step 6.
Enable debugging mode for NDP to display router advertisement messages of both IPv6 prefixes.

RouterA#debug ipv6 nd
ICMP Neighbor Discovery events debugging is on
01:30:36: ICMPv6-ND: Sending RA to FF02::1 on FastEthernet0/0
01:30:36: ICMPv6-ND:     prefix = 2001:0:420:1::/64 onlink autoconfig
01:30:36: ICMPv6-ND:         259200/259200 (valid/preferred)
01:30:36: ICMPv6-ND:     prefix = FEC0:0:0:1001::/64 onlink autoconfig
01:30:36: ICMPv6-ND:         1800/1800 (valid/preferred)
01:30:41: ICMPv6-ND: Sending RA to FF02::1 on FastEthernet0/0
01:30:41: ICMPv6-ND:     prefix = 2001:0:420:1::/64 onlink autoconfig
01:30:41: ICMPv6-ND:         259200/259200 (valid/preferred)
01:30:41: ICMPv6-ND:     prefix = FEC0:0:0:1001::/64 onlink autoconfig

Step 7.
Set the date in your router and deprecate the advertisement of the site-local prefix FEC0:0:0:1001::/64 on the interface FastEthernet 0/0 at a specific date. Deprecate the site-local prefix 5 hours after the current date, and use the same valid date and preferred date. What command will you use?

RouterA#clock set 12:00:00 15 March 2003
RouterA(config)#interface FastEthernet 0/0
									RouterA(config-if)#ipv6 nd prefix fec0:0:0:1001::/64 at Mar 15 2003 17:00
									Mar 15 17:00
RouterA(config-if)#exit
								

Step 8.
Save the current configuration to NVRAM.

RouterA#copy run start
Destination filename [startup-config]?
Building configuration...

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.0.213