当前位置:文档之家› 瑞斯康达2128交换机管理配置

瑞斯康达2128交换机管理配置

raisecom 用户名
raisecom 密码
ena 进入设备
raisecom 密码
conf 进入conf模式
lan chi 切换为中文模式
create vlan 10,20,100 active 创建并激活VLAN
ip routing 开启路由功能
interface port 23 进入端口23
sw mo acc 23端口为access模式
sw acc vlan 10 VLAN为10
ex 退出1端口
interface port 24 进入端口24
sw mo acc 24端口为access模式
sw acc vlan 20 VLAN为20
ex 退出1端口
interface port 3 进入端口3
sw mo trunk 3端口为trunk模式
sw trunk all vlan 100 允许VLAN100通过
exit 退出2端口
interface ip 0 进入管理端口1
ip address 192.168.100.1 255.255.255.0 10 ip地址为-----,管理vlan为10
exit
ip default-gateway 192.168.100.2 默认网关






























拓扑::: PC1========(23)SW1(24)==========(24)SW2(23)=========PC2

1、sw1#sh run

System current configuration:
!ROS Version 3.7.1041.ISCOM3026E.44.20080526
!command in view_mode
!
!command in config_mode first-step
create vlan 10,100 active
ip routing 开启路由功能(一定要打开)
!
!command in aclmap_mode
!
!command in enable_mode
hostname sw1
!
!command in ip igmp profile mode
!
!command in port_mode
interface port 23
switchport access vlan 10
interface port 24
switchport access vlan 100
!
!command in vlan configuration mode
!
!command in ip interface mode
interface ip 0
ip address 192.168.100.1 255.255.255.0 100
interface ip 1
ip address 192.168.20.1 255.255.255.0 10
!
!command in ospf_mode
!
!command in rip_mode
!
!command in cluster_mode
!
!command in cmap_mode
!
!command in pmap_mode
!
!command in config_mode
ip default-gateway 192.168.100.2
!
sw2#sh run

System current configuration:
!ROS Version 3.7.1041.ISCOM3026E.44.20080526
!command in view_mode
!
!command in config_mode first-step
create vlan 20,100 active
ip routing
!
!command in aclmap_mode
!
!command in enable_mode
hostname sw2
!
!command in ip igmp profile mode
!
!command in port_mode
interface port 23
switchport access vlan 20
interface port 24
switchport access vlan 100
!
!command in vlan configuration mode
!
!command in ip interface mode
interface ip 0
ip address 192.168.100.2 255.255.255.0 100
interface ip 1
ip address 192.168.22.1 255.255.255.0 20
!
!command in ospf_mode
!
!command in rip_mode
!
!command in cluster_mode
!
!command in cmap_mode
!
!command in pmap_mode
!
!command in config_mode
ip default-gateway 192.168.100.1
!


2、如果配置静态路由,交换机之间配置为access模

式,那么删掉网关IP,配置如下:
ip route 192.168.20.0 255.255.255.0 192.168.100.1
ip route 192.168.22.0 255.255.255.0 192.168.100.2






3、如果配置为RIP路由协议,交换机之间配置为access模式,删掉网关。



4、VLAN间端口的限速 :
interface port 15
speed 100
duplex half
interface port 19
speed 100
duplex half

全局模式下:
rate-limit port-list 1-24 egress 64 512

5、端口聚合 (配置完成以后再插第二根双绞线)



trunk group 1 1,2
interface port 1
switchport mode trunk
interface port 2
switchport mode trunk
trunk enable


6、端口镜像

mirror enable 使能
mirror monitor-port 3 监视的端口为3
mirror source-port-list both 2 被监视的端口为2的进出流量

相关主题
文本预览
相关文档 最新文档