https://github.com/eugeniogiusti/Layer-1
Talking about Hardware
https://github.com/eugeniogiusti/Layer-1
ethernet hardware layer1
Last synced: 5 months ago
JSON representation
Talking about Hardware
- Host: GitHub
- URL: https://github.com/eugeniogiusti/Layer-1
- Owner: eugeniogiusti
- Created: 2025-01-22T20:13:24.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-23T19:58:14.000Z (over 1 year ago)
- Last Synced: 2025-01-23T20:23:49.226Z (over 1 year ago)
- Topics: ethernet, hardware, layer1
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ethernet Cable Crimping Guide
This guide provides step-by-step instructions for crimping Ethernet cables, including both straight-through and crossover cables. Proper crimping ensures reliable network connections.
---
## Materials Required
- Ethernet cable (Cat5e, Cat6, etc.)
- RJ45 connectors (8P8C plugs)
- Crimping tool
- Cable stripper or knife
- Wire cutter
- Ethernet cable tester (optional, but recommended)
---
## Types of Ethernet Cables
### 1. **Straight-through Cable**
Used to connect:
- Computers to switches/routers.
- Printers to network devices.

### 2. **Crossover Cable**
Used to connect:
- Two computers directly.
- Two switches or hubs without an uplink port.

---
## Wiring Standards
There are two main standards for Ethernet cable wiring:
### **TIA/EIA-568A**
```
Pin 1: White/Green
Pin 2: Green
Pin 3: White/Orange
Pin 4: Blue
Pin 5: White/Blue
Pin 6: Orange
Pin 7: White/Brown
Pin 8: Brown
```
### **TIA/EIA-568B**
```
Pin 1: White/Orange
Pin 2: Orange
Pin 3: White/Green
Pin 4: Blue
Pin 5: White/Blue
Pin 6: Green
Pin 7: White/Brown
Pin 8: Brown
```
### **Choosing the Standard**
- Use the same standard (568A or 568B) on both ends for a straight-through cable.
- Use 568A on one end and 568B on the other for a crossover cable.
---
## Steps for Crimping Ethernet Cables
### 1. **Prepare the Cable**
- Cut the cable to the desired length using wire cutters.
- Strip approximately 1.5 inches (3-4 cm) of the outer jacket using a cable stripper.
- Untwist the wire pairs and straighten them.
### 2. **Arrange the Wires**
- Arrange the wires according to the desired wiring standard (568A or 568B).
- Flatten and align the wires in the correct order.
### 3. **Trim the Wires**
- Trim the wires evenly to about 0.5 inch (1.2 cm) from the jacket.
- Ensure no wire extends beyond the others.
### 4. **Insert the Wires into the RJ45 Connector**
- Hold the RJ45 connector with the clip facing down.
- Insert the wires into the connector, ensuring each wire is fully seated in its slot.
- The outer jacket should fit snugly inside the connector to ensure a secure crimp.
### 5. **Crimp the Connector**
- Place the connector into the crimping tool.
- Squeeze the tool firmly to crimp the connector onto the wires.
- Remove the connector and inspect for proper crimping.
### 6. **Repeat for the Other End**
- Repeat the process for the other end of the cable, using the appropriate wiring standard.
### 7. **Test the Cable**
- Use an Ethernet cable tester to verify continuity and proper wiring.
- Ensure all pins are correctly connected and there are no shorts or miswires.
---
## Troubleshooting Tips
- **Wires not fully seated**: Trim and reinsert the wires, ensuring they are flush with the connector's front.
- **Poor connection**: Check the crimping tool's pressure and ensure the outer jacket is securely crimped.
- **Cable tester fails**: Verify the wiring order and re-crimp if necessary.
---
## Additional Notes
- Use high-quality cables and connectors for optimal performance.
- Avoid over-tightening or damaging the cable jacket during crimping.
- Label cables for easier identification in complex networks.

- Useful videos:
- https://www.youtube.com/watch?v=NWhoJp8UQpo
- https://www.youtube.com/watch?v=noRk8jYAbSg
# Cisco 2950 Switch Factory Reset and Console Connection Guide
## Physical Factory Reset
1. Power off the switch
2. Locate the Mode button on front panel (left side of LEDs)
3. Waiting boot system
4. Keep holding Mode button for 15-20 seconds until LED blinks amber
5. Release Mode button
6. Switch will reset to factory defaults

- Useful links:
- https://www.youtube.com/watch?v=L1ep9CDfAaE (factory reset)
- https://www.youtube.com/watch?v=vjaScc6-MbQ (factory reset_2)
## Console Reset Method
```
switch# write erase
switch# delete flash:vlan.dat
switch# reload
```
## Verify Reset
Check these commands to confirm factory reset:
```
show running-config
show vlan
show version
```



- Running-config should show only default settings
- VLAN database should only have VLAN 1
- Interfaces should show "!" indicating no configuration
## Console Cable Connection
1. Hardware Required:
- RJ45 to DB9 console cable (light blue Cisco cable)
- If laptop lacks DB9 port: USB to Serial adapter
2. Software Setup:
- Install terminal emulator (PuTTY, screen, minicom)
- For Linux using screen:
```bash
sudo apt install screen
sudo screen /dev/ttyUSB0 9600
```



3. Connection Settings:
- Speed: 9600 baud
- Data bits: 8
- Stop bits: 1
- Parity: None
- Flow control: None
4. ## Basic Configuration | Password configuration console line
```
enable
configure terminal
line console 0
password
login
end
write memory
```
### Set Enable Password (Privileged EXEC mode)
```
enable
configure terminal
enable secret
end
write memory
```
### Configure hostname
```
enable
configure terminal
hostname
end
write memory
or to save the configuration
copy running-config startup-config
```
### SSH Configuration
```cisco
Switch(config)# hostname switch_name
Switch(config)# ip domain-name local.net
Switch(config)# crypto key generate rsa
Switch(config)# username admin password your_password
Switch(config)# line vty 0 15
Switch(config-line)# transport input ssh
Switch(config-line)# login local
```
### Linux Screen Commands
```
Exit screen: Ctrl+A, then type ":quit"
Detach screen: Ctrl+A, then D
List screens: screen -ls
Reattach: screen -r
```