The portfilter command sets or displays the
An example is shown next.
192.168.1.1 > bridge |
|
| |
192.168.1.1 bridge> portfilter |
| ||
Port 1 (edd): | all |
| |
Port 2 (bun/port=atm:0/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | ||
Port 3 (bun/port=atm:1/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | ||
Port 4 | (bun/port=atm:2/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | |
Port 5 (bun/port=atm:3/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | ||
Port 6 | (bun/port=atm:4/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | |
Port 7 | (bun/port=atm:5/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | |
Port 8 (bun/port=atm:6/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | ||
Port 9 | (bun/port=atm:7/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 |
The above shows the current configuration of the
An example with an altered configuration is shown next.
192.168.1.1 > bridge
192.168.1.1 bridge> portfilter 2 1 3
192.168.1.1 bridge> portfilter 3 1 2
This example sets the allowed outgoing bridge ports of port 2 (ADSL port 1) to port 1 (Ethernet port) and port 3 (ADSL port 2). The allowed outgoing bridge ports of port 3 (ADSL port 2) are set to port 1 (Ethernet port) and port 2 (ADSL port1). This way ASDL ports 2 and 3 can communicate with each other and the Ethernet port. You can see the effects of this example by using the following command:
192.168.1.1 bridge> portfilter |
|
| ||
Port 1 | (edd): | all |
|
|
Port 2 | (bun/port=atm:0/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | 3 | |
Port 3 (bun/port=atm:1/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 | 2 | ||
Port 4 | (bun/port=atm:2/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 |
| |
Port 5 (bun/port=atm:3/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 |
| ||
Port 6 | (bun/port=atm:4/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 |
| |
Port 7 | (bun/port=atm:5/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 |
| |
Port 8 (bun/port=atm:6/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 |
| ||
Port 9 | (bun/port=atm:7/rfc1483=true/txvpi=0/txvci=33/rxvpi=0/rxvci=33): | 1 |
|
Bridge Configuration |