配置路由器Router1的路由器名为你的姓名首字母的缩写,配置端口S0/3/1和G0/0 配置命令与响应消息
时间: 2023-12-27 09:04:59 浏览: 48
配置命令:
```
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]
```
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)
![](https://csdnimg.cn/download_wenku/file_type_ask_c1.png)