Cisco Routers: Difference between revisions

From Piszczynski
piszczynski>Aleks
No edit summary
piszczynski>Aleks
Line 31: Line 31:
*switchport mode trunk
*switchport mode trunk
*end
*end
Write command - write config to memory to keep changes after reboot
*wr

Revision as of 20:26, 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


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