Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 4

Commands

Router>
User EXEC Log in. Use
the logout command.
Router#
Privileged From user EXEC To return to user EXEC

EXEC mode, use mode, use


the enable EXEC the disable command.
command.
Router(config)#
Global From privileged EXEC To return to privileged

configuration mode, use EXEC mode from global


the configure configuration mode, use
terminalprivileged the exit or end command,
EXEC command. or press Ctrl-Z.

Interface From global

configuration configuration mode,


specify an interface
using
an interface command.

Make sure you set the router to up, “interface g0/0” ----- ‘no shutdown’

Erase start up configuration – ‘erase startup-config’ (from priv exec)

Reload router or switch – reload

Delete vlan.dat – delete vlan.dat (show flash to show what’s still there)

Disable DNS Lookup – (Global) no ip domain-lookup

Set name (conf t) – hostname R1

Set domain (conf t) --- ip domain-name “domain”

Encrypt (conf t) --- service password-encryption

telnet password (conf t) --- line vty 0 4 -------- password “password”

Min length on pass words (conf t) --- security passwords min-length 10

Create user (conf t) ---- username ‘admin’ priv 15 password ‘admin1pass’

Set vty to local database (line vty 0 4) --- login local

Set transport input (line vty 0 4) --- transport input ssh transport input telnet

Encrypt clear passwords – service password-encryption


IPV6

Set ip, (conf t) ‘interface g0/0’ ‘ip addr “ip address” “subnet”

Unicast ---- Ipv6 unicast-routing

a. Configure the IPv6 address with the following command:


R1(config-if)# ipv6 address 2001:DB8:1:1::1/64

b. Configure the link-local IPv6 address with the following command:


R1(config-if)# ipv6 address FE80::1 link-local

‘show version’ will give system info.


Display IPV 4 routing table --- show ip route
Display layer 2 and 3 ---- show arp
Display ipv6 info --- show ipv6 int brief
Information about devices connected --- show cdp neighbors detail
Copy running-config startup-config
Copy run tftp

Patching

Comp 1 Crossover to Router Console


Comp 1 Ethernet to G0/0
Comp 2 Crossover to Switch Console
Comp 2 Ethernet to bottom switch port
Top switch port to G0/1
Step 1. Write out required host addresses from largest to smallest.
Step 2. Write out the binary bits for the start IP. (/24 = 24 1's)
Step 3. Use chart to work out what subnet number you need for each
Step 4. Write out the ip range for the initial address

172.16.0.0/16

255.255.0.0

11111111.11111111.00000000.00000000

Hosts

Sub C - 500 - /23


Sub D - 250 - /24
Sub A - 49 - /26
Sub B - 25 - /27

Bits in host portion is 32 - /23 or /24 or whatever it is

Subnet C - 172.16.0.0 --- 172.16.1.255


Subnet D - 172.16.2.0 --- 172.16.2.255
Subnet A - 172.16.3.0 --- 172.16.3.64
Subnet B - 172.16.3.65 --- 172.16.3.97

Subnet A

Bits = 6
Mask = 255.255.255.192
Usable Hosts = 62
IP Subnet Address = 172.16.3.0
First IP = 172.16.3.1
Last IP = 172.16.3.62

You might also like