Sunteți pe pagina 1din 9

CCNA_EWAN---B1

B1>
B1>en
B1#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
B1(config)#ip dhcp excluded-address 10.1.10.1 10.1.10.10
B1(config)#ip dhcp excluded-address 10.1.20.1 10.1.20.10
B1(config)#ip dhcp excluded-address 10.1.30.1 10.1.30.10
B1(config)#ip dhcp excluded-address 10.1.88.1 10.1.88.10
B1(config)#ip dhcp excluded-address 10.1.99.1 10.1.99.10
B1(config)#ip dhcp pool B1_vlan10
B1(dhcp-config)#network 10.1.10.1 255.255.255.0
B1(dhcp-config)#default-router 10.1.10.1
B1(dhcp-config)#dns-server 10.0.1.4
B1(dhcp-config)#ex
B1(config)#ip dhcp pool B1_VLAN20
B1(dhcp-config)#network 10.1.20.0 255.255.255.0
B1(dhcp-config)#default-router 10.1.20.1
B1(dhcp-config)#dns-server 10.0.1.4
B1(dhcp-config)#ex
B1(config)#ip dhcp pool B1_VLAN30
B1(dhcp-config)#network 10.1.30.0 255.255.255.0
B1(dhcp-config)#default-router 10.1.30.1
B1(dhcp-config)#dns-server 10.0.1.4
B1(dhcp-config)#ex
B1(config)#ip dhcp pool B1_VLAN88
B1(dhcp-config)#network 10.1.88.0 255.255.255.0
B1(dhcp-config)#default-router 10.1.88.1
B1(dhcp-config)#dns-server 10.0.1.4
B1(dhcp-config)#ex
B1(config)#ip dhcp pool B1_VLAN99
B1(dhcp-config)#network 10.1.99.0 255.255.255.0
B1(dhcp-config)#default-router 10.1.99.1
B1(dhcp-config)#dns-server 10.0.1.4
B1(dhcp-config)#ex
B1(config)#end
B1(config)#interface fa 0/0
B1(config-if)#no ip add
B1(config-if)#no ip address
B1(config-if)#dupl
B1(config-if)#duplex auto
B1(config-if)#spe
B1(config-if)#speed aut
B1(config-if)#speed auto
B1(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t
o up
B1(config-if)#ex
B1(config)#in fa 0/0.20
B1(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20, changed stat


e to up
B1(config-subif)#enc
B1(config-subif)#encapsulation dot1Q ?
<1-1005> IEEE 802.1Q VLAN ID
B1(config-subif)#encapsulation dot1Q 10
B1(config-subif)#ip add
B1(config-subif)#ip address 10.1.10.1 255.255.255.0
B1(config-subif)#ex
B1(config)#in fa0/0.20
B1(config-subif)#enc
B1(config-subif)#encapsulation dot1Q 20
B1(config-subif)#ip
B1(config-subif)#ip ad
B1(config-subif)#ip address 10.1.20.1 255.255.255.0
B1(config-subif)#ex
B1(config)#in fa 0/0.30
%LINK-5-CHANGED: Interface FastEthernet0/0.30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.30, changed stat
e to up
B1(config-subif)#encapsulation dot1Q 30
B1(config-subif)#ip ad
B1(config-subif)#ip address 10.1.30.1 255.255.255.0
B1(config-subif)#ex
B1(config)#in fa 0/0.88
%LINK-5-CHANGED: Interface FastEthernet0/0.88, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.88, changed stat
e to up
B1(config-subif)#en
B1(config-subif)#encapsulation dot1Q 88
B1(config-subif)#ip add 10.1.88.1 255.255.255.0
B1(config-subif)#ex
B1(config)#in fa 0/0.99
%LINK-5-CHANGED: Interface FastEthernet0/0.99, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.99, changed stat
e to up
B1(config-subif)#encapsulation dot1Q 99
B1(config-subif)#ip address 10.1.99.1 255.255.255.0
B1(config-subif)#ex
B1(config)#in fa 0/1
B1(config-if)#no ip add
B1(config-if)#duplex auto
B1(config-if)#speed auto
B1(config-if)#shutdown
B1(config-if)#ex
B1(config)#in s0/0/0
B1(config-if)#ip add 10.255.255.2 255.255.255.252
B1(config-if)#en
B1(config-if)#encapsulation fr
B1(config-if)#encapsulation frame-relay
B1(config-if)#frame-relay interface-dlci 41
B1(config-if)#frame-relay lmi-type q933a
B1(config-if)#ip summary-address eigrp 100 10.1.0.0 255.255.0.0 5
B1(config-if)#ex
B1(config)#in vlan1
B1(config-if)#shutdown
B1(config-if)#ex
B1(config)#router eigrp 100
B1(config-router)#passive-interface fastEthernet 0/0.10

%Invalid interface type and number


B1(config-router)#passive-interface fastEthernet 0/0.20
B1(config-router)#passive-interface fastEthernet 0/0.30
B1(config-router)#passive-interface fastEthernet 0/0.99
B1(config-router)#network 10.0.0.0
B1(config-router)#no auto-summary
B1(config-router)#ex
B1(config)#ip route 0.0.0.0 0.0.0.0 10.255.255.1
B1(config)#no cdp run
B1(config)#ex
B1#
%SYS-5-CONFIG_I: Configured from console by console
B3
B3>en
B3#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
B3(config)#ip dhc
B3(config)#ip dhcp ex
B3(config)#ip dhcp excluded-address 10.3.10.1 10.3.10.10
B3(config)#ip dhcp excluded-address 10.3.20.1 10.3.20.10
B3(config)#ip dhcp excluded-address 10.3.30.1 10.3.30.10
B3(config)#ip dhcp excluded-address 10.3.88.1 10.3.88.10
B3(config)#no ip dhcp excluded-address 10.3.88.1 10.3.88.10
B3(config)#ip dhcp excluded-address 10.3.88.1 10.3.88.24
B3(config)#ip dhcp excluded-address 10.3.99.1 10.3.99.24
B3(config)#ip dhcp pool B3_VLAN10
B3(dhcp-config)#network 10.3.10.0 255.255.255.0
B3(dhcp-config)#default-router 10.3.10.1
B3(dhcp-config)#dns-server 10.0.1.4
B3(dhcp-config)#ip dhcp pool B3_VLAN20
B3(dhcp-config)#network 10.3.20.0 255.255.255.0
B3(dhcp-config)#default-router 10.3.20.1
B3(dhcp-config)#dns-server 10.0.1.4
B3(dhcp-config)#ex
B3(config)#ip dhcp pool B3_VLAN30
B3(dhcp-config)#network 10.3.30.0 255.255.255.0
B3(dhcp-config)#default-router 10.3.30.1
B3(dhcp-config)#dns-server 10.0.1.4
B3(dhcp-config)#ex
B3(config)#ip dhcp pool B3_VLAN88
B3(dhcp-config)#network 10.3.88.0 255.255.255.0
B3(dhcp-config)#default-router 10.3.88.1
B3(dhcp-config)#dns-server 10.0.1.4
B3(dhcp-config)#ip dhcp pool B3_VLAN99
B3(dhcp-config)#network 10.3.99.0 255.255.255.0
B3(dhcp-config)#default-router 10.3.99.1
B3(dhcp-config)#dns-server 10.0.1.4
B3(dhcp-config)#ex
B3(config)#in fa 0/0.10
B3(config-subif)#ex
B3(config)#in fa 0/0
B3(config-if)#no ip add
B3(config-if)#duplex auto
B3(config-if)#speed auto
B3(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state t


o up
%LINK-5-CHANGED: Interface FastEthernet0/0.10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.10,
e to up
B3(config-if)#ex
B3(config)#in fa 0/0.10
B3(config-subif)#encapsulation dot1Q 10
B3(config-subif)#ip add 10.3.10.1 255.255.255.0
B3(config-subif)#ex
B3(config)#in fa 0/0.20
B3(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.20,
e to up
B3(config-subif)#en
B3(config-subif)#encapsulation dot
B3(config-subif)#encapsulation dot1Q 20
B3(config-subif)#ip add 10.3.20.1 255.255.255.0
B3(config-subif)#ex
B3(config)#in fa 0/0.30
B3(config-subif)#
%LINK-5-CHANGED: Interface FastEthernet0/0.30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.30,
e to up
B3(config-subif)#en
B3(config-subif)#encapsulation dot1
B3(config-subif)#encapsulation dot1Q 30
B3(config-subif)#ip add 10.3.30.1 255.255.255.0
B3(config-subif)#ex
B3(config)#in fa 0/0.88
%LINK-5-CHANGED: Interface FastEthernet0/0.88, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.88,
e to up
B3(config-subif)#en
B3(config-subif)#encapsulation dot
B3(config-subif)#encapsulation dot1Q 88
B3(config-subif)#ip add 10.3.88.1 255.255.255.0
B3(config-subif)#ex
B3(config)#in fa 0/0.99
%LINK-5-CHANGED: Interface FastEthernet0/0.99, changed state to up

changed stat

changed stat

changed stat

changed stat

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.99, changed stat


e to up
B3(config-subif)#en
B3(config-subif)#encapsulation dot1Q 99
B3(config-subif)#ip add 10.3.99.1 255.255.255.0
B3(config-subif)#ex
B3(config)#in fa 0/1
B3(config-if)#no ip add
B3(config-if)#duplex auto
B3(config-if)#speed auto
B3(config-if)#shutdown
B3(config-if)#ex
B3(config)#in s0/0/0
B3(config-if)#ip add 10.255.255.10 255.255.255.252
B3(config-if)#en

B3(config-if)#encapsulation f
B3(config-if)#encapsulation frame-relay
B3(config-if)#fr
B3(config-if)#frame-relay in
B3(config-if)#frame-relay inter
B3(config-if)#frame-relay interface-dlci 41
B3(config-if)#fr
B3(config-if)#frame-relay lm
B3(config-if)#frame-relay lmi-type q
B3(config-if)#frame-relay lmi-type q933a
B3(config-if)#ip s
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to do
wn
B3(config-if)#ip s
B3(config-if)#ip su
B3(config-if)#ip summary-address ei
B3(config-if)#ip summary-address eigrp 100 10.3.0.0 255.255.0.0 5
B3(config-if)#ex
B3(config)#in vlan1
B3(config-if)#shu
B3(config-if)#shutdown
B3(config-if)#ex
B3(config)#rout
B3(config)#router eigr
B3(config)#router eigrp 100
B3(config-router)#pa
B3(config-router)#passive-interface 0/0.10
^
% Invalid input detected at '^' marker.
B3(config-router)#passive-interface fa 0/0.10
B3(config-router)#passive-interface fa 0/0.20
B3(config-router)#passive-interface fa 0/0.30
B3(config-router)#passive-interface fa 0/0.99
B3(config-router)#ne
B3(config-router)#net
B3(config-router)#network 10.0.0.0
B3(config-router)#no au
B3(config-router)#no auto-summary
B3(config-router)#ex
B3(config)#ip route 0.0.0.0 10.255.255.9
% Incomplete command.
B3(config)#ip route 0.0.0.0 0.0.0.0 10.255.255.9
B3(config)#no dc
B3(config)#no cd
B3(config)#no cdp r
B3(config)#no cdp run
B3(config)#ex
B3#
%SYS-5-CONFIG_I: Configured from console by console
B3#config t
Enter configuration commands, one per line. End with CNTL/Z.
B3(config)#in
B3(config)#interface s 0/0/0
B3(config-if)#no frame-relay interface-dlci 41
B3(config-if)#frame-relay interface-dlci 43
B3(config-if)#

B1-S1 (not complete)


Switch#config t
Enter configuration commands, one
Switch(config)#sp
Switch(config)#spanning-tree mode
Switch(config)#spanning-tree mode
Switch(config)#sp
Switch(config)#spanning-tree vlan
Switch(config)#spanning-tree vlan
Switch(config)#spanning-tree vlan
Switch(config)#spanning-tree vlan

per line. End with CNTL/Z.


pv
pvst

1,10,20,30,88,9910
1,10,20,30,88,99 1002-1005 pr
1,10,20,30,88,99 1002-1005 pri
1,10,20,30,88,99 1002-1005 priority 4096
^
% Invalid input detected at '^' marker.
Switch(config)#spanning-tree vlan 1,10,20,30,88,99,1002-1005 priority 4096
Switch(config)#in vlan1
Switch(config-if)#no ip add
Switch(config-if)#shut
Switch(config-if)#shutdown
Switch(config-if)#in vlan 88
Switch(config-if)#no ip ad
Switch(config-if)#in vlan 99
Switch(config-if)#ip add 10.1.99.21 255.255.255.0
Switch(config-if)#ip de
Switch(config-if)#ip def
Switch(config-if)#ip default-gateway 10.1.99.1
Switch(config)#in fa 0/1
Switch(config-if)#sw
Switch(config-if)#switchport tru
Switch(config-if)#switchport trunk na
Switch(config-if)#switchport trunk native vlan 99
Switch(config-if)#ex
Switch(config)#in fa 0/2
Switch(config-if)#sw
Switch(config-if)#switchport tr
Switch(config-if)#switchport trunk n
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(99), with Switch FastEthernet0/1 (1).
a
Switch(config-if)#switchport trunk native vlan 99
Switch(config-if)#sw
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state t
o down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state t
o up
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(99), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2
(99), with Switch FastEthernet0/2 (1).
Switch(config-if)#in fa 0/1

Switch(config-if)#sw
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t
o down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state t
o up
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(99), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2
(99), with Switch FastEthernet0/2 (1).
Switch(config-if)#ex
Switch(config)#in fa 0/3
Switch(config-if)#sw
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#sw
Switch(config-if)#switchport
Switch(config-if)#switchport

tr
trunk nat
trunk native vlan 99
mode tru
mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state t
o down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/3, changed state t
o up
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3
(99), with Switch FastEthernet0/3 (1).
Switch(config-if)#ex
Switch(config)#in fa 0/4
Switch(config-if)#sw
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#sw
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#switchport

tr
trunk nat
trunk native vlan 99
mod
mode tr
mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state t
o down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/4, changed state t
o up
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3
(99), with Switch FastEthernet0/3 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4
(99), with Switch FastEthernet0/4 (1).

Switch(config-if)#ex
Switch(config)#in fa 0/5
Switch(config-if)#sw
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#sw
Switch(config-if)#switchport
Switch(config-if)#switchport
Switch(config-if)#switchport

tr
trunk na
trunk native vla
trunk native vlan 99
mo
mode tr
mode trunk

Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state t
o down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state t
o up
Switch(config-if)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(99), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2
(99), with Switch FastEthernet0/2 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3
(99), with Switch FastEthernet0/3 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4
(99), with Switch FastEthernet0/4 (1).
\
^
% Invalid input detected at '^' marker.
Switch(config-if)#ex
Switch(config)#in fa 0/1
Switch(config-if)#sw
Switch(config-if)#switchport tr
Switch(config-if)#switchport trunk na
Switch(config-if)#switchport trunk native vlan 99
Switch(config-if)#sw
Switch(config-if)#switchport mo
Switch(config-if)#switchport mode tr
Switch(config-if)#switchport mode trunk
Switch(config-if)#ex
Switch(config)#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(99), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2
(99), with Switch FastEthernet0/2 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3
(99), with Switch FastEthernet0/3 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4
(99), with Switch FastEthernet0/4 (1).

%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1


(99), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2
(99), with Switch FastEthernet0/2 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3
(99), with Switch FastEthernet0/3 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4
(99), with Switch FastEthernet0/4 (1).
Switch(config)#ex
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(99), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2
(99), with Switch FastEthernet0/2 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3
(99), with Switch FastEthernet0/3 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4
(99), with Switch FastEthernet0/4 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/1
(99), with Switch FastEthernet0/1 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/2
(99), with Switch FastEthernet0/2 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/4
(99), with Switch FastEthernet0/4 (1).
%CDP-4-NATIVE_VLAN_MISMATCH: Native VLAN mismatch discovered on FastEthernet0/3
(99), with Switch FastEthernet0/3 (1).
Switch#sp
Switch#config t
Enter configuration commands, one
Switch(config)#sp
Switch(config)#spanning-tree MODE
Switch(config)#spanning-tree MODE
Switch(config)#spanning-tree MODE
Switch(config)#spanning-tree MODE

per line. End with CNTL/Z.


PS
PVS
PVSt

S-ar putea să vă placă și