Cisco vlans/trunks basic configuration examples

/trunk+navive vlan + encapsulation

interface GigabitEthernet0/15
description xx
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 555
switchport trunk native vlan 555
switchport mode trunk
!

//trunk
interface FastEthernet0/9
description yy
switchport trunk allowed vlan 555
switchport mode trunk
spanning-tree portfast
//access
interface FastEthernet0/11
description zz
switchport access vlan 555
switchport mode access
spanning-tree portfast

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s