Setting VLAN

, , No Comments





switch 3


Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vlan 50
Switch(config-vlan)#hostname novi
novi(config)#int fa 0/3
novi(config-if)#sw
novi(config-if)#switchport mo
novi(config-if)#switchport mode ac
novi(config-if)#switchport mode access
novi(config-if)#sw
novi(config-if)#switchport ac
novi(config-if)#switchport access vlan 50
novi(config-if)#exit
novi(config)#int fa 0/2
novi(config-if)#switchport mode access
novi(config-if)#switchport access vlan 50
novi(config-if)#exit
novi(config)#vlan 60
novi(config-vlan)#hostname nilna
nilna(config)#int fa 0/5
nilna(config-if)#switchport mode access
nilna(config-if)#switchport access vlan 60
nilna(config-if)#exit
nilna(config)#int fa 0/4
nilna(config-if)#switchport mode access
nilna(config-if)#switchport access vlan 60
nilna(config-if)#exit
nilna(config)#








nilna con0 is now available






Press RETURN to get started.













nilna>en
nilna#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
nilna(config)#int fa 0/1
nilna(config-if)#sw
nilna(config-if)#switchport mo
nilna(config-if)#switchport mode tr
nilna(config-if)#switchport mode trunk

nilna(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

nilna(config-if)#








nilna con0 is now available






Press RETURN to get started.











switch 1

Switch>en
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vlan 50
Switch(config-vlan)#hostname novi
novi(config)#int fa 0/4
novi(config-if)#sw
novi(config-if)#switchport mo
novi(config-if)#switchport mode ac
novi(config-if)#switchport mode access
novi(config-if)#sw
novi(config-if)#switchport ac
novi(config-if)#switchport access vl
novi(config-if)#switchport access vlan 50
novi(config-if)#exit
novi(config)#int fa 0/3
novi(config-if)#switchport mode access
novi(config-if)#switchport access vlan 50
novi(config-if)#exit
novi(config)#vlan 60
novi(config-vlan)#hostname nilna
nilna(config)#int fa 0/6
nilna(config-if)#switchport mode access
nilna(config-if)#switchport access vlan 60
nilna(config-if)#exit
nilna(config)#int fa 0/5
nilna(config-if)#switchport mode access
nilna(config-if)#switchport access vlan 60
nilna(config-if)#exit
nilna(config)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up









nilna con0 is now available






Press RETURN to get started.












%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up


nilna>en
nilna#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
nilna(config)#int fa0/1
nilna(config-if)#sw
nilna(config-if)#switchport mo
nilna(config-if)#switchport mode tr
nilna(config-if)#switchport mode trunk

nilna(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up









nilna con0 is now available






Press RETURN to get started.













nilna>en
nilna>enable
nilna#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
nilna(config)#int gig
nilna(config)#int gigabitEthernet 0/1
nilna(config-if)#sw
nilna(config-if)#switchport mo
nilna(config-if)#switchport mode tr
nilna(config-if)#switchport mode trunk
nilna(config-if)#exit
nilna(config)#int fa0/1
nilna(config-if)#sw
nilna(config-if)#switchport mo
nilna(config-if)#switchport mode tr
nilna(config-if)#switchport mode trunk
nilna(config-if)#








nilna con0 is now available






Press RETURN to get started.











router 0

Press RETURN to get started!



Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int gig 0/0
Router(config-if)#ip add 1922.168.20.0 255.255.255.0
                         ^
% Invalid input detected at '^' marker.

Router(config-if)#ip add 192.168.20.0 255.255.255.0
Bad mask /24 for address 192.168.20.0
Router(config-if)#ip add 192.168.20.7 255.255.255.0
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up

Router(config-if)#exit
Router(config)#int gig 0/1
Router(config-if)#ip add 192.168.10.4 255.255.255.252
Bad mask /30 for address 192.168.10.4
Router(config-if)#ip add 192.168.10.5 255.255.255.252
Router(config-if)#no sh

Router(config-if)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up









Router con0 is now available






Press RETURN to get started.













Router>
Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int 0/1
                   ^
% Invalid input detected at '^' marker.

Router(config)#int gig 0/1
Router(config-if)#exit
Router(config)#int gi
Router(config)#int gigabitEthernet 0/1.50
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.50, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.50, changed state to up

Router(config-subif)#enca
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 50
Router(config-subif)#ip add 192.168.50.192 255.255.255.128
Router(config-subif)#exit
Router(config)#int gigabitEthernet 0/1.60
Router(config-subif)#
%LINK-5-CHANGED: Interface GigabitEthernet0/1.60, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1.60, changed state to up

Router(config-subif)#encapsulation dot1Q 60
Router(config-subif)#ip add 192.168.50.65 255.255.255.192
Router(config-subif)#exit
Router(config)#








Router con0 is now available






Press RETURN to get started.













Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int gig 0/0
Router(config-if)#ip add 192.168.20.1 255.255.255.0
Router(config-if)#no sh
Router(config-if)#








Router con0 is now available






Press RETURN to get started.













Router>
Router>
Router>en
Router#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int gig 0/0
Router(config-if)#enc
Router(config-if)#enca
Router(config-if)#enca
Router(config-if)#encap
Router(config-if)#exiy
                     ^
% Invalid input detected at '^' marker.

Router(config-if)#exit
Router(config)#encap
Router(config)#enca
Router(config)#enc
Router(config)#en
Router(config)#enc
Router(config)#int gig0/1.50
Router(config-subif)#enc
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 50
Router(config-subif)#ip add 192.168.50.129 255.255.255.128
Router(config-subif)#no sh
Router(config-subif)#
Router(config-subif)#
Router(config-subif)#
Router(config-subif)#exit
Router(config)#int gig0/1.60
Router(config-subif)#enc
Router(config-subif)#encapsulation do
Router(config-subif)#encapsulation dot1Q 60
Router(config-subif)#ip add 192.168.60.65 255.255.255.192
Router(config-subif)#no sh
Router(config-subif)#








Router con0 is now available






Press RETURN to get started.













0 komentar:

Posting Komentar