Cheatography
https://cheatography.com
Useful information gathering commands
Brocade Vyatta Documentation
System Information
show system storage |
Current Disk utilization |
show system memory |
Current memory utilization |
monitor log |
Display log in realtime |
show log tail <NUMBER> |
Display last NUMBER is lines |
show version |
Display current software version |
ls -lh /var/log |
List log file on disk |
Configuration - Display
show configuration |
Display configuration |
show configuration commands |
Display configuration in command format |
show system commit |
Display list of recent commit |
show system commit diff rev-num |
Display changes applied in specific commit |
Configuration - Edit
configure |
Enter Configuration Mode |
commit |
Apply Changes to running configuration |
save |
Save Applied changes to Startup configuration |
discard |
Discard unapplied changes and Exit Configuration mode |
show |
Show configuration with changes configuration |
set arguments |
Add new item to configuration |
delete arguments |
Remove item to configuration |
Interfaces
show interfaces |
Interface IP information |
show interface ethernet detail |
Detailed interface counters |
monitor interfaces |
Interface usage |
show arp |
Device ARP table |
clear interfaces counters |
Clear interface counters |
|
|
Firewall
show firewall |
Display firewall rule configurations |
show firewall [name name ] [rule rule-num | statistics]] |
Display information for specific firewall rule set and/or specific rule |
clear firewall {name name} [rule rule-num] counters |
Clear firewall rule counters |
NAT
show nat [destination | source] rules |
Show configured NAT rules |
show nat [destination | source] statistics |
Show statistics for configured NAT rules |
show nat [destination | source] translations |
Show active NAT translations |
'destination' or 'source' must be specified in the command
VPN - IPSec Point to Point
show vpn ike sa [peer peer] |
Display Phase 1 SAs |
show vpn ipsec sa [peer peer [tunnel tunnel]] |
Display Phase 2 SAs and Tunnels |
show vpn ipsec sa detail [peer peer [tunnel tunnel]] |
Display Detailed Phase 2 SAs and Tunnels |
show vpn ipsec sa statistics [peer peer [tunnel tunnel]] |
Display Phase 2 statistics for peers and Tunnels |
reset vpn ipsec-peer peer [tunnel tunnel] |
Reset a specific Peer and/or Tunnel |
Routing
show ip route |
Device IP Routing Table |
show ospf4 neighbor |
OSPF neighbors |
show ospf4 database |
OSPF Database |
Failover
show vrrp |
Display current VRRP failover status |
show config-sync status |
Display configuration synchronization status |
show config-sync difference |
Display configuration differences between peers |
These are useful commands if there are two Vyatta's configured for failover
|
Created By
about.com/suidroot
Metadata
Favourited By
Comments
No comments yet. Add yours below!
Add a Comment
Related Cheat Sheets