Layer 2 Control Neighbor Configuration Mode
LDP Configuration Mode
Line Configuration Mode
Copyright © 2010, Juniper Networks, Inc.
In this mode, you can specify a neighbor ID and the maximum number of branches that
the neighbor can have.
From Global Configuration mode, type neighbor and press Enter.
host1(config-l2c)#neighbor
host1(config-l2c-neighbor)#?
default
Set a command to its default(s)
do
Run an exec mode command (alias command run)
exit
Exit from the current command mode
help
Describe the interactive help system
id
Configure neighbor-id associated with neighbor
log
Configure logging settings
macro
Run a CLI macro
max-branches
Configure max number of branches for neighbor
no
Negate a command or set its default(s)
run
Run an exec mode command (alias command do)
sleep
Make the Command Interface pause for a specified duration
In this mode, you can create and configure MPLS Label Distribution Protocol (LDP) profile
parameters.
From Global Configuation mode, type mpls ldp interface profile and the profileName,
and press Enter.
host1(config)#mpls ldp interface profile shell
host1(config-ldp)#?
default
Set a command to its default(s)
do
Run an exec mode command (alias command run)
exit
Exit from the current command mode
hello
Configure hello parameters
help
Describe the interactive help system
log
Configure logging settings
macro
Run a CLI macro
no
Negate a command or set its default(s)
run
Run an exec mode command (alias command do)
sleep
Make the Command Interface pause for a specified duration
In this mode, you can modify the operation of a virtual terminal (vty) line.
From Global Configuration mode, type the line vty command and either the lineNumber
or the rangeOfLineNumbers you want to configure, and press Enter.
NOTE: The factory default is 5 vty lines. However, you can increase the
number of vty lines available by typing the start number and end number of
the vty line range. Once you execute the line vty command, you will have
access to line numbers up to the ending line number.
Chapter 2: Command-Line Interface
97