思科路由器如何配置端口介质相关
答案:3 悬赏:60
解决时间 2021-03-07 05:30
- 提问者网友:沉默的哀伤
- 2021-03-06 09:23
路由器(2800)以太网端口用直连线相连,端口应如何配置,使其互通? 谢谢!!
最佳答案
- 二级知识专家网友:萌萌哒小可爱
- 2021-03-06 10:26
进入端口模式下,
键入:media type rj45(SFP)
这种配置一般是针对光电复用接口,即combo口。
用电口则不能使用光口。
键入:media type rj45(SFP)
这种配置一般是针对光电复用接口,即combo口。
用电口则不能使用光口。
全部回答
- 1楼网友:情战辞言
- 2021-03-06 11:39
1.配置以太网络接口的ip地址 router> enable '进入特权模式 password: '特权用户口令 router# configure terminal '进入配置模式 enter configuration commands one per line. end with cntl/z. routerconfig # interface ethernet 0 '进入外部以太网口配置 routerconfig-if # ip address 192.168.0.11 255.255.255.0 '进入aui0接口的ip地址配置为192.168.0.11,子网掩码为255.255.255.0。 2.配置静态路由表 router> enable password: router# config terminal enter configuration commands one per line. end with cntl/z. routerconfig # ip route 192.168.2.0 255.255.255.0 192.168.0.1 '配置进入aui0接口的ip地址。 3.配置动态ospf路由 router> enable password: router# config terminal enter configuration commands one per line. end with cntl/z. routerconfig # router ospf 1 routerconfig-router # network 192.168.0.0 0.0.0.255 area 0.0.0.0 其中的192.168.0.0是子网的地址,也可以是路由器上的接口的ip地址或ospf路由器所用接口的网络地址;而0.0.0.255掩码后面为ospf所用的域。 4.查看以太网接口0的状态 router> enable password: router# show interface ethernet 0 '显示以太网接口0的状态。 5.查看路由器的当前配置 router> enable password: router# show run '显示路由器的当前配置
- 2楼网友:寂寞的炫耀
- 2021-03-06 11:01
media-type rj45或者sfp 一般在combo端口配置有意义,一般缺省是sfp
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯