UCommands · UCommands •udldaggressive(udld),onpage2 •udldaggressive(udld),onpage3...
Transcript of UCommands · UCommands •udldaggressive(udld),onpage2 •udldaggressive(udld),onpage3...
U Commands
• udld aggressive (udld), on page 2• udld aggressive (udld), on page 3• udld continue-on-err, on page 4• udld disable, on page 5• udld enable, on page 6• udld message-time, on page 7• udld reset, on page 8• undebug all, on page 9• uniq, on page 10• unmount, on page 11• unmount slot0, on page 12• unsuppress-map, on page 13• update-sourceupdate-source, on page 14• update ip route, on page 15• update ipv6 route, on page 16• update license, on page 17• urib debugs-dump-to-file, on page 18• use-vrf (ldap_tree), on page 19• use-vrf (radius_tree), on page 20• use-vrf (tacacs_dynamic_tree), on page 21• username (security_tree), on page 22• username (security_tree), on page 24• username (priv), on page 25• username (security_tree), on page 27• username keypair export force dsa rsa, on page 28• username keypair import force dsa rsa, on page 29
U Commands1
udld aggressive (udld)[no] udld aggressive
Syntax Description Negate a command or set its defaultsno
UDLD protocoludld
Enable UDLD aggressivemode for interface(s)aggressive
Command Modes • /exec/configure/if-ethernet-all• /exec/configure/if-eth-base
U Commands2
U Commandsudld aggressive (udld)
udld aggressive (udld)[no] udld aggressive
Syntax Description Negate a command or set its defaultsno
UDLD protocoludld
Enable UDLD aggressive mode on all fiber optic portsaggressive
Command Modes • /exec/configure
U Commands3
U Commandsudld aggressive (udld)
udld continue-on-err[no] udld continue-on-err
Syntax Description Negate a command or set its defaultsno
UDLD protocoludld
Force UDLD continue without disabling the portcontinue-on-err
Command Modes • /exec
U Commands4
U Commandsudld continue-on-err
udld disable[no] udld disable
Syntax Description Negate a command or set its defaultsno
UDLD protocoludld
Disable UDLD for fiber interface(s)disable
Command Modes • /exec/configure/if-ethernet-all• /exec/configure/if-eth-base
U Commands5
U Commandsudld disable
udld enable[no] udld enable
Syntax Description Negate a command or set its defaultsno
UDLD protocoludld
Enable UDLD for non-fiber interface(s)enable
Command Modes • /exec/configure/if-ethernet-all• /exec/configure/if-eth-base
U Commands6
U Commandsudld enable
udld message-timeudld message-time i0|no udld message-time
Syntax Description Negate a command or set its defaultsno
UDLD protocoludld
Setting the time in seconds between UDLD probe messagesmessage-time
Type: integer
min: 7 max: 90
Enter the message timer value [default = 15]
i0
Command Modes • /exec/configure
U Commands7
U Commandsudld message-time
udld resetudld reset
Syntax Description UDLD protocoludld
Reset all ports shut down byUDLDreset
Command Modes • /exec/configure
U Commands8
U Commandsudld reset
undebug allundebug all
Syntax Description Disable Debugging functions (See also debug)undebug
Disable all debuggingall
Command Modes • /exec
U Commands9
U Commandsundebug all
uniq" | " uniq [{-c|-d|-f nb-of-fields|-s nb-of-chars|-u|-w nb-chars-to-compare|-i}]+
Syntax Description Pipe command output to filter|
Discard all but one of successive identical linesuniq
prefix lines by the number of occurrences-c
only print duplicate lines-d
avoid comparing the first N fields-f
avoid comparing the first N characters-s
only print unique lines-u
compare no more than N characters in lines-w
ignore differences in case when comparing-i
Type: integer
min: 0 max: 10000
number of initial fields to ignore
nb-of-fields
Type: integer
min: 0 max: 10000
number of initial chars to ignore
nb-of-chars
Type: integer
min: 0 max: 10000
max number of chars to compare
nb-chars-to-compare
Command Modes • /output
U Commands10
U Commandsuniq
unmountunmount {usb1:|usb2:}
Syntax Description unmount expansion flash or USB storageunmount
Unmount USB drive in port 1usb1:
Unmount USB drive in port 2usb2:
Command Modes • /exec
U Commands11
U Commandsunmount
unmount slot0unmount slot0:
Syntax Description unmount expansion flash or USB storageunmount
Unmount expansion flashslot0:
Command Modes • /exec
U Commands12
U Commandsunmount slot0
unsuppress-map[no] unsuppress-map unsupp-rmap-name
Syntax Description Negate a command or set its defaultsno
Route-map to selectively unsuppress suppressed routesunsuppress-map
Type: string
pattern: [!-~]*
length: 63
Route-map name
unsupp-rmap-name
Command Modes • /exec/configure/router-bgp/router-bgp-neighbor/router-bgp-neighbor-af• /exec/configure/router-bgp/router-bgp-neighbor/router-bgp-neighbor-af-vpnv4• /exec/configure/router-bgp/router-bgp-neighbor/router-bgp-neighbor-af-vpnv6• /exec/configure/router-bgp/router-bgp-af-ipv6-label
U Commands13
U Commandsunsuppress-map
update-sourceupdate-sourceupdate-source interface|{no|default} update-source [interface]
Syntax Description Negate a command or set its defaultsno
Inherit values from a peer templatedefault
Specify source of BGP session and updatesupdate-source
Type: interface
Interface name
interface
Command Modes • /exec/configure/router-bgp/router-bgp-neighbor-sess
U Commands14
U Commandsupdate-sourceupdate-source
update ip routeupdate ip route [vrf {vrf-namevrf-known-namevrf-all}] all
Syntax Description Updateupdate
IPv4ip
Update routing informationroute
VRFvrf
Type: vrf
pattern: [-a-zA-Z0-9_:;$#@]*
antipattern: vrf | detail | interface | definition | context | forwarding | member | all | l2-vrf |topology | passive
length: 32
VRF name
vrf-name
Type: vrf
Known VRF name
vrf-known-name
Display information for all VRFs<vrf-all>
Update all routes<all>
Command Modes • /exec
U Commands15
U Commandsupdate ip route
update ipv6 routeupdate ipv6 route [vrf {vrf-namevrf-known-namevrf-all}] all
Syntax Description Updateupdate
IPv6ipv6
Update routing informationroute
VRFvrf
Type: vrf
pattern: [-a-zA-Z0-9_:;$#@]*
antipattern: vrf | detail | interface | definition | context | forwarding | member | all | l2-vrf |topology | passive
length: 32
VRF name
vrf-name
Type: vrf
Known VRF name
vrf-known-name
Display information for all VRFs<vrf-all>
Update all routes<all>
Command Modes • /exec
U Commands16
U Commandsupdate ipv6 route
update licenseupdate license uri0 {license-file [force]s0}
Syntax Description Update licenseupdate
Update a license filelicense
Type: uri
Specify URL for the new license file
uri0
Type: string
length: 32
License file to be updated
license-file
Force update license (don't prompt)force
Type: string
License file to be updated
s0
Command Modes • /exec
U Commands17
U Commandsupdate license
urib debugs-dump-to-fileurib debugs-dump-to-file
Syntax Description Unicast Routing InformationBaseurib
Dump all urib debugs to a filedebugs-dump-to-file
Command Modes • /exec
U Commands18
U Commandsurib debugs-dump-to-file
use-vrf (ldap_tree)[no] use-vrf {vrf-namevrf-known-name}
Syntax Description Negate a command or set its defaultsno
Display per-VRF informationuse-vrf
Type: vrf
pattern: [-a-zA-Z0-9_:;$#@]*
antipattern: vrf | detail | interface | definition | context | forwarding | member | all | l2-vrf |topology | passive
length: 32
VRF name
vrf-name
Type: vrf
Known VRF name
vrf-known-name
Command Modes • /exec/configure/ldap
U Commands19
U Commandsuse-vrf (ldap_tree)
use-vrf (radius_tree)[no] use-vrf {management|defaultvrf_name}
Syntax Description Negate a command or set its defaultsno
vrf to be used to contact servers in this groupuse-vrf
management vrfmanagement
default vrfdefault
Type: vrf
name of the vrf
vrf_name
Command Modes • /exec/configure/radius
U Commands20
U Commandsuse-vrf (radius_tree)
use-vrf (tacacs_dynamic_tree)[no] use-vrf {management|defaultvrf_name}
Syntax Description Negate a command or set its defaultsno
vrf to be used to contact servers in this groupuse-vrf
management vrfmanagement
default vrfdefault
Type: vrf
name of the vrf
vrf_name
Command Modes • /exec/configure/tacacs+
U Commands21
U Commandsuse-vrf (tacacs_dynamic_tree)
username (security_tree)username s0 [password {0 s2|5 s3s4}] [expire s5 [past]] [role s6]|username s0 [password {0s2|5 s3s4}] [role s6] [expire s5 [past]]|username s0 [expire s5 [past]] [password {0 s2|5 s3s4}][role s6]|username s0 [expire s5 [past]] [role s6] [password {0 s2|5 s3s4}]|username s0 [roles6] [password {0 s2|5 s3s4}] [expire s5 [past]]|username s0 [role s6] [expire s5 [past]] [password{0 s2|5 s3s4}]|no username s7 [role s8]
Syntax Description Negate a command or set its defaultsno
Configure user information.username
Type: string
pattern: [-a-zA-Z0-9+=_.\\']*
length: 28
user name
s0
Password for the userpassword
Indicates that the password that follows should be in clear text0
Type: string
length: 80
Password for the user (clear text)
s2
Indicates that the password that follows should be encrypted5
Type: string
pattern: ([$][156][$][a-zA-Z0-9./]*[$].*) | [!]
length: 64
strongly encrypted password
s3
Type: string
length: 80
Password for the user (clear text)
s4
Expiry date for this user account(in YYYY-MM-DD format)expire
Type: string
length: 10
Expiry in YYYY-MM-DD format
s5
Expiry date is in pastpast
role which the user is to be assigned torole
U Commands22
U Commandsusername (security_tree)
Type: userdef
role name
s6
Type: string
length: 28
user name
s7
Type: userdef
role name
s8
Command Modes • /exec/configure
U Commands23
U Commandsusername (security_tree)
username (security_tree)[no] username s0 {ssh-cert-dn s1 {dsa|rsa}|sshkey {file uri0line}}
Syntax Description Negate a command or set its defaultsno
Configure user information.username
Type: string
pattern: [-a-zA-Z0-9+=_.\\']*
length: 28
user name
s0
Update cert dnssh-cert-dn
Type: string
length: 512
distinguished name to be used
s1
Use dsa algorithmdsa
Use rsa algorithmrsa
Update ssh key for the user for ssh authenticationsshkey
ssh key filefile
Type: uri
file containing host public key for the user
uri0
Type: remainder
ssh key for the user
line
Command Modes • /exec/configure
U Commands24
U Commandsusername (security_tree)
username (priv)username s0 [password {0 s2|5 s3s4}] [expire s5 [past]] [priv-lvl p]|username s0 [password{0 s2|5 s3s4}] [priv-lvl p] [expire s5 [past]]|username s0 [expire s5 [past]] [password {0 s2|5s3s4}] [priv-lvl p]|username s0 [expire s5 [past]] [priv-lvl p] [password {0 s2|5 s3s4}]|usernames0 [priv-lvl p] [password {0 s2|5 s3s4}] [expire s5 [past]]|username s0 [priv-lvl p] [expire s5[past]] [password {0 s2|5 s3s4}]|no username s6 [priv-lvl p]
Syntax Description Negate a command or set its defaultsno
Configure user information.username
Type: string
pattern: [-a-zA-Z0-9+=_.\\]*
length: 28
user name
s0
Password for the userpassword
Indicates that the password that follows should be in clear text0
Type: string
length: 64
Password for the user (clear text)
s2
Indicates that the password that follows should be encrypted5
Type: string
pattern: ([$][156][$][a-zA-Z0-9./]*[$].*) | [!]
length: 64
strongly encrypted password
s3
Type: string
length: 64
Password for the user (clear text)
s4
Expiry date for this user account(in YYYY-MM-DD format)expire
Type: string
length: 10
Expiry in YYYY-MM-DD format
s5
Expiry date is in pastpast
U Commands25
U Commandsusername (priv)
Type: string
length: 28
user name
s6
privilege level which the user is to be assigned topriv-lvl
Type: integer
min: 0 max: 15
privilege level
p
Command Modes • /exec/configure
U Commands26
U Commandsusername (priv)
username (security_tree)username s0 keypair generate {dsa [force]|rsa [{i0oldrange}] [force]}|no username s0 keypairgenerate [{dsa [force]|rsa [{i0oldrange}] [force]}]
Syntax Description Negate a command or set its defaultsno
Configure user information.username
Type: string
pattern: [-a-zA-Z0-9+=_.\\'$]*
length: 28
user name
s0
Generate ssh key pairsgenerate
Generate SSH User Keyskeypair
Generate DSA keysdsa
Force the generation of keys even if previous ones are presentforce
Generate RSA keysrsa
Type: integer
min: 1024 max: 2048
Enter number of bits (in multiples of 8)
i0
Type: integer
min: 768 max: 1023
Enter number of bits
oldrange
Command Modes • /exec/configure
U Commands27
U Commandsusername (security_tree)
username keypair export force dsa rsausername s0 keypair export s1 {dsa|rsa} [force]
Syntax Description Configure user information.username
Use existing ssh keypairkeypair
Export keypair to Bootflash/Remote directoryexport
Force the export of keys even if the destination files are presentforce
Use DSA Keysdsa
Use RSA Keysrsa
Type: string
pattern: [-a-zA-Z0-9+=_.\\']*
length: 28
user name
s0
Type: uri
Enter filename to export to
s1
Command Modes • /exec/configure
U Commands28
U Commandsusername keypair export force dsa rsa
username keypair import force dsa rsausername s0 keypair import s1 {dsa|rsa} [force]
Syntax Description Configure user information.username
Use existing ssh keypairkeypair
Import keypair from Bootflash/Remote directoryimport
Force the generation of keys even if previous ones are presentforce
Use DSA Keysdsa
Use RSA Keysrsa
Type: string
pattern: [-a-zA-Z0-9+=_.\\']*
length: 28
user name
s0
Type: uri
Enter filename to import
s1
Command Modes • /exec/configure
U Commands29
U Commandsusername keypair import force dsa rsa
U Commands30
U Commandsusername keypair import force dsa rsa