Cisco IOS—接口
在修改接口配置,需要在全局模式下使用interface命令:
- Router(config)#interface ?
- Async Async interface
- BVI Bridge-Group Virtual Interface
- CTunnel CTunnel interface
- Dialer Dialer interface
- Ethernet IEEE 802.3
- Group-Async Async Group interface
- Lex Lex interface
- Loopback Loopback interface
- Multilink Multilink-group interface
- Null Null interface
- Serial Serial
- Tunnel Tunnel interface
- Vif PGM Multicast Host interface
- Virtual-Template Virtual Template interface
- Virtual-TokenRing Virtual TokenRing
- range interface range command
- Router(config)#int Serial 0
- Router(config-if)#
- Router(config-if)#
当提示符改变成这个的时候,说明你已经处在接口配置模式中了。
Cisco IOS—子接口
子接口允许尼在路由器中创建逻辑接口。在子接口中,提示符会改变为Router(config-subif)#
- Router(config)#int s0.?
- <0-4294967295> Serial interface number
Cisco IOS—行命令
要配置用户模式口令,是用Line命令
- Router(config)#line ?
- <0-6> First Line number
- aux Auxiliary line
- console Primary terminal line
- vty Virtual terminal
Cisco IOS—路由协议配置
要配置rip或igrp这样的路由协议,需要使用(config-router)#提示符:
- Router(config)#router ?
- bgp Border Gateway Protocol (BGP)
- egp Exterior Gateway Protocol (EGP)
- eigrp Enhanced Interior Gateway Routing Protocol (EIGRP)
- igrp Interior Gateway Routing Protocol (IGRP)
- isis ISO IS-IS
- iso-igrp IGRP for OSI networks
- mobile Mobile routes
- odr On Demand stub Routes
- ospf Open Shortest Path First (OSPF)
- rip Routing Information Protocol (RIP)
- Router(config)#router rip
- Router(config-router)#
【编辑推荐】