虚拟局域网(VLAN)路由实例

豆豆网   技术应用频道   2007年09月15日  【字号: 收藏本文

内容摘要:在交换机内划有3个虚拟网,分别名为default、qbw、rgw,通过WS-X5302实现虚拟网间路由。

  set module name  6 

  set port level   6/1 normal

  set port trap    6/1 disable

  set port name    6/1

  set cdp enable  6/1

  set cdp interval 6/1 60

  set trunk 6/1 on isl 1-1005

  !

  #module 7 : 24-port 10/100BaseTX Ethernet

  set module name  7 

  set module enable 7

  set vlan 1  7/1-22

  set vlan 888 7/23-24

  set trunk 7/1 on isl 1-1005

  set trunk 7/2 on isl 1-1005

  !

  #module 8 empty

  !

  #module 9 empty

  !

  #module 10 : 12-port 100BaseFX MM Ethernet

  set module name  10 

  set module enable 10

  set vlan 1  10/1-12

  set port channel 10/1-4 off

  set port channel 10/5-8 off

  set port channel 10/9-12 off

  set port channel 10/1-2 on

  set port channel 10/3-4 on

  set port channel 10/5-6 on

  set port channel 10/7-8 on

  set port channel 10/9-10 on

  set port channel 10/11-12 on

  #module 11 empty

  !

  #module 12 empty

  !

  #module 13 empty

  !

  #switch port analyzer

  !set span 1 1/1 both inpkts disable

  set span disable

  !

  #cam

  set cam agingtime 1-2,777,888,1003,1005 300

  end

  5500C> (enable)

  WS-X5302路由模块设置:

  Router#wri t

  Building configuration...

  Current configuration:

  !

  version 11.2

  no service password-encryption

责编:豆豆技术应用

正在加载评论...