本文发表在 rolia.net 枫下论坛I tried to test and the result is below:
######### show ver to show the IOS ver, it is " Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(37)SG"
TEST#show ver
Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(37)SG, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Tue 17-Apr-07 18:22 by prod_rel_team
Image text-base: 0x10000000, data-base: 0x11860220
ROM: 12.1(12r)EW
Dagobah Revision 95, Swamp Revision 24
TEST uptime is 6 weeks, 1 day, 20 hours, 12 minutes
Uptime for this control processor is 6 weeks, 1 day, 20 hours, 8 minutes
System returned to ROM by Admin requested switchover during ISSU
System image file is "slot0:cat4500-entservicesk9-mz.122-37.SG.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C4507R (MPC8245) processor (revision 5) with 524288K bytes of memory.
Processor board ID FOX081800LP
MPC8245 CPU at 333Mhz, Supervisor IV
Last reset from Redundancy Reset
12 Virtual Ethernet interfaces
52 Gigabit Ethernet interfaces
403K bytes of non-volatile configuration memory.
Configuration register is 0x2102
################ confirm that there is not VLAN 11 or VLAN 12, then create them
TEST#show vlan id 11
VLAN id 11 not found in current VLAN database
TEST#show vlan id 12
VLAN id 12 not found in current VLAN database
TEST#conf t
Enter configuration commands, one per line. End with CNTL/Z.
TEST(config)#vlan 11
TEST(config-vlan)#name testvlan11
TEST(config-vlan)#vlan 12
TEST(config-vlan)#name testvlan12
TEST(config-vlan)#exit
############### confirm that no any layer 3 interface in the 10.0.0.0
TEST(config)#do show ip route 10.0.0.0
% Network not in table
################# configure the interface VLAN 11&12 layer 3 information: IP address, you can fin that there is an alarm"10.12.5.0 overlaps with Vlan11"
TEST(config)#inter vlan11
TEST(config-if)#ip address 10.12.0.1 255.255.0.0
TEST(config-if)#no shut
TEST(config-if)#int vlan 12
TEST(config-if)#ip address 10.12.5.1 255.255.255.0
10.12.5.0 overlaps with Vlan11
################## check the interfaces' IP address, the interface vlan 12 got the IP address! it is different from my previous test, maybe it depends on the IOS, but look my next step
TEST(config-if)#do show run int vlan 11
Building configuration...
Current configuration : 58 bytes
!
interface Vlan11
ip address 10.12.0.1 255.255.0.0
end
TEST(config-if)#do show run int vlan 12
Building configuration...
Current configuration : 70 bytes
!
interface Vlan12
ip address 10.12.5.1 255.255.255.0
shutdown
end
###### as the interface vlan 12's status is "shutdown", try to makt it up, but got the alarm "10.12.5.0 overlaps with Vlan11 Vlan12: incorrect IP address assignment"
TEST(config-if)#int vlan 12
TEST(config-if)#no shut
10.12.5.0 overlaps with Vlan11
Vlan12: incorrect IP address assignment
############# check the interface vlan 12 again after the command of "no shut", it is still "shutdown", it means, it can not be up if the IP address overlap!
TEST(config-if)#do show run int vlan 12
Building configuration...
Current configuration : 70 bytes
!
interface Vlan12
ip address 10.12.5.1 255.255.255.0
shutdown
end
TEST(config-if)#更多精彩文章及讨论,请光临枫下论坛 rolia.net
######### show ver to show the IOS ver, it is " Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(37)SG"
TEST#show ver
Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500-ENTSERVICESK9-M), Version 12.2(37)SG, RELEASE SOFTWARE (fc1)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2007 by Cisco Systems, Inc.
Compiled Tue 17-Apr-07 18:22 by prod_rel_team
Image text-base: 0x10000000, data-base: 0x11860220
ROM: 12.1(12r)EW
Dagobah Revision 95, Swamp Revision 24
TEST uptime is 6 weeks, 1 day, 20 hours, 12 minutes
Uptime for this control processor is 6 weeks, 1 day, 20 hours, 8 minutes
System returned to ROM by Admin requested switchover during ISSU
System image file is "slot0:cat4500-entservicesk9-mz.122-37.SG.bin"
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
cisco WS-C4507R (MPC8245) processor (revision 5) with 524288K bytes of memory.
Processor board ID FOX081800LP
MPC8245 CPU at 333Mhz, Supervisor IV
Last reset from Redundancy Reset
12 Virtual Ethernet interfaces
52 Gigabit Ethernet interfaces
403K bytes of non-volatile configuration memory.
Configuration register is 0x2102
################ confirm that there is not VLAN 11 or VLAN 12, then create them
TEST#show vlan id 11
VLAN id 11 not found in current VLAN database
TEST#show vlan id 12
VLAN id 12 not found in current VLAN database
TEST#conf t
Enter configuration commands, one per line. End with CNTL/Z.
TEST(config)#vlan 11
TEST(config-vlan)#name testvlan11
TEST(config-vlan)#vlan 12
TEST(config-vlan)#name testvlan12
TEST(config-vlan)#exit
############### confirm that no any layer 3 interface in the 10.0.0.0
TEST(config)#do show ip route 10.0.0.0
% Network not in table
################# configure the interface VLAN 11&12 layer 3 information: IP address, you can fin that there is an alarm"10.12.5.0 overlaps with Vlan11"
TEST(config)#inter vlan11
TEST(config-if)#ip address 10.12.0.1 255.255.0.0
TEST(config-if)#no shut
TEST(config-if)#int vlan 12
TEST(config-if)#ip address 10.12.5.1 255.255.255.0
10.12.5.0 overlaps with Vlan11
################## check the interfaces' IP address, the interface vlan 12 got the IP address! it is different from my previous test, maybe it depends on the IOS, but look my next step
TEST(config-if)#do show run int vlan 11
Building configuration...
Current configuration : 58 bytes
!
interface Vlan11
ip address 10.12.0.1 255.255.0.0
end
TEST(config-if)#do show run int vlan 12
Building configuration...
Current configuration : 70 bytes
!
interface Vlan12
ip address 10.12.5.1 255.255.255.0
shutdown
end
###### as the interface vlan 12's status is "shutdown", try to makt it up, but got the alarm "10.12.5.0 overlaps with Vlan11 Vlan12: incorrect IP address assignment"
TEST(config-if)#int vlan 12
TEST(config-if)#no shut
10.12.5.0 overlaps with Vlan11
Vlan12: incorrect IP address assignment
############# check the interface vlan 12 again after the command of "no shut", it is still "shutdown", it means, it can not be up if the IP address overlap!
TEST(config-if)#do show run int vlan 12
Building configuration...
Current configuration : 70 bytes
!
interface Vlan12
ip address 10.12.5.1 255.255.255.0
shutdown
end
TEST(config-if)#更多精彩文章及讨论,请光临枫下论坛 rolia.net