TP 2
TP 2
TP 2
Loading "flash:/pt3000-i6q4l2-mz.121-22.EA4.bin"...
######################### [OK]
Restricted Rights Legend
Cisco WS-CSwitch-PT (RC32300) processor (revision C0) with 21039K bytes of memory.
Processor board ID FHK0610Z0WC
Running Standard Image
6 FastEthernet/IEEE 802.3 interface(s)
Switch>en
Switch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 500
Switch(config-vlan)#name etudiants
Switch(config-vlan)#exit
Switch(config)#vlan 700
Switch(config-vlan)#name enseignants
Switch(config-vlan)#exit
Switch(config)#int fa 0/1
Switch(config-if)#switchport access vlan 500
Switch(config-if)#exit
Switch(config)#int fa 1/1
Switch(config-if)#switchport access vlan 700
Switch(config-if)#exit
Switch(config)#int fa 2/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#
Switch(config-if)#exit.
-----------------------------------------------------------------------------------
----------------------------------------------------------------
config routeur
Cisco 2620 (MPC860) processor (revision 0x200) with 253952K/8192K bytes of memory
.
Processor board ID JAD05190MTZ (4292891495)
M860 processor: part number 0, mask 49
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
32K bytes of non-volatile configuration memory.
63488K bytes of ATA CompactFlash (Read/Write)
Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int fa 0/0.500
Router(config-subif)#encapsulation dot1q 500
Router(config-subif)#ip address 172.16.0.1 255.255.0.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int fa 0/0.700
Router(config-subif)#encapsulation dot1q 700
Router(config-subif)#ip address 10.0.0.1 255.0.0.0
Router(config-subif)#no sh
Router(config-subif)#exit
Router(config)#int fa0/0
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#do show ip interface br
Interface IP-Address OK? Method Status Protocol
FastEthernet0/0 unassigned YES unset up up
FastEthernet0/0.500 172.16.0.1 YES manual up up
FastEthernet0/0.700 10.0.0.1 YES manual up up
Router(config)#