Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Abool

#16
CCNP Switch / CCNP Switch Labs: LACP with STP Lab
January 18, 2012, 06:47:35 AM
SWTCH LAB



Tasks

1. Use non proprietary mode of aggregation
with Switch B  being the  initiator

2. Use non proprietary trunking and
no negotiation

3. Restrict only to vlans needed

4. SVI on vlan 1 with  ip 10.10.10.2
sbnm 255.255.255.0

5. Configure switch A so that nodes other
side of Router C  are accessible

6. Make switch B the root

Answer and Explanation:

Below is a good solution commented by toy_man123. Please say thank to him!

Each of these vlans has one host each on its port
SVI on vlan 1 ? ip 192.168.1.11 with snm

Switch B ?
Ports 3, 4 connected to ports 3 and 4 on Switch A

Port 15 connected to Port on Router.

Tasks to do

1. Use non proprietary mode of aggregation with Switch B being the initiator
? Assumed use LACP with B being in Active mode

2. Use non proprietary trunking and no negotiation
? Assumed use switchport mode trunk and switchport trunk encapsulation dot1q

3. Restrict only to vlans needed
? Assumed either vtp pruning or allowed vlan list. vtp pruning command did not seem to work on the simulator so landed using allowed vlan list

4. SVI on vlan 1 with some ip and subnet given

5. Configure switch A so that nodes other side of Router C are accessible
? Assumed this to mean that on switch A default gatway has to be configured.

6. Make switch B the root
? Could not get this to work. Exam hung when I tried the command
spanning-tree vlan 1,21-23 priority 4096
So passed on this configuration. Anyone else got this correct

What I tried ..
on Switch A
verify with show run if you need to create vlans 21-23

int range fa0/9 ? 10
switchport mode access
switchport access vlan 21
spanning-tree portfast
no shut

int range fa0/13 ? 14
switchport mode access
switchport access vlan 22
spanning-tree portfast
no shut

int range fa0/16 ? 16
switchport mode access
switchport access vlan 23
spanning-tree portfast
no shut

int range fa0/3 ? 4
channel-protocol lacp
channel group 1 mode passive
no shut

int port-channel 1
switchport mode trunk
switchport trunk encapsulation dot1q
spanning-tree allowed vlans 1,21-23
no shut

int vlan 1
ip address x.y.z.11 255.a.b.c
no shut

On switch B run the command show cdp neighbors detail and get the ip address of port from router C.

Now use this ip address of port of router C to configure as default gateway on Switch A
SA(config)# ip default-gateway 192.168.1.1

On switch B do only the channel group and port-channel stuff
Only mode is active instead of passive.

copy run start did not work. Tried combos of wr, copy running-config startup-config, copy system:running-config nvram:startup-config. All variations did not work.

Got some errors on mismatch of native VLAN. Switch B had some ports on vlan 98 configured for native vlan. Tried setting native vlan on Port-channel 1 on switch B to 1. Configuration command took but errors still were occuring. Ran out of time I had allocated so gave up.

Source: http: //packettracer.net/2011/09/10/bcmsn-new-lacp-stp-lab/
#18
*nix Related / Running a CRON Job
December 29, 2011, 08:53:23 PM
Using cron by DJG

On Unix systems, cron is used for automating tasks. Instead of getting out of bed at 3 A.M. to run a command that can be anything from backing up a drive, or a command that deletes old files, you can use cron to schedule those tasks.

There is no actually program called "cron". There are however, the program "crontab" and the daemon "crond". By running the "crontab" program, you can enter commands in a text file, and they will automatically be saved in the /var/spool/cron/ directory. For example my entries (for user djg) would be in /var/spool/cron/djg. The crond daemon reads the files regularly and executes the commands at the time they are scheduled for.

There are many different uses, from checking your broadband connection overnight to maintain a stream or hefty download, or simply checking up to see what's going on in your digitised social space. Let's run with that second one as a working example. Say for some reason, you want to check the output of the command 'w' every hour to see who's on.

The setup of a crontab file is as follows:

There are six fields:

field
1 minute (0-59)
2 hour (0-23)
3 day of month (1-31)
4 month (1-12, or name such as jan, feb, etc)
5 day of week ( 0-6(6 = Sunday) or name such as mon, tue,etc)
6 command to run

So an example could be this:

0 1 24 5 0 w

That will run a command at 1:00AM on Monday, May 24th. Now that gets a bit cyptic. To make it a little better, this would also work:

0 1 24 may mon w

But what if you want it to run every hour, regardless of date? An "*" means that that field doesn't matter, or do the command no matter what is in those fields. So to run our 'w' command every hour, the command would be this:

0 * * * * w

Which means that it runs everyday, every hour at the 0 minute mark, meaning the beginning of the hour.

A bunch of different variations of fields can be generated like this. For instance, say you wanted a command to run every 2 hours. You could specify the "hour" field as this: */2 Which would run at 2,4,6,8, etc...

You can also use commas to specify more than one time. For instance, say you want to run it at half past the hour, and a quarter of. You could specify the minute field as this: 30,45

If you use a dash between two values, it will include everything in between them. An example of this would be to run a command everyday for the first week of a month. The day of the month field would be this: 1-7

So to have the commmand run every 2 hours, at half past and a quarter of, and run for the first 7 days of a month. We would have this:

30,45 */2 1-7 * * w

To save the output to a text file, such as 'wholog' you could write the command like this:

0 * * * * w >> /home/djg/wholog

Now by default, you will be emailed the output as well, so to avoid this, add this to the command:

0 * * * * w >> /home/djg/wholog 2>&1

Also, if you didn't want any output at all you could redirect all output to /www.null like this:

0 * * * * w >> /www.null 2>&1

Now... that command is pretty useless since you don't get any output, but for some, like if your program performs a task such as checks to see if your CD is mounted and if so, unmounts it, or something that doesn't really require output, then it may be useful.

Now you may be wondering how you actually use crontab to get crond to run your command. To create or edit your cron entries, use the command 'crontab -e' this will open a text editor and then you can add cron entries to your hearts content, each on one line.

The command 'crontab -e' will run vi by default. If you don't want that, change your VISUAL enviornment variable. I have set up to run mine as pico with wordwrapping turned off (using the -w flag) You can do this in bash like this:

export VISUAL='pico -w'

Ok. So you've made a bunch of crontab entries and now want to see all the commands you've entered. You can use the command 'crontab -l' to list all of your crontab entries.

You can edit your crontab file and remove entries if you'd like, but if you want to nuke them all, use the command 'crontab -r'

Note: root can edit other users crontabs like this: 'crontab -e -u username'

A nice little trick is to setup a directory with a bunch of scripts you want run at a certain time, such as every hour, then make this entry in your crontab:

0 * * * * run-parts /home/djg/hour.cron/

Or something to that effect. That command will run everything in the /home/djg/hour.cron/ directory. /etc/crontab shows an example of this so you can check that out to see it in action.


Other Related Sites:


Suggest a link?:
mail us

Linux Hosting by www.d9x.net

Source: http://www.d9x.net/linux/guides/crons.php
#20
CCNP TShoot / Re: TSHOOT 642-832 Drag and Drop Questions
December 27, 2011, 01:14:18 PM
Question 1

FCAPS
Fault Management ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ F
Configuration Management ‐‐‐‐‐‐‐ C
Accounting Management ‐‐‐‐‐‐‐‐‐‐ A

Question 2

FCAPS?model defined by the International Organization for Standardization (ISO).
ITIL? framework for it prof
TNM?network management model is the Telecommunications Standardization Sector?s (ITU-T)
Cisco lifecycle?model is often referred to as the PPDIOO model

Question 3

EEM ‐‐‐‐‐‐‐‐‐‐‐‐‐‐ CLI based for Management and Monitoring
SDM ‐‐‐‐‐‐‐‐‐‐‐‐‐‐ provide a GUI for Administration
FTP ‐‐‐‐‐‐‐‐‐‐‐‐‐‐ Used for Backup and restore

Source: h??p://www.networktut.com/tshoot-drag-and-drop-questions
#21
1)FCAPS is a network maintenance model defined by ISO. What does it stand for?

A ? Action Management
B ? Fault Management
C ? Configuration Management
D ? Protocol Management
E ? Security Management


Answer: B C E (Fault, Configuration & Security Management) Notice that A stands for Accounting, not Action.


2) Which alerts will be seen on the console when running the command: logging console warnings.

A ? warnings only
B ? warnings, notifications, error, debugging, informational
C ? warnings, errors, critical, alerts, emergencies
D ? notifications, warnings, errors
E ? warnings, errors, critical, alerts


Answer: C  (warning, critical, alert, emergencies)

Explanation

The Message Logging is divided into 8 levels as listed below
Level    Keyword    Description
0    emergencies    System is unusable
1    alerts    Immediate action is needed
2    critical    Critical conditions exist
3    errors    Error conditions exist
4    warnings    Warning conditions exist
5    notification    Normal, but significant, conditions exist
6    informational    Informational messages
7    debugging    Debugging messages

The highest level is level 0 (emergencies). The lowest level is level 7. If you specify a level with the ?logging console level? command, that level and all the higher levels will be displayed. For example, by using the ?logging console warnings? command, all the logging of emergencies, alerts, critical, errors, warnings will be displayed.

In this question, E is also correct but it is less information -> C is the best answer.

3) You have 2 commands used for ftp:
ip ftp username xxxxxx
ip ftp password yyyyyy

Which two commands will be used when switching from ftp to http?

Answer:
ip http client username xxxxxx
ip http client password yyyyyy

4) Which two of the following options are categories of Network Maintenance tasks?

A ? Firefighting
B ? Interrupt-driven
C ? Policy-based
D ? Structured
E ? Foundational



Answer: B D

5) The following commands are issued on a Cisco router:

Router(config)#access-list 199 permit tcp host 10.1.1.1 host 172.16.1.1
Router(config)#access-list 199 permit tcp host 172.16.1.1 host 10.1.1.1
Router#debug ip packet 199

What would be the output shown on the console?

A ? All IP packets passing through the router
B ? Only IP packets with the source address of 10.1.1.1
C ? All IP packets from 10.1.1.1 to 172.16.1.1
D ? All IP packets between 10.1.1.1 to 172.16.1.1





Answer: D

Only communication between host 10.1.1.1 and host 172.16.1.1

6) You have two NTP servers 10.1.1.1 & 10.1.1.2 and want to configure a router to use 10.1.1.2 as its NTP server before falling back to 10.1.1.1. Which command will you use?

Answer:

ntp server 10.1.1.1
ntp server 10.1.1.2 prefer

(notice the answer with the word ?prefer?)

7) The interface is up and protocol is up. What level of logging is enabled when you get these messages?

%LINEPROTO‐5‐UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
%LINKDOWN‐3‐SERIAL:

A -alerts
B ? errors
C ? critical
D ? notifications


Answer: D


8) Two Cisco routers are connected to each other and are enabled CDP. Serial line is up,protocol is also up but cdp neighbor not working. What layer of the OSI model does the problem most likely exist?

Answer:

Data link layer.
#22
Introductions / Re: test 123
November 23, 2011, 05:27:30 AM
This is a test post.
#23
Search Engines / Google Panda - Quote of the Day!
October 15, 2011, 12:27:13 PM
QuoteI equate Panda to giving a blind man a gun, in a crowded gun range, spinning him around and asking him to hit the target. Panda is about as accurate as that blind man would be and certainly has left many innocent victims on the floor bleeding.

turbocharged - WebmasterWorld
webmasterworld.com/google/4374667.htm
#24
Juniper Certification Resources / JNCIA - passed today.
September 05, 2011, 09:47:10 PM
JNCIA - passed today.

    Well despite saying I was going to postpone this exam until later in the year I carried on and sat the exam today. I had been studying a few weeks when I thought maybe doing vista and then 2008 server (MCITP) would benefit me more in a working capacity. However, 20 minutes after picking the Vista book up I was bored senseless and decided to return to the study I was enjoying.

    I scored 80% , 65 questions.

    Used:

    2 free pdf study guides (Juniper Website)
    Online course: Networking Fundamentals (Juniper Website)
    Online Course: Junos as a second language (Juniper Website)
    Free pdf - JNCIA Study guide (Juniper Website)
    CCNA Study guides for parts

    I spent a total of 5 weeks at 4-5hrs per night.
#26
Planning for Network+ preparation during the next few months. Which practice tests have you used? Came across these while searching the Internet:

CertExams.com
http://www.certexams.com/comptia/net+/online-exam-details.htm
Boson http://www.transcender.com/certprep/comptia/network-plus.kap
Transcender http://www.boson.com/Product/Network+.html
SimulationExams.com
http://www.simulationexams.com/exam-details/network-plus.htm
#27
What is the difference between a netsim and an exam simulator?

See:
Network Sim: h??p://routersimulator.certexams.com/network-simulator-designer.html

Exam Sim: h??p://www.certexams.com/cisco/ccna/exam-details.htm
#28
CCNA Certification / Which network simulator you used?
September 03, 2011, 07:38:33 AM
A newbie here. Which network simulator do you recommend for a fresher?  A home lab is too expensive and therefore, looking for an inexpensive network simulator for CCNA prep.
#29
CCNA Certification / CCNA Lab Equipment
September 02, 2011, 01:39:43 PM
I am new to the forum and after doing research the last couple weeks (this forum was invaluable in that research, thanks!), I went ahead and purchased equipment for a CCNA Lab and would appreciate your feedback.

Routers:
3x 1721(128/32)12.4
1x 2621XM (128/32)12.4
1x 2611 Access server

Switches:
3x2950

WIC:
3x WIC 2T
3x T1
2x 1ENET

plus all the cables (t1 crossovers,smart serial crossovers,cat5e patch and crossover, octal cable for access server)

Is there anything you would recommend I add? I plan on pursuing CCNA Security and eventually CCNP after CCNA.