Sie sind auf Seite 1von 8

SW1#sho SW1#show run SW1#show running-config Building configuration... Current configuration : 2028 bytes ! version 12.

2 no service pad service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname SW1 ! boot-start-marker boot-end-marker ! ! no aaa new-model system mtu routing 1500 vtp mode transparent ip subnet-zero ! ! ! ! ! ! ! ! ! ! spanning-tree mode pvst spanning-tree etherchannel guard misconfig spanning-tree extend system-id ! vlan internal allocation policy ascending ! vlan 10 private-vlan primary private-vlan association 11-12 ! vlan 11 private-vlan isolated ! vlan 12 private-vlan community ! ! ! ! interface FastEthernet0/1 switchport private-vlan host-association 10 11 switchport mode private-vlan host ! interface FastEthernet0/2 switchport private-vlan host-association 10 11 switchport mode private-vlan host !

interface FastEthernet0/3 switchport private-vlan host-association 10 12 switchport mode private-vlan host ! interface FastEthernet0/4 switchport private-vlan host-association 10 12 switchport mode private-vlan host ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 ! interface FastEthernet0/24 switchport private-vlan mapping 10 11-12 switchport mode private-vlan promiscuous ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address ! interface Vlan10 ip address 10.0.0.1 255.255.255.0 !

ip classless ip http server ip http secure-server ! ! ! ! control-plane ! ! line con 0 logging synchronous line vty 0 4 privilege level 15 no login line vty 5 15 privilege level 15 no login ! end SW1#sho SW1#show ip int SW1#show ip interface SW1#show ip interface Interface Vlan1 Vlan10 FastEthernet0/1 FastEthernet0/2 FastEthernet0/3 FastEthernet0/4 FastEthernet0/5 FastEthernet0/6 FastEthernet0/7 FastEthernet0/8 FastEthernet0/9 FastEthernet0/10 FastEthernet0/11 FastEthernet0/12 FastEthernet0/13 FastEthernet0/14 FastEthernet0/15 FastEthernet0/16 FastEthernet0/17 FastEthernet0/18 FastEthernet0/19 FastEthernet0/20 FastEthernet0/21 FastEthernet0/22 FastEthernet0/23 FastEthernet0/24 GigabitEthernet0/1 GigabitEthernet0/2 SW1#sho SW1#show vla SW1#show vlan

br brief IP-Address unassigned 10.0.0.1 unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned unassigned

OK? YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES YES

Method manual manual unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset unset

Status up up down down up up up down down down down down down down down down down down down down down down down down down up down down

Protocol down up down down up up up down down down down down down down down down down down down down down down down down down up down down

VLAN Name Status Ports ---- -------------------------------- --------- -------------------------------

default

active

Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Gi0/1 Gi0/2

10 11 12 1002 1003 1004 1005 VLAN ---1 10 11 12 VLAN ---1002 1003 1004 1005

VLAN0010 VLAN0011 VLAN0012 fddi-default token-ring-default fddinet-default trnet-default Type ----enet enet enet enet Type ----fddi tr fdnet trnet SAID ---------100001 100010 100011 100012 SAID ---------101002 101003 101004 101005 MTU ----1500 1500 1500 1500 MTU ----1500 1500 1500 1500 Parent -----Parent ------

active active active act/unsup act/unsup act/unsup act/unsup RingNo -----RingNo -----BridgeNo -------BridgeNo -------Stp ---Stp ---ieee ibm BrdgMode -------BrdgMode -------Trans1 -----0 0 0 0 Trans1 -----0 0 0 0 Trans2 -----0 0 0 0 Trans2 -----0 0 0 0

Remote SPAN VLANs -----------------------------------------------------------------------------Primary ------10 10 SW1# SW1# *Mar nged SW1# SW1# SW1# Secondary --------11 12 Type ----------------isolated community Ports -----------------------------------------Fa0/1, Fa0/2, Fa0/24 Fa0/3, Fa0/4, Fa0/24

sho show vla 1 00:36:55.129: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, cha state to up show vla show vlan bri show vlan brief

VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------1 default active Fa0/5, Fa0/6, Fa0/7, Fa0/8 Fa0/9, Fa0/10, Fa0/11, Fa0/12 Fa0/13, Fa0/14, Fa0/15, Fa0/16 Fa0/17, Fa0/18, Fa0/19, Fa0/20 Fa0/21, Fa0/22, Fa0/23, Gi0/1 Gi0/2 10 VLAN0010 active 11 VLAN0011 active 12 VLAN0012 active 1002 fddi-default act/unsup 1003 token-ring-default act/unsup 1004 fddinet-default act/unsup 1005 trnet-default act/unsup

SW1#sho SW1#show vla SW1#show vlan pri SW1#show vlan private-vlan Primary ------10 10 Secondary --------11 12 Type ----------------isolated community Ports -----------------------------------------Fa0/1, Fa0/2, Fa0/24 Fa0/3, Fa0/4, Fa0/24

SW1#sho SW1#show vlan private-vlan ty SW1#show vlan private-vlan type Vlan ---10 11 12 Type ----------------primary isolated community

SW1#sho SW1#show int SW1#show interfaces fa SW1#show interfaces fas SW1#show interfaces fastEthernet 0/1 swi SW1#show interfaces fastEthernet 0/1 switchport Name: Fa0/1 Switchport: Enabled Administrative Mode: private-vlan host Operational Mode: down Administrative Trunking Encapsulation: negotiate Negotiation of Trunking: Off Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Voice VLAN: none Administrative private-vlan host-association: 10 (VLAN0010) 11 (VLAN0011) 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 associations: none Administrative private-vlan trunk mappings: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none SW1#show interfaces fastEthernet 0/2 switchport Name: Fa0/2 Switchport: Enabled Administrative Mode: private-vlan host Operational Mode: down Administrative Trunking Encapsulation: negotiate

Negotiation of Trunking: Off Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Voice VLAN: none Administrative private-vlan host-association: 10 (VLAN0010) 11 (VLAN0011) 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 associations: none Administrative private-vlan trunk mappings: none Operational private-vlan: none Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none SW1#show interfaces fastEthernet 0/3 switchport Name: Fa0/3 Switchport: Enabled Administrative Mode: private-vlan host Operational Mode: private-vlan host Administrative Trunking Encapsulation: negotiate Operational Trunking Encapsulation: native Negotiation of Trunking: Off Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Voice VLAN: none Administrative private-vlan host-association: 10 (VLAN0010) 12 (VLAN0012) 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 associations: none Administrative private-vlan trunk mappings: none Operational private-vlan: 10 (VLAN0010) 12 (VLAN0012) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none SW1#show interfaces fastEthernet 0/4 switchport Name: Fa0/4 Switchport: Enabled Administrative Mode: private-vlan host Operational Mode: private-vlan host Administrative Trunking Encapsulation: negotiate

Operational Trunking Encapsulation: native Negotiation of Trunking: Off Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 1 (default) Administrative Native VLAN tagging: enabled Voice VLAN: none Administrative private-vlan host-association: 10 (VLAN0010) 12 (VLAN0012) 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 associations: none Administrative private-vlan trunk mappings: none Operational private-vlan: 10 (VLAN0010) 12 (VLAN0012) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none SW1#show interfaces fastEthernet 0/24 switchport Name: Fa0/24 Switchport: Enabled Administrative Mode: private-vlan promiscuous Operational Mode: private-vlan promiscuous Administrative Trunking Encapsulation: negotiate Operational Trunking Encapsulation: native Negotiation of Trunking: Off 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: 10 (VLAN0010) 11 (VLAN0011) 12 (VLAN0012) 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 associations: none Administrative private-vlan trunk mappings: none Operational private-vlan: 10 (VLAN0010) 11 (VLAN0011) 12 (VLAN0012) Trunking VLANs Enabled: ALL Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none SW1# *Mar 1 00:37:48.388: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/5, changed state to down *Mar 1 00:37:48.388: %LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, cha

nged state to down SW1#ping 1 *Mar 1 00:37:51.416: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthern et0/5, changed state to up SW1#ping 10.0.0.254 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 10.0.0.254, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/3/8 ms

Das könnte Ihnen auch gefallen