Skip to main content Svelte Highlight v7.21.1

Cisco IOS language preview

1. Interface configuration

an interface block, an ACL, and OSPF routing
horizon-dark
! configure the uplink interface
interface GigabitEthernet0/0/1
 description Uplink to core
 ip address 192.168.1.1 255.255.255.0
 no shutdown
!
access-list 101 permit tcp any host 10.0.0.5 eq 443
router ospf 1
 network 192.168.1.0 0.0.0.255 area 0
atom-one-dark
! configure the uplink interface
interface GigabitEthernet0/0/1
 description Uplink to core
 ip address 192.168.1.1 255.255.255.0
 no shutdown
!
access-list 101 permit tcp any host 10.0.0.5 eq 443
router ospf 1
 network 192.168.1.0 0.0.0.255 area 0
github-dark
! configure the uplink interface
interface GigabitEthernet0/0/1
 description Uplink to core
 ip address 192.168.1.1 255.255.255.0
 no shutdown
!
access-list 101 permit tcp any host 10.0.0.5 eq 443
router ospf 1
 network 192.168.1.0 0.0.0.255 area 0
dracula
! configure the uplink interface
interface GigabitEthernet0/0/1
 description Uplink to core
 ip address 192.168.1.1 255.255.255.0
 no shutdown
!
access-list 101 permit tcp any host 10.0.0.5 eq 443
router ospf 1
 network 192.168.1.0 0.0.0.255 area 0
nord
! configure the uplink interface
interface GigabitEthernet0/0/1
 description Uplink to core
 ip address 192.168.1.1 255.255.255.0
 no shutdown
!
access-list 101 permit tcp any host 10.0.0.5 eq 443
router ospf 1
 network 192.168.1.0 0.0.0.255 area 0
github
! configure the uplink interface
interface GigabitEthernet0/0/1
 description Uplink to core
 ip address 192.168.1.1 255.255.255.0
 no shutdown
!
access-list 101 permit tcp any host 10.0.0.5 eq 443
router ospf 1
 network 192.168.1.0 0.0.0.255 area 0

2. VLAN and trunking

vlan, switchport, and trunk configuration
horizon-dark
vlan 10
 name Engineering

interface GigabitEthernet0/0/2
 switchport mode trunk
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10,20,30
atom-one-dark
vlan 10
 name Engineering

interface GigabitEthernet0/0/2
 switchport mode trunk
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10,20,30
github-dark
vlan 10
 name Engineering

interface GigabitEthernet0/0/2
 switchport mode trunk
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10,20,30
dracula
vlan 10
 name Engineering

interface GigabitEthernet0/0/2
 switchport mode trunk
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10,20,30
nord
vlan 10
 name Engineering

interface GigabitEthernet0/0/2
 switchport mode trunk
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10,20,30
github
vlan 10
 name Engineering

interface GigabitEthernet0/0/2
 switchport mode trunk
 switchport trunk encapsulation dot1q
 switchport trunk allowed vlan 10,20,30

3. Line and access control

vty line configuration with SSH transport
horizon-dark
line vty 0 4
 login local
 transport input ssh
!
username admin secret cisco123
atom-one-dark
line vty 0 4
 login local
 transport input ssh
!
username admin secret cisco123
github-dark
line vty 0 4
 login local
 transport input ssh
!
username admin secret cisco123
dracula
line vty 0 4
 login local
 transport input ssh
!
username admin secret cisco123
nord
line vty 0 4
 login local
 transport input ssh
!
username admin secret cisco123
github
line vty 0 4
 login local
 transport input ssh
!
username admin secret cisco123