1,do
说明:此命令允许你在配置模式运行特权模式下的命令。
用法:do
示例:
net130.com(config)#int e2/0
net130.com(config-if)#do show int e2/1
Ethernet2/1 is up, line protocol is dow
n
Hardware is AmdP2, address is 00b0.643d.f321 (bia 00b0.643d.f321)
Internet address is 200.40.89.1/24
2,show run linenum
说明:此命令可以在查看配置文件时显示行号,从而使行号和命令行对应,在比较配置文件时很有用。
用法:show run linenum(特权模式下运行)
示例:
3600-4#show run linenum
Building configuration...
Current configuration : 209254 bytes
1 : !
2 : ! Last configuration change at 22:02:42 PDT Mon May 3 1993
3 : ! NVRAM config last updated at 21:49:44 PST Sat Mar 13 1993
4 : !
5 : version 12.2
6 : service timestamps debug datetime msec localtime
7 : service timestamps log datetime msec localtime
3、show access-list
net130.com>sh access-list
Standard IP access list 9
10 deny 192.168.0.73
20 deny 192.168.0.81
30 deny 192.168.0.46
40 permit any
以后修改ACL的时候就再也不用把后面的删了才能加上,配置ACL可以直接插入了
阅读(347) | 评论(0) | 转发(0) |