Enable conf t 1 R1 no 2 enable 3 pass 4 Authorized access only line 5 6 7 line 8 9
Skip to navigation Skip to main content Utilities
Show Infrastructure and Management
Cloud Computing
Storage
Runtimes
Integration and Automation
All Products The configuration file for This section shows you how to: set global Yum options by editing the set options for individual repositories by editing the use Yum
variables in add, enable, and disable Yum repositories on the command line; and, set up your own custom Yum repository. 8.4.1. Setting [main] Options The A sample [main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3
[comments abridged]
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d The following are the most commonly-used options in the
where value is one of:
cachedir =directory where directory is an absolute path to the directory where Yum should store its cache and database files. By default, Yum's cache directory is debuglevel =value
where value is an integer between exactarch =valuewhere value is one of:
exclude =package_name [more_package_names] This option allows you to exclude packages by keyword during installation/updates. Listing multiple packages for exclusion can be accomplished by quoting a space-delimited list of packages. Shell globs using wildcards (for example, gpgcheck =valuewhere value is one of:
If this option is set in the groupremove_leaf_only =valuewhere value is one of:
installonlypkgs =space separated list of packages
Here you can provide a space-separated list of packages which If you add the installonly_limit =value where value is an integer representing the maximum number of versions that can be installed
simultaneously for any single package listed in the The defaults for the keepcache =valuewhere value is one of:
logfile =file_name where file_name is an absolute path to the file in which multilib_policy =valuewhere value is one of:
obsoletes =value
where value is one of:
plugins =value
where value is one of:
Disabling all plug-ins is not advised because certain plug-ins provide important ). Disabling plug-ins globally is provided as a convenience option, and is generally only recommended when diagnosing a potential problem with
reposdir =directory where directory is an absolute path to
the directory where retries =value where value is an integer For a complete list of available
What is the conf t command?Next, type config terminal (or config t) to go to global configuration mode (where the prompt looks like router(config)# ).
What is line console password?1. Console Password : It is used to set the console port password, if no password has been set on the router's console, by default, the user can use the access user mode. The real encryption process ensues when a password is configured or the existing configuration is written.
What is in and out in accessIn–when you are running traffic coming INTO the interface through an ACL. Out–when you are running traffic leaving the interface through an ACL. If you want to filter packets that is coming in, you want to use the in; and if you want to filter packets that is coming out then you use the out.
What is the use of line Vty 0 4?By default five vty lines (0–4) are open. You can open additional lines using the line vty command. Once lines are open, login is enabled by default. Before users can access the lines, you must configure a password, disable login using the no login command, or configure AAA authentication on the lines.
|