Date created: Wednesday, November 16, 2022 10:02:11 AM. Last modified: Thursday, July 11, 2024 2:24:26 PM
EOS Defaults
The following list of commands change the default behaviour of an EOS device to be more like a layer 3 routing device than it's default state of a layer 2 switching device:
# Default ports to be layer 3 routed ports which support sub-interfaces instead of layer 2 switched pots:
switchport default mode routed
# Disable spanning tree
spanning-tree mode none
# Enable routing protocol and VRF support
service routing protocols model multi-agent
# Enable IPv4/IPv6/MPLS
ip routing
ipv6 unicast-routing
mpls ip
# Disable management in all VRFs except management VRF (it will default to being enabled in all VRFs!)
management ssh
vrf management
no shutdown
exit
shutdown
# Set eBGP admin distance to 20, it deaults to 200, equal with iBGP:
router bgp
distance bgp 20 200 200
Previous page: Configuration Session
Next page: Offload routes from Kernel to hardware