58 lines
660 B
Markdown
58 lines
660 B
Markdown
|
# PacketTracer Docs (Documentación PT)
|
||
|
|
||
|
## Configuración Propio Switch/Router
|
||
|
|
||
|
### Hostname
|
||
|
|
||
|
```
|
||
|
hostname <nombre>
|
||
|
```
|
||
|
|
||
|
### Contraseña
|
||
|
|
||
|
```
|
||
|
enable secret <password>
|
||
|
username <usuario> privilege 1 password 0 <password>
|
||
|
```
|
||
|
|
||
|
## VLANs
|
||
|
|
||
|
```
|
||
|
vlan <id>
|
||
|
name <name>
|
||
|
```
|
||
|
|
||
|
### Enlaces de Acceso
|
||
|
|
||
|
```
|
||
|
# para una sola interfaz
|
||
|
int <if>
|
||
|
# para un rango de interfaces
|
||
|
int <if>-<if>
|
||
|
switchport access vlan <id>
|
||
|
```
|
||
|
|
||
|
### Enlaces Troncales
|
||
|
|
||
|
```
|
||
|
int <if>
|
||
|
switchport mode trunk
|
||
|
```
|
||
|
|
||
|
### Asignar IP a VLAN
|
||
|
|
||
|
```
|
||
|
int vlan <id>
|
||
|
|
||
|
```
|
||
|
|
||
|
## DHCP
|
||
|
|
||
|
```
|
||
|
ip dhcp pool <name>
|
||
|
network <ip-net> <mask-net>
|
||
|
default-router <ip>
|
||
|
dns-server <ip>
|
||
|
ip dhcp excluded-address <low-ip> <high-ip>
|
||
|
```
|