Files
2025-11-14 21:30:34 +01:00

1 line
7.0 KiB
Plaintext

{'startup': 'Using 3329 out of 57336 bytes\n!\nversion 12.4\nservice timestamps debug datetime msec\nservice timestamps log datetime msec\nno service password-encryption\nno service dhcp\n!\nhostname ESW2\n!\nboot-start-marker\nboot-end-marker\n!\n!\nno aaa new-model\nmemory-size iomem 5\nno ip routing\nno ip icmp rate-limit unreachable\nno ip cef\n!\n!\n!\n!\nno ip domain lookup\nip domain name esw2.cpe.local\n!\nmultilink bundle-name authenticated\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\nmacro name add_vlan\nend\nvlan database\nvlan $v\nexit\n@\nmacro name del_vlan\nend\nvlan database\nno vlan $v\nexit\n@\n!\nvtp file nvram:vlan.dat\nusername cisco privilege 15 password 0 cisco\narchive\n log config\n hidekeys\n! \n!\n!\n!\nip tcp synwait-time 5\nip ssh version 2\n!\n!\n!\n!\ninterface FastEthernet0/0\n description *** Unused for Layer2 EtherSwitch ***\n no ip address\n no ip route-cache\n shutdown\n duplex auto\n speed auto\n!\ninterface FastEthernet0/1\n description *** Unused for Layer2 EtherSwitch ***\n no ip address\n no ip route-cache\n shutdown\n duplex auto\n speed auto\n!\ninterface FastEthernet1/0\n description Connexion vers le routeur R2\n switchport mode trunk\n duplex full\n speed 100\n!\ninterface FastEthernet1/1\n description Connexion vers le VLAN 10\n switchport access vlan 10\n duplex full\n speed 100\n!\ninterface FastEthernet1/2\n description Connexion vers le VLAN 20\n switchport access vlan 20\n duplex full\n speed 100\n!\ninterface FastEthernet1/3\n duplex full\n speed 100\n!\ninterface FastEthernet1/4\n duplex full\n speed 100\n!\ninterface FastEthernet1/5\n duplex full\n speed 100\n!\ninterface FastEthernet1/6\n duplex full\n speed 100\n!\ninterface FastEthernet1/7\n duplex full\n speed 100\n!\ninterface FastEthernet1/8\n duplex full\n speed 100\n!\ninterface FastEthernet1/9\n duplex full\n speed 100\n!\ninterface FastEthernet1/10\n duplex full\n speed 100\n!\ninterface FastEthernet1/11\n duplex full\n speed 100\n!\ninterface FastEthernet1/12\n duplex full\n speed 100\n!\ninterface FastEthernet1/13\n duplex full\n speed 100\n!\ninterface FastEthernet1/14\n duplex full\n speed 100\n!\ninterface FastEthernet1/15\n duplex full\n speed 100\n!\ninterface FastEthernet2/0\n no ip address\n no ip route-cache\n shutdown\n duplex auto\n speed auto\n!\ninterface Vlan1\n no ip address\n no ip route-cache\n!\ninterface Vlan99\n ip address 172.16.100.189 255.255.255.192\n!\nip forward-protocol nd\n!\n!\nno ip http server\nno ip http secure-server\n!\nno cdp log mismatch duplex\n!\n!\n!\n!\n!\n!\ncontrol-plane\n!\n!\n!\n!\n!\n!\n!\n!\n!\nbanner exec ^C\n\n***************************************************************\nThis is a normal Router with a Switch module inside (NM-16ESW)\nIt has been pre-configured with hard-coded speed and duplex\n\nTo create vlans use the command "vlan database" in exec mode\nAfter creating all desired vlans use "exit" to apply the config\n\nTo view existing vlans use the command "show vlan-switch brief"\n\nAlias(exec) : vl - "show vlan-switch brief" command\nAlias(configure): va X - macro to add vlan X\nAlias(configure): vd X - macro to delete vlan X\n***************************************************************\n\n^C\nalias configure va macro global trace add_vlan $v\nalias configure vd macro global trace del_vlan $v\nalias exec vl show vlan-switch brief\n!\nline con 0\n exec-timeout 0 0\n privilege level 15\n logging synchronous\nline aux 0\n exec-timeout 0 0\n privilege level 15\n logging synchronous\nline vty 0 4\n login local\n transport input ssh\n!\n!\nend', 'running': '!\nversion 12.4\nservice timestamps debug datetime msec\nservice timestamps log datetime msec\nno service password-encryption\nno service dhcp\n!\nhostname ESW2\n!\nboot-start-marker\nboot-end-marker\n!\n!\nno aaa new-model\nmemory-size iomem 5\nno ip routing\nno ip icmp rate-limit unreachable\nno ip cef\n!\n!\n!\n!\nno ip domain lookup\nip domain name esw2.cpe.local\n!\nmultilink bundle-name authenticated\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\nmacro name add_vlan\nend\nvlan database\nvlan $v\nexit\n@\nmacro name del_vlan\nend\nvlan database\nno vlan $v\nexit\n@\n!\nvtp file nvram:vlan.dat\nusername cisco privilege 15 password 0 cisco\narchive\n log config\n hidekeys\n! \n!\n!\n!\nip tcp synwait-time 5\nip ssh version 2\n!\n!\n!\n!\ninterface FastEthernet0/0\n description *** Unused for Layer2 EtherSwitch ***\n no ip address\n no ip route-cache\n shutdown\n duplex auto\n speed auto\n!\ninterface FastEthernet0/1\n description *** Unused for Layer2 EtherSwitch ***\n no ip address\n no ip route-cache\n shutdown\n duplex auto\n speed auto\n!\ninterface FastEthernet1/0\n description Connexion vers le routeur R2\n switchport mode trunk\n duplex full\n speed 100\n!\ninterface FastEthernet1/1\n description Connexion vers le VLAN 10\n switchport access vlan 10\n duplex full\n speed 100\n!\ninterface FastEthernet1/2\n description Connexion vers le VLAN 20\n switchport access vlan 20\n duplex full\n speed 100\n!\ninterface FastEthernet1/3\n duplex full\n speed 100\n!\ninterface FastEthernet1/4\n duplex full\n speed 100\n!\ninterface FastEthernet1/5\n duplex full\n speed 100\n!\ninterface FastEthernet1/6\n duplex full\n speed 100\n!\ninterface FastEthernet1/7\n duplex full\n speed 100\n!\ninterface FastEthernet1/8\n duplex full\n speed 100\n!\ninterface FastEthernet1/9\n duplex full\n speed 100\n!\ninterface FastEthernet1/10\n duplex full\n speed 100\n!\ninterface FastEthernet1/11\n duplex full\n speed 100\n!\ninterface FastEthernet1/12\n duplex full\n speed 100\n!\ninterface FastEthernet1/13\n duplex full\n speed 100\n!\ninterface FastEthernet1/14\n duplex full\n speed 100\n!\ninterface FastEthernet1/15\n duplex full\n speed 100\n!\ninterface FastEthernet2/0\n no ip address\n no ip route-cache\n shutdown\n duplex auto\n speed auto\n!\ninterface Vlan1\n no ip address\n no ip route-cache\n!\ninterface Vlan99\n ip address 172.16.100.189 255.255.255.192\n!\nip forward-protocol nd\n!\n!\nno ip http server\nno ip http secure-server\n!\nno cdp log mismatch duplex\n!\n!\n!\n!\n!\n!\ncontrol-plane\n!\n!\n!\n!\n!\n!\n!\n!\n!\nbanner exec ^C\n\n***************************************************************\nThis is a normal Router with a Switch module inside (NM-16ESW)\nIt has been pre-configured with hard-coded speed and duplex\n\nTo create vlans use the command "vlan database" in exec mode\nAfter creating all desired vlans use "exit" to apply the config\n\nTo view existing vlans use the command "show vlan-switch brief"\n\nAlias(exec) : vl - "show vlan-switch brief" command\nAlias(configure): va X - macro to add vlan X\nAlias(configure): vd X - macro to delete vlan X\n***************************************************************\n\n^C\nalias configure va macro global trace add_vlan $v\nalias configure vd macro global trace del_vlan $v\nalias exec vl show vlan-switch brief\n!\nline con 0\n exec-timeout 0 0\n privilege level 15\n logging synchronous\nline aux 0\n exec-timeout 0 0\n privilege level 15\n logging synchronous\nline vty 0 4\n login local\n transport input ssh\n!\n!\nend', 'candidate': ''}