Вы находитесь на странице: 1из 5

sh ip int brief

Interface IP-Address OK? Method Status Protocol


Vlan1 10.1.1.70 YES manual up down
Vlan2 unassigned YES manual administratively down down
Vlan3 10.8.8.3 YES manual up down
FastEthernet0/1 unassigned YES unset down down
FastEthernet0/2 unassigned YES unset up up
FastEthernet0/3 unassigned YES unset down down
FastEthernet0/4 unassigned YES unset down down
FastEthernet0/5 unassigned YES unset down down
FastEthernet0/6 unassigned YES unset down down
FastEthernet0/7 unassigned YES unset down down
FastEthernet0/8 unassigned YES unset down down
GigabitEthernet0/1 unassigned YES unset down down
SwitchG#sh int fa0/8 sw
Name: Fa0/8
Switchport: Enabled
Administrative Mode: trunk
Operational Mode: down
Administrative Trunking Encapsulation: dot1q
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: none
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk private VLANs: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

--More-- ######### #########Protected: false


Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
SwitchG#swithc# ## #chport trunk allowed vlan 2,3,4,10
^
% Invalid input detected at '^' marker.

SwitchG#switchport trunk allowed vlan 2,3,4,10############### vlan 2,3,4,10


################ vlan 2,3,4,10 ###############
^
% Invalid input detected at '^' marker.

SwitchG#switchport# ## ## ## ## ## ## ## ## ## ##switchport trunk allow vlan


2,3,4,10######3,4,10##### ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## #conf t
Enter configuration commands, one per line. End with CNTL/Z.
SwitchG(config)#swithport trunk # #native vlan 10
^
% Invalid input detected at '^' marker.
SwitchG(config)#swithport trunk native vlan 10###########################tchport
trunk native vlan 10##########################
^
% Invalid input detected at '^' marker.

SwitchG(config)#si# #wit#
SwitchG(config)#switc#
SwitchG(config)#switc# ## ## ## ## #int fa0/8
SwitchG(config-if)#swi
SwitchG(config-if)#switchport trunk na
SwitchG(config-if)#switchport trunk native vlan 10
SwitchG(config-if)#do sh brie# ## ## ## #fa# ## #int fa0/8 brief
sh int fa0/8 brief
^
% Invalid input detected at '^' marker.

SwitchG(config-if)#do sh int fa0/8 brief# ## ## ## ## ## #


FastEthernet0/8 is down, line protocol is down (notconnect)
Hardware is Fast Ethernet, address is 0025.4696.c209 (bia 0025.4696.c209)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 16:23:16, output 16:23:19, 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
68304 packets input, 4924711 bytes, 0 no buffer
Received 66877 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 66270 multicast, 0 pause input
0 input packets with dribble condition detected
17433 packets output, 1329263 bytes, 0 underruns
--More-- ######### ######### 0 output errors, 0 collisions, 1
interface resets
--More-- ######### ######### 0 babbles, 1 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
SwitchG(config-if)#sh# ## #^Z
SwitchG#s
21:08:39: %SYS-5-CONFIG_I: Configured from console by console
SwitchG#sh vlan

VLAN Name Status Ports


---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/3, Fa0/4, Fa0/5
Fa0/6, Fa0/7, Fa0/8, Gi0/1
8 vlan8 active Fa0/2
10 VLAN0010 active
30 VLAN0030 active
42 VLAN0042 active
43 VLAN0043 active
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
8 enet 100008 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
42 enet 100042 1500 - - - - - 0 0
43 enet 100043 1500 - - - - - 0 0
--More-- ######### #########
SwitchG#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SwitchG(config)#int range fa0/3# #1 - 23# ## #7
SwitchG(config-if-range)#siw# ## #wit
SwitchG(config-if-range)#switchport mode a
SwitchG(config-if-range)#switchport mode access
SwitchG(config-if-range)#exit
SwitchG(config)#wi# ## #end
SwitchG#
21:10:38: %SYS-5-CONFIG_I: Configured from console by console
SwitchG#wr
Building configuration...
[OK]
SwitchG#conf t
Enter configuration commands, one per line. End with CNTL/Z.
SwitchG(config)#conf t# ## ## ## ## ## #int fa0/8
SwitchG(config-if)#swi
SwitchG(config-if)#switchport tru
SwitchG(config-if)#switchport trunk mode# ## ## ## #nati
SwitchG(config-if)#switchport trunk native vlan 1
SwitchG(config-if)#end
SwitchG#s
21:11:48: %SYS-5-CONFIG_I: Configured from console by console
SwitchG#sh vlan # ## ## ## ## #int fa0/8 brief
^
% Invalid input detected at '^' marker.

SwitchG#sh int fa0/8 brief# ## ## ## ## ## #


FastEthernet0/8 is down, line protocol is down (notconnect)
Hardware is Fast Ethernet, address is 0025.4696.c209 (bia 0025.4696.c209)
MTU 1500 bytes, BW 100000 Kbit, DLY 100 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive set (10 sec)
Auto-duplex, Auto-speed, media type is 10/100BaseTX
input flow-control is off, output flow-control is unsupported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 16:27:22, output 16:27:25, 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
68304 packets input, 4924711 bytes, 0 no buffer
Received 66877 broadcasts (0 multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
0 watchdog, 66270 multicast, 0 pause input
0 input packets with dribble condition detected
17433 packets output, 1329263 bytes, 0 underruns
--More-- ######### ######### 0 output errors, 0 collisions, 1
interface resets
0 babbles, 1 late collision, 0 deferred
0 lost carrier, 0 no carrier, 0 PAUSE output
0 output buffer failures, 0 output buffers swapped out
SwitchG#

SwitchG con0 is now available

Press RETURN to get started.


User Access Verification

Password:
% Password: timeout expired!
Password:
% Password: timeout expired!
Password:
% Password: timeout expired!
% Bad passwords

SwitchG con0 is now available

Вам также может понравиться