CLI session with the switch is open.
To end the CLI session, enter [Exit].
%LINK-3-UPDOWN: Interface FastEthernet0/3, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/4, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/5, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/6, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/6, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/7, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/7, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/8, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/8, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/9, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/9, changed state to down
%LINK-3-UPDOWN: Interface FastEthernet0/10, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to down
Switch>enable
Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname SW3
SW3(config)#exit
SW3#vlan database
SW3(vlan)#vlan 10 name First
VLAN 10 added:
Name:First
SW3(vlan)#vlan 20 name Second
VLAN 20 added:
Name:Second
SW3(vlan)#vlan 30 name Third
VLAN 30 added:
Name:Third
SW3(vlan)#exit
APPLY completed.
Exiting....
SW3#
SW3#sh vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4
Fa0/5, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
10 First active
20 Second active
30 Third active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active
VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
30 enet 100030 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
SW3#
SW3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SW3(config)#interface range fa0/1 - fa0/10
SW3(config-if)#switchport mode access
SW3(config-if)#exit
SW3(config)#interface range fa0/11 - fa0/12
SW3(config-if)#switchport mode trunk
SW3(config-if)#exit
SW3(config)#interface fa0/1
SW3(config-if)#switchport access vlan 10
SW3(config-if)#interface fa0/2
SW3(config-if)#switchport access vlan 3
% Access VLAN does not exist. Creating vlan 3
SW3(config-if)#switchport access vlan 20
SW3(config-if)#interface fa0/3
SW3(config-if)#switchport access vlan 40
% Access VLAN does not exist. Creating vlan 40
SW3(config-if)#switchport access vlan 30
SW3(config-if)#exit
SW3(config)#exit
SW3#sh interface fa0/11
FastEthernet0/11 is up, line protocol is up
Hardware is Fast Ethernet, address is 000C.3080.3180 (bia 000C.3080.3180)
MTU 1500 bytes, BW 10000 Kbit, DLY 1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Auto-duplex, Auto-speed
Encapsulation ARPA, loopback not set
ARP type: ARPA, ARP Timeout 04:00:00
Last input 02:29:44, output never, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue :0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
269 packets input, 71059 bytes, 0 no buffer
Received 6 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
7290 packets output, 429075 bytes, 0 underruns
0 output errors, 3 interface resets
0 output buffer failures, 0 output buffers swapped out
'학교 과제 > 네트워크 구축실무' 카테고리의 다른 글
| 네구 라우팅 설정 (0) | 2008/06/18 |
|---|---|
| 네프 080521 VTP (0) | 2008/05/21 |
| 080514 네구.. (0) | 2008/05/14 |
| 080514 네구 (0) | 2008/05/14 |
| STP 관련, STP (Spanning Tree Protocol)' (0) | 2008/04/16 |
| 스위치 5대 기능 (2) | 2008/04/02 |



