文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 专题 求职 读书
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» 网络工程 » Hp9308 三层交换机配置实例       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: Hp9308 三层交换机配置实例  ( 查看:1131  回复:1 )   
 
danni505
中级工程师  点击可查看详细


帖子 1505
精华 7
无忧币 8740
积分 6778
阅读权限 60
来自 (保密)
注册日期 2006-5-1
最后登录 2008-11-13 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ    ICQ 状态     
发表于:2006-8-22 12:51   标题:Hp9308 三层交换机配置实例
上一帖 |
!
ver 07.8.00aT53
!
module 1 ep-8-port-gig-m4-management-module
module 2 ep-8-port-gig-m4-management-module
module 6 ep-16-port-gig-copper-module
!
!
trunk switch ethe 2/1 to 2/2
!
!
vlan 1 name DEFAULT-VLAN by port
router-interface ve 1
!
vlan 10 by port
untagged ethe 6/1
router-interface ve 10
!
vlan 11 by port
untagged ethe 6/2 to 6/5
router-interface ve 11
!
vlan 12 by port
tagged ethe 2/1 to 2/2
untagged ethe 6/12
router-interface ve 12
!
vlan 13 by port
tagged ethe 2/1 to 2/2
router-interface ve 13
!
vlan 14 by port
tagged ethe 2/1 to 2/2
router-interface ve 14
!
vlan 15 by port
tagged ethe 2/3
untagged ethe 6/15
router-interface ve 15
!
vlan 16 by port
tagged ethe 2/3
router-interface ve 16
!
vlan 17 by port
tagged ethe 2/3
router-interface ve 17
!
vlan 18 by port
tagged ethe 2/3
router-interface ve 18
!
vlan 19 by port
tagged ethe 2/3
router-interface ve 19
!
!
enable telnet password 8 $1$2/1..ny.$jlPEM5bvx6JHc9Ilat5Hz/
enable super-user-password 8 $1$7c1..wR0$5ghkVCTOpi2GU6Qc/07b3/
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
snmp-server community 1 $bSDn?=dbng“ rw
!
interface ethernet 2/1
dual-mode
!
interface ethernet 2/3
dual-mode
!
interface ve 1
ip address 10.0.0.254 255.255.255.0
!
interface ve 10
ip address 192.168.1.254 255.255.255.0
!
interface ve 11
ip address 172.16.11.254 255.255.255.0
!
interface ve 12
ip access-group 101 in
ip access-group 101 out
ip address 172.16.12.254 255.255.255.0
ip helper-address 1 172.16.11.100
!
interface ve 13
ip access-group 101 in
ip access-group 101 out
ip address 172.16.13.254 255.255.255.0
ip helper-address 1 172.16.11.100
!
interface ve 14
ip access-group 101 in
ip access-group 101 out
ip address 172.16.14.254 255.255.255.0
ip helper-address 1 172.16.11.100
!
interface ve 15
ip address 172.16.15.254 255.255.255.0
ip helper-address 1 172.16.11.100
!
interface ve 16
ip address 172.16.16.254 255.255.255.0
ip helper-address 1 172.16.11.100
!
interface ve 17
ip address 172.16.17.254 255.255.255.0
ip helper-address 1 172.16.11.100
!
interface ve 18
ip address 172.16.18.254 255.255.255.0
ip helper-address 1 172.16.11.100
!
interface ve 19
ip address 172.16.19.254 255.255.255.0
ip helper-address 1 172.16.11.100
!
!
access-list 101 deny ip 172.16.15.0 0.0.0.255 172.16.12.0 0.0.0.255
access-list 101 deny ip 172.16.16.0 0.0.0.255 172.16.12.0 0.0.0.255
access-list 101 deny ip 172.16.17.0 0.0.0.255 172.16.12.0 0.0.0.255
access-list 101 deny ip 172.16.18.0 0.0.0.255 172.16.12.0 0.0.0.255
access-list 101 deny ip 172.16.19.0 0.0.0.255 172.16.12.0 0.0.0.255
access-list 101 deny ip 172.16.15.0 0.0.0.255 172.16.13.0 0.0.0.255
access-list 101 deny ip 172.16.16.0 0.0.0.255 172.16.13.0 0.0.0.255
access-list 101 deny ip 172.16.17.0 0.0.0.255 172.16.13.0 0.0.0.255
access-list 101 deny ip 172.16.18.0 0.0.0.255 172.16.13.0 0.0.0.255
access-list 101 deny ip 172.16.19.0 0.0.0.255 172.16.13.0 0.0.0.255
access-list 101 deny ip 172.16.15.0 0.0.0.255 172.16.14.0 0.0.0.255
access-list 101 deny ip 172.16.16.0 0.0.0.255 172.16.14.0 0.0.0.255
access-list 101 deny ip 172.16.17.0 0.0.0.255 172.16.14.0 0.0.0.255
access-list 101 deny ip 172.16.18.0 0.0.0.255 172.16.14.0 0.0.0.255
access-list 101 deny ip 172.16.19.0 0.0.0.255 172.16.14.0 0.0.0.255
access-list 101 permit ip any any
!
!
end



『 天道酬勤 』      君子之行,静以修身,俭以养德。非淡泊无以明志,非宁静无以致远。

2006-8-22 12:511楼
[ 顶部 ]
 
billyliu
新新人类  点击可查看详细



十二生肖之狗   魔蝎座   行业勋章   技术勋章   诚信兄弟  
帖子 34
精华 0
无忧币 15
积分 35
阅读权限 20
来自 (保密)
注册日期 2007-8-7
最后登录 2008-3-20 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2007-8-13 17:00 
嗯,学了一手。谢谢LZ



边测边学DB2,把握数据库应用最前沿(豪华大礼:罗技炫酷键鼠、50份卓越礼卡!)
2007-8-13 17:002楼
[ 顶部 ]
     
论坛跳转:  

| | |

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号