Chinaunix首页 | 论坛 | 博客
  • 博客访问: 575898
  • 博文数量: 57
  • 博客积分: 842
  • 博客等级: 准尉
  • 技术积分: 772
  • 用 户 组: 普通用户
  • 注册时间: 2009-04-22 21:20
个人简介

大家可以邮件交流哈

文章分类

全部博文(57)

文章存档

2021年(1)

2018年(2)

2017年(3)

2016年(8)

2015年(1)

2014年(8)

2013年(7)

2012年(9)

2011年(5)

2010年(2)

2009年(11)

我的朋友

分类: 系统运维

2009-04-30 12:17:40

一个路由器下面接二层交换机,划有vlan的,配置情况
first#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
first(config)#int f0/0.1

first(config-subif)#encapsulation dot1q 2

first(config-subif)#ip address 192.168.9.1 255.255.255.0

first(config-subif)#int f0/0.2
first(config-subif)#encap

first(config-subif)#encapsulation dot1Q 3

first(config-subif)#ip address 192.168.8.1 255.255.255.0

first(config-subif)#exit

first(config)#int f0/0

first(config-if)#no shutdown

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