Beruflich Dokumente
Kultur Dokumente
pg. 1
Command Syntax Command Example
Secure boot feature
secure-boot enable OS10(config)# secure-boot enable
show secure-boot status OS10# show secure-boot status
OS10# secure-boot verify kernel
secure-boot verify OS10# secure-boot verify file-system-integrity
OS10# secure-boot verify startup-config
Creating VLANs
interface vlan [VLAN ID] OS10(config)# interface vlan 10
description [description text] OS10(conf-if-vl-10)# description Finance
show vlan OS10# show vlan
Working with switch interfaces
show interface status OS10# show interface status
interface ethernet node/slot/port OS10(config)# interface ethernet 1/1/7
Disable: shutdown OS10(conf-if-eth1/1/7)# shutdown
Enable: no shutdown OS10(conf-if-eth1/1/7)# no shutdown
OS10(config)# interface range ethernet 1/1/2-1/1/9
interface range
OS10(conf-range-eth1/1/2-1/1/9)#
show configuration OS10(conf-if-eth1/1/7)# show configuration
L2 untagged interface
Assign VLAN to an interface: OS10(config)# interface ethernet 1/1/4
interface ethernet 1/1/1 OS10(conf-if-eth1/1/4)# switchport mode access
switchport access vlan [VLAN ID] OS10(conf-if-eth1/1/4)# switchport access vlan 10
Multiple VLANs on a single interface
switchport mode trunk OS10(conf-if-ma-1/1/3)# switchport mode trunk
switchport trunk allowed vlan [list] OS10(conf-if-ma-1/1/3)# switchport trunk allowed vlan 10,20,30
Configure a L3 physical interface
interface [port type] node/slot/port OS10(config)# interface ethernet 1/1/12
no switchport OS10(conf-if-eth1/1/12)# # no switchport
ip address A.B.C.D/mask OS10(conf-if-eth1/1/12)# # ip address 10.10.10.1/30
ip route 0.0.0.0/0 [next-hop router] OS10(config)# ip route 0.0.0.0/0 10.10.10.2
show ip route OS10(config)# do show ip route
Configure a VLAN interface with a L3 IP address and assign to a physical interface
interface vlan [VLAN ID] OS10(config)# interface vlan 10
ip address A.B.C.D/mask OS10(conf-if-vl-10)# ip address 192.168.10.1/24
interface ethernet node/slot/port OS10(conf-if-vl-10)# interface ethernet 1/1/1
switchport access vlan [VLAN ID] OS10(conf-if-eth1/1/1)# switchport access vlan 10
show ip route OS10(conf-if-eth1/1/1)# show ip route
Saving switch configuration changes
show running-configuration OS10# show running-configuration
copy running-configuration startup-
OS10# copy running-configuration startup-configuration
configuration
write memory OS10# write memory
dir config OS10# dir config
Disable zero-touch deployment (ZTD)
ztd cancel OS10# ztd cancel
show ztd status OS10# show ztd status
Configure users and credentials
username [name] password [password]
OS10(config)# username jayne20 password P@ssw0rd20 role
role [netadmin | netoperator |
netadmin priv-lvl 15
secadmin] priv-lvl [1-15]
show running-config | grep username OS10# show running-configuration | grep username
pg. 2