Chinaunix首页 | 论坛 | 博客
  • 博客访问: 17898827
  • 博文数量: 7460
  • 博客积分: 10434
  • 博客等级: 上将
  • 技术积分: 78178
  • 用 户 组: 普通用户
  • 注册时间: 2008-03-02 22:54
文章分类

全部博文(7460)

文章存档

2011年(1)

2009年(669)

2008年(6790)

分类: 系统运维

2008-05-21 15:29:48

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可以直接插入了
阅读(340) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~