ccie,java,安全,教程,文集,资料,工具书
idth
We need to create a class map for each of these types of traffic except the Default. There is a built-in class for the Default traffic called "class-default". This built-in class will automatically encompass any traffic not specified in the other class maps. Also, by default, only 75% of the traffic can be applied to the classes. The other 25% is reserved for the Default traffic. In this case, we want 80% available for the other classes and only 20% of the bandwidth to be available for the Default traffic, so we have two options. We can change the "max-reserved-bandwidth" on the Serial 1/0 interface to 80%. This would
Study Guide From
IT认证部落 CCIE-LAB
allow us to reserve 80% of the bandwidth for our classes and have 20% left over for the Default traffic. If we chose this way, we would not use class-default under the policy map. The other option is the one that we chose. We have changed max-reserved-bandwidth to 100% under the Serial 1/0 interface, and then specified 20% of the bandwidth for class-default. In this case, we are reserving 100% of the bandwidth in the policy map. Based on the protocols that we are matching, we will use NBAR to match protocols.
CK13: class-map match-all TELNET
match protocol telnet
class-map match-all IP
match protocol ip
class-map match-all NTP
match protocol ntp
class-map match-all DNS
match protocol dns
policy-map CONVERT class DNS bandwidth percent 20 class TELNET bandwidth percent 20 class NTP bandwidth percent 15 class IP bandwidth percent 25
class class-default
Study Guide From
IT认证部落 CCIE-LAB
bandwidth percent 20
interface Serial1/0
max-reserved-bandwidth 100 service-policy output CONVERT
9.0 NTP STEP 1 (3 points)
1. Configure CK6 as the NTP master. Whenever you run NTP, four things should be set on all routers, whether they are the Master or Clients. Those things are the time zone, summertime, and the timestamps for the logging and debug messages so they show the date and time, instead of the router's uptime. You will lose points if you do not set these four things. On the Master, you should also set the clock before doing any of the other configurations. There is no mention of what stratum the master should have, so we are just going to leave the default stratum of 8 alone. It is also recommended that you configure an interface to be the source of all of the NTP updates. This way the update source will not change, no matter which interface the NTP packets are exiting. We have chosen to use the Loopback interface since it is always active. (Note: If you set your clock before configuring your time zone and summertime, use GMT time, because the router will adjust for
the time zone you enter.)
CK6:
clock set 13:34:00 20 July 2004
service timestamps debug datetime service timestamps log datetime
clock time