Run And Do Commands - Juniper JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM BASICS CONFIGURATION GUIDE 2010-10-04 Configuration Manual

Software for e series broadband services routers system basics configuration guide
Hide thumbs Also See for JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM BASICS CONFIGURATION GUIDE 2010-10-04:
Table of Contents

Advertisement

Example 1
Copyright © 2010, Juniper Networks, Inc.
To be compatible with some non-Juniper Networks implementations, the no versions of
commands will accept the same options as the affirmative version of the commands.
The CLI ignores the optional input if it has no effect on the command behavior. If using
the option changes the behavior of the no version, the individual command entry in this
guide describes the difference in behavior.

run and do Commands

You can run Exec mode commands while in any configuration mode by preceding the
command with the keyword run or do. For example:
host1(config)#run show users
NOTE: The run and do commands are interchangeable.
By using the run or do command in this way, you can obtain show command information
without leaving configuration mode.
The only commands that cannot be preceded by run or do are the configure command
and those commands that are already available in all modes, such as sleep or exit.
host1(config)#run show config | begin interface
interface null 0
!
interface fastEthernet 0/0
ip address 10.6.129.41 255.255.128.0
!
interface gigabitEthernet 5/0
!
interface atm 6/0
interface atm 6/0.1 point-to-point
encapsulation pppoe
!
interface atm 6/0.1.7
!
interface atm 6/0.1.5
!
interface atm 6/0.1.2
!
interface atm 6/0.1.9
!
interface atm 6/0.1.11
!
interface atm 6/0.1.15
!
interface atm 6/0.1.18
!
ip route 0.0.0.0 0.0.0.0 10.6.128.1
ip route 10.10.121.72 255.255.255.255 10.6.128.1
!
!
route-map adsf permit 10
router dvmrp
!
router igmp
!
Chapter 2: Command-Line Interface
33

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.3

Table of Contents