Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2704548
  • 博文数量: 335
  • 博客积分: 10218
  • 博客等级: 上将
  • 技术积分: 3480
  • 用 户 组: 普通用户
  • 注册时间: 2006-05-29 12:05
文章分类

全部博文(335)

文章存档

2017年(1)

2012年(1)

2009年(27)

2008年(61)

2007年(107)

2006年(138)

我的朋友

分类: 系统运维

2006-07-28 10:29:15

 
添加一个交换机,一个计算机,双击交换机,进入终端配置:
system
password:
[Quidway]sysname S3026                        ;交换机命名
[S3026]super password 111                     ;设置特权密码
[S3026]user-interface vty 0 4
[S3026-ui-vty0-4]authentication-mode password
[S3026-ui-vty0-4]set authentication-mode password simple 222
[S3026-ui-vty0-4]user privilege level 3
[S3026-ui-vty0-4]quit
[S3026]quit
sys
password:111
[S3026]display currect-config
[S3026]dis curr
[S3026]vlan 2
[S3026-vlan2]port ethernet0/2
[S3026-vlan2]port e0/4 to et0/6
[S3026-vlan2]quit
[S3026]dis vlan
[S3026]int e0/3
[S3026-Ethernet1]port access vlan 2
[S3026-Ethernet1]quit
[S3026]dis vlan
[S3026]dis curr
[S3026]interface vlan 1
[S3026-Vlan-interface1]ip address 10.65.1.8 255.255.0.0
[S3026-Vlan-interface1]quit
[S3026]ip route-static 0.0.0.0 0.0.0.0 10.65.1.2
[S3026]ip default-gateway 10.65.1.2
[S3026]dis curr
[S3026]save
阅读(3846) | 评论(4) | 转发(0) |
给主人留下些什么吧!~~