Académique Documents
Professionnel Documents
Culture Documents
+mode :
+setup : no (yes : ctrl + c )
+user : Router> enable
+privilege : Router#disable - > Router>
+global : Router#conf ter - > Router(config)#exit -->Router#
+ show ip interface brief
Router#show ip interface brief
Interface
IP-Address
OK? Method Status
Prot
ocol
FastEthernet0/0
unassigned
YES unset administratively down down
FastEthernet0/1
unassigned
Router(config)#interface f0/0
Router(config-if)#exit
Router(config)#exit
Router#
Router(config)#interface f0/0
Router(config-if)#no shutdown
*Mar 1 00:12:28.587: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern
et0/0, changed state to up
ctrl + z = end --> privilege
Router#show ip interface brief
Interface
IP-Address
ocol
FastEthernet0/0
unassigned
Prot
YES unset up
down
FastEthernet0/1
unassigned
Router#
Router(config)#int f0/0
Router(config-if)#shutdown
Router#show ip interface brief
Interface
IP-Address
ocol
FastEthernet0/0
unassigned
FastEthernet0/1
unassigned
Prot
Prot
YES unset up
up
FastEthernet0/1
Router(config-if)#
Example :
unassigned
Prot
YES manual up
up
FastEthernet0/1
unassigned
Router#
up
up -- > tot
up
down -> day
admin down down -> chua enable : no sh
Router#ping 12.1.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 16/19/32 ms
Router#
+ hostname :
Router(config)#hostname R1
R1(config)#
+ show version
ROM :
RAM :
NVRAM
FLASH
1.
2.
3.
4.
POST
load Bootstrap --> find IOS
Find and Load IOS --> RAM
Find and Load Startup-config ---> RAM
R1#show version
Cisco IOS Software, 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(7), RE
LEASE SOFTWARE (fc6)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Tue 28-Feb-06 21:54 by alnguyen
ROM: ROMMON Emulation Microcode
ROM: 3700 Software (C3725-ADVENTERPRISEK9-M), Version 12.4(7), RELEASE SOFTWARE
(fc6)
R1 uptime is 26 minutes
System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0
x0, BOOT_COUNT 0, BOOTDATA 19
System image file is "tftp://255.255.255.255/unknown"
R1(config)#line vty 0 4
R1(config-line)#password abc
R1(config-line)#login
R1(config)#enable secret cisco
+ telnet khong password
R1(config)#line vty 0 4
R1(config-line)#privilege level 15
R1(config-line)#no login
+ show users & clear line 99
R1#show users
Line
User
* 0 con 0
99 vty 1
Interface
User
R1#clear line 99
[confirm]
[OK]
R1#show users
Line
User
* 0 con 0
Interface
Host(s)
idle
idle
Idle
Location
00:00:00
00:04:32 12.1.1.1
Mode
Idle
Host(s)
idle
User
Idle
00:00:00
Mode
Idle
Peer Address
Location
Peer Address
R1#
R2-.2--12.0.0.0/24--.1 R1 f0/0 -.254----12.1.1.0/24------.1 PC
telnet client
telnet server
+ exit ( ngat ket noi )
R2#telnet 12.0.0.1
Trying 12.0.0.1 ... Open
R1#exit
[Connection to 12.0.0.1 closed by foreign host]
R2#
+ < ctrl + shift + 6 > + x ( stop ) & show session
R2#telnet 12.0.0.1
Trying 12.0.0.1 ... Open
R1# < ctrl + shift + 6 > + x
R2#show sessions
Conn Host
* 1 12.0.0.1
Address
12.0.0.1
Address
12.0.0.1
R2#resume 1
[Resuming connection 1 to 12.0.0.1 ... ]
R1#
+ CDP (cisco Discovery Protocol ) : layer 2
R2#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID
R1
Local Intrfce
Fas 0/0
Holdtme
150