ORF反垃圾邮件系统

邮件服务器-邮件系统-邮件技术论坛(BBS)

 找回密码
 会员注册
查看: 4930|回复: 0
打印 上一主题 下一主题

单臂路由的配置一例

[复制链接]
跳转到指定楼层
顶楼
发表于 2005-1-10 15:29:10 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
单臂路由的配置 例:<br>
<br>
2600 IOS需求:IP Plus (c2600-ik8s-mz-122.15.T.bin)<br>
<br>
<br>
交换机配置<br>
3512xl#show running-config<br>
Building configuration...<br>
<br>
Current configuration:<br>
<br>
!<br>
version 12.0<br>
no service pad<br>
service timestamps debug uptime<br>
service timestamps log uptime<br>
no service password-encryption<br>
!<br>
hostname 3512xl<br>
!<br>
no logging console<br>
enable password mysecret<br>
!<br>
!<br>
!<br>
!<br>
!<br>
ip subnet-zero<br>
!<br>
!<br>
!<br>
interface FastEthernet0/1<br>
switchport mode trunk<br>
!<br>
<br>
!-- If 802.1Q is configured,<br>
!-- you will instead see the following output<br>
!-- under interface FastEthernet0/1:<br>
!-- interface FastEthernet0/1<br>
!-- switchport trunk encapsulation dot1q<br>
!-- switchport mode trunk<br>
<br>
!<br>
interface FastEthernet0/2<br>
switchport access vlan 2<br>
spanning-tree portfast<br>
!<br>
interface FastEthernet0/3<br>
spanning-tree portfast<br>
!<br>
interface FastEthernet0/4<br>
!<br>
interface FastEthernet0/5<br>
!<br>
interface FastEthernet0/6<br>
!<br>
interface FastEthernet0/7<br>
!<br>
interface FastEthernet0/8<br>
!<br>
interface FastEthernet0/9<br>
!<br>
interface FastEthernet0/10<br>
!<br>
interface FastEthernet0/11<br>
!<br>
interface FastEthernet0/12<br>
!<br>
interface GigabitEthernet0/1<br>
!<br>
interface GigabitEthernet0/2<br>
!<br>
interface VLAN1<br>
ip address 10.10.10.2 255.255.255.0<br>
no ip directed-broadcast<br>
no ip route-cache<br>
!<br>
ip default-gateway 10.10.10.1<br>
!<br>
line con 0<br>
transport input none<br>
stopbits 1<br>
line vty 0 4<br>
password mysecret<br>
login<br>
line vty 5 15<br>
login<br>
!<br>
end<br>
<br>
路由器配置<br>
<br>
Current configuration:<br>
!<br>
version 12.1<br>
service timestamps debug uptime<br>
service timestamps log uptime<br>
no service password-encryption<br>
!<br>
hostname c2600<br>
!<br>
no logging console<br>
enable password mysecret<br>
!<br>
!<br>
!<br>
!<br>
!<br>
ip subnet-zero<br>
!<br>
!<br>
!<br>
!<br>
!<br>
!<br>
!<br>
!<br>
!<br>
!<br>
interface FastEthernet0/0<br>
no ip address<br>
duplex auto<br>
speed auto<br>
!<br>
interface FastEthernet0/0.1<br>
encapsulation isl 1<br>
ip address 10.10.10.1 255.255.255.0<br>
no ip redirects<br>
!<br>
<br>
!-- If 802.1Q is configured,<br>
!-- you will instead see the following output<br>
!-- under interface FastEthernet0/0.1:<br>
!-- interface FastEthernet0/0.1<br>
!-- encapsulation dot1Q 1 native<br>
!-- ip address 10.10.10.1 255.255.255.0<br>
<br>
!<br>
!<br>
interface FastEthernet0/0.2<br>
encapsulation isl 2<br>
ip address 10.10.11.1 255.255.255.0<br>
no ip redirects<br>
!<br>
<br>
!-- If 802.1Q is configured,<br>
!-- you will instead see the following output<br>
!-- under interface FastEthernet0/0.2:<br>
!-- interface FastEthernet0/0.2<br>
!-- encapsulation dot1Q 2<br>
!-- ip address 10.10.11.1 255.255.255.0<br>
<br>
!<br>
interface FastEthernet0/1<br>
no ip address<br>
shutdown<br>
duplex auto<br>
speed auto<br>
!<br>
ip classless<br>
no ip http server<br>
!<br>
!<br>
!<br>
line con 0<br>
transport input none<br>
line aux 0<br>
line vty 0 4<br>
password mysecret<br>
login<br>
!<br>
no scheduler allocate<br>
end<br>
您需要登录后才可以回帖 登录 | 会员注册

本版积分规则

小黑屋|手机版|Archiver|邮件技术资讯网

GMT+8, 2024-5-18 01:11

Powered by Discuz! X3.2

© 2001-2016 Comsenz Inc.

本论坛为非盈利中立机构,所有言论属发表者个人意见,不代表本论坛立场。内容所涉及版权和法律相关事宜请参考各自所有者的条款。
如认定侵犯了您权利,请联系我们。本论坛原创内容请联系后再行转载并务必保留我站信息。此声明修改不另行通知,保留最终解释权。
*本论坛会员专属QQ群:邮件技术资讯网会员QQ群
*本论坛会员备用QQ群:邮件技术资讯网备用群

快速回复 返回顶部 返回列表