Sie sind auf Seite 1von 4

IPv4 address range is 0.0.0.0 to 255.255.255.255.

The IPv4 experimental address range 240.0.0.0 to 255.255.255.254


Addresses reserved for special purposes is the IPv4 multicast address range 224.0.0.0 to
239.255.255.255
The private address blocks are:
10.0.0.0 to 10.255.255.255 (10.0.0.0 /8)
172.16.0.0 to 172.31.255.255 (172.16.0.0 /12)
192.168.0.0 to 192.168.255.255 (192.168.0.0 /16)
The IPv4 default route is 0.0.0.0
The use of this address also reserves all addresses in the 0.0.0.0 - 0.255.255.255 (0.0.0.0 /
8) address block.
The IPv4 loopback address 127.0.0.1
The address block 169.254.0.0 to 169.254.255.255 (169.254.0.0 /16) are designated as
link-local addresses.
The address block 192.0.2.0 to 192.0.2.255 (192.0.2.0 /24) is set aside for teaching and
learning purposes

Use straight-through cables for the following connections:


Switch to a router Ethernet port
Computer to switch
Computer to hub
To summarize, crossover cables directly connect the following devices on a LAN:
Switch to switch
Switch to hub
Hub to hub
Router to router Ethernet port connection
Computer to computer
Computer to a router Ethernet port
Switch#show running-config
Switch(config-if)#description MainHQ Office Switch
Router>ping 10.10.10.5
Switch>traceroute IP address
Tab - Completes the remainder of the command or keyword
Ctrl-R - Redisplays a line
Ctrl-Z - Exits configuration mode and returns to the EXEC
Down Arrow - Allows user to scroll forward through former commands
Up Arrow - Allows user to scroll backward through former commands
Ctrl-Shift-6 - Allows the user to interrupt an IOS process such as ping or traceroute
Ctrl-C - Aborts the current command and exits the configuration mode

show arp - Displays the ARP table of the device.


show mac-address-table - (switch only) Displays the MAC table of a switch.
show startup-config - Displays the saved configuration located in NVRAM.
show running-config - Displays the contents of the currently running configuration file or
the configuration for a specific interface, or map class information.
show ip interfaces - Displays IPv4 statistics for all interfaces on a router. To view the
statistics for a specific interface, enter the show ip interfaces command followed by the
specific interface slot/port number. Another important format of this command is show ip
interface brief. This is useful to get a quick summary of the interfaces and their
operational state.
The command to save the running configuration to startup configuration file is:
Router#copy running-config startup-config
Router(config)#hostname AtlantaHQ
AtlantaHQ(config)# no hostname

The following commands are used in global configuration mode to set a password for the
console line:
Switch(config)#line console 0
Switch(config-line)#password password
Switch(config-line)#login
The following commands are used to set the passwords:
Router(config)#enable password password
Router(config)#enable secret password
The following commands are used to set a password on vty lines:
Router(config)#line vty 0 4
Router(config-line)#password password
Router(config-line)#login
To configure a MOTD, from global configuration mode enter the banner motd command:
Switch(config)#banner motd # message #

Configure the Ethernet IP address using the following commands:


Router(config)#interface FastEthernet 0/0
Router(config-if)#ip address ip_address netmask
Router(config-if)#no shutdown
As shown in the figure, the commands that are used to set a clock rate and enable a serial
interface are:
Router(config)#interface Serial 0/0/0
Router(config-if)#clock rate 56000
Router(config-if)#no shutdown

Das könnte Ihnen auch gefallen