Cisco Routers: Difference between revisions

From Piszczynski
piszczynski>Aleks
piszczynski>Aleks
Line 37: Line 37:
Write command - write config to memory to keep changes after reboot
Write command - write config to memory to keep changes after reboot
*wr
*wr
shutdown port
*conf t
*int
*g <port number>
*shutdown

Revision as of 21:19, 3 April 2019

Cisco Routers Commands

Show MAC address table

  • show mac-address-table


Show VLAN Information

  • show vlan brief


Put into config mode

  • conf t


Create VLAN

  • vlan <number>
  • name <name>
  • exit

Configure VLAN

  • interface range Gig <port range>
  • switchport mode access
  • switchport access vlan <number>
  • end

Show interfaces command - shows trunks

  • show interfaces trunk

Configure Trunk

  • interface gig <port>
  • switchport trunk encapsulation dot1q
  • switchport mode trunk
  • end


Write command - write config to memory to keep changes after reboot

  • wr


shutdown port

  • conf t
  • int
  • g <port number>
  • shutdown