Você está na página 1de 3

User EXEC Mode

*Router> enable Enter Privileged EXEC mode

Privileged EXEC Mode


*Router# copy running-config startup-config Copy the active configuration
to NVRAM.
Router# copy startup-config running-config Copy the configuration in
NVRAM to RAM.
Router# erase startup-configuration Erase the configuration
located in NVRAM.
Router# *ping IP Ping to that address.
!!!! echo replied
…. Timeout
Uuuu unreachable
Router# traceroute ip_address Trace each hop to that
address.
Router# show interfaces Display statistics for all
interfaces on a device.
Router# show clock Show the time set in the
router.
Router# show version Display currently loaded IOS
version, hardware, and device
information.
Router# show arp Display the ARP table of the
device.
Router# *show startup-config Display the saved
configuration located in
NVRAM.
Router# *show running-config Display the contents of the
currently running
configuration file.
Router# show ip interface Display IP statistics for
interface(s) on a router.
Router# Show ip interface brief Бүх интерфейсүүдийн товч
мэдээлэлийг үзүүлнэ.
Router# *Show interfaces Бүх интерфейсүүдийн
дэлгэрэнгүй мэдээлэлийг
үзүүлнэ.
Router# Show mac address table Switch-ийн МАС хүснэгтийг
хардаг
Router# Show flash Үйлдлийн систем суудаг
Flash санах ойн хэмжээ.
Router# Show version Техникийн бүх
үзүүлэлтүүдийг харуулна.
Router# Copy running-config start-up -config Одоо ажиллаж буй
тохиргоог эхлэлийн
тохиргооруу хуулах
Router# configure terminal Enter terminal configuration
mode
Router# Clock set 09:59:47 1 september 2009 Цаг тааруулах

Global Configuration Mode


*Router(config)# hostname CSMSrouter Assign a host name to device.
*Router(config)# enable password hw02d009 Set an unencrypted enable
password.
*Router(config)# enable secret delhii Set a strongly encrypted
enable password.
*Router(config)# service password-encryption Encrypt display of all
passwords except secret.
*Router(config)# banner motd# zarlal # Sets a message-of-the-day
banner.
*Router(config)# *line console 0 Enter console line
configuration mode.
*Router(config)# line vty 0 4 Enter virtual terminal (Telnet)
line configuration mode.
*Router(config)# interface serial 0/0/0 Enter interface configuration
mode.
*Router(config)# Ip route 192.168.0.0 255.255.255.0 Чиглүүлэх хүснэгтэд статик
10.0.0.3 чиглүүлэгч нэмж өгөх
*Router(config)#
*Router(config)# Exit Тохиргооноос буцах
*Router(config)# End Эхлэлрүү очих

Line Configuration Mode


*Router(config_line *login Enable password checking at
) login.
*Router(config_line *password gurvaljin65 Set line password.
)
*Router(config_line Exit Тохиргооноос буцах
)
*Router(config_line End Эхлэлрүү очих
)
Чиглүүлэгчийн консол шугамд нууц үг хийх
*Router(config) *line console 0
*Router(config_line *password gurvaljin65
)
*Router(config_line *login
)
*Router(config_line Exit
)
Чиглүүлэгчийн виртуаль терминал шугамд нууц үг хийх
*Router(config) line vty 0 4
*Router(config_line *password nutsug89
)
*Router(config_line *login
)
*Router(config_line Exit
)

Interface Configuration Mode


*Router(config_if) *ip address 192.168.0.56 255.255.255.0 Set interface IP address and
subnet mask.
*Router(config_if) *description bagshiinsuljee Set interface description.
*Router(config_if) *clock rate value Set clock rate for DCE device.
*Router(config_if) *no shutdown Set interface to up.
*Router(config_if) shutdown Administratively set interface
to down
*Router(config_if) Exit Тохиргооноос буцах
*Router(config_if) End Эхлэлрүү очих
*Router(config_if)

Você também pode gostar