Cisco Packet Tracer Basic operations

Source: Internet
Author: User
Tags file handling

iOS main mode
Pattern Description Prompt
User execution mode router restricted check, remote access router>
Detailed checks for privileged execution mode routers: Debug and test, file handling, remote access router#
Global configuration Mode Global configuration command Router (config) #
Additional configuration mode-specific service and interface configuration router (config-mode) #

Summary of iOS features and commands:
User execution Mode:
enable--user into privileged execution mode
Privileged Execution Mode:
The copy running-config startup-config--is used to copy the active configuration to NVRAM;
The copy startup-config running-config--is used to copy the configuration configured in NVRAM to memory;
Erase startup-configuration--for removing NVRAM jumps;
TRACEROUTEIP address--used to track each hop to that address; #若从Windows计算机执行追踪, use tracert
Show interfaces--is used to display statistics for all interfaces on the device;
Show ip interface brief--Verify switch interface status
Show clock--is used to display the time set in the router
Show version--is used to display the currently loaded iOS version as well as hardware and device information;
Show arp--is used to display the ARP table of the device;
Show startup-config--is used to display the configuration stored in NVRAM;
Show running-config--is used to display the contents of the current run configuration file;
Show IP interfaces--is used to display all interface IP statistics on the router;
Configure terminal--is used to enter terminal configuration mode;

Terminal configuration mode:
Hostname hostname--used to assign the hostname to the device;
Enable password password--for setting unencrypted enable commands;
Enable secret password--for setting strong encryption enabled commands;
The service password-encryption--is used to encrypt all passwords displayed except the Enable encryption password;
Banner motd# message#--used to set the day message banner;
The line console 0--is used to enter the console route configuration mode;
Line vty 0 4--for entering the virtual terminal (Telnet) route configuration mode;
Interfaces interface_name--is used to enter the interface configuration mode;

Line configuration mode:
login--is used to initiate password checking at login;
Password password--used to set the line password;

Interface configuration mode:
IP address ip_address netmask--is used to set interface IP addresses and subnet masks;
Description description--is used to set the interface description;
Clock rate value--is used to set the clocking of the DCE device;
No shutdown--is used to open the interface;
shutdown--shutting down an interface for administrative purposes

To configure the Router Ethernet interface:
--The Router Ethernet interface is used as a gateway to a LAN directly connected to an end device in the router network. Each Ethernet interface must have an IP address and a subnet mask to route IP packets.
To configure the Ethernet interface:
Router>
router>enable# Entering privileged mode
Router#config t# into global mode
Router (config) #interface fastethernet 0/0# Enter interface configuration mode
Router (config-if) #ip address 192.168.10.11 255.255.255.0 #指定接口IP地址和子网掩码
Router (config-if) #no shutdown# boot f0/0 interface
Router (config-if) #exit #退出接口配置模式
Router (config) #exit # exit Global mode
router#disable# Exit Privileged Mode
Router>

Configuring the Router serial interface
The serial interface is used to reach the router at the remote site or ISP over a WAN connection.
Router>enable
Router#config T
Router (config) #interface serial 2/0
Router (config-if) #ip address 192.168.20.100 255.255.255.0
Router (config-if) #clock rate 56000# If the DCE cable is connected, set the clock frequency, or skip this step if the DTE cable is connected.
Router (config-if) #no shutdown

Router (config-if) #description connects to main switch in Building a# Configuration Interface Description

Switch interface configuration:
The interface of the switch is started by default.
Switch>enable
Switch#configure Terminal

Switch (config) #interface fastethernet 0/1
Switch (config-if) #description to TAM switch
Switch (config-if) #exit
Switch (config) #hostname Flour_bluff
Flour_bluff (config) #exit
flour_bluff#


To manage the switch, you need to assign an address to it. The address of the switch is assigned to a virtual interface called the Virtual LAN Interface (VLAN), in most cases the interface is VLAN1, which is similar to the physical interface of the router and needs to be
The No shutdown command starts this interface.


Flour_bluff#config T
Flour_bluff (config) #interface vlan 1
Flour_bluff (config-if) #ip address 192.168.2.10 255.255.255.0
Flour_bluff (config-if) #no shutdown

Flour_bluff (config) #ip Default-gateway 192.168.1.1 #交换机需要一个网关才能与本地网络之外的设备通信
Flour_bluff (config) #exit
flour_bluff#

Cisco Packet Tracer Basic operations

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.