Cisco Packet Tracer mode conversion

Cisco before writing mode, I would like to explain the difference between iOS under Cisco IOS with Apple:

a. Cisco ios (Internetworking Operating System -Cisco, abbreviation iso (all lowercase) can also be written IOS (all uppercase), is different from Apple's mobile operating system iOS). ios name is CISCO network configuration system , iso is optimized for a complex operating system internetworking - similar to a local operating system (NOS), such as Novell's NetWare, LANs to be optimized. In short, it is a separate hardware and software architecture, with the continuous development of network technology, may be dynamically updated to adapt to changing technical (these changes include both hardware and software)

b. iOS is developed by Apple's mobile operating system . Was first published in 2007 at Macworld on January 9 this system, originally designed for use with iPhone, then gradually apply to the iPod touch, iPad and Apple TV and other products. Like Apple's iOS and Mac OS X operating system, belong to the class of commercial Unix operating system. This system was originally named iPhone OS, as iPad, iPhone, iPod touch use iPone OS, it announced renamed iOS in 2010WWDC conference. (IOS originally for the US network equipment company Cisco registered trademark operating system, Apple has been renamed Cisco authorized)

Learn the difference between the two above, get down to business:

A: example, the switch (other equipment, too, in the CLI command input mode conversion and the same, but not before the prompt is Switch, but the names of other devices, such as routers in the user mode : Router>, and switches: switch>)

Cisco IOS command includes 6 different modes: User Exec (user mode), Privileged Exec (privileged mode), VLAN Database, Global Configuration (Global mode), Interface Configuration (port mode) and Line Configuration (line configuration mode). The following is a transition diagram between the six modes.

In different modes, the CLI interface will prompt different, each of the following six methods prompt access mode, exit methods and uses will be described.

1. User Exec mode (user mode)

Prompt: Switch>

Access Method: Start a mileage

Exit: Type the command "logout" or "quit".

Purpose: to change the terminal settings, perform basic tests or information display system.

2. Privileged Exec mode (privileged mode)

Prompt: Switch #

Access Method: Type the command "enable" or "en" in the User Exec mode

Exit: Type the command "disable"

3. VLAN Database mode

Prompt: Switch (vlan) #

Access Method: Type the command in Privileged Exec mode "vlan database"

Exit: Type the command "exit" to return to the Privileged Exec mode

Uses: VLAN configuration parameters

4. Global Configuration Mode (Global mode)

Prompt: Switch (config) #

Access Method: Type "configure" command in Privileged Exec mode or "config t" command

Exit: Type command "exit", "end" or press "Ctrl + Z" composition mode is returned to Priveleged Exec

Uses: The configuration parameters applied to the entire switch

5. Interface Configuration Mode (port mode)

Prompt: Switch (config-if) #

Access Method: Type the command "interface specific port number" in Global Configuration Mode

Exit: Type command "exit" return "Global Configuration" mode, press "Ctrl + Z" key combination or by typing a command "end" returns "Privileged Exec" mode

6. Line Configuration mode (line configuration mode)

Prompt: Switch (config-line) #

Access Method: In Global Configuration mode, type "line vty" or "line console" command specifies the line type using the terminal

Exit: Type command "exit" return "Global Configuration" mode, press "Ctrl + Z" key combination or by typing a command "end" returns "Privilegde Exec mode

Two: IOS, the command can be input in each mode and the functions performed

(Here are a part of the command, the specific operation requires hands-on practice, in order to truly understand and verify)

1. The user EXEC mode:
Enter the command enable or en - user enters privileged EXEC mode

2. :( privileged EXEC mode commands that can be entered - the function of the command execution)

copy running-config startup-config-- for the active copy the configuration to NVRAM;
Copy Startup-config-CONFIG - running for copying configured NVRAM configuration memory;
ERASE Startup NVRAM is used to remove one-configuration-- jump;
tracerouteIP address - for each track leading to the jump address; # If the Windows computer to perform a track from the use tracert
show interfaces-- statistics for all interfaces on the display device;
show ip interface brief-- verification Interface switch status
show clock-- for displaying the time set in the router
show version-- for displaying the currently loaded version of the IOS and hardware and device information;
Show arp-- ARP table for a display device;
Show Startup-config- - displays configuration stored in NVRAM;
show running-CONFIG - used to display the contents of the currently running configuration file;
show ip interface IP interfaces-- used to display all the statistics on the router;
the configure terminal-- with to enter the terminal configuration mode; (global mode)

3. Global Mode (Mode Terminal Configuration) :( entered command - function of the command execution)
hostname hostname-- host name assigned to the device;
enable unencrypted password Password - is used to set the enable command;
enable secret password-- strong encryption used to set the enable command;
-Service encryption-Designed to-password used to encrypt the password in addition to displaying all enabled encrypted password;
Banner motd message # # - banner message for setting the date;
Line console 0-- line configuration mode for entering console;
line VTY 0 4-- for entering a virtual terminal (Telnet) line configuration mode;
the interfaces interface_name - to enter the interface configuration mode;

4. Line Mode:
login-- for initiating a login password check time;
password Password - is used to set a password line

5. Interface Configuration Mode (port mode):
IP address Netmask ip_address - to set an IP address and subnet mask;
Description Description - to set the interface description;
Clock Rate Value - DCE device for setting the clock frequency ;
NO the shutdown - for opening the interface;
the shutdown - Interface for management purposes Close

III. Application (few simple examples)

1. router Ethernet interface:
- a router Ethernet LAN as a gateway router connected directly to the network terminal device. Each Ethernet interface must have an IP address and a subnet mask to route IP packets.
Ethernet interface:
Router>
Router> enable # to enter privileged mode
Router # config t # Enter the 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 # specified interface IP address and subnet mask
Router (config-if) #no shutdown # start f0 / 0 interface to
Router (config-if) #exit # exit interface configuration mode
Router (config) #exit # exit global mode
Router #disable # exit privileged mode
Router>

Configuring the router serial interface
serial interface for connection to the WAN via a router to reach the remote site or at the ISP.
Router> enable
Router # T config
Router (config) Serial #interface the 2/0
Router (config-IF) #ip address 192.168.20.100 255.255.255.0
Router (config-IF) #clock Rate # 56000 DCE cable if it is connected, the setting the clock frequency; if the DTE connected to the cable, skip this step.
Router (config-if) #no shutdown # interface to start

Router (config-if) #description Connects to main switch in Building A # Configure interface description

3. Switch Interface Configuration

The default interface to the switch to start, there is no need to start the interface with no shutdown command.
Switch> enable
Switch # Configure Terminal
Switch (config) #interface the FastEthernet 0/1
Switch (config-IF) #description the To the 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 addresses. Address allocated to the virtual switch interface called a virtual LAN interface (VLAN), in most cases, the VLAN1 the interface, the interface is similar to the physical interfaces of the router, need to
start the interface no shutdown command.


# T config Flour_Bluff
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 the shutdown

Flour_Bluff (config) # #ip default switch-Gateway 192.168.1.1 the need for a communication device other than the gateway to the local network
Flour_Bluff (config) #exit
Flour_Bluff #

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Published 20 original articles · won praise 2 · Views 1606

Guess you like

Origin blog.csdn.net/weixin_42132733/article/details/103786733