Catalyst3500的配置实例

发表于:2007-06-20来源:作者:点击数: 标签:
! version 12.0 no service pad service timestamps debug uptime service timestamps log uptime service password-encryption ! hostname bluestudy ! enable password password ! username bluestudy password password username test password password

   
  !
  version 12.0
  no service pad
  service timestamps debug uptime
  service timestamps log uptime
  service password-encryption
  !
  hostname bluestudy
  !
  enable password password

  !
  username bluestudy password password
  username test password password
  !
  省略端口的显示
  !
  
  interface GigabitEthe.net0/1
  switchport trunk encapsulation dot1q
  switchport mode trunk
  !
  interface GigabitEthernet0/2
  !
  interface VLAN1
  ip address 10.1.0.4 255.255.0.0
  ip helper-address 10.1.0.100
  ip directed-broadcast
  no ip route-cache
  !
  ip default-gateway 10.1.0.1
  
  interface Ethernet1/1(与2900对接)
  switchport trunk encapsulation dot1q
  switchport mode trunk
  !
  
  interface Ethernet1/2(与1900 A对接)
  switchport aclearcase/" target="_blank" >ccess VLAN 3
  no shut
  
  !
  
  interface Ethernet1/3(与1900 B对接)
  switchport access VLAN 4
  no shut

原文转自:http://www.ltesting.net