Lab Objective:
The objective of this lab is to cover all relevant CCNP ROUTE and SWITCH theory. These labs will include topics from each of these guides. It should be noted that not all topics will be included in all labs. Additionally, not all solutions will be illustrated in detail. You can refer to previous labs for assistance with some basic configurations.
Lab Topology:
The lab network topology is illustrated below:
|
IMPORTANT NOTE If you are using the www.howtonetwork.net racks, please implement the following pre-lab configurations. This is required because of the manner in which the routers and switches are physically cabled to each other. The following configuration should be applied to switch ALS1:
If you are using the www.howtonetwork.net racks, please bring up the LAN interface connected to R2 by the following configuration:
Alternatively, you can simply connect the interface to a hub or one of the switches and bring up the interface in the standard manner. |
Task 1
Configure hostnames, IP addressing on all routers as illustrated in the network topology.
Task 2
Configure an EtherChannel between DLS1 and DLS2. This should be a Layer 2 access link that uses LACP. Configure interface VLAN 100 on switch DLS2. This interface should receive its IP address information via DHCP. Verify your configuration using the appropriate commands.
Task 3
Configure Cisco IOS DHCP Snooping for all VLANs on switch DLS1. For additional security, configure switch DLS1 to prevent IP spoofing attacks by filtering the traffic based on the DHCP Snooping Binding Database. Finally, ensure that Option 82 is not used. Verify the Cisco IOS DHCP Snooping configuration using the appropriate commands.
Task 4
Configure Cisco IOS DHCP server on R1. Configure the following DHCP parameters:
- A default gateway of 192.168.1.1 should be configured for this subnet
- Addresses 192.168.1.1 to 10 should never be assigned by R1
- R1 should ping a pool address 10 times before assigning it to a requesting client
- The lease should last for 4 hours
- Switch DLS2 should reside in the howtonetwork.net domain
- Switch DLS2 should use DNS server 150.1.1.1
Verify your configuration using the appropriate commands.
Task 5
Configure EIGRP illustrated in the topology. You must adhere to the following guidelines:
- R2 should NEVER be used as a transit router, even in the event that the R1-R3 link fails
- R4 should only RECEIVE routes but should be reachable from all other routers
- Switches DLS1 and DLS2 should be reachable from all other devices in the network
- No EIGRP Hello’s should be sent out the LAN interfaces of any router
- Do NOT advertise the 150.1.1.0/24 subnet via EIGRP; this subnet should not be reachable
- Do NOT advertise the 10.4.4.0/24 subnet via EIGRP; however, ensure that it is reachable
- The 10.3.3.0/24 subnet should be advertised as an EXTERNAL EIGRP route
Task 5
Redistribute between the different EIGRP instances on R1, R2, and R3. Do NOT redistribute the 150.1.1.0/24 subnet into EIGRP; however, ensure that all routers are able to reach this subnet. You are NOT allowed to configure static routes or redistribute or advertise this subnet via EIGRP when completing this task. Verify your solution by pinging DLS2 from any other router.
Task 6
In the future, an IP videos solution will be implemented. This video solution will use Multicast. Configure IP Multicast so that R2 is the RP. The RP address should be 2.2.2.2/32. To test Multicast operation, configure R1s LAN interface to join group 227.1.1.1. Enable IP Multicast support on R1, R2, R3, DLS1 and DLS2. Do NOT enable IP Multicast on R4. Ensure that all other devices can ping this Multicast group.
Task 7
In order to ensure that video traffic is protected in the event of network congestion, configure QoS on R1’s WAN interfaces so that this type of traffic is allocated 40% of interface bandwidth. You are NOT allowed to use ACLs in your solution. Verify your configuration using the appropriate commands.
Task 8
In the future, a new application will be integrated into the network. This new application will use TCP ports 2023, 3023, 4023 and 5023. Modify the existing QoS policy on R1 so that this traffic is allocated 10% of interface bandwidth. You are NOT allowed to use Access Lists to complete this task. Verify your configuration using the appropriate commands.
Task 9
Management would like to integrate IPv6 into the network. Configure the following IPv6 subnets on the LAN interfaces of R2 and R3:
- R2 LAN IPv6 Subnet: 3FFE:2222:2222:2222::/64
- R3 LAN IPv6 Subnet: 3FFE:3333:3333:3333::/64
Next, enable OSPFv3 between R2 and R3 and ensure that these two subnets are reachable from all the two routers. You are NOT allowed to enable IPv6 or OSPFv3 routing on the WAN interfaces of R2 and R3. Ensure that the R2 LAN subnet is assigned to area 2, while the R3 LAN subnet is assigned to area 3. Verify your solution using the extended ping function.
Task 10
For security, configure area authentication for OSPFv3s backbone. Use the following parameters when you are configuring the authentication parameters:
- Use a Security Parameters Index (SPI) of 678
- Use Message Digest 5 (MD5) authentication
- Use a key of 1234567890abcdef1234567890abcdef
Task 11
For security, Management has requested that all ports on switch ALS1 that are not trunk links or connected to routers be configured to adhere to the following restrictions:
- The ports should NOT be able to communicate directly with each other at Layer 2
- All ports should be dynamically allocated to VLANs by server 150.1.1.254
You are NOT allowed to use Private VLANs to complete this task.
Task 12
For security, Management has requested that all ports on switch ALS2 that are not trunk links be configured so that Broadcast traffic should never exceed 5%, Multicast traffic should never exceed 20% and Unicast traffic should never exceed 80%. In the event that these thresholds are exceeded, the switch should send out an SNMP trap to server 150.1.1.254. This server is expecting the switch to use an SNMP community string of CCNP2011. Verify the configuration using the appropriate commands.
Lab Validation
Task 1
Please refer to previous labs for basic IPv4, IPv6 addressing and hostname configuration. This will not be included in this section to avoid being redundant.
Task 2
Please refer to previous labs for basic EtherChannel configuration. This will not be included in this section to avoid being redundant. Following your configuration, verify EtherChannel operational status using the show etherchannel commands:
| DLS1#show etherchannel summary Flags: D – down P – bundled in port-channel I – stand-alone s – suspended H – Hot-standby (LACP only) R – Layer3 S – Layer2 U – in use f – failed to allocate aggregator M – not in use, minimum links not met
Number of channel-groups in use: 1 Group Port-channel Protocol Ports |
| DLS2#show etherchannel summary Flags: D – down P – bundled in port-channel I – stand-alone s – suspended H – Hot-standby (LACP only) R – Layer3 S – Layer2 U – in use f – failed to allocate aggregator M – not in use, minimum links not met
Number of channel-groups in use: 1 Group Port-channel Protocol Ports |
You can verify Layer 2 configuration parameters using the show interfaces <name> switchport command on either one or both of the switches:
| DLS2#show interfaces port-channel 10 switchport Name: Po10 Switchport: Enabled Administrative Mode: static access Operational Mode: static access Administrative Trunking Encapsulation: negotiate Operational Trunking Encapsulation: native Negotiation of Trunking: Off Access Mode VLAN: 100 (R1-VLAN) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk Native VLAN tagging: enabled Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk associations: none Administrative private-vlan trunk mappings: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Protected: false |
On switch DLS2, use the show interfaces command to verify DHCP client configuration:
| DLS2#show interfaces vlan 100 Vlan100 is up, line protocol is up Hardware is EtherSVI, address is 000b.fd67.6500 (bia 000b.fd67.6500) Internet address will be negotiated using DHCP MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation ARPA, loopback not set Keepalive not supported ARP type: ARPA, ARP Timeout 04:00:00 Last input never, output 00:00:00, output hang never Last clearing of “show interface” counters never Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0 Queueing strategy: fifo Output queue: 0/40 (size/max) 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 0 bits/sec, 0 packets/sec 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts (0 IP multicasts) 0 runts, 0 giants, 0 throttles 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored 1 packets output, 618 bytes, 0 underruns 0 output errors, 0 interface resets 0 output buffer failures, 0 output buffers swapped out |
Task 3
The requirements of this task are straightforward. In addition to configuring DHCP Snooping, you also need to configure the IP Source Guard feature. This task is completed as follows:
| DLS1(config)#ip dhcp snooping DLS1(config)#ip dhcp snooping vlan 100 DLS1(config)#no ip dhcp snooping information option DLS1(config)#interface range fastethernet 0/7 – 8 DLS1(config-if-range)#ip dhcp snooping trust DLS1(config-if-range)#exit DLS1(config)#interface port-channel 10 DLS1(config-if)#ip verify source DLS1(config-if)#exit |
Following this, verify your configuration using the show ip dhcp snooping command:
| DLS1(config)#do show ip dhcp snooping Switch DHCP snooping is enabled DHCP snooping is configured on following VLANs: 100 DHCP snooping is operational on following VLANs: 100 DHCP snooping is configured on the following L3 Interfaces: Insertion of option 82 is disabled Interface Trusted Rate limit (pps) |
Task 4
The requirements of this task are straightforward. This task is completed as follows:
| R1(config)#ip dhcp excluded-address 150.1.1.1 150.1.1.10 R1(config)#ip dhcp ping packets 10 R1(config)#ip dhcp pool VLAN-100-DHCP-POOL R1(dhcp-config)#network 150.1.1.0 /24 R1(dhcp-config)#default-router 150.1.1.1 R1(dhcp-config)#lease 0 4 0 R1(dhcp-config)#domain-name howtonetwork.net R1(dhcp-config)#dns-server 150.1.1.1 R1(dhcp-config)#exit |
Following your configuration, DLS2 should receive an IP address via DHCP from R1. Verify the DHCP configuration and bindings using the show ip dhcpcommands:
| R1#show ip dhcp pool VLAN-100-DHCP-POOL
Pool VLAN-100-DHCP-POOL : |
| R1#show ip dhcp binding Bindings from all pools not associated with VRF: IP address Client-ID/ Lease expiration Type Hardware address/ User name 150.1.1.11 0063.6973.636f.2d30. Jun 19 2011 02:07 AM Automatic 3030.622e.6664.3637. 2e36.3530.302d.566c. 3130.30 |
| DLS1#show ip dhcp snooping binding vlan 100 MacAddress IpAddress Lease(sec) Type VLAN Interface —————— ————— ———- ————- —- ——————– 00:0B:FD:67:65:00 150.1.1.11 14070 dhcp-snooping 100 Port-channel10 Total number of bindings: 1 |
| DLS1#show ip source binding dhcp-snooping vlan 100 MacAddress IpAddress Lease(sec) Type VLAN Interface —————— ————— ———- ————- —- ——————– 00:0B:FD:67:65:00 150.1.1.11 14149 dhcp-snooping 100 Port-channel10 Total number of bindings: 1 |
Task 5
The requirements of this task are straightforward. In order to prevent R2 from being a transit router, even in the event of an R1-R3 link failure, you need to configure this router as a stub router. Additionally, R4 should also be configured as a stub router that will receive routes but never advertise any. This task is completed as follows:
| R1(config)#router eigrp 1 R1(config-router)#no auto-summary R1(config-router)#network 150.0.0.1 0.0.0.0 R1(config-router)#exit R1(config)#router eigrp 2 R1(config-router)#no auto-summary R1(config-router)#network 150.0.0.5 0.0.0.0 R1(config-router)#exit |
| R2(config)#router eigrp 1 R2(config-router)#no auto-summary R2(config-router)#network 150.2.2.2 0.0.0.0 R2(config-router)#network 150.0.0.2 0.0.0.0 R2(config-router)#passive-interface fastethernet 0/0 R2(config-router)#eigrp stub R2(config-router)#exit R2(config)#router eigrp 2 R2(config-router)#no auto-summary R2(config-router)#network 150.0.0.9 0.0.0.0 R2(config-router)#eigrp stub R2(config-router)#exit |
| R3(config)#router eigrp 2 R3(config-router)#no auto-summary R3(config-router)#network 150.0.0.6 0.0.0.0 R3(config-router)#network 150.0.0.10 0.0.0.0 R3(config-router)#exit R3(config)#ip route 10.4.4.0 255.255.255.0 serial 1/2 R3(config)#ip route 10.4.4.0 255.255.255.0 serial 1/3 R3(config)#router eigrp 3 R3(config-router)#no auto-summary R3(config-router)#network 150.0.0.13 0.0.0.0 R3(config-router)#network 150.0.0.17 0.0.0.0 R3(config-router)#redistribute static R3(config-router)#redistribute connected R3(config-router)#exit |
| R4(config)#router eigrp 3 R4(config-router)#no auto-summary R4(config-router)#network 150.0.0.14 0.0.0.0 R4(config-router)#network 150.0.0.18 0.0.0.0 R4(config-router)#eigrp stub receive-only R4(config-router)#exit |
Following this, verify EIGRP configuration using the show ip eigrp commands:
| R1#show ip eigrp neighbors IP-EIGRP neighbors for process 1 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 150.0.0.2 Se0/0 12 00:17:26 2 200 0 6 IP-EIGRP neighbors for process 2 |
| R2#show ip eigrp neighbors IP-EIGRP neighbors for process 1 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 0 150.0.0.1 Se0/0 10 00:17:32 2 200 0 7 IP-EIGRP neighbors for process 2 |
| R3#show ip eigrp neighbors IP-EIGRP neighbors for process 2 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 1 150.0.0.9 Se1/1 11 00:16:08 11 1710 0 3 0 150.0.0.5 Se1/0 12 00:16:14 10 1140 0 3 IP-EIGRP neighbors for process 3 |
| R4#show ip eigrp neighbors IP-EIGRP neighbors for process 3 H Address Interface Hold Uptime SRTT RTO Q Seq (sec) (ms) Cnt Num 1 150.0.0.17 Se0/1 10 00:05:46 14 200 0 20 0 150.0.0.13 Se0/0 11 00:13:17 15 200 0 21 |
Task 6
When completing this task, keep in mind that you should NOT configure redistribution on R2 as this is a sub router under both EIGRP autonomous systems:
| R1(config)#router eigrp 1 R1(config-router)#redistribute eigrp 2 R1(config-router)#exit R1(config)#router eigrp 2 R1(config-router)#redistribute eigrp 1 R1(config-router)#exit R1(config)#interface serial 0/0 R1(config-if)#ip summary-address eigrp 1 0.0.0.0 0.0.0.0 R1(config-if)#exit R1(config)#interface serial 0/1 R1(config-if)#ip summary-address eigrp 2 0.0.0.0 0.0.0.0 R1(config-if)#exit |
| R3(config)#router eigrp 2 R3(config-router)#redistribute connected R3(config-router)#redistribute static R3(config-router)#exit R3(config)#router eigrp 3 R3(config-router)#redistribute eigrp 2 R3(config-router)#exit |
Finally, configure a static default route on DLS1 to ensure that this is reachable from all the other devices. DLS2 has a default received via DHCP so this step in not necessary:
| DLS1(config)#ip route 0.0.0.0 0.0.0.0 vlan 100 150.1.1.1 |
Next, verify routing using the show ip route command on all routers:
| R1#show ip route eigrp 10.0.0.0/24 is subnetted, 2 subnets D EX 10.4.4.0 [170/21024000] via 150.0.0.6, 00:01:41, Serial0/1 D EX 10.3.3.0 [170/2172416] via 150.0.0.6, 00:01:49, Serial0/1 150.0.0.0/30 is subnetted, 5 subnets D EX 150.0.0.16 [170/21024000] via 150.0.0.6, 00:01:49, Serial0/1 D EX 150.0.0.12 [170/21024000] via 150.0.0.6, 00:01:49, Serial0/1 D 150.0.0.8 [90/21024000] via 150.0.0.6, 00:21:14, Serial0/1 150.2.0.0/24 is subnetted, 1 subnets D 150.2.2.0 [90/2172416] via 150.0.0.2, 00:22:40, Serial0/0 D* 0.0.0.0/0 is a summary, 00:01:49, Null0 |
| R2#show ip route eigrp 10.0.0.0/24 is subnetted, 2 subnets D EX 10.4.4.0 [170/21024000] via 150.0.0.10, 00:01:49, Serial0/1 D EX 10.3.3.0 [170/2172416] via 150.0.0.10, 00:01:58, Serial0/1 150.0.0.0/30 is subnetted, 5 subnets D EX 150.0.0.16 [170/21024000] via 150.0.0.10, 00:01:58, Serial0/1 D 150.0.0.4 [90/21024000] via 150.0.0.10, 00:21:22, Serial0/1 D EX 150.0.0.12 [170/21024000] via 150.0.0.10, 00:01:58, Serial0/1 D* 0.0.0.0/0 [90/2681856] via 150.0.0.1, 00:01:58, Serial0/0 |
| R3#show ip route eigrp D*EX 0.0.0.0/0 [170/21024000] via 150.0.0.5, 00:03:25, Serial1/0 |
| R4#show ip route eigrp 10.0.0.0/24 is subnetted, 2 subnets D EX 10.3.3.0 [170/2172416] via 150.0.0.17, 00:09:06, Serial0/1 [170/2172416] via 150.0.0.13, 00:09:06, Serial0/0 150.0.0.0/30 is subnetted, 4 subnets D EX 150.0.0.4 [170/21024000] via 150.0.0.17, 00:09:06, Serial0/1 [170/21024000] via 150.0.0.13, 00:09:06, Serial0/0 D EX 150.0.0.8 [170/21024000] via 150.0.0.17, 00:09:06, Serial0/1 [170/21024000] via 150.0.0.13, 00:09:06, Serial0/0 D*EX 0.0.0.0/0 [170/21536000] via 150.0.0.17, 00:01:42, Serial0/1 [170/21536000] via 150.0.0.13, 00:01:42, Serial0/0 |
Complete this task by pinging DLS2 from any other device; for example, the ping from router R4 should be successful as illustrated below:
| R4#ping 150.1.1.11 source fastethernet 0/0 size 1500 repeat 10
Type escape sequence to abort. |
Task 6
To complete this task, you need to configure a Loopback interface on R2 and advertise it via EIGRP. Next, enable PIM Sparse-Mode on all interfaces in the path. Finally, join R1s LAN interface to Multicast group 227.1.1.1 and verify your solution by pinging this group from all other devices within the network. This task is completed as follows:
| R1(config)#ip multicast-routing R1(config)#interface fastethernet 0/0 R1(config-if)#ip pim sparse-mode R1(config-if)#ip igmp join-group 227.1.1.1 R1(config-if)#exit R1(config)#interface serial 0/0 R1(config-if)#ip pim sparse-mode R1(config-if)#exit R1(config)#interface serial 0/1 R1(config-if)#ip pim sparse-mode R1(config-if)#exit R1(config)#ip pim rp-address 2.2.2.2 |
| R2(config)#ip multicast-routing R2(config)#interface loopback 0 R2(config-if)#ip address 2.2.2.2 255.255.255.255 R2(config-if)#ip pim sparse-mode R2(config-if)#exit R2(config)#router eigrp 1 R2(config-router)#network 2.2.2.2 0.0.0.0 R2(config-router)#exit R2(config)#router eigrp 2 R2(config-router)#network 2.2.2.2 0.0.0.0 R2(config-router)#exit R2(config-if)#exit R2(config)#interface serial 0/0 R2(config-if)#ip pim sparse-mode R2(config-if)#exit R2(config)#interface serial 0/1 R2(config-if)#ip pim sparse-mode R2(config-if)#exit R2(config)#ip pim rp-address 2.2.2.2 |
| R3(config)#ip multicast-routing R3(config)#interface serial 1/0 R3(config-if)#ip pim sparse-mode R3(config-if)#exit R3(config)#interface serial 1/1 R3(config-if)#ip pim sparse-mode R3(config-if)#exit R3(config)#interface serial 1/2 R3(config-if)#ip pim sparse-mode R3(config-if)#exit R3(config)#interface serial 1/3 R3(config-if)#ip pim sparse-mode R3(config-if)#exit R3(config)#interface fastethernet 0/0 R3(config-if)#ip pim sparse-mode R3(config-if)#exit R3(config)#ip pim rp-address 2.2.2.2 R3(config)#exit |
| DLS1(config)#ip multicast-routing DLS1(config)#interface vlan 100 DLS1(config-if)#ip pim sparse-mode DLS1(config-if)#exit DLS1(config)#ip pim rp-address 2.2.2.2 DLS1(config)#exit |
| DLS2(config)#ip multicast-routing DLS2(config)#interface vlan 100 DLS2(config-if)#ip pim sparse-mode DLS2(config-if)#exit DLS2(config)#ip pim rp-address 2.2.2.2 DLS2(config)#exit |
Verify your configuration using the show ip igmp and show ip pim commands:
| R1#show ip igmp interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up Internet address is 150.1.1.1/24 IGMP is enabled on interface Current IGMP host version is 2 Current IGMP router version is 2 IGMP query interval is 60 seconds IGMP querier timeout is 120 seconds IGMP max query response time is 10 seconds Last member query count is 2 Last member query response interval is 1000 ms Inbound IGMP access group is not set IGMP activity: 2 joins, 0 leaves Multicast routing is enabled on interface Multicast TTL threshold is 0 Multicast designated router (DR) is 150.1.1.11 IGMP querying router is 150.1.1.1 (this system) Multicast groups joined by this system (number of users): 224.0.1.40(1) 227.1.1.1(1) |
| DLS1#show ip pim rp Group: 227.1.1.1, RP: 2.2.2.2, uptime 00:06:27, expires never Group: 224.0.1.40, RP: 2.2.2.2, uptime 00:06:27, expires never |
| DLS2#show ip pim rp Group: 227.1.1.1, RP: 2.2.2.2, uptime 00:01:13, expires never Group: 224.0.1.40, RP: 2.2.2.2, uptime 00:01:13, expires never |
| R2#show ip pim rp Group: 227.1.1.1, RP: 2.2.2.2, next RP-reachable in 00:00:21 Group: 224.0.1.40, RP: 2.2.2.2, next RP-reachable in 00:00:21 |
| R3#show ip pim rp Group: 227.1.1.1, RP: 2.2.2.2, v2, uptime 00:00:32, expires never Group: 224.0.1.40, RP: 2.2.2.2, v2, uptime 00:05:56, expires never |
Finally, verify reachability to the Multicast group using a simple ping:
| R2#ping 227.1.1.1
Type escape sequence to abort. Reply to request 0 from 150.0.0.1, 4 ms |
| R3#ping 227.1.1.1
Type escape sequence to abort. Reply to request 0 from 150.0.0.5, 20 ms |
| DLS1#ping 227.1.1.1
Type escape sequence to abort. Reply to request 0 from 150.1.1.1, 8 ms |
| DLS2#ping 227.1.1.1
Type escape sequence to abort. Reply to request 0 from 150.1.1.1, 8 ms |
Task 7
In order to complete this task without using ACLs for classification, you need to use NBAR on the router. This task is completed as follows:
| R1(config)#ip cef R1(config)#class-map VIDEO R1(config-cmap)#match protocol rtp video R1(config-cmap)#exit R1(config)#policy-map WAN-QoS-Outbound R1(config-pmap)#class VIDEO R1(config-pmap-c)#bandwidth percent 40 R1(config-pmap-c)#exit R1(config-pmap)#exit R1(config)#interface serial 0/0 R1(config-if)#service-policy output WAN-QoS-Outbound R1(config-if)#exit R1(config)#interface serial 0/1 R1(config-if)#service-policy output WAN-QoS-Outbound R1(config-if)#exit |
Verify your configuration using the show policy-map commands:
| R1#show policy-map WAN-QoS-Outbound Policy Map WAN-QoS-Outbound Class VIDEO Bandwidth 40 (%) Max Threshold 64 (packets) |
| R1#show policy-map interface serial 0/0 output Serial0/0 Service-policy output: WAN-QoS-Outbound Class-map: VIDEO (match-all) Class-map: class-default (match-any) |
Task 8
To complete this task, you need to use NBAR and define a custom application for which you will modify the existing QoS policy. This task is completed as follows:
| R1(config)#ip nbar port-map custom-01 tcp 2023 3023 4023 5023 R1(config)#class-map APPLICATION R1(config-cmap)#match protocol custom-01 R1(config-cmap)#exit R1(config)#policy-map WAN-QoS-Outbound R1(config-pmap)#class APPLICATION R1(config-pmap-c)#bandwidth percent 10 R1(config-pmap-c)#exit |
Verify your NBAR configuration using the show ip nbar commands:
| R1#show ip nbar port-map custom-01 port-map custom-01 tcp 2023 3023 4023 5023 |
Verify QoS configuration using the show policy-map commands:
| R1#show policy-map WAN-QoS-Outbound Policy Map WAN-QoS-Outbound Class VIDEO Bandwidth 40 (%) Max Threshold 64 (packets) Class APPLICATION Bandwidth 10 (%) Max Threshold 64 (packets) |
| R1#show policy-map interface serial 0/1 output Serial0/1 Service-policy output: WAN-QoS-Outbound Class-map: VIDEO (match-all) Class-map: APPLICATION (match-all) Class-map: class-default (match-any) |
Task 9
Please refer to previous tasks for basic IPv6 addressing. Following completion, verify your configuration using the show ipv6 commands:
| R2#show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::20D:28FF:FE9E:F940 Global unicast address(es): 3FFE:2222:2222:2222::2, subnet is 3FFE:2222:2222:2222::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:2 FF02::1:FF9E:F940 MTU is 1500 bytes [Truncated Output] |
| R3#show ipv6 interface fastethernet 0/0 FastEthernet0/0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::213:7FFF:FEAF:3E00 Global unicast address(es): 3FFE:3333:3333:3333::3, subnet is 3FFE:3333:3333:3333::/64 Joined group address(es): FF02::1 FF02::2 FF02::1:FF00:3 FF02::1:FFAF:3E00 MTU is 1500 bytes [Truncated Output] |
To complete the second part of this task, you need to configure a static Tunnel and then enable OSPFv3 across this tunnel. Keep in mind that because IPv6 IGPs use the Link Local address as the NEXT-HOP IPv6 address, you do not necessarily need to assign a global IPv6 subnet to the tunnel. This is completed as follows:
| R2(config)#interface tunnel 0 R2(config-if)#tunnel source loopback 0 R2(config-if)#tunnel destination 3.3.3.3 R2(config-if)#tunnel mode ipv6ip R2(config-if)#ipv6 enable R2(config-if)#ipv6 ospf 2 area 0 R2(config)#interface fastethernet 0/0 R2(config-if)#ipv6 ospf 2 area 2 R2(config-if)#exit R2(config)#ipv6 router ospf 2 R2(config-rtr)#router-id 2.2.2.2 R2(config-rtr)#exit |
| R3(config)#interface loopback 0 R3(config-if)#ip address 3.3.3.3 255.255.255.255 R3(config-if)#exit R3(config)#router eigrp 2 R3(config-router)#network 3.3.3.3 0.0.0.0 R3(config-router)#exit R3(config)#router eigrp 3 R3(config-router)#network 3.3.3.3 0.0.0.0 R3(config-router)#exit |
| R3(config)#interface tunnel 0 R3(config-if)#tunnel source loopback 0 R3(config-if)#tunnel destination 2.2.2.2 R3(config-if)#tunnel mode ipv6ip R3(config-if)#ipv6 enable R3(config-if)#ipv6 ospf 3 area 0 R3(config-if)#exit R3(config)#interface fastethernet 0/0 R3(config-if)#ipv6 ospf 3 area 3 R3(config-if)#exit R3(config)#ipv6 router ospf 3 R3(config-rtr)#router-id 3.3.3.3 R3(config-rtr)#exit |
Following this, verify your Tunnel states using the show interfaces and show ipv6 interface commands on both of the routers:
| R2#show interfaces tunnel 0 Tunnel0 is up, line protocol is up Hardware is Tunnel MTU 1514 bytes, BW 9 Kbit/sec, DLY 500000 usec, reliability 255/255, txload 1/255, rxload 1/255 Encapsulation TUNNEL, loopback not set Keepalive not set Tunnel source 2.2.2.2 (Loopback0), destination 3.3.3.3 Tunnel protocol/transport IPv6/IP Tunnel TTL 255 Fast tunneling enabled Tunnel transmit bandwidth 8000 (kbps) Tunnel receive bandwidth 8000 (kbps) [Truncated Output] |
| R2#show ipv6 interface tunnel 0 Tunnel0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::202:202 No global unicast address is configured Joined group address(es): FF02::1 FF02::2 FF02::5 FF02::1:FF02:202 MTU is 1480 bytes ICMP error messages limited to one every 100 milliseconds ICMP redirects are enabled ND DAD is enabled, number of DAD attempts: 1 ND reachable time is 30000 milliseconds Hosts use stateless autoconfig for addresses. |
Verify OSPFv3 adjacency states using the show ipv6 ospf neighbor command:
| R2#show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface |
| R3#show ipv6 ospf neighbor
Neighbor ID Pri State Dead Time Interface ID Interface |
Verify IPv6 routing using the show ipv6 route commands:
| R2#show ipv6 route ospf IPv6 Routing Table – 5 entries Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP U – Per-user Static route I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2 ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2 OI 3FFE:3333:3333:3333::/64 [110/11112] via FE80::303:303, Tunnel0 |
| R3#show ipv6 route ospf IPv6 Routing Table – 5 entries Codes: C – Connected, L – Local, S – Static, R – RIP, B – BGP U – Per-user Static route I1 – ISIS L1, I2 – ISIS L2, IA – ISIS interarea, IS – ISIS summary O – OSPF intra, OI – OSPF inter, OE1 – OSPF ext 1, OE2 – OSPF ext 2 ON1 – OSPF NSSA ext 1, ON2 – OSPF NSSA ext 2 OI 3FFE:2222:2222:2222::/64 [110/11112] via FE80::202:202, Tunnel0 |
Finally, verify LAN-to-LAN connectivity between the IPv6 subnets using an extended ping:
| R2#$333:3333:3333::3 source 3FFE:2222:2222:2222::2 repeat 10 size 1500
Type escape sequence to abort. |
Task 10
OSPFv3 supports both authentication and encryption for security. To configure OSPFv3 area authentication, you need to use the area <area> authentication ipsec spi <size> [md5|sha1] <key> OSPFv3 configuration command. This task is completed as follows:
| R2(config)#ipv6 router ospf 2 R2(config-rtr)#$entication ipsec spi 678 md5 1234567890abcdef1234567890abcdef R2(config-rtr)#exit |
| R3(config)#ipv6 router ospf 3 R3(config-rtr)#$entication ipsec spi 678 md5 1234567890abcdef1234567890abcdef R3(config-rtr)#exit |
Verify OSPFv3 area authentication using the show ipv6 ospf command:
| R3#show ipv6 ospf Routing Process “ospfv3 3” with ID 3.3.3.3 It is an area border router SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs LSA group pacing timer 240 secs Interface flood pacing timer 33 msecs Retransmission pacing timer 66 msecs Number of external LSA 0. Checksum Sum 0x000000 Number of areas in this router is 2. 2 normal 0 stub 0 nssa Reference bandwidth unit is 100 mbps Area BACKBONE(0) Number of interfaces in this area is 1 MD5 Authentication, SPI 678 SPF algorithm executed 3 times Number of LSA 6. Checksum Sum 0x032E78 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 Area 3 Number of interfaces in this area is 1 SPF algorithm executed 2 times Number of LSA 4. Checksum Sum 0x01CA07 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 |
By default, because IPv6 uses built-in IPsec functions, Cisco IOS software automatically creates IPsec policies for the configured authentication. The policy can be viewed using the show crypto ipsec sa [interface <name>] command on the router(s). Authentication Header (AH) is used. If you configure encryption, then Encapsulating Security Payload (ESP) will be used instead. Check the relevant SA states based on your configuration:
| R3#show crypto ipsec sa interface tunnel 0
interface: Tunnel0 IPsecv6 policy name: OSPFv3-3-678 protected vrf: (none) local crypto endpt.: FE80::303:303, remote crypto endpt.: :: inbound esp sas: inbound ah sas: inbound pcp sas: outbound esp sas: outbound ah sas: outbound pcp sas: |
Additionally, you can also view the configuration parameters for the applied policy using the show crypto ipsec policy command on the router. The policy name, by default, will be OSPFv3-<process ID>-<SPI>. For example, on R1, the applied policy name will be OSPFv3-R1-678. This is validated and illustrated in the following output:
| R3#show crypto ipsec policy Crypto IPsec client security policy data Policy name: OSPFv3-3-678 |
Task 11
To complete this task, you need to enable the protected port feature on these ports. In addition, VMPS on the switch. This task is completed as follows:
| ALS1(config)#vmps server 150.1.1.254 ALS1(config)#$thernet 0/2 , fastethernet 0/5 – 6, fastethernet 0/9 – 10 ALS1(config-if-range)#switchport mode access ALS1(config-if-range)#switchport access vlan dynamic ALS1(config-if-range)#switchport protected ALS1(config-if-range)#exit |
Verify basic Layer 2 parameters using the show interfaces switchport command:
| ALS1#show interfaces fastethernet 0/2 switchport Name: Fa0/2 Switchport: Enabled Administrative Mode: dynamic access Operational Mode: down Administrative Trunking Encapsulation: dot1q Negotiation of Trunking: Off Access Mode VLAN: unassigned Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: true Appliance trust: none |
Verify VMPS configuration and operation using the show vmps commands:
| ALS1#show vmps VQP Client Status: ——————– VMPS VQP Version: 1 Reconfirm Interval: 60 min Server Retry Count: 3 VMPS domain server: 150.1.1.254 (primary, current) Reconfirmation status |
Task 12
To complete this task, you need to enable storm control (port-based traffic control) and then enable SNMP so that traps are sent to server 150.1.1.254. This task is completed as follows:
| ALS2(config)#interface range fastethernet 0/1 – 9 ALS2(config-if-range)#storm-control broadcast level 5 ALS2(config-if-range)#storm-control multicast level 20 ALS2(config-if-range)#storm-control unicast level 80 ALS2(config-if-range)#storm-control action trap ALS2(config-if-range)#exit ALS2(config)#snmp-server community CCNP2011 RO ALS2(config)#snmp-server host 150.1.1.254 traps CCNP2011 ALS2(config)#snmp-server enable traps |
Verify storm control configuration using the show storm-control commands:
| ALS2#show storm-control Interface Filter State Trap State Upper Lower Current Traps Sent ——— ————- ————- ——- ——- ——- ———- Fa0/1 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/2 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/3 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/4 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/5 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/6 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/7 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/8 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/9 Forwarding Below rising 5.00% 5.00% 0.00% 0 Fa0/10 inactive inactive 100.00% 100.00% N/A 0 Fa0/11 inactive inactive 100.00% 100.00% N/A 0 Fa0/12 inactive inactive 100.00% 100.00% N/A 0 |
Verify SNMP configuration using the show snmp commands:
| ALS2#show snmp Chassis: FOC0620Y1FR 0 SNMP packets input 0 Bad SNMP version errors 0 Unknown community name 0 Illegal operation for community name supplied 0 Encoding errors 0 Number of requested variables 0 Number of altered variables 0 Get-request PDUs 0 Get-next PDUs 0 Set-request PDUs 0 SNMP packets output 0 Too big errors (Maximum packet size 1500) 0 No such name errors 0 Bad values errors 0 General errors 0 Response PDUs 0 Trap PDUs SNMP global trap: enabled SNMP logging: enabled |
Final Router Configurations
R1
|
R1#term len 0 Current configuration : 1862 bytes R1# |
R2
|
R2#term len 0 Current configuration : 1665 bytes R2# |
R3
|
R3#term len 0 Current configuration : 2198 bytes R3# |
R4
|
R4#term len 0 Current configuration : 938 bytes R4# |
Final Switch Configurations
DLS1
|
DLS1#term len 0 Current configuration : 4814 bytes DLS1# |
DLS2
|
DLS2#term len 0 Current configuration : 4572 bytes DLS2# |
ALS1
|
ALS1#term len 0 Current configuration : 1909 bytes ALS1# |
ALS2
|
R3#term len 0 Current configuration : 2198 bytes R3#
User Access Verification Password: ALS2#term len 0 Current configuration : 3167 bytes ALS2# |
