What's new

figured out how to map the ports in the AX88U to cli config (Actual)

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

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#
 
Whats even more interesting is the it advertises LLDP / CDP Notice its B W R S, but only ENABLED as B, R
That sounds about right. I'd speculate that would change if you put the router in "Access Point" or a "Media Bridge" mode (or possibly WDS).
 
That sounds about right. I'd speculate that would change if you put the router in "Access Point" or a "Media Bridge" mode (or possibly WDS).
Hoping you'd see the post.. I read a lot of replies before I joined... I'm trying to figure out how to shut down unused ports. I suspect eth5 will take out ports 5 - 8.
 
I'm trying to figure out how to shut down unused ports. I suspect eth5 will take out ports 5 - 8.
I suspect you're right regarding ports 5 to 8.

If you're looking for the equivalent of Cisco's config-subif/shutdown (i.e. physically turn off an interface) I think the closest would be:
Code:
# ethctl eth1 phy-power status
    Interface eth1 phy power status is up.
  
# ethctl eth1 phy-power down
# ethctl eth1 phy-power status
    Interface eth1 phy power status is down.
  
# ethctl eth1 phy-power up
# ethctl eth1 phy-power status
    Interface eth1 phy power status is up.
Code:
Apr  9 23:39:09 kernel: eth1 (Ext switch port: 0) (Logical Port: 8) (phyId: 8) Link DOWN.
Apr  9 23:39:09 kernel: br0: port 4(eth1) entered disabled state

Apr  9 23:39:25 kernel: eth1 (Ext switch port: 0) (Logical Port: 8) (phyId: 8) Link Up at 1000 mbps full duplex
Apr  9 23:39:25 kernel: br0: port 4(eth1) entered forwarding state
Apr  9 23:39:25 kernel: br0: port 4(eth1) entered forwarding state
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top