:六一儿童节,下面是我对你们满满的祝福Switch(config)#ip router 192.168.3.0 255.255.255.0f
Switch(config)#ip router 192.168.3.0 255.255.255.0 f Switch(config)#in
Switch(config)#interface vl
Switch(config)#interface vlan 20
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to up
Switch(config-if)#ip ad
Switch(config-if)#ip address 192.168.7.1 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#no shutdown
Switch(config-if)#ex
Switch(config-if)#exit
Switch(config)#in
Switch(config)#interface vl
Switch(config)#interface vlan 30
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan30, changed state to up
Switch(config-if)#ip ad
Switch(config-if)#ip address 192.168.8.1 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#no shutdown
Switch(config-if)#
Switch(config-if)#ex
Switch(config-if)#exit
Switch(config)#no sw
Switch(config)#ex
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#no sw
Switch#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#in
Switch(config)#interface f
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#no sw
Switch(config-if)#no switchport
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Switch(config-if)#ip ad
Switch(config-if)#ip address 192.168.4.1 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#no shutdown
Switch(config)#ip route 192.168.3.0 255.255.255.0 f
Switch(config)#ip route 192.168.3.0 255.255.255.0 fastEthernet 0/1
Switch(config)#ip route 192.168.4.0 255.255.255.0 f
Switch(config)#ip route 192.168.4.0 255.255.255.0 fastEthernet 0/1
Switch(config)#ip route 192.168.5.0 255.255.255.0 f
Switch(config)#ip route 192.168.5.0 255.255.255.0 fastEthernet 0/1
Switch(config)#ip route 192.168.6.0 255.255.255.0 f
Switch(config)#ip route 192.168.6.0 255.255.255.0 fastEthernet 0/2
% Must specify a L3 port as the next hop interface
Switch(config)#ip route 192.168.7.0 255.255.255.0 f
Switch(config)#ip route 192.168.7.0 255.255.255.0 fastEthernet 0/3
% Must specify a L3 port as the next hop interface
Switch(config)#ip route 192.168.8.0 255.255.255.0 in
Switch(config)#ip route 192.168.8.0 255.255.255.0 in
Switch(config)#ip route 192.168.8.0 255.255.255.0 f
Switch(config)#ip route 192.168.8.0 255.255.255.0 fastEthernet 0/4
% Must specify a L3 port as the next hop interface
Switch(config)#
Switch(config)#ip route 0.0.0.0 0.0.0.0 f
Switch(config)#ip route 0.0.0.0 0.0.0.0 fastEthernet 0/1
Switch(config)#
Switch(config)#ex
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#sh
Switch#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
S 192.168.1.0/24 is directly connected, FastEthernet0/1
S 192.168.2.0/24 is directly connected, FastEthernet0/1
S 192.168.3.0/24 is directly connected, FastEthernet0/1
C 192.168.4.0/24 is directly connected, FastEthernet0/1
S 192.168.5.0/24 is directly connected, FastEthernet0/1
C 192.168.6.0/24 is directly connected, Vlan10
C 192.168.7.0/24 is directly connected, Vlan20
C 192.168.8.0/24 is directly connected, Vlan30
S* 0.0.0.0/0 is directly connected, FastEthernet0/1
Switch#happy children's day
Switch(config)#ip router 192.168.3.0 255.255.255.0 f Switch(config)#in
Switch(config)#interface vl
Switch(config)#interface vlan 20
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan20, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan20, changed state to up
Switch(config-if)#ip ad
Switch(config-if)#ip address 192.168.7.1 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#no shutdown
Switch(config-if)#ex
Switch(config-if)#exit
Switch(config)#in
Switch(config)#interface vl
Switch(config)#interface vlan 30
Switch(config-if)#
%LINK-5-CHANGED: Interface Vlan30, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan30, changed state to up
Switch(config-if)#ip ad
Switch(config-if)#ip address 192.168.8.1 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#no shutdown
Switch(config-if)#
Switch(config-if)#ex
Switch(config-if)#exit
Switch(config)#no sw
Switch(config)#ex
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#no sw
Switch#config
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#in
Switch(config)#interface f
Switch(config)#interface fastEthernet 0/1
Switch(config-if)#no sw
Switch(config-if)#no switchport
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Switch(config-if)#ip ad
Switch(config-if)#ip address 192.168.4.1 255.255.255.0
Switch(config-if)#no sh
Switch(config-if)#no shutdown
Switch(config)#ip route 192.168.3.0 255.255.255.0 f
Switch(config)#ip route 192.168.3.0 255.255.255.0 fastEthernet 0/1
Switch(config)#ip route 192.168.4.0 255.255.255.0 f
Switch(config)#ip route 192.168.4.0 255.255.255.0 fastEthernet 0/1
Switch(config)#ip route 192.168.5.0 255.255.255.0 f
Switch(config)#ip route 192.168.5.0 255.255.255.0 fastEthernet 0/1
Switch(config)#ip route 192.168.6.0 255.255.255.0 f
Switch(config)#ip route 192.168.6.0 255.255.255.0 fastEthernet 0/2
% Must specify a L3 port as the next hop interface
Switch(config)#ip route 192.168.7.0 255.255.255.0 f
Switch(config)#ip route 192.168.7.0 255.255.255.0 fastEthernet 0/3
% Must specify a L3 port as the next hop interface
Switch(config)#ip route 192.168.8.0 255.255.255.0 in
Switch(config)#ip route 192.168.8.0 255.255.255.0 in
Switch(config)#ip route 192.168.8.0 255.255.255.0 f
Switch(config)#ip route 192.168.8.0 255.255.255.0 fastEthernet 0/4
% Must specify a L3 port as the next hop interface
Switch(config)#
Switch(config)#ip route 0.0.0.0 0.0.0.0 f
Switch(config)#ip route 0.0.0.0 0.0.0.0 fastEthernet 0/1
Switch(config)#
Switch(config)#ex
Switch(config)#exit
Switch#
%SYS-5-CONFIG_I: Configured from console by console
Switch#sh
Switch#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 0.0.0.0 to network 0.0.0.0
S 192.168.1.0/24 is directly connected, FastEthernet0/1
S 192.168.2.0/24 is directly connected, FastEthernet0/1
S 192.168.3.0/24 is directly connected, FastEthernet0/1
C 192.168.4.0/24 is directly connected, FastEthernet0/1
S 192.168.5.0/24 is directly connected, FastEthernet0/1
C 192.168.6.0/24 is directly connected, Vlan10
C 192.168.7.0/24 is directly connected, Vlan20
C 192.168.8.0/24 is directly connected, Vlan30
S* 0.0.0.0/0 is directly connected, FastEthernet0/1
Switch#happy children's day