Issue seventh Cisco "Cisco" command

Source: Internet
Author: User

First of all, let's introduce Cisco's Basic command, "operation and Maintenance will be."
Root
Taren1 others 1

IP #.#.#.# 32-bit binary subnet mask network bit host bit
A 1----126 255.0.0.0 NET Master Master/8
B---191 255.255.0.0 net master/16
C 192---223 255.255.255.0 net master/24
D 224---239 multicast
E----254 research

Eight-bit binary number-----------> Decimal
00000000------------------0
11111111-----------------255
Decimal binary binary

Network segment IP range broadcast IP broadcast
1.0.0.0 1.0.0.1------1.255.255.254 1.255.255.255
2.0.0.0 2.0.0.1
126.0.0.0
128.0.0.0
128.1.0.0

127.0.0.1
Private network IP
A 10.#.#.#--------10.#.#.#
B 172.16.#.#----------172.31.#.#
C 192.168.#.#------192.168.#.#

Cmd
Ipconfig
Ping Destination IP

VLAN Virtual LAN Grouping
switch> Normal Mode
Switch>enable
switch# Global Mode
Switch#configure Terminal
Switch (config) # configure terminal mode

Switch (config) #vlan 2 create VLAN 2 group
Switch (Config-vlan) #exit exit
Switch (config) #vlan 3 create VLAN 3 group
Switch (Config-vlan) #exit exit

Switch (config) #interface fastethernet 0/3 into Fast Ethernet interface 0/3
Switch (config-if) #switchport Access VLAN 2 Switch interface Access VLAN 2 group
Switch (config) #interface fastethernet 0/4
Switch (config-if) #switchport Access VLAN 2

Switch (config) #interface fastethernet 0/5
Switch (config-if) #switchport Access VLAN 3
Switch (config) #interface fastethernet 0/6
Switch (config-if) #switchport Access VLAN 2

Switch#show VLAN
Switch (config) #interface range fastethernet 0/7-8 continuously into the Fast Ethernet port 0/7-8
Switch (config-if) #switchport Access VLAN 4

====================================================
Trunk Open Marking function
Switch (config) #interface fastethernet 0/9
Switch (config-if) #switchport mode trunk switch port marking function Ethernet Channel Bundle
Switch (config) #interface range fastethernet 0/7-9
Switch (config-if-range) #switchport mode trunk
Switch (config-if-range) #channel-group one mode on Ethernet channel Group 11
Speed Up Bandwidth backup line

Router>
Router>enable
Router#configure Terminal
Router (config) #interface fastethernet 0/0
Router (config-if) #ip address 192.168.1.1 255.255.255.0
Router (config-if) #no shutdown

DHCP address pool
Router>
Router>enable
Router#configure Terminal
Router (config) #ip DHCP pool vlan1
Router (dhcp-config) #network 192.168.1.0 255.255.255.0
Router (dhcp-config) #default-router 192.168.1.1
Router (dhcp-config) #dns-server 8.8.8.8 relay route
Router/swich (config) #interface fastethernet 0/x (physical port)
or Router/swich (config) #interface VLAN X (virtual port)
Router/switch (config-if) #ip helper-address 10.10.0.1 (IP address of DHCP server) static route
Router (config) #ip Route 3.0.0.0 255.0.0.0 1.0.0.2 Target mesh mask Next hop
Router#show IP route

NAT Network Address Translation

Network Address Translation
Inside inside
SOURCE sources
Static statics

Static NAT Network Address translation
R1 (config) #ip route 0.0.0.0 0.0.0.0 f0/1 default route
R1 (config) #ip nat inside source static 192.168.4.33 1.0.0.100
R1 (config) #ip nat inside source static 192.168.4.44 1.0.0.100
R1 (config) #in f0/0
R1 (config-if) #ip nat inside
R1 (config) #in f0/1ff
R1 (config-if) #ip Nat outside

Configure Hot Standby Routing protocol (HSRP)
Direct Connect Ping Pass
Tarena-r1 (config) #interface f0/0
TARENA-R1 (config-if) #standby 1 IP 192.168.1.254
TARENA-R1 (config-if) #standby 1 priority 200 Priorities
TARENA-R1 (config-if) #standby 1 preempt preemptive right
TARENA-R1 (config-if) #standby 1 track F0/1 port tracking

Tarena-r2 (config) #interface f0/0
TARENA-R2 (config-if) #standby 1 IP 192.168.1.254 act as IP
TARENA-R2 (config-if) #standby 1 priority 195 Priorities
TARENA-R2 (config-if) #standby 1 preempt preemptive right
TARENA-R2 (config-if) #standby 1 track F0/1 port tracking

Tarena-r1#show Standby Brief View
Thank you, Cisco's orders are basically these, if there is insufficient please leave a message
qq:3297333814

Issue seventh Cisco "Cisco" command

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.