配置路由器Router1的路由器名为你的姓名首字母的缩写,配置端口S0/3/1和G0/0 配置命令与响应消息
时间: 2023-12-27 10:04:59 浏览: 196
配置命令:
```
Router1(config)# hostname JL
JL(config)# interface S0/3/1
JL(config-if)# ip address 192.168.1.1 255.255.255.0
JL(config-if)# no shutdown
JL(config-if)# exit
JL(config)# interface G0/0
JL(config-if)# ip address 10.0.0.1 255.255.255.0
JL(config-if)# no shutdown
JL(config-if)# exit
JL(config)# exit
JL# copy running-config startup-config
```
响应消息:
```
Router1(config)# hostname JL
JL(config)# interface S0/3/1
JL(config-if)# ip address 192.168.1.1 255.255.255.0
JL(config-if)# no shutdown
%LINK-5-CHANGED: Interface Serial0/3/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/3/1, changed state to up
JL(config-if)# exit
JL(config)# interface G0/0
JL(config-if)# ip address 10.0.0.1 255.255.255.0
JL(config-if)# no shutdown
%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
JL(config-if)# exit
JL(config)# exit
JL# copy running-config startup-config
Building configuration...
[OK]
```
阅读全文