Chapter 31 port Commands
31.22 IP Bridge Routing Table Commands
Use these commands to set up and maintain the routing table for each domain.
Each domain has its own routing table. Each routing table contains entries that, based on the
destination IP address, control where the system forwards packets (for upstream and
downstream traffic). The system automatically creates routing table entries for each downlink
interface and for each edge router in the domain. You can create additional entries by
specifying the edge router to which the system should forward traffic for a particular
destination IP address or IP subnet.
31.22.1 port ipbpvc route delete Command
Syntax:
port ipbpvc route delete <domain-name> <ip/mask> <nexthop>
where
<domain-name>
<ip/mask>
<nexthop>
This command deletes the specified entry from the routing table of the specified domain. You
can only remove entries that were added manually.
The following example removes the entry for 123.32.37.0~123.32.37.255 for domain
"example2".
ras> adsl ipbpvc route show example2
domain name
-------------------- ------------------- --------------- ------ ---
example2
example2
example2
ras> adsl ipbpvc route delete example2 123.23.37.0/24 192.168.1.250
ras> adsl ipbpvc route show example2
domain name
-------------------- ------------------- --------------- ------ ---
example2
example2
31.22.2 port ipbpvc route set Command
Syntax:
port ipbpvc route set <domain-name> <ip/mask> <nexthop> <metric> [<priority>]
where
<domain-name> =
<ip/mask>
726
The name of the domain.
=
IP address, in dotted decimal notation and number of bits <0..32> in the
=
subnet mask.
IP address, in dotted decimal notation.
=
ip/netmask
0.0.0.0/0
123.23.37.0/24
192.168.2.0/24
ip/netmask
0.0.0.0/0
192.168.2.0/24
The name of the domain.
IP address, in dotted decimal notation and number of bits <0..32> in the
=
subnet mask.
MSC1000G/1024G/1224G Series User's Guide
gateway ip
metric pri
192.168.1.252
192.168.1.250
192.168.1.249
gateway ip
metric pri
192.168.1.252
192.168.1.249
1
0
1
0
1
0
1
0
1
0