Trunk配置实例
一台4506switch,通过trunk口和3550连接,在3550下再通过trunk接6台交换机!
具体配置如下:
4506:
在int gi4/1上做trunk,encapsulation dot1q
vtp domain cisco
vtp mode server划分了10个vlan
3550:
做了6个trunk口和下面的6太交换机连接!
int range fa0/1-6
switchport trunk encapsulation dot1q
switchport mode trunk
vtp domain cisco
vtp mode client
其它6台交换机的fa0/1做为trunk口和上面的3550连接;
int range fa0/1
witchport trunk encapsulation dot1q
switchport mode trunk
vtp domain cisco
vtp mode client
交换机都做TRUNK是可以互相学习到vlan信息的;
注:3com交换机中根本就没有vtp这个概念,只有Cisco的交换机可以。 文章录入:csh 责任编辑:csh
相关推荐
-
Trunk配置实例
一台4506switch,通过trunk口和3550连接,在3550下再通过trunk接6台交换机!具体配置如下:4506:在int gi4/1上做trunk,encapsulation dot1q vtp domain cisco vtp mode server划分了10个vlan3550:做了6个trunk口和下面的6太交换机连接! int range fa0/1-6 switch
-
spring boot application properties配置实例代码详解
废话不多说了,直接给大家贴代码了,具体代码如下所示: # =================================================================== # COMMON SPRING BOOT PROPERTIES # # This sample file is provided as a guideline. Do NOT copy it in its # entirety to your own application. ^^^ # ========
-
ThinkPHP 在阿里云上的nginx.config配置实例详解
具体代码如下所示: # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user nginx; worker_processes auto; error_log /var/log/nginx/error.log;
-
springmvc与mybatis集成配置实例详解
简单之美,springmvc,mybatis就是一个很好的简单集成方案,能够满足一般的项目需求.闲暇时间把项目配置文件共享出来,供大家参看: 1.首先我们来看下依赖的pom: <!-- spring --> <dependency> <groupId>org.springframework</groupId> <artifactId>spring-core</artifactId> <version>${spring.ve
-
log4j.properties 配置(实例讲解)
1.需要的jar如下: !-- log4j --> <dependency> <groupId>log4j</groupId> <artifactId>log4j</artifactId> <version>1.2.17</version> </dependency> <dependency> <groupId>org.slf4j</groupId> <artif
-
Nginx 多站点配置实例详解
Nginx 多站点配置实例详解 在一台 VPS 上,我们有时候需要同时跑几个 virtualenv.比如 virtualenv app1 跑的是 Django 的一个应用,而 virtualenv app2 跑的是 Tornado.那么如何配置 Nginx,让它同时支持这两个 virtualenv 的运行呢? 首先是 Nginx 的主配置,位于 etc/nginx/ngnix.conf,让它保持默认就行: user nginx; worker_processes 1; error_log /va
-
Vue 中axios配置实例详解
1.GET 请求 //向具有指定ID的用户发出请求 axios.get('/user?ID=12345') .then(function (response) { console.log(response); }) .catch(function (error) { console.log(error); }); // 也可以通过 params 对象传递参数 axios.get('/user', { params: { ID: 12345 } }) .then(function (respons
-
vue-cli 打包使用history模式的后端配置实例
apache的配置 这是windows下的 在httpd-vhosts.conf文件中把目录指向项目index.html文件所在的位置 # Virtual Hosts # <VirtualHost *:80> ServerName localhost DocumentRoot D:/wamp64/www/huanzuan/dist <Directory "D:/wamp64/www/huanzuan/dist"> Options Indexes FollowSy
-
Admin - SpringBoot + Maven 多启动环境配置实例详解
一:父级pom.xml文件 resources目录下新建指定文件夹,存放Spring配置文件 <profiles> <profile> <id>dev</id> <properties> <profiles.active>dev</profiles.active> </properties> <activation> <activeByDefault>true</activeByD
-
Nginx基础location语法及功能配置实例
这一篇将简单说一下Nginx的location功能. 目录 1.Nginx location1.1.location作用1.2.location语法1.3.location匹配示例1.4.location配置实例1.5.不用uri及特殊字符组合匹配的顺序说明 1.Nginx location 1.1.location作用 location指令的作用就是根据用户请求的URI来执行不同的应用. 1.2.location语法 location [ = | ~ | ~* | ^~ ] uri {...}
随机推荐
- ext checkboxgroup 回填数据解决
- 前端常用正则表达式汇总
- Swift NavigationBar隐藏后的右滑手势效果
- php使用正则验证中文
- jQuery Mobile框架中的表单组件基础使用教程
- 详解CentOS中的route命令
- JavaScript中判断数据类型的方法总结
- 在Vista IIS 7 中用 vs2005 调试 Web 项目的注意事项
- 5种Android数据存储方式汇总
- PHP ajax 分页类代码
- Android扫描二维码时出现用户禁止权限报错问题解决办法
- 如何设置iframe高度自适应在跨域情况下的可用方法
- python中sys.argv参数用法实例分析
- MYSQL速度慢的问题 记录数据库语句
- 分享一下如何编写高效且优雅的 Python 代码
- JS实现超过长度限制后自动跳转下一款文本框的方法
- JavaScript Event学习第三章 早期的事件处理程序
- js实现仿京东2级菜单效果(带延时功能)
- python实现简单的计时器功能函数
- 深入探讨C语言中局部变量与全局变量在内存中的存放位置