Saturday 28 July 2012

VLAN'S SWITCH SIDE

Create and Name VLAN

S1(config)#vlan {VLAN NUMBER}
S1(config-vlan)#name {VLAN NAME}
S1(config -vlan)# exit


Trunk VLAN

S1(config)#int range {INT RANGE E.G fa0/0 - fa0/24}  
NOTE: int range command doesn't work in packet tracer, use int {INT}
S1(config-if)#switchport mode trunk
S1(config-if)#switchport trunk native vlan {VLAN NUMBER}

Access VLAN

S1(config)#int range {INT RANGE E.G fa0/0 - fa0/24}  
NOTE: int range command doesn't work in packet tracer, use int {INT}

S1(config-if)#switchport mode access
S1(config-if)#switchport access vlan {VLAN NUMBER}

No comments:

Post a Comment

Go nuts