4006和50 55 65不一样,他的三层模块是外置的
所以不能象65那样用vlan直接对应,只能通过子端口
sh 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: Thu Jun 21 2001, 22:50:14
!
#version 6.1(1)
!
!
#system web interface version(s)
set enablepass $2$EAGY$eY01ej7kNWuAn.EUa0g5i.
#test
!
#system
set system name xxxx
#frame distribution method
set port channel all distribution mac both
!
#vtp
set vtp domain lj
set vlan 1 name default type ethernet mtu 1500 said 100001 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 2-10
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 192.1.1.1/255.255.255.0 192.1.1.255
set interface sl0 down
set interface me1 down
set ip route 0.0.0.0/0.0.0.0 192.1.1.254
!
#syslog
set logging console disable
set logging level cops 2 default
!
#set boot command
set boot config-register 0x2
set boot system flash bootflash:cat4000.6-1-1.bin
!
#mls
set mls nde disable
!
#port channel
set port channel 3/1-2 39
!
#module 1 : 2-port 1000BaseX Supervisor
!
#module 2 : 6-port 1000BaseX Ethernet
set udld enable 2/2
set trunk 2/1 on dot1q 1-1005
set trunk 2/2 on dot1q 1-1005
set trunk 2/3 on dot1q 1-1005
set trunk 2/4 on dot1q 1-1005
set trunk 2/5 on dot1q 1-1005
set trunk 2/6 on dot1q 1-1005
!
#module 3 : 34-port Router Switch Card
set vlan 2 3/3
set vlan 3 3/4
set vlan 4 3/5
set vlan 5 3/6
set vlan 6 3/7
set vlan 7 3/8
set vlan 8 3/9
set vlan 9 3/10
set vlan 10 3/11
set trunk 3/1 on dot1q 1-1005
set trunk 3/2 on dot1q 1-1005
set port channel 3/1-2 mode on
!
#module 4 empty
!
#module 5 empty
!
#module 6 empty
end
lj_4006_center> (enable) session 3
Trying IntlgLineCard-3...
Connected to IntlgLineCard-3.
Escape character is '^]'.
User Access Verification
Password:
Router>en
Password:
Router#sh run
Building configuration...
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
enable password xxxx
!
ip subnet-zero
no ip domain-lookup
ipx routing 0004.4d2b.8100
!
!
!
interface Port-channel1
no ip address
no ip directed-broadcast
hold-queue 300 in
!
interface Port-channel1.1
encapsulation dot1Q 1 native
ip address 192.1.1.254 255.255.255.0
no ip redirects
no ip directed-broadcast
ipx encapsulation NOVELL-ETHER
ipx network 100
!
interface Port-channel1.2
encapsulation dot1Q 2
ip address 192.1.2.254 255.255.255.0
no ip redirects
no ip directed-broadcast
ipx encapsulation NOVELL-ETHER
ipx network 200
!
interface Port-channel1.3
encapsulation dot1Q 3
ip address 192.1.3.254 255.255.255.0
no ip redirects
no ip directed-broadcast
ipx encapsulation NOVELL-ETHER
ipx network 3FF97CAB
!
interface Port-channel1.4
encapsulation dot1Q 4
ip address 192.1.4.254 255.255.255.0
no ip redirects
no ip directed-broadcast
ipx encapsulation NOVELL-ETHER
ipx network 400
!
interface Port-channel1.5
encapsulation dot1Q 5
ip address 192.1.5.254 255.255.255.0
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.6
encapsulation dot1Q 6
ip address 192.1.6.254 255.255.255.0
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.7
encapsulation dot1Q 7
ip address 192.1.7.254 255.255.255.0
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.8
encapsulation dot1Q 8
ip address 192.1.8.254 255.255.255.0
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.9
encapsulation dot1Q 9
ip address 192.1.9.254 255.255.255.0
no ip redirects
no ip directed-broadcast
!
interface Port-channel1.10
encapsulation dot1Q 10
ip address 192.1.10.254 255.255.255.0
no ip redirects
no ip directed-broadcast
!
interface FastEthernet1
no ip address
no ip directed-broadcast
shutdown
!
interface GigabitEthernet1
no ip address
no ip directed-broadcast
shutdown
!
interface GigabitEthernet2
no ip address
no ip directed-broadcast
shutdown
!
interface GigabitEthernet3
no ip address
no ip directed-broadcast
no negotiation auto
channel-group 1
!
interface GigabitEthernet4
no ip address
no ip directed-broadcast
no negotiation auto
channel-group 1
!
router rip
passive-interface FastEthernet1
network 192.1.1.0
network 192.1.2.0
network 192.1.3.0
network 192.1.4.0
network 192.1.5.0
network 192.1.6.0
network 192.1.7.0
network 192.1.8.0
network 192.1.9.0
network 192.1.10.0
!
ip classless
!
!
!
!
!
line con 0
transport input none
line aux 0
line vty 0 4
password xxxx
login
!
end
Router#
说明: