Cisco Routers: Difference between revisions

From Piszczynski
piszczynski>Aleks
(Created page with " == 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 <...")
 
piszczynski>Aleks
No edit summary
Line 23: Line 23:
*switchport mode access
*switchport mode access
*switchport access vlan <number>
*switchport access vlan <number>
*end
Configure Trunk
*interface gig <port>
*switchport trunk encapsulation dot1q
*switchport mode trunk
*end
*end

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