交换路由配置
2019-08-27 本文已影响0人
草莓_Ops
交换路由实践.png
交换机配置指令:
Router>
Router>en
Router#
Router#
Router#show run
Router#configure
Router#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router(config)#interface f0/0
Router(config-if)#
Router(config-if)#
Router(config-if)#ip ad
Router(config-if)#ip address 10.0.0.254 255.255.255.0
Router(config-if)#
Router(config-if)#no shutdow
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#
Router(config)#
Router(config)#inf
Router(config)#infor
Router(config)#int
Router(config)#interface f0/1
Router(config-if)#ip address 10.0.1.254 255.255.255.0
Router(config-if)#
Router(config-if)#no shutdow
Router(config-if)#no shutdown
Router(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
Router(config-if)#exit
image.png