下面的范例描述了任何在一个串行接口上开始进行接口配置。它对串行接口0赋予点对点协议(PPP)封装。
interface serial 0
encapsulation ppp
在Cisco 7500系列路由器上的相同范例需要下面命令:
interface serial 1/0
encapsulation ppp
对一个接口配置特定IP地址的范例
这个范例表明任何配置接入服务器,以便它将在除了接口7之外的所有接口上使用缺省地址存储区,而在接口7上将使用一个称为lass的地址存储区:
p address pool local
ip local-pool lass 172.30.0.1
async interface
interface 7peer default ip address lass