Difference between revisions of "Junos"

From neil.tappsville.com
Jump to navigationJump to search
(Created page with "==Configuration== * Deactivate - configuration is not loaded * Disable - Configuration is loaded by ignored * Trunk - has vlan tags * Access - naked ethernet * Fx / ex0 =...")
 
m
Line 44: Line 44:
 
  help topic interfaces family
 
  help topic interfaces family
  
Ifdown <code> set interfaces ge-0/0/7 disable</code>
+
* Ifdown <code> set interfaces ge-0/0/7 disable</code>
Ifup  <code> delete set interfaces ge-0/0/7 disable</code>
+
* Ifup  <code> delete set interfaces ge-0/0/7 disable</code>

Revision as of 22:20, 19 September 2019

Configuration

  • Deactivate - configuration is not loaded
  • Disable - Configuration is loaded by ignored
  • Trunk - has vlan tags
  • Access - naked ethernet
  • Fx / ex0 = management
show configuration | display inheritance no-comments
show configuration | display inheritance no-comments | display set | match foo

Loading config

configure private
load replace /var/tmp/someconfig.cfg
show | compare
commit check
commit <synchronize> and-quit


Routing

Display all routes in a routing-instance (cant use auto complete)

show route table <routing-instance_name>
show route receive-protocol bgp <neighbour IP>
show route instance <name> detail
deactivate routing-instances <name> protocols bgp group <group name / Domestic> neighbour <IP>

MTU testing

ping routing-instance <name> <IP> size 1500

CGN

show services nat mappings address-pooling-paired

Inital Build

request system configuration rescue save
request system autorecovery state save
request system snapshow slice alternative

Hardware

show interfaces diagnostics optics xe-1/0/0
show system processes extensive | match chassisd
help topic interfaces family
  • Ifdown set interfaces ge-0/0/7 disable
  • Ifup delete set interfaces ge-0/0/7 disable