R3:
..............
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#class-map VOICE
Router(config-cmap)#match dscp ef
Router(config-cmap)#class-map CALL_SIGNALLING
Router(config-cmap)#class-map CALL_SIGNALING
Router(config-cmap)#match dscp cs3
Router(config-cmap)#ex
Router(config)#policy-map LLQ
Router(config-pmap)#class voice
class map voice not configured
Router(config-pmap)#class VOICE
Router(config-pmap-c)#priority ?
<8-622000> Kilo Bits per second
level Multi-Level Priority Queue
percent % of total bandwidth
<cr>
Router(config-pmap-c)#priority 2000
Router(config-pmap-c)#ex
Router(config-pmap)#class CALL_SIGNALING
Router(config-pmap-c)#bandwidth 1000
Router(config-pmap-c)#ex
Router(config-pmap)#end
Router#c
*Jan 11 11:09:45.719: %SYS-5-CONFIG_I: Configured from console by consoleonf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#service-policy output LLQ
Router(config-if)#END
Router#
Router#
*Jan 11 11:10:58.903: %SYS-5-CONFIG_I: Configured from console by consolesh class-
map
Class Map match-all CALL_SIGNALING (id 3)
Match dscp cs3 (24)
Class Map match-any class-default (id 0)
Match any
Class Map match-all CALL_SIGNALLING (id 2)
Match none
Class Map match-all VOICE (id 1)
Match dscp ef (46)
Router#sh policy-map
Policy Map LLQ
Class VOICE
priority 2000 (kbps)
Class CALL_SIGNALING
bandwidth 1000 (kbps)
Router#
Router(config)#ip cef
Router(config)#int e1/0
Router(config-if)#no sh
Router(config-if)#
Router(config-if)#
*Jan 11 11:28:17.743: %LINK-3-UPDOWN: Interface Ethernet1/0, changed state to up
*Jan 11 11:28:18.743: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/0,
changed state to up
Router(config-if)#ip address 192.168.20.2 255.255.255.0
Router(config-if)#int f0/0
Router(config-if)#no sh
Router(config-if)#
*Jan 11 11:28:45.999: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to
up
*Jan 11 11:28:46.999: %LINEPROTO-5-UPDOWN: Line protocol on Interface
FastEthernet0/0, changed state to up
Router(config-if)#ip address 192.168.30.2 255.255.255.0
Router(config-if)#end
Router#sh class-map
Class Map match-all CALL_SIGNALING (id 3)
Match dscp cs3 (24)
Class Map match-any class-default (id 0)
Match any
Class Map match-all CALL_SIGNALLING (id 2)
Match none
Class Map match-all VOICE (id 1)
Match dscp ef (46)
Router#sh policy-map int
FastEthernet0/0
Service-policy output: LLQ
queue stats for all priority classes:
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 110/12540
Class-map: VOICE (match-all)
110 packets, 12540 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: dscp ef (46)
Priority: 2000 kbps, burst bytes 50000, b/w exceed drops: 0
Class-map: CALL_SIGNALING (match-all)
200 packets, 22800 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: dscp cs3 (24)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 200/22800
bandwidth 1000 kbps
Class-map: class-default (match-any)
206 packets, 23191 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 206/23191
Router#
Router#
Router#
Router#
Router#
Router#
Router#sh policy-map int f0/0
FastEthernet0/0
Service-policy output: LLQ
queue stats for all priority classes:
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 110/12540
Class-map: VOICE (match-all)
110 packets, 12540 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: dscp ef (46)
Priority: 2000 kbps, burst bytes 50000, b/w exceed drops: 0
Class-map: CALL_SIGNALING (match-all)
200 packets, 22800 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: dscp cs3 (24)
Queueing
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 200/22800
bandwidth 1000 kbps
Class-map: class-default (match-any)
211 packets, 23810 bytes
5 minute offered rate 0000 bps, drop rate 0000 bps
Match: any
queue limit 64 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 211/23810
Router#
...................
R2:
Router(config)#int e1/1
Router(config-if)#no sh
Router(config-if)#
*Jan 11 11:26:18.123: %LINK-3-UPDOWN: Interface Ethernet1/1, changed state to up
*Jan 11 11:26:19.123: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/1,
changed state to up
Router(config-if)#ip address 192.168.
*Jan 11 11:26:29.399: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on
Ethernet1/1 (not half duplex), with Switch Ethernet0/0 (half duplex).10.254
255.255.255.0
Router(config-if)#ip address 192.168.10.254 255.255.255.0
Router(config-if)#int e1/0
Router(config-if)#no sh
Router(config-if)#
Router(config-if)#
*Jan 11 11:26:50.951: %LINK-3-UPDOWN: Interface Ethernet1/0, changed state to up
*Jan 11 11:26:51.951: %LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/0,
changed state to up
Router(config-if)#ip address 192.168.20.1 255.255.255.0
Router(config-if)#ex
Router(config)#ip cef
Router(config)#end
Router#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
+ - replicated route, % - next hop override
Gateway of last resort is 192.168.20.2 to network 0.0.0.0
S* 0.0.0.0/0 [1/0] via 192.168.20.2
192.168.10.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.10.0/24 is directly connected, Ethernet1/1
L 192.168.10.254/32 is directly connected, Ethernet1/1
192.168.20.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.20.0/24 is directly connected, Ethernet1/0
L 192.168.20.1/32 is directly connected, Ethernet1/0
Router#
*Jan 11 11:53:32.375: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on
Ethernet1/1 (not half duplex), with Switch Ethernet0/0 (half duplex).
Router#
Router#
Router#
Router#ping 192.168.30.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/339/1512 ms
Router#
*Jan 11 11:54:23.279: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on
Ethernet1/1 (not half duplex), with Switch Ethernet0/0 (half duplex).
Router#ping 192.168.30.1 tos 184 repeat 10
Type escape sequence to abort.
Sending 10, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!!!!!!
Success rate is 100 percent (10/10), round-trip min/avg/max = 32/68/204 ms
Router#ping 192.168.30.1 tos 184 repeat 100
Type escape sequence to abort.
Sending 100, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (100/100), round-trip min/avg/max = 4/52/192 ms
Router#
*Jan 11 11:55:13.211: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on
Ethernet1/1 (not half duplex), with Switch Ethernet0/0 (half duplex).
Router#ping 192.168.30.1 tos 96 repeat 200
Type escape sequence to abort.
Sending 200, 100-byte ICMP Echos to 192.168.30.1, timeout is 2 seconds:
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Success rate is 100 percent (200/200), round-trip min/avg/max = 16/48/120 ms
--------------------------------------
R4
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#ip route 0.0.0.0 0.0.0.0 192.168.30.2
R3(config)#end\
^
% Invalid input detected at '^' marker.
R3(config)#
R3(config)#d wr
^
% Invalid input detected at '^' marker.
R3(config)#
R3(config)#
R3(config)#do wr