Chinaunix首页 | 论坛 | 博客
  • 博客访问: 663727
  • 博文数量: 779
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 5000
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-27 13:28
文章分类

全部博文(779)

文章存档

2011年(1)

2008年(778)

我的朋友

分类:

2008-10-27 13:33:23


  2900的配置与3500的相似,命令如下
  hostname bluestudy
  !
  enable password password
  !
  username bluestudy password password
  username test password password
  !
  省略端口的显示
  !
  
  interface Ethernet0/1(与3500对接)
  switchport trunk encapsulation dot1q
  switchport mode trunk
  !
  interface VLAN1
  ip address 10.1.0.3 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 Ethernet0/2(与1900 C对接)
  switchport access VLAN 5
  no shut
  
  !
  
  interface Ethernet0/3(与1900 D对接)
  switchport access VLAN 6
  no shut
  
  !
  snmp-server engineID local 000000090200000216BE4E80
  snmp-server community public RO
  snmp-server community private RW
  snmp-server chassis-id 0x17
  
  !
  line con 0
  login local
  transport input none
  stopbits 1
  line vty 0 4
  login local
  line vty 5 15
  login
  !
  end
  
  
【责编:admin】

--------------------next---------------------

阅读(313) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~