Compare commits

..

No commits in common. "aee1189e47e43699852690ca393e578b996f676d" and "8e0ffb6f84b807bf5d8cbcb511d7ab9aab7e3a7b" have entirely different histories.

34 changed files with 2 additions and 3032 deletions

View File

@ -1,21 +0,0 @@
#include <detpic32.h>
typedef enum { N, E, O } parity;
void setupUART2(int baudrate, parity parity, int stopBits) {
U2BRG = (PBCLK + 8 * baudrate) / ((baudrate <= 115200 ? 16 : 4) * baudrate) - 1;
U2MODEbits.BRGH = baudrate <= 115200 ? 0 : 1;
U2MODEbits.PDSEL = parity == N ? 00 : parity == E ? 01 : 10;
U2MODEbits.STSEL = stopBits == 1 ? 0 : 1;
U2STAbits.URXEN = 1;
U2STAbits.UTXEN = 1;
U2MODEbits.ON = 1;
}
int main() {
setupUART2(115200, N, 1);
return 0;
}

View File

@ -1,30 +0,0 @@
#include <detpic32.h>
void putc(char byte) {
// wait while UTXBF == 1
while (U1STAbits.UTXBF == 1);
// Copy byte to the UxTXREG register
U1TXREG = byte;
}
int main() {
U1BRG = ((PBCLK + 8 * 115200) / (16 * 115200)) - 1;
U1MODEbits.BRGH = 0;
U1MODEbits.PDSEL = 01;
U1MODEbits.PDSEL = 0;
U1STAbits.UTXEN = 1;
U1STAbits.URXEN = 0;
U1MODEbits.ON = 1;
while (1) {
putc(0x5A);
resetCoreTimer();
while (readCoreTimer() < 200000);
}
return 0;
}

View File

@ -1,34 +0,0 @@
#include <detpic32.h>
void putc(char c) {
while (U2STAbits.UTXBF);
U2TXREG = c;
}
void putStr(char *c) {
while (*c != '\0') putc(*c++);
}
int main() {
TRISDbits.TRISD11 = 0;
U2BRG = (PBCLK + 8 * 115200) / (16 * 115200) - 1;
U2MODEbits.BRGH = 0;
U2MODEbits.PDSEL = 00;
U2MODEbits.STSEL = 0;
U2STAbits.URXEN = 1;
U2STAbits.UTXEN = 1;
U2MODEbits.ON = 1;
while (1) {
while (!U2STAbits.TRMT);
LATDbits.LATD11 = 1;
putStr("12345");
LATDbits.LATD11 = 0;
}
return 0;
}

View File

@ -36,8 +36,8 @@ void _int_(32) isr_uart2rx() {
// If OERR == 1 then reset OERR
if (U2STAbits.OERR == 1)
U2STAbits.OERR = 0;
if (!IFS1bits.U2RXIF)
return;
// Wait while URXDA == 0
while (U2STAbits.URXDA == 0);
// Save U2RXREG value
char c = U2RXREG;

View File

@ -1,829 +0,0 @@
{
"auto_close": true,
"auto_open": false,
"auto_start": false,
"drawing_grid_size": 25,
"grid_size": 75,
"name": "ex1",
"project_id": "7d8fb826-048e-4670-8847-41c826ff7bdc",
"revision": 9,
"scene_height": 1000,
"scene_width": 2000,
"show_grid": true,
"show_interface_labels": true,
"show_layers": false,
"snap_to_grid": true,
"supplier": null,
"topology": {
"computes": [],
"drawings": [
{
"drawing_id": "e9e6de72-90a0-4adf-b8e5-489b9db0c163",
"locked": false,
"rotation": 0,
"svg": "<svg width=\"200\" height=\"100\"><rect width=\"200\" height=\"100\" fill=\"#ffffff\" fill-opacity=\"1.0\" stroke-width=\"2\" stroke=\"#000000\" /></svg>",
"x": -275,
"y": -375,
"z": 1
}
],
"links": [
{
"filters": {},
"link_id": "2014e10d-e065-48d4-a471-fbf9f4c4167f",
"link_style": {},
"nodes": [
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e0",
"x": 32,
"y": -10
},
"node_id": "efb84c9c-cfb7-48bc-865f-ca1378e2c0f4",
"port_number": 0
},
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e0",
"x": 35,
"y": 56
},
"node_id": "badfefd7-49e9-4ac5-8ed3-f8eebac46880",
"port_number": 0
}
],
"suspend": false
},
{
"filters": {},
"link_id": "02481b83-ce8f-422c-9d83-eceed47d2ed5",
"link_style": {},
"nodes": [
{
"adapter_number": 1,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "f1/1",
"x": 66,
"y": 0
},
"node_id": "279850b9-e606-4218-808f-3b0ee7284827",
"port_number": 1
},
{
"adapter_number": 1,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "f1/0",
"x": 0,
"y": 44
},
"node_id": "b04573f7-2a55-4f68-92d4-fc0a516d8f75",
"port_number": 0
}
],
"suspend": false
},
{
"filters": {},
"link_id": "fdd2d71c-c8c0-4abf-8716-0a0574509940",
"link_style": {},
"nodes": [
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e0",
"x": 35,
"y": 56
},
"node_id": "bd1a6811-a7d5-4ead-a34f-0fe3a7be76d4",
"port_number": 0
},
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e0",
"x": 32,
"y": -10
},
"node_id": "9cd0ce46-07d8-4ddd-a6e9-5ec42e874408",
"port_number": 0
}
],
"suspend": false
},
{
"filters": {},
"link_id": "fab27b72-f20e-435e-a639-f38b6e848976",
"link_style": {},
"nodes": [
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e0",
"x": -7,
"y": 29
},
"node_id": "8faa1a15-c60a-49e6-8104-4d56e48e028e",
"port_number": 0
},
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e0",
"x": 75,
"y": 16
},
"node_id": "e11069b6-2474-4541-9d7c-aba5714cf9b8",
"port_number": 0
}
],
"suspend": false
},
{
"filters": {},
"link_id": "2ceb5ef0-36fb-419f-b089-7edd9649bab6",
"link_style": {},
"nodes": [
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e7",
"x": 35,
"y": -24
},
"node_id": "e11069b6-2474-4541-9d7c-aba5714cf9b8",
"port_number": 7
},
{
"adapter_number": 2,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "f2/0",
"x": 33,
"y": 62
},
"node_id": "279850b9-e606-4218-808f-3b0ee7284827",
"port_number": 0
}
],
"suspend": false
},
{
"filters": {},
"link_id": "bcf46ade-90c2-433a-9d28-9402922b8426",
"link_style": {},
"nodes": [
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e7",
"x": 75,
"y": 16
},
"node_id": "badfefd7-49e9-4ac5-8ed3-f8eebac46880",
"port_number": 7
},
{
"adapter_number": 1,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "f1/1",
"x": -7,
"y": 22
},
"node_id": "4ebc203b-9f98-4f3a-befa-5070651a9c90",
"port_number": 1
}
],
"suspend": false
},
{
"filters": {},
"link_id": "d9ce4f31-e68c-4ede-a259-7ef497fffc1c",
"link_style": {},
"nodes": [
{
"adapter_number": 1,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "f1/0",
"x": 66,
"y": 44
},
"node_id": "4ebc203b-9f98-4f3a-befa-5070651a9c90",
"port_number": 0
},
{
"adapter_number": 1,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "f1/0",
"x": 0,
"y": 0
},
"node_id": "279850b9-e606-4218-808f-3b0ee7284827",
"port_number": 0
}
],
"suspend": false
},
{
"filters": {},
"link_id": "9fef1712-aebf-4de9-a6f4-c63adc6808c2",
"link_style": {},
"nodes": [
{
"adapter_number": 2,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "f2/0",
"x": 73,
"y": 22
},
"node_id": "b04573f7-2a55-4f68-92d4-fc0a516d8f75",
"port_number": 0
},
{
"adapter_number": 0,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "e7",
"x": -4,
"y": 16
},
"node_id": "bd1a6811-a7d5-4ead-a34f-0fe3a7be76d4",
"port_number": 7
}
],
"suspend": false
}
],
"nodes": [
{
"compute_id": "local",
"console": 5000,
"console_auto_start": false,
"console_type": "telnet",
"custom_adapters": [],
"first_port_name": null,
"height": 45,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "R1",
"x": 19,
"y": -25
},
"locked": false,
"name": "R1",
"node_id": "4ebc203b-9f98-4f3a-befa-5070651a9c90",
"node_type": "dynamips",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {
"auto_delete_disks": true,
"aux": null,
"clock_divisor": 4,
"disk0": 0,
"disk1": 0,
"dynamips_id": 1,
"exec_area": 64,
"idlemax": 500,
"idlepc": "0x60608040",
"idlesleep": 30,
"image": "c7200-adventerprisek9-mz.151-4.M2.image",
"image_md5sum": "d54b063e3d0b368a702ffb49f497825e",
"mac_addr": "ca01.fa2c.0000",
"midplane": "vxr",
"mmap": true,
"npe": "npe-400",
"nvram": 512,
"platform": "c7200",
"power_supplies": [
1,
1
],
"ram": 512,
"sensors": [
22,
22,
22,
22
],
"slot0": "C7200-IO-GE-E",
"slot1": "PA-2FE-TX",
"slot2": "PA-2FE-TX",
"slot3": null,
"slot4": null,
"slot5": null,
"slot6": null,
"sparsemem": true,
"system_id": "FTX0945W0MY",
"usage": ""
},
"symbol": ":/symbols/router.svg",
"template_id": "4e0ff74f-f52f-457f-bca1-d3e4a7639f57",
"width": 66,
"x": -333,
"y": -247,
"z": 1
},
{
"compute_id": "local",
"console": 5001,
"console_auto_start": false,
"console_type": "telnet",
"custom_adapters": [],
"first_port_name": null,
"height": 45,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "R2",
"x": 19,
"y": -25
},
"locked": false,
"name": "R2",
"node_id": "b04573f7-2a55-4f68-92d4-fc0a516d8f75",
"node_type": "dynamips",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {
"auto_delete_disks": true,
"aux": null,
"clock_divisor": 4,
"disk0": 0,
"disk1": 0,
"dynamips_id": 2,
"exec_area": 64,
"idlemax": 500,
"idlepc": "0x60608040",
"idlesleep": 30,
"image": "c7200-adventerprisek9-mz.151-4.M2.image",
"image_md5sum": "d54b063e3d0b368a702ffb49f497825e",
"mac_addr": "ca02.fa4b.0000",
"midplane": "vxr",
"mmap": true,
"npe": "npe-400",
"nvram": 512,
"platform": "c7200",
"power_supplies": [
1,
1
],
"ram": 512,
"sensors": [
22,
22,
22,
22
],
"slot0": "C7200-IO-GE-E",
"slot1": "PA-2FE-TX",
"slot2": "PA-2FE-TX",
"slot3": null,
"slot4": null,
"slot5": null,
"slot6": null,
"sparsemem": true,
"system_id": "FTX0945W0MY",
"usage": ""
},
"symbol": ":/symbols/router.svg",
"template_id": "4e0ff74f-f52f-457f-bca1-d3e4a7639f57",
"width": 66,
"x": 117,
"y": -247,
"z": 1
},
{
"compute_id": "local",
"console": 5002,
"console_auto_start": false,
"console_type": "telnet",
"custom_adapters": [],
"first_port_name": null,
"height": 45,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "R3",
"x": 19,
"y": -25
},
"locked": false,
"name": "R3",
"node_id": "279850b9-e606-4218-808f-3b0ee7284827",
"node_type": "dynamips",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {
"auto_delete_disks": true,
"aux": null,
"clock_divisor": 4,
"disk0": 0,
"disk1": 0,
"dynamips_id": 3,
"exec_area": 64,
"idlemax": 500,
"idlepc": "0x60608040",
"idlesleep": 30,
"image": "c7200-adventerprisek9-mz.151-4.M2.image",
"image_md5sum": "d54b063e3d0b368a702ffb49f497825e",
"mac_addr": "ca03.fa6b.0000",
"midplane": "vxr",
"mmap": true,
"npe": "npe-400",
"nvram": 512,
"platform": "c7200",
"power_supplies": [
1,
1
],
"ram": 512,
"sensors": [
22,
22,
22,
22
],
"slot0": "C7200-IO-GE-E",
"slot1": "PA-2FE-TX",
"slot2": "PA-2FE-TX",
"slot3": null,
"slot4": null,
"slot5": null,
"slot6": null,
"sparsemem": true,
"system_id": "FTX0945W0MY",
"usage": ""
},
"symbol": ":/symbols/router.svg",
"template_id": "4e0ff74f-f52f-457f-bca1-d3e4a7639f57",
"width": 66,
"x": -108,
"y": -97,
"z": 1
},
{
"compute_id": "local",
"console": 5003,
"console_auto_start": false,
"console_type": "none",
"custom_adapters": [],
"first_port_name": null,
"height": 32,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "Switch1",
"x": 5,
"y": -26
},
"locked": false,
"name": "Switch1",
"node_id": "badfefd7-49e9-4ac5-8ed3-f8eebac46880",
"node_type": "ethernet_switch",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {
"ports_mapping": [
{
"name": "Ethernet0",
"port_number": 0,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet1",
"port_number": 1,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet2",
"port_number": 2,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet3",
"port_number": 3,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet4",
"port_number": 4,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet5",
"port_number": 5,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet6",
"port_number": 6,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet7",
"port_number": 7,
"type": "access",
"vlan": 1
}
]
},
"symbol": ":/symbols/ethernet_switch.svg",
"template_id": "1966b864-93e7-32d5-965f-001384eec461",
"width": 72,
"x": -485,
"y": -241,
"z": 1
},
{
"compute_id": "local",
"console": 5004,
"console_auto_start": false,
"console_type": "none",
"custom_adapters": [],
"first_port_name": null,
"height": 32,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "Switch2",
"x": 2,
"y": -25
},
"locked": false,
"name": "Switch2",
"node_id": "bd1a6811-a7d5-4ead-a34f-0fe3a7be76d4",
"node_type": "ethernet_switch",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {
"ports_mapping": [
{
"name": "Ethernet0",
"port_number": 0,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet1",
"port_number": 1,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet2",
"port_number": 2,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet3",
"port_number": 3,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet4",
"port_number": 4,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet5",
"port_number": 5,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet6",
"port_number": 6,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet7",
"port_number": 7,
"type": "access",
"vlan": 1
}
]
},
"symbol": ":/symbols/ethernet_switch.svg",
"template_id": "1966b864-93e7-32d5-965f-001384eec461",
"width": 72,
"x": 264,
"y": -241,
"z": 1
},
{
"compute_id": "local",
"console": 5005,
"console_auto_start": false,
"console_type": "none",
"custom_adapters": [],
"first_port_name": null,
"height": 32,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "Switch3",
"x": 6,
"y": -26
},
"locked": false,
"name": "Switch3",
"node_id": "e11069b6-2474-4541-9d7c-aba5714cf9b8",
"node_type": "ethernet_switch",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {
"ports_mapping": [
{
"name": "Ethernet0",
"port_number": 0,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet1",
"port_number": 1,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet2",
"port_number": 2,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet3",
"port_number": 3,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet4",
"port_number": 4,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet5",
"port_number": 5,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet6",
"port_number": 6,
"type": "access",
"vlan": 1
},
{
"name": "Ethernet7",
"port_number": 7,
"type": "access",
"vlan": 1
}
]
},
"symbol": ":/symbols/ethernet_switch.svg",
"template_id": "1966b864-93e7-32d5-965f-001384eec461",
"width": 72,
"x": -110,
"y": 59,
"z": 1
},
{
"compute_id": "local",
"console": 5006,
"console_auto_start": false,
"console_type": "telnet",
"custom_adapters": [],
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "PC1",
"x": 14,
"y": -25
},
"locked": false,
"name": "PC1",
"node_id": "efb84c9c-cfb7-48bc-865f-ca1378e2c0f4",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {},
"symbol": ":/symbols/vpcs_guest.svg",
"template_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc",
"width": 65,
"x": -482,
"y": -104,
"z": 1
},
{
"compute_id": "local",
"console": 5008,
"console_auto_start": false,
"console_type": "telnet",
"custom_adapters": [],
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "PC2",
"x": 14,
"y": -25
},
"locked": false,
"name": "PC2",
"node_id": "9cd0ce46-07d8-4ddd-a6e9-5ec42e874408",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {},
"symbol": ":/symbols/vpcs_guest.svg",
"template_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc",
"width": 65,
"x": 267,
"y": -104,
"z": 1
},
{
"compute_id": "local",
"console": 5010,
"console_auto_start": false,
"console_type": "telnet",
"custom_adapters": [],
"first_port_name": null,
"height": 59,
"label": {
"rotation": 0,
"style": "font-family: TypeWriter;font-size: 10.0;font-weight: bold;fill: #000000;fill-opacity: 1.0;",
"text": "PC3",
"x": 14,
"y": -25
},
"locked": false,
"name": "PC3",
"node_id": "8faa1a15-c60a-49e6-8104-4d56e48e028e",
"node_type": "vpcs",
"port_name_format": "Ethernet{0}",
"port_segment_size": 0,
"properties": {},
"symbol": ":/symbols/vpcs_guest.svg",
"template_id": "19021f99-e36f-394d-b4a1-8aaa902ab9cc",
"width": 65,
"x": 42,
"y": 45,
"z": 1
}
]
},
"type": "topology",
"variables": null,
"version": "2.2.46",
"zoom": 100
}

View File

@ -1,136 +0,0 @@
!
!
!
!
! Last configuration change at 16:20:28 UTC Mon Apr 15 2024
upgrade fpd auto
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
crypto pki token default removal timeout 0
!
!
!
redundancy
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex full
speed 1000
media-type gbic
negotiation auto
!
interface FastEthernet1/0
ip address 200.2.2.2 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet1/1
ip address 192.168.2.2 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
router-id 3.3.3.3
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
transport input all
!
end

View File

@ -1,135 +0,0 @@
!
!
!
! Last configuration change at 16:36:51 UTC Mon Apr 15 2024
upgrade fpd auto
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
crypto pki token default removal timeout 0
!
!
!
redundancy
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex full
speed 1000
media-type gbic
negotiation auto
!
interface FastEthernet1/0
ip address 200.1.1.1 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet1/1
ip address 192.168.1.1 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
router-id 1.1.1.1
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
transport input all
!
end

View File

@ -1,135 +0,0 @@
!
!
!
!
! Last configuration change at 16:20:42 UTC Mon Apr 15 2024
upgrade fpd auto
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
crypto pki token default removal timeout 0
!
!
!
redundancy
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex full
speed 1000
media-type gbic
negotiation auto
!
interface FastEthernet1/0
ip address 200.1.1.10 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet1/1
ip address 200.2.2.10 255.255.255.0
ip ospf 1 area 0
duplex auto
speed auto
!
interface FastEthernet2/0
ip address 192.168.10.10 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 1
router-id 2.2.2.2
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
transport input all
!
end

View File

@ -1,9 +0,0 @@
# This the configuration for PC3
#
# Uncomment the following line to enable DHCP
# dhcp
# or the line below to manually setup an IP address and subnet mask
# ip 192.168.1.1 255.0.0.0
#
set pcname PC3

View File

@ -1,9 +0,0 @@
# This the configuration for PC2
#
# Uncomment the following line to enable DHCP
# dhcp
# or the line below to manually setup an IP address and subnet mask
# ip 192.168.1.1 255.0.0.0
#
set pcname PC2

View File

@ -1,9 +0,0 @@
# This the configuration for PC1
#
# Uncomment the following line to enable DHCP
# dhcp
# or the line below to manually setup an IP address and subnet mask
# ip 192.168.1.1 255.0.0.0
#
set pcname PC1

File diff suppressed because it is too large Load Diff

View File

@ -1,129 +0,0 @@
!
!
!
! Last configuration change at 16:17:59 UTC Mon Apr 22 2024
upgrade fpd auto
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router2B
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
crypto pki token default removal timeout 0
!
!
!
redundancy
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex full
speed 1000
media-type gbic
negotiation auto
!
interface FastEthernet1/0
ip address 200.3.2.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/1
ip address 200.20.20.22 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/0
ip address 192.20.1.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
transport input all
!
end

View File

@ -1,129 +0,0 @@
!
!
!
! Last configuration change at 16:16:14 UTC Mon Apr 22 2024
upgrade fpd auto
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router2A
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
crypto pki token default removal timeout 0
!
!
!
redundancy
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex full
speed 1000
media-type gbic
negotiation auto
!
interface FastEthernet1/0
ip address 200.1.2.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/1
ip address 200.20.20.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/0
ip address 192.20.0.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
transport input all
!
end

View File

@ -1,130 +0,0 @@
!
!
!
! Last configuration change at 16:18:44 UTC Mon Apr 22 2024
upgrade fpd auto
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router3
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
crypto pki token default removal timeout 0
!
!
!
redundancy
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex full
speed 1000
media-type gbic
negotiation auto
!
interface FastEthernet1/0
ip address 200.3.2.3 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/1
ip address 192.30.30.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
transport input all
!
end

View File

@ -1,130 +0,0 @@
!
!
!
! Last configuration change at 16:13:50 UTC Mon Apr 22 2024
upgrade fpd auto
version 15.1
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Router1
!
boot-start-marker
boot-end-marker
!
!
!
no aaa new-model
!
ip source-route
no ip icmp rate-limit unreachable
ip cef
!
!
!
!
!
no ip domain lookup
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
!
crypto pki token default removal timeout 0
!
!
!
redundancy
!
!
ip tcp synwait-time 5
!
!
!
!
!
!
!
!
interface Ethernet0/0
no ip address
shutdown
duplex auto
!
interface GigabitEthernet0/0
no ip address
shutdown
duplex full
speed 1000
media-type gbic
negotiation auto
!
interface FastEthernet1/0
ip address 200.1.2.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet1/1
ip address 192.10.10.1 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet2/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet2/1
no ip address
shutdown
duplex auto
speed auto
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
!
no cdp log mismatch duplex
!
!
!
!
!
!
control-plane
!
!
!
mgcp profile default
!
!
!
gatekeeper
shutdown
!
!
line con 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line aux 0
exec-timeout 0 0
privilege level 15
logging synchronous
stopbits 1
line vty 0 4
login
transport input all
!
end