Packet Tracer study

line

  • Direct line
  • Cross the line
  • Line Configuration: console switch and router configuration

device

Switch

Management Switch

https://blog.csdn.net/gengkui9897/article/details/85109962

Router

no shutdown to open port

笔记本

  • 关电源–>拔掉以太网卡–>插上无线网卡–>打开电源:就可以连无线了

通用

  • 鼠标停留在设备上可以查看设备的信息(IP地址,接口,接口的MAC地址等)

一些常用命令

  • no shutdown:启动端口
  • ip address 192.168.16.1 255.255.255.0 :设置端口IP
  • int fa 0/1 :打开端口0/1
  • int vlan 10: Open VLAN 10
  • ip route 192.168.16.0 255.255.240.0 192.168.21.1: Set routing entry and forwards 192.168.16.0/21 to 192.168.21.1
    ip route 0.0.0.0 0.0.0.0 next-hop IP: Set the default route
  • no ip route ···: Cancel route entry
  • default int fa 0/1: 0/1 cancel all the configuration port
  • switchport access vlan 10: The current port to VLAN 10
  • switchport trunk encapsulation dot1q: a package to the current port interface encapsulation protocol
  • switchport mode trunk: the port as a trunk mode (can not be performed, the first use on a command)
  • show run: display configuration (switches, routers)
Published 29 original articles · won praise 10 · views 7172

Guess you like

Origin blog.csdn.net/weixin_42017042/article/details/103104446