background image

Show ip protocol 
Debug ip 
2) OSPF  配置 
Router ospf  进程号 
Redistribute  其它路由协议 
Network  端口网络 反掩码 area  区域号 
Area  区域号 range  网络号 掩码 
Area  区域号 default‐cost  花销值 
Ip ospf priority number 
Ip ospf cost  花销值 
Show ip ospf database 
3) BGP  配置 
Router bgp  自治域号 
Redistribute  其它路由协议 
Network  网络号 /*  自治域内 */ 
Aggregate‐address  网络号 掩码 summary‐only  汇总网络 
Neighbor  相邻网络号 remote‐as  自治域号 /*  自治域间的网络 */ 
流量控制 

1) 被动端口 
passive interface  端口号 
2) 缺省路由 
ip default  网络号/端口网络 
3) 静态路由 
ip route  目标网络号 掩码 端口号 
4)ACL  过滤表 
(全局上) access‐list  访问号1 {permit|deny}  反掩码号 [ established] 
access‐list  访问号2 {permit|deny} IP/TCP  协议 源网络 目的网络 
操作符 参数 

(端口上)access‐group  访问号 in|out 
distribute‐list  访问号 in|out  端口号 
5) Null 0 interface 
Ip route address mask null 0 
ip route  目标网络号 掩码 端口号 
4)ACL  过滤表 
(全局上) access‐list  访问号1 {permit|deny}  反掩码号 [ established] 
access‐list  访问号2 {permit|deny} IP/TCP  协议 源网络 目的网络 
操作符 参数 

(端口上)access‐group  访问号 in|out 
distribute‐list  访问号 in|out  端口号 
5) Null 0 interface 
Ip route address mask null 0 
广域网配置 

1) PPP 
Ppp pap sent‐usename  封装