CodeCypherP
New Around Here
Hello,
So i have been struggling to figure out how to disable unused onboard ports but still have them to expand as necessary so i gamed the system.. i happen to have a Cisco Catalyst switch in my house and i turned on lldpd -c whieh enables CDP neighbor
port maps are as follows
Physical external = cli
Port 0 = WAN
Port 1 = eth4
Port 2 = eth3
Port 3 = eth2
Port 4 = eth1
Port 5 = eth5
Port 6 = eth5
Port 7 = eth5
Port 8 = eth5
So as a net-eng the way i read this is the first 4 ports are switched ethernet and the last 4 are shared. Whats even more interesting is the it advertises LLDP / CDP Notice its B W R S, but only ENABLED as B, R I also did not change the management IP it default advertised 127.0.0.1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth4
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 19 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
1000baseT(HD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det | inc port
Auto Negotiation - supported, enabled
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth3
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 11 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
1000baseT(HD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth2
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 16 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
1000baseT(HD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth1
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 12 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
1000baseT(HD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 13 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 16 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 12 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 15 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 18 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 17 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#
So i have been struggling to figure out how to disable unused onboard ports but still have them to expand as necessary so i gamed the system.. i happen to have a Cisco Catalyst switch in my house and i turned on lldpd -c whieh enables CDP neighbor
port maps are as follows
Physical external = cli
Port 0 = WAN
Port 1 = eth4
Port 2 = eth3
Port 3 = eth2
Port 4 = eth1
Port 5 = eth5
Port 6 = eth5
Port 7 = eth5
Port 8 = eth5
So as a net-eng the way i read this is the first 4 ports are switched ethernet and the last 4 are shared. Whats even more interesting is the it advertises LLDP / CDP Notice its B W R S, but only ENABLED as B, R I also did not change the management IP it default advertised 127.0.0.1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth4
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 19 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
1000baseT(HD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det | inc port
Auto Negotiation - supported, enabled
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth3
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 11 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
1000baseT(HD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth2
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 16 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
1000baseT(HD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth1
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 12 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, enabled
Physical media capabilities:
1000baseT(FD)
1000baseT(HD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 13 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 16 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 12 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 15 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 18 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#sh lldp neigh gi0/8 det
------------------------------------------------
Chassis id: 7c10.c9xx.yyyy
Port id: 7c10.c9xx.yyyy
Port Description: eth5
System Name: RT-AX88U
System Description:
Linux 4.1.51 #4 SMP PREEMPT Mon Jan 10 12:10:20 CST 2022 aarch64
Time remaining: 17 seconds
System Capabilities: B,W,R,S
Enabled Capabilities: B,R
Management Addresses:
IP: 127.0.1.1
Auto Negotiation - supported, disabled
Physical media capabilities - not advertised
Media Attachment Unit type: 30
Vlan ID: - not advertised
Total entries displayed: 1
sw-1#