易构空间欢迎您

cisco 2950交换机相关配置

基本操作

2950(config)#int vlan1
2950(config-if)#ip address 192.168.1.100 255.255.255.0 (VLAN1里面设置IP地址)
2950(config)#ip default-gateway 192.168.1.1 (设置默认网关)
2950(config)#ip name-server 192.168.1.1 (设置域名服务器)
2950(config)#ip domain-name wqs.com (设置域名)


端口配置

2950(config)#int f0/1 (进入接口)
2950(config-if)#speed 100 (设置该接口速率为100Mb/s)
2950(config-if)#duplex ?

auto Enable AUTO duplex configuration
full Force full duplex operation
half Force half-duplex operation
2950(config-if)#description to_router1 (设置端口描述)
2950#show interfaces fastethernet1 [status] (查看端口配置结果和状态)

MAC地址表相关命令

2950(config)#mac-address-table aging-time 100 (设置超时时间为100S)
2950(config)#mac-address-table permanent 000.0c01.bbcc f0/3 (加入永久地址)
2950(config)#mac-address-table restricted static 0000.0c02.bbcc f0/6 f0/7 (加入静态地址)
2950#show mac-address-table (查看整个MAC地址表)
2950#clear mac-address-table restricted static (清除限制性MAC址表)

VTP的配置

2950#vlan database (进入VLAN配置模式)
2950(vlan)#vtp ? (查看VTP的子命令)
domain Set the name of the VTP administrative domain.
client Set the device to client mode.
server Set the device to server mode.
transparent Set the device to transparent mode.
password Set the password for the VTP administrative domain.
2950(vlan)#vtp domain server (设置本交换机为SEVER模式)
2950(vlan)#vtp domain wqs (设置域名)
2950(vlan)#vtp pruning (启动修剪模式)
2950#show vtp status (查看VTP设置信息)

配置VLAN TRUNK端口

2950(config)#int f0/11 (进入F端口)
2950(config-if)#switchport mode trunk (设置该端口为TRUNK模式)
2950(config-if)#switchport trunk encapsulation {dot1q | isl | negotiate }(设置TRUNK封装)

创建VLAN

2950#vlan database (进入VLAN配置模式)
2950(vlan)#vlan 2 (创建VLAN 2)
VLAN 2 added:
Name:VLAN0002 (系统默认名)
2950(vlan)#vlan 3 name wg_bisheng (创建VLAN 3,名为网工必胜)
VLAN 3 added:
Name:wg_bisheng
2950(config)#int f0/9 (进入接口配置模式)
2950(config-if)#switchport mode access (设置该接口为ACCESS模式)

2950(confi
收藏此页】【 】【打印】【关闭窗口】  
 服务器租用 戴尔PowerEdge R720
 
价格 14000元
CPU 志强 2.2G*2 16核
内存 32G ECC效验
硬盘 STA 1TB *3/64M
带宽 5M独享
 服务器租用 戴尔PowerEdge R720
 
价格42000元
CPU 志强16核 * 2.6G
内存 128G ECC效验
硬盘 SSd 240G,4T*4
带宽 20M独享多线BGP

服务器租用

服务器租用
易构网络服务器租用,提供全新服务器,多款平台,提供全程网络,系统服务,提供2M,双线BGP独享网络资源,优惠促销中

服务器托管

服务器托管
易构网络服务器托管,电信,联通等,多线双线BGP线路资源,并赠送价值3000元的技术支持服务,免费安全设置,调试 。

云服务器

带宽独享
易构网络提供多网络资源云服务器平台,多级存储及安防策略,硬盘SSD 及SAS 高I/O并发,并提供物理机到云平台的迁移。