交换机配置命令大全
交换机配置命令的学习需要我们仔细和用心,同时还要讲求方法,下面这些基础性的东西,希望通过分类能让大家有一个更深的认识。
交换机配置命令——VTP
为了将交换机配置成一个集群的命令交换机,首先要给管理接口分配一个IP地址,然后使用下列命令: switch(config)# cluster enable cluster-name
为了从一条中继链路上删除VLAN,可使用下列命令:
switch(enable) clear trunk module/port vlan-range
用show vtp domain 显示管理域的参数.
用show vtp statistics显示管理域的VTP参数.
交换机配置命令——TrBRF
在Catalyst交换机上定义TrBRF的命令如下:
switch(enable) set vlan vlan-name [name name] type trbrf bridge bridge-num[stp {ieee|ibm}]
在Catalyst交换机上定义TrCRF的命令如下:
switch (enable) set vlan vlan-num [name name] type trcrf {ring hex-ring-num|decring decimal-ring-num} parent vlan-num
在创建好TrBRF VLAN之后,就可以给它分配交换机端口.对于以太网交换,可以采用如下命令给VLAN分配端口:
switch(enable) set vlan vlan-num mod-num/port-num
命令show spantree显示一个交换机端口的STP状态.
交换机配置命令——LES和BUS
配置一个ELAN的LES和BUS,可以使用下列命令:
ATM (config)# interface atm nt multioint
ATM(config-subif)# lane serber-bus ethernet elan-name
配置LECS:
ATM(config)# lane database database-name
ATM(lane-config-databade)# name elan1-name server-atm-address les1-nsap-address
ATM(lane-config-databade)# name elan2-name server-atm-address les2-nsap-address
ATM(lane-config-databade)# name …
创建完数据库后,必须在主接口上启动LECS.命令如下:
ATM(config)# interface atm number
ATM(config-if)# lane config database database-name
ATM(config-if)# lane config auto-config-atm-address
将每个LEC配置到一个不同的ATM子接口上.命令如下:
ATM(config)# interface atm nt multipoint
ATM(config)# lane client ethernet vlan-num elan-num
用show lane server 显示LES的状态.
用show lane bus显示bus的状态.
用show lane database显示LECS数据库可内容.
用show lane client显示LEC的状态.
用show module显示已安装的模块列表.
交换机配置命令——VLAN
用物理接口建立与VLAN的连接:
router# configure terminal
router(config)# interface media module/port
router(config-if)# description description-string
router(config-if)# ip address ip-addr subnet-mask
router(config-if)# no shutdown
用中继链路来建立与VLAN的连接:
router(config)# interface module/nterface
router(config-ig)# encapsulation[isl|dotlq] vlan-number
router(config-if)# ip address ip-address subnet-mask
用LANE 来建立与VLAN的连接:
router(config)# interface atm module/port
router(config-if)# no ip address
router(config-if)# atm pvc 1 0 5 qsaal
router(config-if)# atm pvc 2 0 16 ilni
router(config-if)# interface atm module/nterface multipoint
router(config-if)# ip address ip-address subnet-mask
router(config-if)# lane client ethernet elan-num
router(config-if)# interface atm module/nterface multipoint
router(config-if)# ip address ip-address subnet-name
router(config-if)# lane client ethernet elan-name
router(config-if)# …
-
信息安全考试试题附答案
国家信息安全水平考试是由中国信息安全测评中心实施培养国家网络空间安全人才的项目。下面是小编精心整理的信息安全考试试题附答案,欢迎大家分享。一、选择题试题1:入侵检测系统使用入侵检测技术对网络和系统进行监视,并根据监视结果采取不同的处理,最大限度降低...
-
木马病毒的概念及原理
木马全称是特洛伊木马(TrojanHorse),原指古希腊士兵藏在木马内进入敌方城市从而占领敌方城市的故事。下面是YJBYS小编整理的木马病毒的概念及原理,希望可以帮到你!在Internet上,特洛伊木马指一些程序设计人员在其可从网络上下载(Download)的应用程序或游戏中,包含...
-
2017年计算机网络技术考试巩固试题“附答案”
一、选择题1).下列方式中,利用主机应用系统漏洞进行攻击的是()。攻击B.暴力攻击C.源路由欺骗攻击注入攻击正确答案:D答案解析:漏洞入侵是指黑客利用网络系统的漏洞,采用针对该漏洞的工具或自己设计的针对该漏洞的工具等方式进行入侵、攻击的行为。比较著名的漏洞入...
-
2017年春晚新年抢红包攻略
春节到,福到运到红包到,下面一起来看看2017年春晚新年抢红包攻略吧,祝大家红包多多!更多消息请关注应届毕业生网!一、支付宝口令红包支付宝将口令红包作为今年的红包大战的重头戏。推出了中文口令,输入字数要在6-12个字。并新增了男女红包、讨红包和随机红包等方式...