Chinaunix首页 | 论坛 | 博客
  • 博客访问: 594498
  • 博文数量: 841
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 5010
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-28 10:08
文章分类

全部博文(841)

文章存档

2011年(1)

2008年(840)

我的朋友

分类:

2008-10-28 10:18:43


  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 down
  
  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可以直接插入了。
【责编:admin】

--------------------next---------------------

阅读(242) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~