电脑技术学习

4006-s2配置清单

dn001

  作3层交换
  
  Enter passWord:
  
  ZX_WS4006_1> (enable) sh mod
  
  Mod Slot Ports Module-Type Model Sub Status
  
  --- ---- ----- ------------------------- ------------------- --- --------
  
  1 1 2 1000BaseX Supervisor WS-X4013 no ok
  
  3 3 6 1000BaseX Ethernet WS-X4306 no ok
  
  4 4 34 Router Switch Card WS-X4232-L3 no ok
  
  
  Mod Module-Name Serial-Num
  
  --- -------------------- --------------------
  
  1 JAE060906GZ
  
  3 JAE04470A10
  
  4 JAB052105F2
  
  
  Mod MAC-Address(es) Hw Fw Sw
  
  --- -------------------------------------- ------ ---------- -----------------
  
  1 00-08-e3-86-06-00 to 00-08-e3-86-09-ff 3.2 5.4(1) 6.3(1)
  
  3 00-04-27-55-93-2c to 00-04-27-55-93-31 2.0
  
  4 00-04-9a-50-16-4c to 00-04-9a-50-16-6d 1.7 12.0(7)W5( 12.0(10)W5(18f)
  
  
  
  ZX_WS4006_1> (enable) 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: Tue Mar 18 2003, 23:11:06
  
  !
  
  #version 6.3(1)
  
  !
  
  !
  
  #system web interface version(s)
  
  set password $2$ZtNY$yuqPHi7CpjwCs0blr9mxG0
  
  set enablepass $2$rY7u$b9D5DEa661dt46OwWq5ts/
  
  !
  
  #test
  
  set test diaglevel minimal
  
  !
  
  #system
  
  set system name ZX_WS4006_1
  
  set system contact Center-sw
  
  !
  
  #frame distribution method
  
  set port channel all distribution mac both
  
  !
  
  #vtp
  
  set vtp domain cs1yhis
  
  set vlan 1 name default type ethernet mtu 1500 said 100001 state active
  
  set vlan 2 name JiGuan type ethernet mtu 1500 said 100002 state active
  
  set vlan 3 name YeWu type ethernet mtu 1500 said 100003 state active
  
  set vlan 4 name XXZX type ethernet mtu 1500 said 100004 state active
  
  set vlan 100 name yibao type ethernet mtu 1500 said 100100 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 activ
  
  e stp ieee
  
  set vlan 1005 name trnet-default type trbrf mtu 1500 said 101005 state active st
  
  p ibm
  
  set vlan 5-20
  
  set vlan 1003 name token-ring-default type trcrf mtu 1500 said 101003 state acti
  
  ve mode srb aremaxhop 0 stemaxhop 0 backupcrf off
  
  !
  
  #ip
  
  set interface sc0 1 192.168.1.250/255.255.255.0 192.168.1.255
  
  
  set interface sl0 192.168.168.1 255.255.255.0
  
  set interface sl0 down
  
  set interface me1 192.0.2.1 255.255.255.0 192.0.2.255
  
  
  set ip route 0.0.0.0/0.0.0.0 192.168.1.254
  
  !
  
  #dns
  
  set ip dns server 202.103.96.68 primary
  
  set ip dns server 202.103.4.238
  
  !
  
  #syslog
  
  set logging level cops 2 default
  
  !
  
  #set boot command
  
  set boot config-register 0x2
  
  set boot system flash bootflash:cat4000.6-3-1.bin
  
  set boot system flash bootflash:cat4000.5-5-8.bin
  
  !
  
  #mls
  
  set mls nde disable
  
  !
  
  #port channel
  
  set port channel 4/1-2 25
  
  !
  
  #http configuration
  
  set ip http server enable
  
  !
  
  #module 1 : 2-port 1000BaseX Supervisor
  
  set udld enable 1/1-2
  
  !
  
  #module 2 empty
  
  !
  
  #module 3 : 6-port 1000BaseX Ethernet
  
  set udld enable 3/6
  
  set trunk 3/3 on dot1q 1-1005
  
  set trunk 3/4 on dot1q 1-1005
  
  set trunk 3/5 on dot1q 1-1005
  
  set trunk 3/6 on dot1q 1-1005
  
  !
  
  #module 4 : 34-port Router Switch Card
  
  set trunk 4/1 nonegotiate dot1q 1-1005
  
  set trunk 4/2 nonegotiate dot1q 1-1005
  
  set port channel 4/1-2 mode on
  
  !
  
  #module 5 empty
  
  !
  
  #module 6 empty
  
  end
  
  ZX_WS4006_1> (enable)
  
  
  
  ZX_WS4006_1> (enable) sess 3
  
  Feature not supported on Module 3.
  
  ZX_WS4006_1> (enable) sess 4
  
  Trying IntlgLineCard-4...
  
  Connected to IntlgLineCard-4.
  
  Escape character is '^]'.
  
  
  
  User Access Verification
  
  
  Password:
  
  VLAN-gw>en
  
  Password:
  
  VLAN-gw#sh run
  
  Building configuration...
  
  
  Current configuration:
  
  !
  
  version 12.0
  
  no service pad
  
  service timestamps debug uptime
  
  service timestamps log uptime
  
  service password-encryption
  
  !
  
  hostname VLAN-gw
  
  !
  
  enable secret 5 $1$j6xO$q2wF0qaki76qo6hr3bYlt.
  
  enable password 7 070E25414707
  
  !
  
  ip subnet-zero
  
  no ip domain-lookup
  
  ip name-server 202.103.96.68
  
  ip name-server 202.103.100.100
  
  !
  
  !
  
  !
  
  interface Port-channel1
  
  description This is interface is configured for routing with native vlan 1 to 4
  
  no ip address
  
  no ip redirects
  
  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 secondary
  
  ip address 192.168.1.254 255.255.255.0
  
  no ip redirects
  
  no ip directed-broadcast
  
  !
  
  interface Port-channel1.2
  
  description This interface is connected to vlan 2 which is connected to vlan
  
  encapsulation dot1Q 2
  
  ip address 192.168.2.254 255.255.255.0
  
  no ip redirects
  
  no ip directed-broadcast
  
  !
  
  interface Port-channel1.3
  
  description This interface is connected to vlan 3 which is connected to vlan 3
  
  encapsulation dot1Q 3
  
  ip address 192.168.3.254 255.255.255.0
  
  no ip redirects
  
  no ip directed-broadcast
  
  !
  
  interface FastEthernet1
  
  description This is the out of band interface that you can use for management
  
  ip address 172.168.1.1 255.255.255.0
  
  no ip directed-broadcast
  
  !
  
  interface GigabitEthernet1
  
  no ip address
  
  no ip directed-broadcast
  
  !
  
  interface GigabitEthernet2
  
  no ip address <