router(config-if)# keepalive Number
--
router(config-if)# frame-lelay local-dlci Number
--
router(config-if)# interface Type Port.Subininterface-Number [ multipoint point-to-point ]
router(config-subif)# ip unnumbered Interface
router(config-subif)# frame-lelay local-dlci Number
--
router(config-if)# ^z配置标准ACL:
router(config)# access-list Access-List-Number [ permit deny ] source [ source-mask ]
router(config)# interface Type Port
router(config-if)# ip access-group Access-List-Number [ in out ]
router(config-if)# ^z配置扩展ACL:
router(config)# access-list Access-List-Number [ permit deny ] [ Protocol Protocol-Number ] source source-wildcard [ Source-Port ] destination destination-wildcard [ Destination-Port ] [ established ]
router(config)# interface Type Port
router(config-if)# ip access-group Access-List-Number [ in out ]
router(config-if)# ^z配置命名ACL:
router(config)# ip access-list [ standard extended ] ACL-Name
router(config [ std- ext- ] nacl)# [ permit deny ] [ IP-Access-List-Test-Conditions ]
router(config [ std- ext- ] nacl)# no [ permit deny ] [ IP-Access-List-Test-Conditions ]
router(config [ std- ext- ] nacl)# ^z
router(config)# interface Type Port
router(config-if)# ip access-group [ACL-Name 1~199 ] [ in out ]
router(config-if)# ^z配置DCE时钟:
router# show controllers Type Port
router(confin-if)# clock rate 64000
router(config-if)# ^z配置PPP协议:
router(config)# username Name password Set-Password-Here
router(config)# interface Type Port
router(config-if)# encapsulation ppp
router(config-if)# ppp outhentication [ chap chap pap pap chap pap ]
router(config-if)# ppp pap sent-username Name password Password
router(config-if)# ^zPAP单向认证配置实例:
验证方:
router-server(config)# username Client password 12345
router-server(config)# interface serial 0
router-server(config-if)# encapsulation ppp
router-server(config-if)# ppp authentication pap
router-server(config-if)# ^z
被验证方:
router-client(config-if)# encapsulation ppp
router-client(config-if)# ppp pap sent-username Client password 12345
router-client(config-if)# ^zPAP双向认证配置实例