set ip route 0.0.0.0/0.0.0.0 10.1.1.1
!
#syslog
set logging console disable
!
#set boot command
set boot config-register 0x2102
set boot system flash bootflash:cat6000-supcv.5-4-3.bin
!
#port channel
set port channel 2/7-8,3/7-8 428
!
# default port status is enable
!
!
#module 1 : 2-port 1000BaseX Supervisor
!
#module 2 : 8-port 1000BaseX Ethernet
set port name 2/7 Cat6506-02
set port name 2/8 Cat6506-02
set trunk 2/7 desirable isl 1-1005
set trunk 2/8 desirable isl 1-1005
set port channel 2/7-8 mode on
!
#module 3 : 8-port 1000BaseX Ethernet
set port name 3/7 Cat6506-02
set port name 3/8 Cat6506-02
set trunk 3/7 desirable isl 1-1005
set trunk 3/8 desirable isl 1-1005
set port channel 3/7-8 mode on
!
#module 4 : 8-port 1000BaseX Ethernet
set vlan 15 4/1
!
#module 5 : 8-port 1000BaseX Ethernet
set vlan 15 5/1
!
#module 6 : 48-port 10/100BaseTX Ethernet
!
#module 15 : 1-port Multilayer Switch Feature Card
!
#module 16 empty
end
6506-01> (enable)
Catalyst 6506-02 配置
6506-02> (enable) show config
This command shows non-default configurations only.
Use ''show config all'' to show both default and non-default configurations.
.........
................
..
begin
!
# ***** NON-DEFAULT CONFIGURATION *****
!
!
#time: Fri Jun 23 2000, 13:07:49
!
#version 5.4(3)
!
!
#system web interface version Engine: 5.1 ADP device: Cat6000 ADP Version: 1.2
ADK: 31
!
set password $2$JYD3$CcHOBhHYnLzI9O0B9F1Ov/
set enablepass $2$93UN$/2fd2eCwlRdUSkklJ/KZ21
!
#system
set system name 6506-02
set system location Core-MDF-10
set system contact sysadmin@corp.com
!
#!
#vtp
set vtp domain Core-Domain
set vlan 1 name default type ethernet mtu 1500 said 100001 state active
set vlan 10 name Aggregation-10.10.0.0/16-Even type ethernet mtu 1500 said
100010 state active
set vlan 15 name Aggregation-10.10.0.0/16-Odd type ethernet mtu 1500 said
100015 state active
set vlan 1002 name fddi-default type fddi mtu 1500 said 101002 state active
set vlan 1004 name fddinet-default type fddinet mtu 1500 said 101004 state
active stp ieee
set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active
stp ibm
set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state
active mode srb aremaxhop 7 stemaxhop 7 backupcrf off
!
#ip
set interface sc0 1 10.1.1.5/255.255.255.0 10.1.1.255
set ip route 0.0.0.0/0.0.0.0 10.1.1.1
!
#syslog
set logging console disable
!
#set boot command
set boot config-register 0x2102
set boot system flash bootflash:cat6000-supcv.5-4-3.bin
!
#port channel
set port channel 2/7-8,3/7-8 448
!
# default port status is enable
!
!
#module 1 : 2-port 1000BaseX Supervisor
!
#module 2 : 8-port 1000BaseX Ethernet
set port name 2/7 Cat6506-01
set port name 2/8 Cat6506-01
set trunk 2/7 desirable isl 1-1005
set trunk 2/8 desirable isl 1-1005
set port channel 2/7-8 mode on
!
#module 3 : 8-port 1000BaseX Ethernet
set port name 3/7 Cat6506-01
set port name 3/8 Cat6506-01
set trunk 3/7 desirable isl 1-1005
set trunk 3/8 desirable isl 1-1005
set port channel 3/7-8 mode on
!
#module 4 : 8-port 1000BaseX Ethernet
set vlan 10 4/1
!
#module 5 : 8-port 1000BaseX Ethernet
set vlan 10 5/1
!
#module 6 : 48-port 10/100BaseTX Ethernet
!
#module 15 : 1-port Multilayer Switch Feature Card
!
#module 16 empty
end
6506-02> (enable)
转载地址:http://www.net130.com/CMS/Pub/Tech/tech_config/92840.htm