You are on page 1of 4

CONFIG VLAN 1184 CHO 2 PORT GIGAETHERNET 1 V 2 CHO SWITCH

CISCO ME 3400 DNG GI LP NODE B HAY PING TEST TH CHO


THIT B 3G

Switch>enable ->> bt quyn config

Switch#config terminal ->> vo ch config

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#vlan 1184 ->> to vlan 1184

Switch(config-vlan)#exit ->> v li ch config

Switch(config)#interface gi0/1 ->> vo config cho port gigaethernet


1

Switch(config-if)#no shutdown ->> bt port Gi 1 cho hot ng

Switch(config-if)#

*Mar 1 00:02:24.451: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed


stat

e to down

*Mar 1 00:02:29.560: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,


cha

nged state to up

*Mar 1 00:02:30.558: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed


stat

e to up

*Mar 1 00:02:31.565: %LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEth

ernet0/1, changed state to up

Switch(config-if)#switchport mode access --> vo ch config access


cho port

Switch(config-if)#switchport access vlan 1184--> set vlan 1184 cho port 1


Switch(config-if)#

*Mar 1 00:03:27.752: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,


cha

nged state to down

Switch(config-if)#exit

(lm tng t cho port 2)

Switch(config)#interface gi0/2

Switch(config-if)#no shutdown

Switch(config-if)#

*Mar 1 00:04:17.513: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed


stat

e to down

*Mar 1 00:04:27.009: %LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEth

ernet0/1, changed state to down

*Mar 1 00:04:28.007: %LINK-3-UPDOWN: Interface GigabitEthernet0/1, changed


stat

e to down

*Mar 1 00:04:29.274: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,


cha

nged state to up

*Mar 1 00:04:30.272: %LINK-3-UPDOWN: Interface GigabitEthernet0/2, changed


stat

e to up

*Mar 1 00:04:31.279: %LINEPROTO-5-UPDOWN: Line protocol on Interface


GigabitEth

ernet0/2, changed state to up

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 1184


*Mar 1 00:05:41.315: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1,
cha

nged state to down

Switch(config-if)#end ->> thot khi ch config

Switch#

*Mar 1 00:05:49.855: %SYS-5-CONFIG_I: Configured from console by console

Switch#show vlan --> kim tra to vlan ng cha

VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Gi0/3, Gi0/4

1002 fddi-default act/unsup

1003 token-ring-default act/unsup

1004 fddinet-default act/unsup

1005 trnet-default act/unsup

1184 VLAN1184 active Gi0/1, Gi0/2 (port 1 v 2


gn vlan 1184)

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

1 enet 100001 1500 - - - - - 0 0

1002 fddi 101002 1500 - - - - - 0 0

1003 tr 101003 1500 - - - - - 0 0

1004 fdnet 101004 1500 - - - ieee - 0 0

1005 trnet 101005 1500 - - - ibm - 0 0

1184 enet 101184 1500 - - - - - 0 0


Remote SPAN VLANs

------------------------------------------------------------------------------

Primary Secondary Type Ports

------- --------- ----------------- ------------------------------------------

VLAN Type Ports

---- ----------------- -------------------------------------------------------

Switch#copy running-config startup-config ->> lu cu hnh cho ln khi


ng sau ca switch

Destination filename [startup-config]?

Building configuration...

[OK]

Switch#

You might also like