You are on page 1of 5

Cria vlan

Switch>enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 111
Switch(config-vlan)#name Opalton_111
Switch(config-vlan)#exit
Switch(config)#vlan 112
Switch(config-vlan)#name Opalton_112
Switch(config-vlan)#exit
Switch(config)#vlan 113
Switch(config-vlan)#name Opalton_113
Switch(config-vlan)#exit
Switch(config)#vlan 114
Switch(config-vlan)#name Opalton_114
Switch(config-vlan)#exit
Switch(config)#do wr
Building configuration...
[OK]
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Interface SVI VLAN

Switch#enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface vlan 111
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan111, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan111, changed state to up

Switch(config-if)#interface vlan 111


Switch(config-if)#ip address 192.168.10.1 255.255.255.128
Switch(config-if)#no shutdow
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#interface vlan 112
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan112, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan112, changed state to up

Switch(config-if)#interface vlan 112


Switch(config-if)#ip address 192.168.10.129 255.255.255.128
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#interface vlan 113
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan113, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan113, changed state to up

Switch(config-if)#interface vlan 113


Switch(config-if)#ip address 192.168.11.1 255.255.255.128
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#interface vlan 114
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan114, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan114, changed state to up

Switch(config-if)#interface vlan 114


Switch(config-if)#ip address 192.168.11.129 255.255.255.128
Switch(config-if)#no shutdown
Switch(config-if)#exit
Switch(config)#do wr
Building configuration...
[OK]
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Acesso portas

Switch#enable
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface range fastEthernet0/1-6
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 111
Switch(config-if-range)#exit
Switch(config)#interface range fastEthernet0/7-12
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 112
Switch(config-if-range)#exit
Switch(config)#interface range fastEthernet0/13-18
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 113
Switch(config-if-range)#exit
Switch(config)#interface range fastEthernet0/19-24
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan111, changed state to
down

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan112, changed state to


down

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan114, changed state to


down

Switch(config-if-range)#switchport mode access


Switch(config-if-range)#switchport access vlan 114
Switch(config-if-range)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan114, changed state to up

Switch(config-if-range)#switchport access vlan 114


Switch(config-if-range)#exit
Switch(config)#do wr
Building configuration...
[OK]

You might also like