Difference between revisions of "Cisco Nexus"
Helikopter (talk | contribs) |
Helikopter (talk | contribs) m |
||
Line 15: | Line 15: | ||
no ip domain-lookup | no ip domain-lookup | ||
user admin password bigdog role vdc-admin | user admin password bigdog role vdc-admin | ||
+ | |||
Management | Management | ||
interface mgmt0 | interface mgmt0 | ||
Line 21: | Line 22: | ||
vrf context management | vrf context management | ||
ip route 0.0.0.0/0 10.0.0.1 | ip route 0.0.0.0/0 10.0.0.1 | ||
+ | |||
Tidszon | Tidszon | ||
clock timezone CET 1 0 | clock timezone CET 1 0 | ||
clock summer-time CEST 5 Sunday March 02:00 5 Sunday October 02:00 60 | clock summer-time CEST 5 Sunday March 02:00 5 Sunday October 02:00 60 | ||
+ | |||
Slå på features efter behov | Slå på features efter behov | ||
feature fex | feature fex | ||
Line 29: | Line 32: | ||
feature vpc | feature vpc | ||
+ | Global | ||
system default switchport shutdown | system default switchport shutdown | ||
+ | port-channel load-balance ethernet source-dest-port | ||
Jumbo frames | Jumbo frames | ||
− | |||
policy-map type network-qos JUMBO-MTU | policy-map type network-qos JUMBO-MTU | ||
− | + | class type network-qos class-default | |
− | + | mtu 9216 | |
system qos | system qos | ||
− | + | service-policy type network-qos JUMBO-MTU | |
Slå på loggmeddelanden i SSH terminal | Slå på loggmeddelanden i SSH terminal | ||
Line 45: | Line 49: | ||
show module | show module | ||
show system resources | show system resources | ||
+ | show cli history unformatted | ||
− | + | Alias | |
cli alias name wr copy running-config startup-config | cli alias name wr copy running-config startup-config | ||
cli alias name changeto switchto vdc | cli alias name changeto switchto vdc | ||
+ | |||
+ | Sätt switchen i maintenance mode. | ||
+ | system mode maintenance [dont-generate-profile] | ||
+ | show system mode | ||
+ | show config-profile | ||
+ | |||
+ | Licens | ||
+ | show license brief | ||
+ | show license usage | ||
Integrated IDS | Integrated IDS | ||
Line 55: | Line 69: | ||
CoPP | CoPP | ||
control-plane | control-plane | ||
− | + | service-policy input copp-system-policy-scaled-l2 | |
FIPS | FIPS | ||
fips mode enable | fips mode enable | ||
show fips status | show fips status | ||
− | |||
− | |||
− | |||
− | |||
− | |||
==Checkpoint== | ==Checkpoint== |
Revision as of 13:23, 25 January 2017
Cisco Nexus switchar är designade för datacenter. De kör NX-OS som bygger på en nedbantad variant av Linux 2.6 kernel. De har stöd för FabricPath och vPC och de går att konfigurera med CLI (SSH/console) eller XML baserat på NETCONF. För virtuell instans se Nexus VDC och för virtuell switch se Nexus 1000V.
Fabric Extender
FEXar är remote linjekort man sprider ut för att få fördelar från både ToR-kabeldragning och EoR-management.
FEXar har INTE stöd för:
Konfiguration
hostname Nexus-01 service password-encryption no ip domain-lookup user admin password bigdog role vdc-admin
Management
interface mgmt0 ip address 10.0.0.10/24 exit vrf context management ip route 0.0.0.0/0 10.0.0.1
Tidszon
clock timezone CET 1 0 clock summer-time CEST 5 Sunday March 02:00 5 Sunday October 02:00 60
Slå på features efter behov
feature fex feature lacp feature vpc
Global
system default switchport shutdown port-channel load-balance ethernet source-dest-port
Jumbo frames
policy-map type network-qos JUMBO-MTU class type network-qos class-default mtu 9216 system qos service-policy type network-qos JUMBO-MTU
Slå på loggmeddelanden i SSH terminal
terminal monitor
Show
show module show system resources show cli history unformatted
Alias
cli alias name wr copy running-config startup-config cli alias name changeto switchto vdc
Sätt switchen i maintenance mode.
system mode maintenance [dont-generate-profile] show system mode show config-profile
Licens
show license brief show license usage
Integrated IDS
hardware ip verify
CoPP
control-plane service-policy input copp-system-policy-scaled-l2
FIPS
fips mode enable show fips status
Checkpoint
Nexusswitchar har en inbyggd funktion för Configuration Roll Back. Checkpoint-featuren låter admins spara konfigurationssnapshots. Sedan kan man rollbacka när man behöver.
Skapa checkpoint
checkpoint
Show checkpoints
show checkpoint summary
Diff
show diff rollback-patch checkpoint user-checkpoint-1 running-config
Rollback
rollback running-config checkpoint user-checkpoint-1
Delete
clear checkpoint database